  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600&display=swap');

  :root {
    --text: #1E2A33;
    --text-secondary: #56626B;
    --text-tertiary: #66727B;
    --bg: #FFFFFF;
    --bg-hover: #F4F3EE;
    --bg-gray: #EDEFEC;
    --bg-gray-dark: #D9DEDF;
    --border: #D9DEDF;
    --border-light: #E6E9E8;
    --blue: #17508F;
    --blue-bg: #E7EEF6;
    --blue-light: #D3E5EF;
    --blue-strong: #103F73;   /* 悬停 / 按下 */
    --accent: var(--blue);    /* 报告 Markdown 等处原先落到兜底的陶土红，统一成品牌蓝 */
    --brass: #A9792B;         /* 点缀色：只用于徽章细边、链接下划线，不做大面积 */
    --green: #4DAB9A;
    --green-bg: #DBEDDB;
    --green-text: #1A7A5E;
    --red: #E16259;
    --red-bg: #FFE2DD;
    --red-text: #93370D;
    --yellow: #CB912F;
    --yellow-bg: #FFF3D6;
    --yellow-text: #7C5C00;
    --orange-bg: #FADEC9;
    --purple-bg: #E8DEEE;
    /* 统一字号：标题 / 副标题(标签) / 正文(数值) */
    --fs-title: 18px;
    --fs-subtitle: 13px;
    --fs-body: 15px;
  }

  /* 场地基本参数 bubble 卡片 */
  .sb-grid { display:grid; grid-template-columns:repeat(2,1fr); grid-auto-rows:1fr; gap:12px; margin-bottom:10px; }
  .sb-card { background:var(--bg-gray); border:1px solid var(--border-light); border-radius:14px; padding:14px 16px; }
  /* 标题与正文的字号/字重/颜色对齐「风险提示清单」卡片（.rf-title / .rf-body），
     此前是标题小、正文大，视觉层级反了 */
  .sb-card .sb-k { font-size:14.5px; color:var(--text); font-weight:700; margin-bottom:8px; display:flex; align-items:center; gap:7px; }
  .sb-card .sb-ic { width:24px; height:24px; border-radius:7px; background:var(--blue-bg); color:var(--blue); display:inline-flex; align-items:center; justify-content:center; font-size:13px; flex:none; }
  .sb-card .sb-v { font-size:13px; font-weight:400; color:var(--text-secondary); line-height:1.65; }
  .sb-card.sb-wide { grid-column:1 / -1; }
  .sb-card.sb-wide .sb-v { font-size:13px; font-weight:400; line-height:1.65; }
  .sb-card .sb-note { font-size:var(--fs-subtitle); color:var(--yellow-text); background:var(--yellow-bg); border-radius:8px; padding:8px 10px; margin-top:10px; line-height:1.5; }
  .sb-card .sb-note.ok { color:var(--green-text); background:var(--green-bg); }
  .sb-disclaimer { font-size:var(--fs-subtitle); color:var(--text-tertiary); line-height:1.55; margin-bottom:4px; }
  @media (max-width:560px) { .sb-grid { gap:8px; } .sb-card { padding:12px 13px; } .sb-card .sb-k { font-size:13.5px; } }

  /* 步骤提示条 */
  .stepbar { display:flex; align-items:center; margin:0 0 20px; }
  .stepbar .stp { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--text-tertiary); font-weight:500; white-space:nowrap; }
  .stepbar .stp .dot { width:22px; height:22px; border-radius:50%; background:var(--bg-gray-dark); color:var(--text-secondary); display:inline-flex; align-items:center; justify-content:center; font-size:11px; font-weight:600; flex:none; }
  .stepbar .stp.active .dot, .stepbar .stp.done .dot { background:var(--blue); color:#fff; }
  .stepbar .stp.active { color:var(--text); }
  .stepbar .stp.done { color:var(--text-secondary); }
  .stepbar .sep { flex:1; height:2px; background:var(--bg-gray-dark); margin:0 6px; min-width:10px; }
  .stepbar .sep.done { background:var(--blue); }

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

  body {
    font-family: 'Inter', 'Noto Sans SC', ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }

  /* HEADER */
  header {
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
  }

  .logo {
    font-family: "Avenir Next",Avenir,"Nunito Sans","Century Gothic",sans-serif;
    font-size: 26.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;   /* 防止窄屏时 logo 折成两行 */
    flex-shrink: 0;
  }

  .logo-mark { width: 30px; height: 30px; flex: none; display: block; }
  /* 字标与 C 竖向对齐：大写字母中心比行框中心偏上约 3% 字号（Avenir Next 3.9%、Nunito Sans 2.25%），统一下移 .03em */
  .logo .logo-text { line-height: 1; transform: translateY(.03em); }

  nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

  nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.1s;
    white-space: nowrap;   /* 防止「如何使用」被折成「如何/使用」 */
  }
  nav a:hover { background: var(--bg-hover); color: var(--text); }

  .lang-toggle-mobile { display: none; }

  /* Mobile header actions — shown only on mobile */
  .mobile-header-actions {
    display: none;
    align-items: center;
    gap: 8px;
  }
  .mobile-auth-icon {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--bg);
    cursor: pointer; transition: all 0.15s; color: var(--text-secondary);
  }
  .mobile-auth-icon:hover { background: var(--bg-hover); color: var(--text); }
  .mobile-auth-icon.logged-in { border-color: var(--green); color: var(--green-text); background: var(--green-bg); }
  .mobile-auth-icon svg { width: 16px; height: 16px; }

  /* Mobile hamburger menu */
  .hamburger-btn {
    display: flex;
    background: none; border: none; cursor: pointer; padding: 6px;
    flex-direction: column; gap: 4px; z-index: 102;
  }
  .hamburger-btn span {
    display: block; width: 20px; height: 2px; background: var(--text);
    border-radius: 2px; transition: transform 0.25s, opacity 0.2s;
  }
  .hamburger-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger-btn.open span:nth-child(2) { opacity: 0; }
  .hamburger-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu {
    display: none;
    position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 99;
    flex-direction: column; padding: 16px 20px 32px;
    overflow-y: auto;
    animation: menuSlide 0.2s ease-out;
  }
  .mobile-menu.open { display: flex; }
  @keyframes menuSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  .mobile-menu a, .mobile-menu button.mobile-menu-item {
    display: block; padding: 14px 0; font-size: 16px;
    color: var(--text); text-decoration: none;
    border-bottom: 1px solid var(--border);
    background: none; border-left: none; border-right: none; border-top: none;
    text-align: left; width: 100%; cursor: pointer; font-family: inherit;
  }
  .mobile-menu a:first-child { border-top: 1px solid var(--border); }
  .mobile-menu a.nav-cta { color: var(--blue); font-weight: 500; }
  .mobile-menu .mobile-menu-footer {
    margin-top: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  }

  nav .nav-cta {
    color: var(--blue);
    font-weight: 500;
  }
  nav .nav-cta:hover { background: var(--blue-bg); color: var(--blue); }

  /* PAGE WRAPPER */
  .page {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
  }

  /* HERO */
  .hero {
    position: relative;
    text-align: center;
    padding: 80px 24px 60px;
    margin: 0;
    max-width: 100%;
    background: url('/pic/hero-bg.jpg') center center / cover no-repeat;
    border-radius: 0;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,26,44,0.68) 0%, rgba(10,26,44,0.52) 50%, rgba(10,26,44,0.72) 100%);
  }
  .hero > * { position: relative; z-index: 1; }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(10,26,44,0.45);
    border: 1px solid rgba(214,170,96,0.75);
    color: #F3DDB0;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 28px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }

  .hero h1 { text-wrap: balance; }
  .hero h1 .hero-h1-en {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: .92;
  }

  .hero h1 em {
    font-style: normal;
    color: #fff;
  }

  .hero-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.92);
    line-height: 1.4;
    margin: 10px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .hero-promise {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin: 4px 0 0;
    text-align: center;
  }
  .hero-promise a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #E0B96B;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    margin: -14px 0;
  }
  .hero-promise a:hover { text-decoration-thickness: 2px; }
  .hero-promise a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }

  /* Hero search bar — embedded in hero */
  .hero-search-wrap {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
  }
  .hero-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 48px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    gap: 8px;
  }
  .hero-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text);
    background: transparent;
    padding: 10px 0;
    min-width: 0;
  }
  .hero-search-box input::placeholder { color: #999; }
  .hero-search-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .hero-search-btn:hover { background: #103F73; }
  .hero-search-btn svg { width: 20px; height: 20px; stroke: #fff; fill: none; }
  .hero-search-btn.loading { pointer-events: none; cursor: progress; }
  .hero-search-btn.loading svg { display: none; }
  .hero-search-btn.loading::after {
    content: ''; width: 20px; height: 20px; border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff;
    animation: spin .8s linear infinite;
  }
  .hero-search-box.is-busy { box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 0 2px rgba(255,255,255,.55); }

  /* 搜索状态行：和被换掉的「流程说明 + TZArchi 人工审阅」两行同高同位 */
  .hero-status {
    display: none; align-items: center; justify-content: center; gap: 10px;
    margin: 10px 0 0; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.96);
    text-shadow: 0 1px 6px rgba(0,0,0,.35);
  }
  .hero-search-wrap.is-searching .hero-sub,
  .hero-search-wrap.is-searching .hero-promise { display: none; }
  .hero-search-wrap.is-searching .hero-status { display: flex; }
  .hero-spin {
    width: 16px; height: 16px; flex: none; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
    animation: spin .8s linear infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-search-btn.loading::after, .hero-spin { animation: none; border-color: #fff; border-top-color: rgba(255,255,255,.35); }
  }

  /* Hero trust row */
  .hero-trust {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-top: 14px;
  }
  .hero-trust-avatars { display: flex; }
  .hero-trust-avatars span {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: var(--blue); color: #fff;
    font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: -8px; flex-shrink: 0;
  }
  .hero-trust-avatars span:first-child { margin-left: 0; }
  .hero-trust-avatars span:nth-child(2) { background: #4DAB9A; }
  .hero-trust-avatars span:nth-child(3) { background: #CB912F; }
  .hero-trust-avatars span:nth-child(4) { background: #7B68EE; }
  .hero-trust-avatars span:nth-child(5) { background: #E16259; }
  .hero-trust-text {
    font-size: 13px; color: rgba(255,255,255,0.9);
    font-weight: 500; white-space: nowrap;
  }
  .hero-trust-stars { color: #FFD700; font-size: 12px; letter-spacing: 1px; }

  /* Dropdown positioned under hero search */
  .hero-search-wrap .addr-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    border-radius: 16px;
    z-index: 100;
  }

  /* TESTIMONIALS */
  .testimonials-section {
    background: var(--bg-hover);
    border-bottom: 1px solid var(--border-light);
    padding: 32px 24px;
    overflow: hidden;
  }
  .testimonials-inner {
    max-width: 820px; margin: 0 auto;
  }
  .testimonials-label {
    text-align: center; font-size: 12px; font-weight: 600;
    color: var(--text-tertiary); letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 20px;
  }
  .testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  }
  .testimonial-card {
    background: var(--bg); border: 1px solid var(--border-light);
    border-radius: 12px; padding: 16px 18px;
  }
  .testimonial-stars { color: #F59E0B; font-size: 13px; margin-bottom: 8px; }
  .testimonial-text {
    font-size: 13px; color: var(--text); line-height: 1.6;
    margin-bottom: 12px;
  }
  .testimonial-author {
    display: flex; align-items: center; gap: 10px;
  }
  .testimonial-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--blue-bg); color: var(--blue);
    font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .testimonial-name { font-size: 13px; font-weight: 600; color: var(--text); }
  .testimonial-meta { font-size: 11px; color: var(--text-tertiary); }
  @media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; gap: 10px; }
    .testimonials-section { padding: 24px 16px; }
  }

  /* STATS BAR */
  .stats-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 12px 24px;
    border-top: none;
    border-bottom: none;
    background: transparent;
  }

  /* 三列顶端对齐；数字行与说明行用固定行高——中文（回退字体）和英文数字的自然行高不同，不固定会让「人工审阅」那列整体偏低、偏大 */
  .stats-bar { align-items: flex-start; flex-wrap: wrap; row-gap: 8px; }
  .stat-item { text-align: center; flex: none; }

  .stat-num {
    font-size: 15px;
    line-height: 22px;
    height: 22px;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  /* 中文界面下第三列是汉字「人工审阅」：同样 15px，汉字比拉丁字母/数字看起来大一圈，降一档让三列视觉等大 */
  html:lang(zh) .stat-item:nth-child(3) .stat-num { font-size: 14px; }

  .stat-label {
    display: block;
    text-wrap: balance;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    color: var(--text-tertiary);
  }

  /* PAGE WRAPPER */
  .page {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 80px;
  }
  /* 首页上没有查询错误卡片时，不留空白带（#vicplanResult 显示时才需要这块内边距） */
  #mainPage:not(:has(#vicplanResult[style*="block"])) { padding-top: 0; padding-bottom: 0; }

  .page-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .page-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
  }

  /* FEATURES */
  .features-section {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px 24px 48px;
  }

  .features-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
  }

  /* 6 列网格：第一张（免费 Site Brief）整行突出，其余 5 张排成 3 + 2 */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  .features-grid .feature-card { grid-column: span 2; }
  .features-grid .feature-card:nth-child(n+5) { grid-column: span 3; }
  .features-grid .feature-card:first-child {
    grid-column: 1 / -1;
    border: 1.5px solid var(--blue);
    background: var(--blue-bg);
  }
  .features-grid .feature-card:first-child:hover { background: var(--blue-bg); }
  .features-grid .feature-card:first-child .feature-title { font-size: 17px; }
  .features-grid .feature-card:first-child .feature-desc { font-size: 14px; color: var(--text); }

  .feature-card {
    padding: 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg);
    transition: background 0.1s;
  }

  .feature-card:hover { background: var(--bg-hover); }

  .feature-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }

  .feature-icon {
    font-size: 20px;
    display: inline-flex;
    flex-shrink: 0;
  }

  .feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
  }

  .feat-tag {
    display: inline-block; vertical-align: 1px; margin: 0 1px;
    padding: 0 6px; border-radius: 4px; line-height: 16px;
    font-size: 11px; font-weight: 600; white-space: nowrap;
    color: var(--blue); background: var(--blue-bg);
  }
  .feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
  }

  /* BREADCRUMB / STEPS INDICATOR */
  .steps-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    font-size: 14px;
  }

  .steps-nav .step-link {
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.1s;
    white-space: nowrap;
  }

  .steps-nav .step-link:hover { color: var(--text); }

  .steps-nav .step-link.active {
    color: var(--text);
    font-weight: 500;
  }

  .steps-nav .step-link.completed { color: var(--green); }

  .steps-nav .step-sep {
    color: var(--text-tertiary);
    margin: 0 8px;
    font-size: 12px;
  }

  /* PROGRESS BAR */
  .progress-bar {
    width: 100%;
    height: 2px;
    background: var(--bg-gray);
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
  }

  .progress-fill {
    height: 100%;
    background: var(--blue);
    transition: width 0.3s ease;
    border-radius: 2px;
  }

  /* STEP CONTENT */
  .step-content { display: none; }
  .step-content.active { display: block; animation: fadeIn 0.2s ease; }

  .step-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
  }

  .step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
  }

  /* INPUT STYLES */
  .input-group { margin-bottom: 16px; }

  .input-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .input-label span {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    color: var(--text-tertiary);
  }

  input[type="text"], input[type="email"], input[type="number"], select, textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.1s, box-shadow 0.1s;
    outline: none;
    appearance: none;
  }

  input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(35,131,226,0.15);
  }

  input::placeholder { color: var(--text-tertiary); }

  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23787774' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
    cursor: pointer;
  }

  /* OPTION CARDS — Notion tag/button style */
  .option-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .option-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.1s;
    background: var(--bg);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .option-card:hover {
    background: var(--bg-hover);
  }

  .option-card.selected {
    border-color: var(--blue);
    background: var(--blue-bg);
  }

  .option-card .opt-icon {
    font-size: 16px;
    flex-shrink: 0;
  }

  .option-card .opt-text {
    display: flex;
    flex-direction: column;
  }

  .option-card .opt-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
  }

  .option-card .opt-sub {
    font-size: 12px;
    color: var(--text-tertiary);
  }

  /* RANGE SLIDER */
  .range-group { margin-bottom: 20px; }

  .range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }

  .range-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
  }

  input[type="range"] {
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--bg-gray-dark);
    outline: none;
    border: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    accent-color: var(--blue);
  }

  .range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 4px;
  }

  /* BUTTONS */
  .btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.4;
  }

  .btn-primary {
    background: var(--blue);
    color: white;
    padding: 8px 16px;
  }

  .btn-primary:hover { background: #103F73; }

  .btn-secondary {
    background: var(--bg-hover);
    color: var(--text);
    padding: 8px 16px;
  }

  .btn-secondary:hover { background: var(--bg-gray); }

  .btn-block { width: 100%; justify-content: center; }

  .btn-group {
    display: flex;
    gap: 8px;
    margin-top: 24px;
  }

  /* CALLOUT — Notion style */
  .callout {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 4px;
    background: var(--bg-gray);
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
  }

  .callout-icon { flex-shrink: 0; font-size: 16px; }

  .callout-blue { background: var(--blue-bg); }
  .callout-yellow { background: var(--yellow-bg); }
  .callout-green { background: var(--green-bg); }
  .callout-red { background: var(--red-bg); }

  .two-col { display: flex; gap: 8px; }
  .two-col .input-group { flex: 1; }

  /* DIVIDER */
  .divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
  }

  /* ===== SPLIT-SCREEN CONFIG PAGE ===== */
  #configPage { display: none; }
  .split-layout {
    display: flex;
    gap: 0;
    min-height: calc(100vh - 56px);
  }
  .split-left {
    width: 420px;
    flex-shrink: 0;
    overflow-y: auto;
    border-right: 1px solid var(--border);
    padding: 24px 20px 80px;
    background: var(--bg);
  }
  .split-right {
    flex: 1;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    background: #f4f3f1; /* 与灰调底图同色，加载时无闪白 */
  }
  .split-right #configMap {
    width: 100%;
    height: 100%;
  }

  /* ===== 地图工具栏 / 图层面板 ===== */
  .mt-bar {
    display: flex;
    gap: 1px;
    margin: 10px 0 0 10px;
    background: var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    font-family: 'Inter', -apple-system, sans-serif;
  }
  .mt-btn {
    border: none;
    background: #fff;
    color: #4a4a48;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 11px;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .12s, color .12s;
  }
  .mt-btn:hover { background: var(--blue-bg); color: var(--blue); }
  .mt-btn.active { background: var(--blue); color: #fff; }
  .mt-btn .mt-ico { font-size: 13px; line-height: 1; }

  .mt-hint {
    margin: 8px 0 0 10px;
    background: rgba(35,131,226,0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    max-width: 300px;
    line-height: 1.45;
    display: none;
  }
  .mt-hint.show { display: block; }

  /* 图层面板 */
  .mt-panel {
    width: 268px;
    margin: 10px 10px 0 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    font-family: 'Inter', -apple-system, sans-serif;
    max-height: calc(100% - 24px);
    display: none;
    flex-direction: column;
    overflow: hidden;
  }
  .mt-panel.show { display: flex; }
  .mt-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    flex-shrink: 0;
  }
  .mt-panel-close {
    border: none; background: none; cursor: pointer;
    font-size: 16px; line-height: 1; color: var(--text-secondary); padding: 0 2px;
  }
  .mt-panel-body { overflow-y: auto; padding: 4px 0 8px; }

  .mt-layer { padding: 9px 12px; border-bottom: 1px solid var(--border-light, #f0efec); }
  .mt-layer:last-child { border-bottom: none; }
  .mt-layer-row { display: flex; align-items: center; gap: 8px; }
  .mt-layer-row input[type=checkbox] {
    width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; margin: 0;
  }
  .mt-layer-name {
    flex: 1; font-size: 12.5px; color: var(--text); cursor: pointer; line-height: 1.3;
  }
  .mt-layer-name small { display: block; color: var(--text-secondary); font-size: 10.5px; font-weight: 400; }
  .mt-legend-toggle {
    border: none; background: none; cursor: pointer; color: var(--text-secondary);
    font-size: 11px; padding: 2px 4px; flex-shrink: 0;
  }
  .mt-legend-toggle:hover { color: var(--blue); }

  .mt-layer-ctrl { display: none; align-items: center; gap: 7px; margin-top: 8px; padding-left: 23px; }
  .mt-layer.on .mt-layer-ctrl { display: flex; }
  .mt-layer-ctrl input[type=range] {
    flex: 1; height: 3px; accent-color: var(--blue); cursor: pointer;
  }
  .mt-op-val { font-size: 10.5px; color: var(--text-secondary); width: 30px; text-align: right; }

  .mt-legend {
    display: none;
    margin: 8px 0 0 23px;
    max-height: 168px;
    overflow-y: auto;
    border-left: 2px solid var(--border);
    padding-left: 8px;
  }
  .mt-legend.show { display: block; }
  .mt-legend-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 10.5px; color: var(--text-secondary); line-height: 1.35; margin: 3px 0;
  }
  .mt-legend-item img { width: 15px; height: 15px; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.08); }

  .mt-panel-foot {
    padding: 8px 12px; border-top: 1px solid var(--border);
    font-size: 10px; color: var(--text-tertiary, #9b9691); line-height: 1.45; flex-shrink: 0;
  }
  .mt-panel-foot a { color: var(--text-secondary); }

  /* 测量标签 */
  .ms-label {
    position: absolute;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    transform: translate(-50%, -50%);
  }
  .ms-seg {
    background: #fff; color: #333; font-size: 10px; font-weight: 600;
    padding: 3px 6px; border-radius: 7px;
    border: 1px solid var(--blue); box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  }
  .ms-total {
    background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700;
    padding: 4px 9px; border-radius: 9px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3); border: 1.5px solid rgba(255,255,255,0.4);
  }

  /* identify 弹窗 */
  .idf-box { font-family: 'Inter', -apple-system, sans-serif; max-width: 250px; }
  .idf-box h4 { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: #2c2c2a; }
  .idf-row { font-size: 11.5px; line-height: 1.5; color: #4a4a48; margin: 3px 0; }
  .idf-row b { color: var(--blue); }
  .idf-tag {
    display: inline-block; background: var(--blue-bg); color: var(--blue);
    font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 4px; margin: 2px 3px 0 0;
  }
  .idf-none { font-size: 11.5px; color: #8a8580; }

  /* 地图容器较窄时（或手机端）工具栏只留图标 */
  .mt-bar.compact .mt-btn { padding: 8px 10px; }
  .mt-bar.compact .mt-txt { display: none; }
  .mt-bar.compact .mt-ico { font-size: 15px; }

  @media (max-width: 768px) {
    .mt-panel { width: 208px; }
    .mt-btn { padding: 8px 9px; font-size: 11.5px; }
    .mt-btn .mt-txt { display: none; }
    .mt-btn .mt-ico { font-size: 15px; }
  }

  /* ── Property boundary measurement labels (overlay-based) ── */
  .bl-edge, .bl-street, .bl-area {
    position: absolute;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    line-height: 1;
  }
  .bl-edge {
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  .bl-street {
    background: #1565C0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.35);
    border: 1.5px solid rgba(255,255,255,0.5);
  }
  .bl-area {
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border: 1.5px solid rgba(255,255,255,0.35);
  }

  /* Left panel sections */
  .config-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
  }
  .config-section:last-child { border-bottom: none; }
  .config-section-title {
    font-size: var(--fs-subtitle);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* VicPlan summary card */
  .vp-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .vp-card {
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 10px 12px;
  }
  .vp-card-label {
    font-size: var(--fs-subtitle);
    color: var(--text-tertiary);
    margin-bottom: 2px;
  }
  .vp-card-value {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text);
  }
  .vp-card-value.zone { color: var(--blue); }
  .vp-card.full { grid-column: 1 / -1; }

  /* Config panel compact inputs */
  .config-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23787774' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
  }
  .config-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(35,131,226,0.15);
    outline: none;
  }

  /* Inline field row */
  .config-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 12px;
  }
  .config-row .config-field { flex: 1; }
  .config-field { margin-bottom: 12px; }
  .config-field-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
  }
  .config-field input[type="number"],
  .config-field input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    box-sizing: border-box;
  }
  .config-field input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(35,131,226,0.15);
    outline: none;
  }

  /* Budget preview in config */
  .config-budget {
    background: var(--blue-bg);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
  }
  .config-budget-label {
    font-size: 12px;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 4px;
  }
  .config-budget-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
  }
  .config-budget-detail {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
  }

  /* Generate buttons in config */
  .config-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
  }
  .config-btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
  }
  .config-btn-primary:hover { background: #103F73; }
  .config-btn-pro {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1976D2, #1565C0);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
  }
  .config-btn-pro:hover { opacity: 0.9; }

  /* Units stepper */
  .units-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .units-stepper button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    font-size: 18px;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .units-stepper input {
    width: 56px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  /* Split-screen mobile */
  @media (max-width: 768px) {
    .split-layout { flex-direction: column; }
    .split-left {
      width: 100%;
      border-right: none;
      border-bottom: 1px solid var(--border);
      padding: 20px 16px 24px;
      overflow-y: visible;
    }
    .split-right {
      position: relative;
      top: 0;
      height: 300px;
      order: -1; /* 手机端地图在上方 */
    }
  }

  /* ===== REPORT ===== */
  #report-section { display: none; }

  /* ── 报告 + 地图 分屏布局 ── */
  .report-layout {
    display: flex;
    gap: 0;
    align-items: flex-start;
  }
  .report-main {
    flex: 1;
    min-width: 0;
  }
  .report-main .page {
    max-width: 720px;
    margin: 0 auto;
  }
  #reportMapPanel {
    width: 44%;
    min-width: 300px;
    max-width: 70%;        /* 地图最多占页面 70%，与 JS 的 RM_MAX_RATIO 保持一致 */
    flex-shrink: 0;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    background: #f4f3f1;
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
  }
  #reportMapPanel.collapsed { display: none; }

  /* ── 拖拽调节地图宽度 ── */
  .rm-resizer {
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 9px;
    cursor: col-resize;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .rm-resizer::before {
    content: '';
    width: 3px;
    height: 100%;
    background: transparent;
    transition: background .15s;
  }
  .rm-resizer::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 34px;
    border-radius: 3px;
    background: var(--border);
    transition: background .15s, height .15s;
  }
  .rm-resizer:hover::before,
  .rm-resizer.dragging::before { background: var(--blue); }
  .rm-resizer:hover::after,
  .rm-resizer.dragging::after { background: var(--blue); height: 52px; }

  /* 拖拽中：禁止选中文字、锁定光标 */
  body.rm-resizing { cursor: col-resize; user-select: none; }
  body.rm-resizing iframe, body.rm-resizing #reportMapHost { pointer-events: none; }
  body.rm-resizing-v { cursor: row-resize; user-select: none; }

  .report-map-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    flex-shrink: 0;
  }
  .report-map-head .rm-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
  }
  .report-map-head .rm-title span {
    color: var(--blue);
  }
  .rm-btn {
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text-secondary, #6b665e);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
    transition: all .15s;
  }
  .rm-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-bg);
  }
  #reportMapHost {
    flex: 1;
    min-height: 0;
    position: relative;
    background: #f4f3f1;
  }
  #reportMapHost #configMap {
    width: 100%;
    height: 100%;
  }

  /* 收起后的重新打开按钮（桌面端） */
  #reportMapReopen {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 60;
    align-items: center;
    gap: 6px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(35,131,226,0.35);
  }
  #reportMapReopen.show { display: inline-flex; }

  /* 报告页地图 — 手机端：折叠在报告顶部 */
  @media (max-width: 768px) {
    .report-layout { flex-direction: column; }
    .report-main { width: 100%; }
    #reportMapPanel {
      order: -1;
      width: 100%;
      max-width: none;
      min-width: 0;
      position: relative;
      top: 0;
      height: auto;
      border-left: none;
      border-bottom: 1px solid var(--border);
    }
    #reportMapHost {
      height: 240px;
      max-height: 70vh;    /* 手机端地图最多占屏高 70% */
      flex: none;
      transition: height .25s ease;
    }
    #reportMapPanel.expanded #reportMapHost { height: 70vh; }
    #reportMapPanel.mini #reportMapHost { height: 0; }
    #reportMapReopen { display: none !important; }

    /* 手机端：拖拽条改为底部横条，上下拖动调节地图高度 */
    #reportMapPanel { padding-bottom: 12px; }
    .rm-resizer {
      left: 0; right: 0; top: auto; bottom: 0;
      width: auto; height: 14px;
      cursor: row-resize;
      background: var(--bg);
      border-top: 1px solid var(--border-light, #f0efec);
    }
    .rm-resizer::before { display: none; }
    .rm-resizer::after { width: 40px; height: 4px; }
    .rm-resizer:hover::after, .rm-resizer.dragging::after { width: 56px; height: 4px; }
  }

  .report-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    margin-bottom: 4px;
  }

  .report-address {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
  }

  /* VERDICT — prominent result banner */
  .verdict {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 10px;
    margin-bottom: 28px;
    border-left: 5px solid transparent;
  }

  .verdict.feasible { background: var(--green-bg); border-left-color: var(--green-text); }
  .verdict.conditional { background: var(--yellow-bg); border-left-color: var(--yellow-text); }
  .verdict.infeasible { background: var(--red-bg); border-left-color: var(--red-text); }

  .verdict-icon { font-size: 32px; flex-shrink: 0; margin-top: 2px; }

  .verdict-label {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  .verdict.feasible .verdict-label { color: var(--green-text); }
  .verdict.conditional .verdict-label { color: var(--yellow-text); }
  .verdict.infeasible .verdict-label { color: var(--red-text); }

  .verdict-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
  }

  .verdict-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* INFO GRID — Notion property style */
  .props-table {
    width: 100%;
    margin-bottom: 28px;
    border-top: 1px solid var(--border);
  }

  .props-row {
    display: flex;
    border-bottom: 1px solid var(--border-light);
  }

  .props-label {
    width: 160px;
    flex-shrink: 0;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-hover);
  }

  .props-value {
    flex: 1;
    padding: 8px 10px;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
  }

  .props-value small {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 1px;
  }

  /* TAGS — Notion style */
  .tag-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

  .tag {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 3px;
    white-space: nowrap;
  }

  .tag.good { background: var(--green-bg); color: var(--green-text); }
  .tag.warn { background: var(--yellow-bg); color: var(--yellow-text); }
  .tag.bad  { background: var(--red-bg); color: var(--red-text); }

  /* SECTION HEADING */
  .section-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
  }

  /* COST TABLE — Notion table style */
  .cost-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 28px;
    font-size: 14px;
  }

  .cost-table tr { border-bottom: 1px solid var(--border-light); }
  .cost-table tr:last-child { border-bottom: none; }

  .cost-table td {
    padding: 8px 12px;
    vertical-align: top;
  }

  .cost-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
  }

  .cost-table .cost-label { color: var(--text); font-weight: 500; }
  .cost-table .cost-note {
    font-size: 12px;
    color: var(--text-tertiary);
    display: block;
    margin-top: 1px;
  }

  .cost-table .total-row td {
    font-weight: 600;
    background: var(--bg-hover);
    border-top: 1px solid var(--border);
  }

  .cost-table .total-row td:last-child {
    color: var(--blue);
    font-size: 16px;
  }

  /* NEXT STEPS — Notion numbered list */
  .next-steps {
    list-style: none;
    margin-bottom: 28px;
  }

  .next-steps li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
  }

  .step-num {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    flex-shrink: 0;
    min-width: 20px;
  }

  /* CTA BOX */
  .cta-box {
    background: var(--bg-gray);
    border-radius: 4px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
  }

  .cta-box h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
  }

  .cta-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
  }

  /* DISCLAIMER */
  .disclaimer {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
  }

  /* LOADING */
  .loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }

  .loading-overlay.show { display: flex; }

  .loading-spinner {
    width: 32px;
    height: 32px;
    border: 2.5px solid var(--bg-gray-dark);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }

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

  .loading-text { color: var(--text); font-size: 14px; font-weight: 500; }
  .loading-sub { color: var(--text-tertiary); font-size: 13px; }

  /* Desktop: hide mobile-only elements */
  @media (min-width: 641px) {
    .mobile-header-actions { display: none !important; }
    .hamburger-btn { display: none !important; }
  }

  /* ── 中等宽度（641–900px）：导航项放不下，提前切汉堡菜单 ──
     2026-08-04 新增「参与调研」后，桌面导航在窄屏笔电 / 开着 DevTools 时
     会挤成两行。此断点让 641–900px 直接走移动端菜单，避免折行 */
  @media (max-width: 900px) {
    nav { display: none !important; }
    .mobile-header-actions { display: flex !important; }
    .hamburger-btn { display: flex !important; }
  }

  /* 900–1100px：宽度够但偏紧，缩小 logo 与导航间距争取空间 */
  @media (min-width: 901px) and (max-width: 1100px) {
    header { padding: 0 16px; }
    .logo { font-size: 24.7px; gap: 8px; }
    .logo-mark { width: 28px; height: 28px; }
    nav { gap: 2px; }
    nav a { font-size: 13px; padding: 4px 6px; }
  }

  /* ===== RESPONSIVE — MOBILE FIRST (67% traffic) ===== */
  @media (max-width: 640px) {
    /* ── Header & Hero ── */
    header { padding: 0 12px; }
    .logo { font-size: 23px; gap: 7px; letter-spacing: .08em; }
    .logo-mark { width: 26px; height: 26px; }
    .hero { padding: 48px 16px 32px; }
    .hero h1 { font-size: 35px; }
    .hero-sub { font-size: 13px; white-space: normal; }
    .hero-search-box { padding: 4px 4px 4px 16px; }
    .hero-search-box input { font-size: 16px; padding: 8px 0; }
    .hero-search-btn { width: 44px; height: 44px; }
    .stats-bar { gap: 16px; padding: 14px 12px; }
    .stat-num { font-size: 16px; line-height: 22px; height: 22px; }
    .stat-label { font-size: 11px; line-height: 16px; }
    nav { display: none !important; }
    .mobile-header-actions { display: flex !important; }
    .hamburger-btn { display: flex !important; }
    .lang-toggle-mobile { display: none !important; }

    /* ── Page Layout ── */
    .page { padding: 24px 16px 60px; }
    .page-title { font-size: 26px; }

    /* ── Form: iOS 防缩放 — input font-size 必须 ≥ 16px ── */
    input[type="text"], input[type="email"], input[type="number"], select, textarea {
      font-size: 16px;
      padding: 12px 12px;
    }
    .addr-search-box input { font-size: 16px; padding: 14px 8px; }

    /* ── Form: 标签和描述 ── */
    .input-label { font-size: 13px; margin-bottom: 8px; }
    .step-heading { font-size: 18px; margin-bottom: 6px; }
    .step-desc { font-size: 14px; margin-bottom: 20px; }

    /* ── Form: 选项卡片 — 增大触控目标 (min 44px) ── */
    .option-grid { flex-direction: column; gap: 10px; }
    .option-card { padding: 14px 16px; min-height: 48px; }
    .option-card .opt-title { font-size: 15px; }
    .option-card .opt-sub { font-size: 13px; }

    /* ── Form: 双栏输入 ── */
    .two-col { flex-direction: column; gap: 0; }

    /* ── Form: 滑块 ── */
    .range-value { font-size: 15px; }
    .range-labels { font-size: 12px; }

    /* ── Buttons: 增大触控目标 ── */
    .btn { font-size: 15px; padding: 10px 16px; min-height: 44px; }
    .btn-primary { padding: 12px 20px; }
    .btn-group { gap: 10px; }

    /* ── Callout ── */
    .callout { font-size: 14px; padding: 14px 14px; }

    /* ── Report: 标题和判定 ── */
    .report-title { font-size: 24px; }
    .report-address { font-size: 13px; }
    .verdict { padding: 18px 16px; gap: 12px; }
    .verdict-icon { font-size: 28px; }
    .verdict-label { font-size: 20px; }
    .verdict-title { font-size: 15px; }
    .verdict-desc { font-size: 13px; }

    /* ── Report: 属性表格 — 手机上下堆叠 ── */
    .props-row { flex-direction: column; }
    .props-label {
      width: 100%;
      font-size: 12px;
      padding: 8px 12px 4px;
      background: transparent;
      color: var(--text-tertiary);
    }
    .props-value {
      padding: 2px 12px 10px;
      font-size: 15px;
    }
    .props-value small { font-size: 12px; }

    /* ── Report: Tags ── */
    .tag { font-size: 12px; padding: 4px 10px; }
    .tag-row { gap: 8px; }

    /* ── Report: 造价表格 ── */
    .cost-table { font-size: 14px; }
    .cost-table td { padding: 10px 12px; }
    .cost-table .cost-note { font-size: 12px; }
    .cost-table .total-row td { font-size: 15px; }
    .section-heading { font-size: 17px; margin-bottom: 14px; }

    /* ── Report: AI报告 Markdown ── */
    .md-rendered h2 { font-size: 16px; }
    .md-rendered h3 { font-size: 15px; }
    .md-rendered p, .md-rendered li { font-size: 14px; line-height: 1.7; }
    .md-rendered table.md-table { font-size: 12px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .md-rendered table.md-table th,
    .md-rendered table.md-table td { padding: 6px 8px; white-space: nowrap; }
    .md-rendered blockquote { font-size: 13px; padding: 6px 12px; }

    /* ── 新增组件移动端 ── */
    .premium-cta-box { padding: 20px 18px 18px; }
    .premium-cta-box h3 { font-size: 15px; }
    .premium-cta-features { gap: 6px; margin-bottom: 14px; }
    .premium-cta-feature { font-size: 11px; padding: 3px 10px; }
    .premium-cta-btn { padding: 10px 18px; font-size: 13px; }

    /* ── Report: 下一步 & CTA ── */
    .next-steps li { font-size: 14px; padding: 10px 0; }
    .cta-box { padding: 20px 16px; }
    .cta-box h3 { font-size: 17px; }
    .cta-box p { font-size: 14px; }

    /* ── Premium CTA ── */
    .premium-cta-box { padding: 20px 16px; }
    .premium-cta-box h3 { font-size: 17px; }
    .premium-cta-box p { font-size: 14px; }
    .premium-cta-btn { padding: 12px 24px; font-size: 15px; min-height: 44px; }

    /* ── Disclaimer ── */
    .disclaimer { font-size: 12px; }

    /* ── Loading ── */
    .loading-text { font-size: 15px; }
    .loading-sub { font-size: 14px; }

    /* ── Features Grid ── */
    .features-grid { grid-template-columns: 1fr; }
    .features-grid .feature-card,
    .features-grid .feature-card:nth-child(n+5),
    .features-grid .feature-card:first-child { grid-column: auto; }
    .features-section { padding: 8px 16px 36px; }

    /* ── Auth Modal ── */
    .auth-modal input[type="text"],
    .auth-modal input[type="email"] { font-size: 16px; padding: 12px; }
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* LANGUAGE TOGGLE */
  .lang-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-left: 8px;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
  }
  .lang-toggle .lang-opt {
    padding: 3px 10px;
    color: var(--text-secondary);
    transition: background 0.15s, color 0.15s;
    font-weight: 500;
    line-height: 1.4;
  }
  .lang-toggle .lang-opt:hover { background: var(--bg-hover); }
  .lang-toggle .lang-opt.active {
    background: var(--blue);
    color: #fff;
  }
  .lang-toggle.lang-toggle-mobile { display: none; }
  .lang-toggle .lang-sep {
    color: var(--border);
    font-size: 11px;
    padding: 0 1px;
  }

  /* ── Markdown 渲染样式 ── */
  .md-rendered h2 { font-size:17px; font-weight:700; color:var(--text,#1E2A33); margin:24px 0 8px 0; padding-bottom:6px; border-bottom:2px solid var(--accent,#c4553a); }
  .md-rendered h3 { font-size:15px; font-weight:700; color:var(--text,#1E2A33); margin:20px 0 6px 0; }
  .md-rendered h4 { font-size:14px; font-weight:600; color:var(--text,#1E2A33); margin:14px 0 4px 0; }
  .md-rendered p  { margin:6px 0 10px 0; }
  .md-rendered strong { font-weight:700; color:var(--text,#1E2A33); }
  .md-rendered ul, .md-rendered ol { margin:6px 0 10px 0; padding-left:22px; }
  .md-rendered li { margin:3px 0; }
  .md-rendered li::marker { color:var(--accent,#c4553a); }
  .md-rendered hr { border:none; border-top:1px solid var(--border,#D9DEDF); margin:16px 0; }
  .md-rendered code { background:var(--tag-bg,#EDEFEC); padding:1px 5px; border-radius:4px; font-size:13px; }
  .md-rendered blockquote { border-left:3px solid var(--accent,#c4553a); margin:10px 0; padding:4px 12px; color:var(--text-secondary,#56626B); background:var(--bg-secondary,#fafafa); border-radius:0 6px 6px 0; }
  .md-rendered table.md-table { width:100%; border-collapse:collapse; margin:12px 0 16px 0; font-size:13px; }
  .md-rendered table.md-table th { background:var(--accent,#c4553a); color:#fff; font-weight:600; padding:8px 12px; border:1px solid var(--border,#D9DEDF); }
  .md-rendered table.md-table td { padding:7px 12px; border:1px solid var(--border,#D9DEDF); }
  .md-rendered table.md-table tbody tr:nth-child(even) { background:var(--bg-secondary,#fafafa); }
  .md-rendered table.md-table tbody tr:hover { background:rgba(196,85,58,0.06); }

  /* ── ADDRESS AUTOCOMPLETE ── */
  .addr-search-wrap { position: relative; }
  .addr-search-box {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 0 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .addr-search-box:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(35,131,226,0.1);
  }
  .addr-search-box .addr-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
  }
  .addr-search-box .addr-icon svg { width: 20px; height: 20px; }
  .addr-search-box input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 14px 8px;
    font-size: 15px;
    background: transparent;
    box-shadow: none !important;
  }
  .addr-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 50;
    max-height: 320px;
    overflow-y: auto;
    display: none;
  }
  .addr-dropdown.open { display: block; animation: fadeIn 0.15s ease; }
  .addr-dropdown-item {
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.1s;
    -webkit-tap-highlight-color: rgba(0,0,0,0.08);
    min-height: 44px;
  }
  .addr-dropdown-item:last-child { border-bottom: none; }
  .addr-dropdown-item:hover { background: var(--bg-hover); }
  .addr-dropdown-item.selected { background: var(--blue-bg); }
  .addr-dropdown-name { font-size: 14px; color: var(--text); line-height: 1.4; }
  .addr-dropdown-sub { font-size: 12px; color: var(--blue); margin-top: 2px; }
  .addr-dropdown-loading { padding: 16px; text-align: center; font-size: 13px; color: var(--text-tertiary); }

  /* ── SUB PAGES ── */
  .sub-page { display: none; max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
  .sub-page.active { display: block; animation: fadeIn 0.3s ease; }
  nav a.nav-active { color: var(--blue); font-weight: 500; }

  /* How-to page */
  .how-header { text-align: center; margin-bottom: 48px; }
  .how-header h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
  .how-header p { font-size: 15px; color: var(--text-secondary); }
  .how-steps { display: flex; flex-direction: column; gap: 48px; }
  .how-step { display: flex; gap: 32px; align-items: flex-start; }
  .how-step-illustration { flex-shrink: 0; width: 260px; height: 180px; background: var(--bg-gray); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .how-step-illustration svg { width: 100%; height: 100%; }
  .how-step-content { flex: 1; padding-top: 12px; }
  .how-step-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; border-radius: 50%; margin-bottom: 8px; }
  .how-step-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
  .how-step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
  .how-step-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .how-step-tags span { font-size: 12px; padding: 2px 10px; border-radius: 3px; background: var(--blue-bg); color: var(--blue); font-weight: 500; }
  .how-cta { text-align: center; margin-top: 56px; padding: 32px; background: var(--bg-gray); border-radius: 12px; }
  .how-cta h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
  .how-cta p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }

  /* Cases page */
  .cases-header { text-align: center; margin-bottom: 40px; }
  .cases-header h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
  .cases-header p { font-size: 15px; color: var(--text-secondary); }
  .cases-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
  .cases-feat { padding: 20px; background: var(--bg-gray); border-radius: 10px; text-align: center; }
  .cases-feat-icon { font-size: 28px; margin-bottom: 8px; }
  .cases-feat-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
  .cases-feat-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
  .case-demo { background: var(--bg-gray); border-radius: 12px; overflow: hidden; margin-bottom: 40px; }
  .case-demo-header { padding: 20px 24px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 10px; }
  .case-demo-badge { font-size: 11px; background: var(--green-bg); color: var(--green-text); padding: 2px 8px; border-radius: 3px; font-weight: 600; }
  .case-demo-title { font-size: 16px; font-weight: 600; }
  .case-demo-body { padding: 24px; }
  .case-demo-flow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
  .case-flow-step { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; font-size: 13px; text-align: center; flex: 1; min-width: 140px; }
  .case-flow-step strong { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
  .case-flow-arrow { color: var(--blue); font-size: 18px; font-weight: 700; flex-shrink: 0; }
  .case-result { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
  .case-result-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .case-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .case-result-item { padding: 10px 14px; background: var(--bg-gray); border-radius: 6px; }
  .case-result-item .label { font-size: 11px; color: var(--text-tertiary); margin-bottom: 2px; }
  .case-result-item .value { font-size: 14px; font-weight: 600; }
  .case-result-item .value.green { color: var(--green-text); }
  .case-verdict { margin-top: 16px; padding: 14px 16px; background: var(--green-bg); border-radius: 8px; display: flex; align-items: center; gap: 10px; }
  .case-verdict-icon { font-size: 24px; }
  .case-verdict-text { font-size: 14px; font-weight: 600; color: var(--green-text); }
  .case-verdict-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; font-weight: 400; }
  .case-blur { filter: blur(4px); user-select: none; }

  /* Contact page */
  .contact-header { text-align: center; margin-bottom: 48px; }
  .contact-header h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
  .contact-header p { font-size: 15px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; line-height: 1.6; }
  .contact-brand { display: flex; align-items: center; gap: 16px; padding: 24px; background: var(--bg-gray); border-radius: 12px; margin-bottom: 40px; }
  .contact-brand-logo { width: 64px; height: 64px; background: var(--text); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 700; flex-shrink: 0; }
  .contact-brand-info h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
  .contact-brand-info p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
  .service-timeline { position: relative; padding-left: 32px; }
  .service-timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
  .service-phase { position: relative; margin-bottom: 28px; }
  .service-phase:last-child { margin-bottom: 0; }
  .service-phase-dot { position: absolute; left: -32px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
  .service-phase-dot svg { width: 12px; height: 12px; }
  .service-phase h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
  .service-phase p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
  .service-phase-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .service-phase-tags span { font-size: 11px; padding: 2px 8px; background: var(--bg-gray); border-radius: 3px; color: var(--text-secondary); }
  .contact-cta-section { margin-top: 48px; padding: 32px; background: var(--bg-gray); border-radius: 12px; text-align: center; }
  .contact-cta-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
  .contact-cta-section p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
  .contact-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .contact-info-row { display: flex; gap: 16px; margin-top: 24px; justify-content: center; flex-wrap: wrap; }
  .contact-info-item { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }

  @media (max-width: 640px) {
    /* ── Sub Pages ── */
    .sub-page { padding: 28px 16px 60px; }

    /* ── How-to 页面 ── */
    .how-header h1 { font-size: 26px; }
    .how-header p { font-size: 14px; }
    .how-step { flex-direction: column; gap: 16px; }
    .how-step-illustration { width: 100%; height: 160px; }
    .how-step-title { font-size: 18px; }
    .how-step-desc { font-size: 14px; }

    /* ── Cases 页面 ── */
    .cases-header h1 { font-size: 26px; }
    .cases-header p { font-size: 14px; }
    .cases-features { grid-template-columns: 1fr; }
    .cases-feat-title { font-size: 15px; }
    .cases-feat-desc { font-size: 13px; }
    .case-demo-header { padding: 16px; }
    .case-demo-body { padding: 16px; }
    .case-demo-title { font-size: 15px; }
    .case-demo-flow { flex-direction: column; }
    .case-flow-step { font-size: 14px; padding: 14px 16px; min-width: auto; }
    .case-flow-arrow { transform: rotate(90deg); }
    .case-result-grid { grid-template-columns: 1fr; }
    .case-result-item .label { font-size: 12px; }
    .case-result-item .value { font-size: 15px; }

    /* ── Contact 页面 ── */
    .contact-header h1 { font-size: 26px; }
    .contact-header p { font-size: 14px; }
    .contact-brand { flex-direction: column; text-align: center; padding: 20px 16px; }
    .contact-brand-info h2 { font-size: 18px; }
    .contact-brand-info p { font-size: 14px; }
    .service-phase h3 { font-size: 16px; }
    .service-phase p { font-size: 14px; }
    .contact-cta-section { padding: 24px 16px; }
    .contact-cta-section h3 { font-size: 17px; }
    .contact-cta-section p { font-size: 14px; }
    .contact-btns .btn { min-height: 44px; font-size: 15px; }
    .contact-info-item { font-size: 13px; }
  }

  /* ── AUTH MODAL & MEMBER UI ── */
  .auth-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 6px; font-size: 13px; font-weight: 500;
    cursor: pointer; border: 1px solid var(--border); background: var(--bg);
    color: var(--text); transition: all 0.15s;
  }
  .auth-btn:hover { background: var(--bg-hover); }
  .auth-btn.logged-in { border-color: var(--green); color: var(--green-text); background: var(--green-bg); }
  .auth-btn .auth-avatar {
    width: 22px; height: 22px; border-radius: 50%; background: var(--blue);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 600;
  }
  .auth-tier-badge {
    font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 3px;
    text-transform: uppercase; letter-spacing: 0.5px;
  }
  .auth-tier-badge.free { background: var(--bg-gray); color: var(--text-secondary); }
  .auth-tier-badge.pro { background: #e0f2fe; color: #0369a1; }
  .auth-tier-badge.premium { background: var(--yellow-bg); color: var(--yellow-text); }
  .auth-tier-badge.admin { background: #1a1a1a; color: #fff; }
  /* 限时体验倒计时（跟在层级徽章后） */
  .auth-trial-badge {
    font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 3px; margin-left: 4px;
    background: var(--blue-bg); color: var(--blue); white-space: nowrap;
  }
  .auth-trial-badge.urgent { background: var(--red-bg, #FDECEC); color: var(--red, #C62828); }

  .auth-dropdown {
    position: absolute; top: 100%; right: 0; margin-top: 6px;
    background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1); min-width: 200px;
    z-index: 200; display: none; padding: 6px 0;
  }
  .auth-dropdown.show { display: block; }
  .auth-dropdown-item {
    display: block; width: 100%; padding: 8px 14px; font-size: 13px;
    color: var(--text); background: none; border: none; cursor: pointer;
    text-align: left; transition: background 0.1s;
  }
  .auth-dropdown-item:hover { background: var(--bg-hover); }
  .auth-dropdown-sep { border-top: 1px solid var(--border-light); margin: 4px 0; }
  .auth-dropdown-info { padding: 10px 14px; font-size: 12px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); }

  /* ===== 问卷邀请弹窗（2026-08-04）===== */
  .survey-overlay {
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.45);
    z-index: 600;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; transition: opacity .25s ease;
  }
  .survey-overlay.show { display: flex; }
  .survey-overlay.visible { opacity: 1; }
  .survey-modal {
    background: var(--bg); border-radius: 16px;
    width: 400px; max-width: 100%;
    overflow: hidden; position: relative;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    transform: translateY(12px) scale(.98);
    transition: transform .25s cubic-bezier(.4,0,.2,1);
  }
  .survey-overlay.visible .survey-modal { transform: none; }
  .survey-modal-bar { height: 4px; background: var(--blue); }
  .survey-modal-body { padding: 26px 26px 22px; }
  .survey-modal-close {
    position: absolute; top: 12px; right: 12px;
    width: 28px; height: 28px; border: none; background: none;
    color: var(--text-tertiary); font-size: 20px; line-height: 1;
    cursor: pointer; border-radius: 50%; transition: all .15s;
    display: flex; align-items: center; justify-content: center;
  }
  .survey-modal-close:hover { background: var(--bg-hover); color: var(--text); }
  .survey-modal-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--blue-bg); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 14px;
  }
  .survey-modal-title {
    font-size: 19px; font-weight: 600; line-height: 1.4;
    color: var(--text); margin-bottom: 8px;
  }
  .survey-modal-desc {
    font-size: 14px; color: var(--text-secondary);
    line-height: 1.65; margin-bottom: 16px;
  }
  .survey-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
  .survey-chip {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12px; padding: 4px 10px; border-radius: 20px;
    background: var(--bg-gray); color: var(--text-secondary);
  }
  .survey-chip.green { background: var(--green-bg); color: var(--green-text); }
  .survey-actions { display: flex; gap: 10px; align-items: center; }
  .survey-btn-primary {
    flex: 1; background: var(--blue); color: #fff;
    text-align: center; padding: 11px 0; border: none; border-radius: 9px;
    font-size: 14.5px; font-weight: 500; cursor: pointer;
    font-family: inherit; text-decoration: none;
    transition: background .15s;
  }
  .survey-btn-primary:hover { background: #103F73; }
  .survey-btn-ghost {
    padding: 11px 16px; background: none; border: none;
    font-size: 14px; color: var(--text-secondary);
    cursor: pointer; font-family: inherit; border-radius: 8px;
    transition: all .15s; white-space: nowrap;
  }
  .survey-btn-ghost:hover { background: var(--bg-hover); color: var(--text); }
  .survey-modal-note {
    font-size: 11.5px; color: var(--text-tertiary);
    text-align: center; margin-top: 14px;
  }
  @media (max-width: 480px) {
    .survey-modal-body { padding: 22px 18px 18px; }
    .survey-modal-title { font-size: 17px; }
  }

  .auth-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); z-index: 500;
    display: none; align-items: center; justify-content: center;
  }
  .auth-modal-overlay.show { display: flex; }
  .auth-modal {
    background: var(--bg); border-radius: 12px; padding: 32px;
    width: 380px; max-width: 90vw; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: relative;
  }
  .auth-modal-close {
    position: absolute; top: 12px; right: 12px; background: none; border: none;
    font-size: 18px; color: var(--text-secondary); cursor: pointer; padding: 4px 8px;
    border-radius: 4px;
  }
  .auth-modal-close:hover { background: var(--bg-hover); }
  .auth-modal h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
  .auth-modal .auth-subtitle { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; }
  .auth-modal input[type="text"],
  .auth-modal input[type="email"] {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
    border-radius: 8px; font-size: 14px; outline: none; transition: border-color 0.15s;
  }
  .auth-modal input[type="text"]:focus,
  .auth-modal input[type="email"]:focus { border-color: var(--blue); }
  .auth-modal input + input { margin-top: 10px; }
  .auth-modal .auth-submit {
    width: 100%; padding: 10px; margin-top: 12px; border: none; border-radius: 8px;
    background: var(--blue); color: #fff; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: opacity 0.15s;
  }
  .auth-modal .auth-submit:hover { opacity: 0.9; }
  .auth-modal .auth-submit:disabled { opacity: 0.5; cursor: not-allowed; }
  .auth-modal .auth-msg {
    margin-top: 12px; font-size: 13px; text-align: center; min-height: 20px;
  }
  .auth-msg.success { color: var(--green-text); }
  .auth-msg.error { color: var(--red-text); }

  /* ── 结论条 + 三个关键数字（报告首屏）── */
  .headline-box {
    background: var(--bg); border: 1px solid var(--border-light);
    border-radius: 16px; padding: 20px 24px; margin-bottom: 20px;
  }
  .headline-sentence {
    font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--text);
    margin-bottom: 18px;
  }
  .headline-sentence em {
    font-style: normal; font-weight: 700; color: var(--blue);
  }
  .headline-sentence em.warn { color: var(--yellow-text); }
  .headline-sentence em.bad  { color: var(--red-text); }
  .headline-stats {
    /* auto-fit：420px 侧栏自动降为 2 列，报告页较宽仍为 3 列
       固定 3 列时每格仅剩约 90px，数值会被截断 */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  .hl-stat {
    background: var(--bg-gray); border-radius: 10px; padding: 12px 14px;
    border-left: 3px solid var(--blue); min-width: 0;
  }
  .hl-stat-label {
    font-size: 11px; color: var(--text-tertiary); margin-bottom: 5px;
    letter-spacing: .02em;
    display: flex; align-items: center; gap: 5px;
  }
  .hl-stat-val {
    /* 允许换行：宁可占两行也不能截断关键数字 */
    font-size: 19px; font-weight: 800; color: var(--text);
    line-height: 1.25; overflow-wrap: break-word; word-break: break-word;
  }
  .hl-stat-val small {
    display: block; font-size: 11px; font-weight: 500;
    color: var(--text-secondary); margin-top: 4px; white-space: normal;
  }
  /* 侧栏排 2 列时第三格会落单 —— 让它横跨整行，看起来才是刻意的 */
  #cfgHeadlineBox .headline-stats > .hl-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .headline-basis {
    margin-top: 14px; font-size: 11.5px; line-height: 1.6;
    color: var(--text-tertiary);
    border-top: 1px dashed var(--border-light); padding-top: 10px;
  }
  @media (max-width: 640px) {
    .headline-box { padding: 16px; }
    .headline-sentence { font-size: 15px; margin-bottom: 14px; }
    .headline-stats { grid-template-columns: 1fr; gap: 8px; }
    .hl-stat { padding: 10px 12px; }
    .hl-stat-val { font-size: 18px; }
  }

  /* ── 预约咨询弹层（Consult 模块自注入到 body，勿放进页面容器）── */
  .consult-modal {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,.6);
    align-items: center; justify-content: center; padding: 20px;
  }
  .consult-modal.show { display: flex; }
  .consult-dialog {
    background: #fff; border-radius: 16px; position: relative;
    width: 100%; max-width: 700px; height: 85vh; max-height: 820px;
    overflow: hidden;
  }
  .consult-close {
    position: absolute; top: 10px; right: 12px; z-index: 2;
    background: rgba(255,255,255,.92); border: 1px solid var(--border-light);
    width: 32px; height: 32px; border-radius: 50%;
    font-size: 16px; line-height: 1; cursor: pointer; color: var(--text-secondary);
    font-family: inherit;
  }
  .consult-close:hover { background: var(--bg-gray); color: var(--text); }
  .consult-loading {
    position: absolute; inset: 0; display: flex;
    align-items: center; justify-content: center;
    font-size: 14px; color: var(--text-tertiary);
  }
  .consult-modal.loaded .consult-loading { display: none; }
  .consult-frame {
    width: 100%; height: 100%; border: none; border-radius: 16px;
    position: relative; z-index: 1;
  }
  @media (max-width: 640px) {
    .consult-modal { padding: 0; }
    .consult-dialog { height: 100%; max-height: none; border-radius: 0; }
    .consult-frame { border-radius: 0; }
  }

  /* ── Deal-Killer 红旗清单 ── */
  .rf-list { display: flex; flex-direction: column; gap: 10px; }
  .rf-item {
    background: var(--bg); border: 1px solid var(--border-light);
    border-left: 4px solid var(--text-tertiary);
    border-radius: 10px; padding: 14px 16px;
  }
  .rf-item.critical { border-left-color: var(--red-text); background: var(--red-bg); }
  .rf-item.high     { border-left-color: var(--red-text); }
  .rf-item.medium   { border-left-color: var(--yellow-text); }
  .rf-item.low      { border-left-color: var(--text-tertiary); }
  .rf-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
  .rf-badge {
    font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
    white-space: nowrap; letter-spacing: .02em;
  }
  .rf-badge.critical { background: var(--red-text); color: #fff; }
  .rf-badge.high     { background: var(--red-bg); color: var(--red-text); }
  .rf-badge.medium   { background: var(--yellow-bg); color: var(--yellow-text); }
  .rf-badge.low      { background: var(--bg-gray); color: var(--text-secondary); }
  .rf-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
  .rf-code { font-size: 12px; font-weight: 600; color: var(--text-tertiary); }
  .rf-body { font-size: 13px; line-height: 1.65; color: var(--text-secondary); }
  .rf-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
  .rf-meta-item { font-size: 12px; color: var(--text-secondary); }
  .rf-meta-item b { color: var(--text); font-weight: 700; }
  .rf-action {
    margin-top: 8px; font-size: 12.5px; line-height: 1.6;
    color: var(--text); background: var(--bg-gray);
    border-radius: 6px; padding: 7px 10px;
  }
  .rf-action::before { content: '→ '; color: var(--blue); font-weight: 700; }
  /* 首屏 teaser（访客与 Free）：关键发现只亮 1 条；下面列出 Site Brief 里还会有什么 */
  .rf-teaser-note { font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }
  .teaser-box {
    background: var(--bg-gray); border: 1px solid var(--border-light); border-radius: 10px;
    padding: 14px 16px; margin: 0 0 16px;
  }
  .teaser-title { font-size: var(--fs-subtitle); font-weight: 600; color: var(--text); margin-bottom: 8px; }
  .teaser-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
  .teaser-list li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
  .teaser-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }
  .rf-clean {
    background: var(--green-bg); border: 1px solid var(--border-light);
    border-left: 4px solid var(--green-text); border-radius: 10px;
    padding: 14px 16px; font-size: 13.5px; line-height: 1.6; color: var(--green-text);
  }
  .rf-consult {
    margin-top: 14px; padding: 12px 16px; border-radius: 10px;
    background: var(--bg-gray); display: flex; align-items: center;
    justify-content: space-between; gap: 12px; flex-wrap: wrap;
  }
  .rf-consult-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
  .rf-consult-btn {
    background: var(--blue); color: #fff; border: none; border-radius: 8px;
    padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer;
    white-space: nowrap; font-family: inherit;
  }
  .rf-consult-btn:hover { opacity: .88; }
  @media (max-width: 640px) {
    .rf-item { padding: 12px 14px; }
    .rf-title { font-size: 13.5px; }
    .rf-consult { flex-direction: column; align-items: stretch; }
    .rf-consult-btn { width: 100%; }
  }

  /* ── 三个数字的统一「预估」标记 ── */
  .hl-est {
    flex: none; font-size: 9px; font-weight: 600; line-height: 1;
    color: var(--blue); background: var(--blue-bg);
    border-radius: 3px; padding: 2px 4px; letter-spacing: 0;
  }

  /* ── 首屏可折叠区块（原生 details，无 JS 依赖）── */
  .bc-fold { border-top: 1px solid var(--border-light); }
  .bc-fold > summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    padding: 11px 0; font-size: 13px; font-weight: 600;
    color: var(--text-secondary); user-select: none;
  }
  .bc-fold > summary::-webkit-details-marker { display: none; }
  .bc-fold > summary:hover { color: var(--text); }
  .bc-fold > summary::before {
    content: '\203A'; flex: none; font-size: 16px; line-height: 1;
    transform: rotate(90deg); transition: transform .15s ease;
    color: var(--text-tertiary);
  }
  .bc-fold[open] > summary::before { transform: rotate(-90deg); }
  .bc-fold-count {
    flex: none; font-size: 10px; font-weight: 600;
    color: var(--text-tertiary); background: var(--bg-gray-dark);
    border-radius: 3px; padding: 2px 5px; line-height: 1;
  }
  .bc-fold-body { padding-bottom: 14px; }

  /* ── 首屏预览区可折叠区块：复用 .bc-fold 的折叠机制，标题字号/颜色对齐 .section-heading ── */
  .cfg-fold { border-top: none; }
  .cfg-fold > summary { font-size: 16px; font-weight: 600; color: var(--text); padding: 0 0 12px; }

  /* ── 红旗锁定态（访客 / Free：只给条数 + 升级引导）── */
  .rf-locked {
    border: 1px dashed var(--border); border-radius: 10px;
    padding: 16px; text-align: center; background: var(--bg-gray);
  }
  .rf-locked-count { font-size: 22px; font-weight: 800; color: var(--text); }
  .rf-locked-count small {
    display: block; font-size: 12px; font-weight: 500;
    color: var(--text-secondary); margin-top: 4px;
  }
  .rf-locked-sev { margin: 10px 0 12px; font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }
  .rf-locked-sev b { color: var(--red, #A32D2D); }
  .rf-locked-btn {
    background: var(--blue); color: #fff; border: none; border-radius: 8px;
    padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: inherit;
  }
  .rf-locked-btn:hover { opacity: .88; }

  /* ── 快速通道判定卡（Clause 55 deemed-to-comply）── */
  .dtc-card {
    border: 1px solid var(--border); border-radius: 10px;
    padding: 14px 16px; background: var(--bg);
  }
  .dtc-card.eligible   { border-left: 3px solid #1D9E75; }
  .dtc-card.diluted    { border-left: 3px solid #BA7517; }
  .dtc-card.ineligible { border-left: 3px solid #A32D2D; }
  .dtc-card.unknown    { border-left: 3px solid var(--text-tertiary); }
  .dtc-verdict {
    display: flex; align-items: center; gap: 8px;
    font-size: 14.5px; font-weight: 700; margin-bottom: 6px;
  }
  .dtc-card.eligible   .dtc-verdict { color: #0F6E56; }
  .dtc-card.diluted    .dtc-verdict { color: #854F0B; }
  .dtc-card.ineligible .dtc-verdict { color: #791F1F; }
  .dtc-card.unknown    .dtc-verdict { color: var(--text-secondary); }
  .dtc-note { font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); }
  .dtc-block { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border-light); }
  .dtc-block-title {
    font-size: 11px; font-weight: 600; color: var(--text-tertiary);
    margin-bottom: 6px; letter-spacing: .02em;
  }
  .dtc-item { font-size: 12.5px; line-height: 1.55; color: var(--text); display: flex; gap: 7px; margin-bottom: 5px; }
  .dtc-item:last-child { margin-bottom: 0; }
  .dtc-tag {
    flex: none; font-size: 10px; font-weight: 700; line-height: 1.5;
    padding: 0 5px; border-radius: 3px; margin-top: 1px;
  }
  .dtc-tag.high   { background: #FCEBEB; color: #A32D2D; }
  .dtc-tag.medium { background: #FAEEDA; color: #854F0B; }
  .dtc-tag.std    { background: var(--blue-bg); color: var(--blue); }
  .dtc-rule-val { font-weight: 600; }
  .dtc-rule-detail { color: var(--text-tertiary); }
  .dtc-limit {
    margin-top: 10px; padding: 8px 10px; border-radius: 6px;
    background: var(--bg-gray); font-size: 11.5px; line-height: 1.55;
    color: var(--text-secondary);
  }

  /* ── 术语解释悬浮层 ── */
  .bc-term { border-bottom: 1px dashed var(--blue); cursor: help; color: inherit; }
  .bc-term:hover { background: var(--blue-bg); }
  .bc-term::after {
    content: '?'; font-size: 8px; font-weight: 700; vertical-align: super;
    color: var(--blue); margin-left: 1px; line-height: 1;
  }
  #bcTermPop {
    position: absolute; z-index: 9999; max-width: 330px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
    font-size: 13px; line-height: 1.6; color: var(--text); display: none;
  }
  #bcTermPop .bc-pop-term {
    font-weight: 700; font-size: 13.5px; color: var(--blue);
    margin-bottom: 5px; padding-right: 18px;
  }
  #bcTermPop .bc-pop-close {
    position: absolute; top: 7px; right: 9px;
    background: none; border: none; cursor: pointer;
    font-size: 16px; line-height: 1; color: var(--text-tertiary);
    padding: 2px 4px; font-family: inherit;
  }
  #bcTermPop .bc-pop-close:hover { color: var(--text); }
  #bcTermPop .bc-pop-links {
    margin-top: 9px; padding-top: 8px;
    border-top: 1px dashed var(--border-light);
  }
  #bcTermPop .bc-pop-links-title {
    font-size: 10px; font-weight: 600; color: var(--text-tertiary);
    letter-spacing: .02em; margin-bottom: 5px;
  }
  #bcTermPop .bc-pop-links a {
    display: block; font-size: 12px; line-height: 1.5;
    color: var(--blue); text-decoration: none; margin-bottom: 3px;
  }
  #bcTermPop .bc-pop-links a:last-child { margin-bottom: 0; }
  #bcTermPop .bc-pop-links a:hover { text-decoration: underline; }
  @media (max-width: 640px) {
    #bcTermPop {
      position: fixed; left: 12px !important; right: 12px;
      max-width: none; width: auto; bottom: 12px; top: auto !important;
      box-shadow: 0 -4px 28px rgba(0,0,0,.2);
    }
  }

  /* Premium upgrade CTA in report — 重设计：蓝色渐变 */
  .premium-cta-box {
    background: linear-gradient(135deg, #103F73 0%, #17508F 60%, #2A6FB5 100%);
    border-radius: 16px; padding: 24px 24px 20px;
    text-align: left; margin: 16px 0; position: relative; overflow: hidden;
  }
  .premium-cta-box::before {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
  }
  .premium-cta-box::after {
    content: ''; position: absolute; bottom: -30px; right: 20px;
    width: 100px; height: 100px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
  }
  .premium-cta-box h3 {
    font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px;
    display: flex; align-items: center; gap: 8px;
  }
  .premium-cta-box p { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 14px; line-height: 1.5; }
  .premium-cta-features {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
  }
  .premium-cta-feature {
    display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.15); border-radius: 20px;
    padding: 4px 12px; font-size: 12px; color: #fff; font-weight: 500;
  }
  .premium-cta-feature::before { content: '✓'; font-weight: 700; }
  .premium-cta-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .premium-cta-btn {
    display: inline-block; padding: 11px 24px;
    background: #fff; color: var(--blue);
    border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer;
    border: none; transition: all 0.15s; text-decoration: none; white-space: nowrap;
    font-family: inherit; /* 该类同时用于 <a> 和 <button>，button 默认不继承页面字体 */
  }
  .premium-cta-btn:hover { background: #f0f7ff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
  .premium-cta-link {
    font-size: 12px; color: rgba(255,255,255,0.8);
    cursor: pointer; text-decoration: underline; white-space: nowrap;
  }
  .premium-cta-link:hover { color: #fff; }

  /* ── VISUAL REPORT CARD (embedded) ── */
  .visual-report-card {
    width: 100%; max-width: 420px; margin: 0 auto;
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid #E8EAED; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  }
  .vrc-header { padding: 16px 20px 0; display: flex; align-items: center; }
  .vrc-logo { display: flex; align-items: center; gap: 8px; }
  .vrc-logo-box {
    width: 34px; height: 34px; background: #17508F; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 20px; color: #fff; letter-spacing: 0;
  }
  .vrc-logo-text { font-size: 15px; font-weight: 700; color: #17508F; }
  .vrc-hero { padding: 14px 20px 12px; }
  .vrc-title { font-size: 24px; font-weight: 800; color: #1a1a1a; margin-bottom: 8px; line-height: 1.3; }
  .vrc-address { font-size: 13px; color: #555; margin-bottom: 3px; }
  .vrc-type { font-size: 13px; color: #999; padding-left: 20px; margin-bottom: 12px; }
  .vrc-verdict {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 10px; margin-bottom: 4px;
  }
  .vrc-verdict.feasible { background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
  .vrc-verdict.conditional { background: #FFF3E0; color: #E65100; border: 1px solid #FFCC80; }
  .vrc-verdict.infeasible { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }
  .vrc-verdict-icon { font-size: 22px; flex-shrink: 0; }
  .vrc-verdict-label { font-size: 14px; font-weight: 700; }
  .vrc-verdict-desc { font-size: 11px; opacity: 0.75; line-height: 1.4; }
  .vrc-section { padding: 0 20px 12px; }
  .vrc-section-title { font-size: 13px; font-weight: 700; color: #555; margin-bottom: 8px; letter-spacing: 1px; }
  .vrc-highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .vrc-hl-card {
    background: #F7F8FA; border-radius: 10px; padding: 10px 6px 8px;
    text-align: center; border: 1px solid #E8EAED;
  }
  .vrc-hl-icon { font-size: 22px; margin-bottom: 4px; }
  .vrc-hl-label { font-size: 10px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
  .vrc-hl-sub { font-size: 8.5px; color: #999; margin-top: 2px; line-height: 1.3; }
  .vrc-data-strip {
    margin: 0 20px 12px; background: #F7F8FA;
    border-radius: 10px; border: 1px solid #E8EAED; overflow: hidden;
  }
  .vrc-data-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 7px 12px; font-size: 11.5px; border-bottom: 1px solid #E8EAED;
  }
  .vrc-data-row:last-child { border-bottom: none; }
  .vrc-data-label { color: #555; font-weight: 500; }
  .vrc-data-val { font-weight: 700; color: #1a1a1a; text-align: right; }
  .vrc-cost-total { font-size: 22px; font-weight: 800; color: #17508F; margin-bottom: 2px; }
  .vrc-cost-note { font-size: 10.5px; color: #999; margin-bottom: 10px; }
  .vrc-cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .vrc-cost-item {
    background: #F7F8FA; border-radius: 8px; padding: 8px 5px;
    text-align: center; border: 1px solid #E8EAED;
  }
  .vrc-cost-item-icon { font-size: 18px; margin-bottom: 3px; }
  .vrc-cost-item-label { font-size: 9px; font-weight: 600; color: #555; margin-bottom: 3px; line-height: 1.3; }
  .vrc-cost-item-val { font-size: 9.5px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
  .vrc-divider { height: 1px; background: #E8EAED; margin: 0 20px; }
  .vrc-tips { padding: 0; }
  .vrc-tip { display: flex; align-items: flex-start; gap: 6px; font-size: 10.5px; color: #555; margin-bottom: 4px; line-height: 1.5; }
  .vrc-footer {
    background: #EEF4FB; border-top: 1px solid #E8EAED; padding: 14px 20px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .vrc-footer-cta { font-size: 12px; font-weight: 600; color: #555; margin-bottom: 2px; }
  .vrc-footer-slogan { font-size: 17px; font-weight: 800; color: #17508F; }
  .vrc-qr {
    width: 56px; height: 56px; background: #fff; border-radius: 8px;
    border: 1px solid #E8EAED; display: flex; align-items: center; justify-content: center;
    font-size: 9px; color: #666; text-align: center; font-weight: 500;
  }
  .vrc-source { padding: 4px 20px 8px; font-size: 8.5px; color: #bbb; text-align: center; }
  .vrc-disclaimer { padding: 4px 20px 12px; font-size: 8px; color: #bbb; line-height: 1.5; text-align: center; }

  /* ── AI REPORT TOGGLE ── */
  .ai-toggle-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; background: #F7F8FA; border: 1px solid #d8d3ca;
    border-radius: 12px; cursor: pointer; user-select: none;
    transition: background 0.15s;
  }
  .ai-toggle-header:hover { background: #EFEDEA; }
  .ai-toggle-header .section-heading { margin: 0; padding: 0; }
  .ai-toggle-arrow {
    font-size: 12px; color: #999; transition: transform 0.2s;
  }
  .ai-toggle-arrow.open { transform: rotate(90deg); }

  /* ── Site Brief 请求：意图选择 + 请求卡 + 弹窗 + 手机底部条 ──
     对比度：品牌蓝已统一为墨蓝 #17508F（白字 8.1:1），文字与按钮底色直接用它（原先的浅蓝只有 3.88:1，已淘汰；此处旧注释的色系系内）；
     次要文字用 #6B6A67（白底 5.0+、灰底 4.7+）。点击区域一律 ≥44px（手机）。 */
  :root { --brief-action: #17508F; --brief-muted: #6B6A67; --brief-ok: #166B52; }

  .brief-intent { margin: 0 0 18px; }
  .brief-intent-title { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 4px; }
  .brief-intent-hint { font-size: 14px; color: var(--brief-muted); margin-bottom: 12px; }
  .brief-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .brief-chip {
    min-height: 36px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
    background: var(--bg); color: var(--text); font-size: 15px; font-family: inherit; cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
  }
  .brief-chip:hover { border-color: var(--brief-action); }
  .brief-chip.on { border-color: var(--brief-action); background: var(--blue-bg); color: var(--brief-action); font-weight: 600; }
  .brief-more .brief-chip { font-size: 13px; }   /* 请求弹窗里「更多信息」的小选项保持原大小 */
  .brief-chip:focus-visible, .brief-card-btn:focus-visible, .brief-chat-link:focus-visible,
  .brief-link-btn:focus-visible, .brief-more summary:focus-visible { outline: 2px solid var(--brief-action); outline-offset: 2px; }
  .brief-chips.nudge { animation: brief-nudge .4s ease; }
  @keyframes brief-nudge { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
  @media (prefers-reduced-motion: reduce) { .brief-chips.nudge { animation: none; } }

  .brief-card { border: 1.5px solid var(--blue); border-radius: 12px; padding: 16px 18px; margin: 0 0 20px; background: var(--bg); }
  .brief-card-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; }
  .brief-card-sub { font-size: 13px; color: var(--brief-muted); line-height: 1.55; margin-top: 4px; }
  .brief-card-btn {
    display: block; width: 100%; min-height: 44px; margin-top: 12px; padding: 12px; border: none; border-radius: 8px;
    background: var(--brief-action); color: #fff; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
  }
  .brief-card-btn:hover { filter: brightness(.94); }
  .brief-card-note { font-size: 12px; color: var(--brief-muted); text-align: center; margin-top: 8px; }
  .brief-card.is-out { border-color: var(--border); background: var(--bg-gray); }
  .brief-card.is-pending { border-color: var(--brief-ok); background: var(--green-bg); }
  .brief-card.is-pending .brief-card-title { color: var(--brief-ok); }
  .brief-card.is-pending .brief-card-sub { color: var(--text); }
  .brief-chat-link {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px;
    background: none; border: none; font-family: inherit; font-size: 13px;
    color: var(--brief-action); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  }

  .brief-modal { width: 440px; padding: 28px; max-height: 92vh; overflow-y: auto; }
  .brief-modal .auth-modal-close {
    top: 6px; right: 6px; width: 44px; height: 44px; padding: 0; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
  }
  .brief-modal .brief-sub { font-size: 13px; color: var(--brief-muted); margin: 0 0 14px; line-height: 1.5; }
  .brief-label { display: block; font-size: 12px; font-weight: 600; color: var(--brief-muted); margin: 14px 0 5px; }
  .brief-modal input[type="text"], .brief-modal input[type="email"], .brief-modal textarea {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 14px; font-family: inherit; outline: none; background: var(--bg); color: var(--text);
  }
  .brief-modal textarea { min-height: 70px; resize: vertical; line-height: 1.5; }
  .brief-modal input:focus, .brief-modal textarea:focus { border-color: var(--brief-action); }
  .brief-modal input[readonly] { background: var(--bg-gray); color: var(--brief-muted); }
  .brief-modal input + input { margin-top: 0; }
  .brief-modal .auth-submit { min-height: 44px; background: var(--brief-action); }
  .brief-more { margin-top: 16px; border-top: 1px solid var(--border-light); padding-top: 4px; }
  .brief-more summary {
    display: flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600;
    color: var(--brief-action); cursor: pointer;
  }
  .brief-more .brief-chip { min-height: 34px; padding: 6px 12px; }
  .brief-privacy { font-size: 12px; color: var(--brief-muted); text-align: center; margin-top: 10px; }
  .brief-guest-hint { font-size: 12px; color: var(--brief-muted); text-align: center; margin-top: 6px; }
  .brief-code-input { text-align: center; font-size: 22px !important; letter-spacing: .4em; font-weight: 600; }
  .brief-link-btn {
    display: inline-flex; align-items: center; min-height: 44px; background: none; border: none;
    font-family: inherit; font-size: 13px; color: var(--brief-action); cursor: pointer; padding: 0 2px;
  }
  .brief-link-btn:disabled { color: var(--brief-muted); cursor: default; }
  .brief-check {
    width: 44px; height: 44px; border-radius: 50%; background: var(--green-bg); color: var(--brief-ok);
    display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin: 0 auto 12px;
  }
  .brief-steps { margin: 14px 0 4px; padding: 10px 14px; background: var(--bg-gray); border-radius: 8px; font-size: 13px; color: var(--brief-muted); line-height: 1.8; list-style: none; text-align: left; }

  .brief-sticky {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--bg); border-top: 1px solid var(--border);
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  }
  .brief-sticky .brief-card-btn { margin-top: 0; padding: 11px; }
  .brief-sticky .brief-card-note { margin-top: 4px; }
  @media (max-width: 768px) {
    .brief-sticky.show { display: block; }
    body.brief-sticky-on .split-left { padding-bottom: 96px; }
  }
  @media (max-width: 640px), (pointer: coarse) {
    .brief-chip, .brief-more .brief-chip { min-height: 44px; padding-left: 16px; padding-right: 16px; }
  }
  @media (max-width: 640px) {
    .brief-modal { width: 100%; max-width: 100vw; border-radius: 16px 16px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); align-self: flex-end; }
  }

  .brief-req { font-weight: 400; color: var(--brief-muted); }
  .brief-field-err { font-size: 12px; color: var(--red-text); margin-top: 5px; min-height: 0; }
  .brief-field-err:empty { display: none; }
  .brief-modal input[aria-invalid="true"] { border-color: var(--red); }
  .brief-modal:focus { outline: none; }
  .brief-modal h2:focus { outline: none; }

/* 窄屏（≤350px，如 iPhone SE 第一代 / 小安卓）：顶栏放不下，方块缩到 22px，字号按 0.883 倍同步（字高仍等于 C 高）。必须放在所有 .logo 规则之后，否则会被 640px 那档覆盖 */
@media (max-width: 350px) {
  .logo { font-size: 19.4px; gap: 6px; letter-spacing: .06em; }
  .logo-mark { width: 22px; height: 22px; }
}
