/* 2026-11-28 Antigravity · Apple x Tesla Editorial Design for /case/* Field Notes */
:root {
  --ink:#1d1d1f;
  --muted:#6e6e73;
  --faint:#86868b;
  --line:rgba(0,0,0,.08);
  --control-line:#d2d2d7;
  --surface:#f5f5f7;
  --paper:#ffffff;
  --accent:#0071e3;
  --accent-hover:#0077ed;
  --dark-link:#2997ff;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
}
*,*::before,*::after { box-sizing:border-box }
body.anqi-field-notes {
  margin:0;
  color:var(--ink);
  background:#ffffff;
  font:16px/1.78 var(--font);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
a { color:#0066cc; text-decoration:none; text-underline-offset:3px }
a:hover { text-decoration:underline }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
[hidden] { display:none!important }
.notes-skip { position:absolute; top:4px; left:8px; transform:translateY(-160%); background:#fff; color:var(--ink); z-index:90; padding:6px 12px; border-radius:8px; border:1px solid var(--control-line) }
.notes-skip:focus { transform:translateY(0) }

/* Unified Frosted 72px Top Header */
.notes-nav {
  position:sticky; top:0; z-index:50; height:72px;
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--line);
}
.notes-nav-inner {
  width:min(1120px,calc(100% - 48px)); height:100%; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.notes-brand { display:inline-flex; align-items:center }
.notes-brand img { display:block; height:36px; width:auto }
.notes-nav-links { display:flex; gap:30px; font-size:13.5px }
.notes-nav-links a { color:rgba(29,29,31,.82); text-decoration:none; transition:color .18s }
.notes-nav-links a:hover { color:var(--ink); text-decoration:none }
.notes-nav-cta {
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 18px; border-radius:980px; background:var(--accent); color:#fff!important;
  font-size:13.5px; font-weight:500; text-decoration:none!important; white-space:nowrap;
  transition:background .18s;
}
.notes-nav-cta:hover { background:var(--accent-hover) }

/* Breadcrumb & Editorial Cover */
.notes-crumb {
  max-width:860px; margin:24px auto 0; padding:0 24px;
  display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted);
}
.notes-crumb a { color:var(--muted) }
.notes-crumb a:hover { color:var(--ink) }
.notes-crumb em { font-style:normal; color:var(--ink); font-weight:500 }

.notes-hero-cover {
  max-width:860px; margin:16px auto 0; padding:0 24px;
  position:relative;
}
.notes-hero-cover img {
  display:block; width:100%; height:auto; aspect-ratio:16 / 6.4; max-height:340px; object-fit:cover;
  border-radius:24px; background:#0b0c10;
  box-shadow:0 20px 50px rgba(0,0,0,.10);
}
.notes-hero-cover figcaption {
  position:absolute; left:44px; right:44px; bottom:18px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  pointer-events:none;
}
.notes-cover-badge {
  display:inline-flex; align-items:center; padding:6px 14px; border-radius:980px;
  background:rgba(16,17,22,.78); color:#fff; font-size:12.5px; font-weight:500;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.16);
}
.notes-cover-time {
  display:inline-flex; align-items:center; padding:5px 12px; border-radius:980px;
  background:rgba(255,255,255,.90); color:var(--ink); font-size:12px; font-weight:500;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}

/* Main Reading Stage */
.notes-reading {
  max-width:860px; margin:0 auto; padding:22px 24px 36px;
}
.notes-reading p,.notes-reading h1,.notes-reading h2,.notes-reading figure,.notes-reading blockquote { margin:0 }
.notes-reading input,.notes-reading button { font:inherit }
.notes-reading :focus-visible { outline:2px solid var(--accent); outline-offset:2px }

/* 4-Article Horizontal Switcher */
.notes-switch { margin-bottom:28px }
.notes-switch>div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px }
.notes-switch a {
  display:flex; flex-direction:column; justify-content:space-between; gap:3px;
  min-height:86px; padding:13px 14px; border-radius:16px;
  background:var(--surface); border:1px solid transparent;
  color:var(--ink); text-decoration:none!important; line-height:1.38;
  transition:background .18s, border-color .18s, transform .2s;
}
.notes-switch a:hover { background:#ebebf0; transform:translateY(-1px) }
.notes-switch a[aria-current="page"] {
  background:#111217; color:#ffffff; border-color:#111217;
  box-shadow:0 10px 26px rgba(0,0,0,.14);
}
.notes-switch b { font-size:13.5px; font-weight:600 }
.notes-switch span { font-size:11.5px; color:var(--muted) }
.notes-switch strong { font-size:12px; font-weight:600; color:var(--accent); font-variant-numeric:tabular-nums; margin-top:2px }
.notes-switch a[aria-current="page"] span { color:#a1a1a6 }
.notes-switch a[aria-current="page"] strong { color:var(--dark-link) }

/* Editorial Paper Body */
.notes-paper {
  padding:8px 0 28px;
  background:transparent; border:0;
}

/* Signature Obsidian Keynote Fact Callout */
.notes-fact {
  background:radial-gradient(520px 220px at 92% 0%, rgba(41,151,255,.20), transparent 68%), linear-gradient(160deg,#121318 0%,#06070a 100%);
  color:#f5f5f7; border:1px solid rgba(255,255,255,.08);
  border-radius:22px; padding:26px 28px; margin-bottom:32px;
  box-shadow:0 18px 44px rgba(0,0,0,.12);
}
.notes-fact .notes-lead { font-size:15.5px; font-weight:500; line-height:1.68; color:#d2d2d7 }
.notes-fact>strong {
  display:block; margin:10px 0 6px;
  font-size:clamp(30px,4.2vw,42px); font-weight:600; line-height:1.15; letter-spacing:-.02em;
  color:#ffffff; font-variant-numeric:tabular-nums;
}
.notes-fact small { display:block; font-size:13px; line-height:1.65; color:#8e8e93; margin-top:8px }
.notes-fact small a { color:var(--dark-link) }

.notes-prices { border-collapse:collapse; width:100%; margin-top:14px; font-size:15px; font-variant-numeric:tabular-nums }
.notes-prices th,.notes-prices td { border-top:1px solid rgba(255,255,255,.12); padding:10px 0; text-align:left }
.notes-prices th { font-size:14px; font-weight:500; color:#a1a1a6; padding-right:12px }
.notes-prices td { color:var(--dark-link); font-weight:600; font-size:18px; text-align:right; white-space:nowrap }

/* Editorial Typography */
.notes-post h1 {
  font-size:clamp(28px,3.6vw,40px); font-weight:600; line-height:1.22; letter-spacing:-.02em;
  color:var(--ink); margin:0 0 22px; text-wrap:balance;
}
.notes-post h2 {
  font-size:clamp(20px,2.4vw,24px); font-weight:600; line-height:1.35; letter-spacing:-.015em;
  color:var(--ink); margin:34px 0 12px;
}
.notes-post>p,.notes-practices li {
  font-size:16.5px; line-height:1.9; color:#2c2c2e;
  margin-bottom:16px; overflow-wrap:anywhere;
}
.notes-practices { padding-left:1.5em; margin:10px 0 22px }
.notes-practices li::marker { color:var(--accent); font-weight:600 }

/* Desensitized Archive Proof Cards (replaces ugly blank dashed placeholders!) */
.notes-docs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:24px 0 28px }
.notes-docs figure {
  min-width:0; background:var(--surface); border:1px solid var(--line);
  border-radius:18px; padding:18px 20px; display:flex; flex-direction:column; gap:10px;
}
.notes-record-space {
  display:flex; align-items:center; justify-content:center;
  min-height:76px; padding:14px 16px; border-radius:12px;
  background:#ffffff; border:1px solid rgba(0,0,0,.06);
  color:var(--muted); font-size:12.5px; text-align:center;
}
.notes-record-space::before {
  content:"已脱敏归档 · 预约人工初评时顾问可展示核验原件";
  display:block; line-height:1.55; color:var(--muted);
}
.notes-docs img { max-width:100%; border-radius:10px; display:block; margin:auto }
.notes-docs figcaption { font-size:13px; font-weight:600; color:var(--ink); line-height:1.45 }

.notes-post blockquote {
  padding:20px 24px; margin:28px 0 4px;
  border-left:3px solid var(--accent); background:var(--surface);
  border-radius:0 18px 18px 0;
  font-size:16.5px; font-weight:500; line-height:1.8; color:var(--ink);
}
.notes-post>p:last-child { margin-bottom:0 }

/* Sleek Apple Assessment Card */
.notes-assess {
  background:var(--surface); border:1px solid var(--line);
  border-radius:26px; padding:clamp(24px,4vw,38px); margin-top:24px;
}
.notes-assess h2 { margin:0 0 6px; color:var(--ink); font-size:24px; font-weight:600; letter-spacing:-.015em }
.notes-assess>p { font-size:14.5px; color:var(--muted); margin-bottom:22px; line-height:1.65 }
.notes-assess form { display:grid; gap:18px }
.notes-assess fieldset { border:0; padding:0; margin:0; min-width:0 }
.notes-assess fieldset+fieldset { margin-top:16px }
.notes-assess legend,.notes-input { font-size:14px; font-weight:600; color:var(--ink) }
.notes-assess legend { padding:0; margin-bottom:10px }
.notes-radios { display:flex; flex-direction:column; gap:8px }
.notes-radios label,.notes-chips label {
  display:flex; align-items:center; gap:8px; line-height:1.45; font-size:14px; font-weight:450; cursor:pointer;
}
.notes-radios label {
  padding:10px 14px; background:#fff; border:1px solid var(--control-line); border-radius:12px;
  transition:border-color .15s, background .15s;
}
.notes-radios label:has(:checked) { border-color:var(--accent); background:rgba(0,113,227,.04) }
.notes-chips>div { display:flex; flex-wrap:wrap; gap:8px }
.notes-chips label {
  padding:8px 14px; background:#fff; border:1px solid var(--control-line); border-radius:980px;
  transition:border-color .15s, background .15s, color .15s;
}
.notes-chips label:has(:checked) { background:var(--accent); border-color:var(--accent); color:#fff }
.notes-assess input:is([type=checkbox],[type=radio]) { width:16px; height:16px; margin:0; flex:none; accent-color:var(--accent) }
.notes-input i { color:var(--accent); font-style:normal }
.notes-input input {
  display:block; width:100%; border:1px solid var(--control-line); border-radius:12px;
  background:#fff; color:var(--ink); margin-top:7px; padding:12px 14px; font-size:15px; font-weight:400;
  transition:border-color .15s, box-shadow .15s;
}
.notes-input input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(0,113,227,.14); outline:0 }
.notes-input input::placeholder { color:#8e8e93 }

.notes-wecom {
  display:flex; align-items:center; gap:16px; padding:14px 16px;
  background:#fff; border:1px solid var(--line); border-radius:16px;
}
.notes-qr-slot { width:92px; aspect-ratio:1; flex:none; border-radius:10px; overflow:hidden; background:#fff }
.notes-qr-slot:not(:has(img:not([hidden]))) { display:none }
.notes-qr-slot img { display:block; width:100%; height:auto }
.notes-wecom strong { display:block; font-size:14.5px; color:var(--ink) }
.notes-wecom p,.notes-wecom a { font-size:13px; line-height:1.6; color:var(--muted); margin-top:2px }
.notes-permission { color:var(--faint); font-size:12.5px }
.notes-submit {
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; border:0; border-radius:980px; width:100%; min-height:48px; padding:10px 20px;
  font-size:15px; font-weight:500; background:var(--accent); cursor:pointer;
  transition:background .18s;
}
.notes-submit:hover { background:var(--accent-hover) }
.notes-submit:disabled { background:#d2d2d7; color:#6e6e73; cursor:not-allowed }
.notes-preview-cta {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  width:100%; min-height:48px; padding:10px 20px; border-radius:980px;
  background:var(--accent); color:#fff!important; font-size:15px; font-weight:500;
  text-decoration:none!important; transition:background .18s;
}
.notes-preview-cta:hover { background:var(--accent-hover) }
#form-status:empty { display:none }
#form-status,[data-receipt] { font-size:13.5px; color:var(--muted) }
#form-status.error { color:#d70015 }
[data-copy-ref] { border:0; background:none; color:var(--accent); cursor:pointer; text-decoration:underline }

/* Unified Dark Obsidian Site Footer */
.site-footer { background:#000; color:#f5f5f7; padding:56px 0 32px; margin-top:56px; border-top:1px solid rgba(255,255,255,.08) }
.site-footer .wrap { width:min(1120px,calc(100% - 48px)); margin:0 auto }
.site-footer .footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:36px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.1) }
.site-footer .footer-name { display:inline-flex; flex-direction:column; gap:8px; color:#fff; text-decoration:none!important }
.site-footer .chq-footer-logo { display:block; width:153px; height:auto }
.site-footer .footer-name span { font-size:13px; color:#a1a1a6 }
.site-footer .footer-grid>div:first-child p { font-size:13.5px; color:#86868b; margin-top:10px; max-width:300px }
.site-footer .footer-label { font-size:12px; font-weight:600; letter-spacing:.04em; color:#86868b; margin:0 0 12px }
.site-footer .footer-grid a,.site-footer .text-button { display:block; font-size:13.5px; color:#d2d2d7; padding:4px 0; background:none; border:0; text-align:left; cursor:pointer; text-decoration:none }
.site-footer .footer-grid a:hover,.site-footer .text-button:hover { color:#fff; text-decoration:none }
.site-footer .footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:22px; padding-right:104px; font-size:12px; color:#86868b; flex-wrap:wrap }
.site-footer .footer-grid a.footer-wecom { display:inline-flex; align-items:center; gap:14px; margin-top:18px; padding:10px 16px 10px 10px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:14px; color:#f5f5f7; text-decoration:none; transition:background .18s, border-color .18s }
.site-footer .footer-grid a.footer-wecom:hover { background:rgba(255,255,255,.11); border-color:rgba(41,151,255,.55); color:#fff }
.footer-wecom-qr { display:block; width:68px; height:68px; flex:0 0 68px; border-radius:8px; background:#fff; padding:3px }
.footer-wecom>span { display:flex; flex-direction:column; gap:3px; min-width:0 }
.footer-wecom strong { font-size:14px; font-weight:600; color:#fff; line-height:1.3 }
.footer-wecom small { font-size:12px; color:#2997ff; line-height:1.4 }
.footer-legal { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px }
.site-footer .footer-legal a { display:inline; padding:0; color:#a1a1a6; text-decoration:none; font-size:12px }
.site-footer .footer-legal a:hover { color:#fff; text-decoration:underline }

/* Unified Xiaoqi Chat Dialog */
.chat-panel { position:fixed; right:20px; bottom:20px; width:min(392px,calc(100vw - 24px)); max-height:min(620px,calc(100dvh - 40px)); display:flex; flex-direction:column; background:rgba(255,255,255,.97); color:var(--ink); border:1px solid rgba(0,0,0,.1); border-radius:22px; box-shadow:0 24px 64px rgba(0,0,0,.2); backdrop-filter:saturate(180%) blur(20px); -webkit-backdrop-filter:saturate(180%) blur(20px); z-index:110; overflow:hidden }
.chat-heading { display:flex; align-items:center; gap:12px; padding:16px 18px 14px; border-bottom:1px solid var(--line); background:var(--surface) }
.chat-avatar { width:42px; height:42px; flex:0 0 42px }
.chat-identity { flex:1; min-width:0 }
.chat-identity strong { display:flex; align-items:center; gap:8px; font-size:15px; font-weight:600; flex-wrap:wrap }
.chat-identity small { font-size:11px; font-weight:500; color:var(--muted); background:#fff; border:1px solid var(--line); border-radius:6px; padding:2px 7px }
.chat-status { display:block; font-size:12px; color:var(--muted); margin-top:2px }
.icon-button { width:32px; height:32px; border-radius:50%; border:0; background:transparent; font-size:20px; color:var(--muted); cursor:pointer; display:inline-flex; align-items:center; justify-content:center }
.icon-button:hover { background:rgba(0,0,0,.06); color:var(--ink) }
.chat-messages { flex:1; overflow:auto; padding:16px 18px; display:flex; flex-direction:column; gap:10px; min-height:140px }
.chat-bubble { padding:11px 14px; border-radius:16px; font-size:13.5px; line-height:1.65; max-width:92% }
.chat-bubble.assistant { background:var(--surface); color:var(--ink); align-self:flex-start }
.chat-bubble.user { background:var(--accent); color:#fff; align-self:flex-end }
.chat-prompts { display:flex; flex-wrap:wrap; gap:8px; padding:0 18px 12px }
.chat-prompts button { border:1px solid var(--control-line); background:#fff; color:var(--ink); border-radius:980px; padding:6px 12px; font-size:12.5px; cursor:pointer }
.chat-prompts button:hover { border-color:var(--accent); color:var(--accent) }
#chat-form { display:flex; align-items:flex-end; gap:8px; margin:0 16px 12px; padding:8px 8px 8px 14px; border:1px solid var(--control-line); border-radius:16px; background:#fff }
#chat-form textarea { flex:1; min-width:0; border:0; outline:0; resize:none; font-size:13.5px; line-height:1.5; max-height:92px }
#chat-form button { width:34px; height:34px; border-radius:50%; border:0; background:var(--accent); color:#fff; font-size:16px; font-weight:600; cursor:pointer; flex:0 0 34px }
.chat-note { padding:0 18px 14px; font-size:11.5px; line-height:1.6; color:var(--muted) }
.chat-note .provider-title { display:block; font-weight:600; color:var(--ink); margin-bottom:2px }
.chat-note .privacy-line { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px }
.chat-note a { color:var(--muted); text-decoration:underline }
.motion-toggle { border:1px solid var(--control-line); background:var(--surface); color:var(--ink); border-radius:980px; padding:3px 9px; font-size:11px; cursor:pointer }

@media (max-width:780px) {
  .notes-nav { height:60px }
  .notes-nav-inner { width:calc(100% - 32px) }
  .notes-brand img { height:30px }
  .notes-nav-links { display:none }
  .notes-crumb { margin-top:16px; padding:0 16px }
  .notes-hero-cover { padding:0 16px }
  .notes-hero-cover img { height:auto; aspect-ratio:16 / 9; max-height:220px; border-radius:18px }
  .notes-hero-cover figcaption { left:28px; right:28px; bottom:12px }
  .notes-reading { padding:16px 16px 28px }
  .notes-switch>div { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px }
  .notes-switch a { min-height:76px; padding:11px 12px }
  .notes-fact { padding:20px 18px; border-radius:18px }
  .notes-docs { grid-template-columns:1fr }
  .notes-assess { padding:22px 18px; border-radius:20px }
  .site-footer { padding:44px 0 88px }
  .site-footer .wrap { width:calc(100% - 32px) }
  .site-footer .footer-grid { grid-template-columns:1fr; gap:28px }
  .site-footer .footer-bottom { padding-right:0 }
  .footer-dot { display:none }
  .footer-legal { gap:4px 12px }
}
