:root {
  --ink: #1a1a1a;
  --ink-soft: #5a5a5a;
  --muted: #85817d;
  --paper: #ffffff;
  --canvas: #ebe8e3;
  --line: #e0ddd9;
  --line-strong: #d4d0cc;
  --green: #b9872c;
  --green-deep: #95691b;
  --green-soft: #f8efdc;
  --verified: #4b8b74;
  --verified-soft: #eaf4f0;
  --amber: #b9872c;
  --amber-soft: #fbf3de;
  --red: #c86472;
  --red-soft: #f9eaee;
  --blue: #b9872c;
  --pink: #d6a84a;
  --shadow: 0 12px 40px -12px rgba(74, 61, 52, .16), inset 0 1px 0 rgba(255, 255, 255, .92);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, textarea, select, input { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

.page-glow { display: none; position: fixed; border-radius: 999px; filter: blur(1px); pointer-events: none; z-index: -1; }
.page-glow-one { width: 520px; height: 520px; top: -210px; left: -220px; background: radial-gradient(circle, rgba(255, 255, 255, .38), transparent 68%); }
.page-glow-two { width: 620px; height: 620px; top: 180px; right: -320px; background: radial-gradient(circle, rgba(205, 199, 192, .18), transparent 69%); }

main { width: 100%; max-width: none; margin: 0; }

/* Hero 根容器：嵌入主站后保持紧凑，并在首屏露出下方功能卡 */
.hero { --hero-height: clamp(350px, 43vh, 360px); position: relative; min-height: var(--hero-height); overflow: hidden; text-align: center; }
/* 第 1 层：Canvas 网点背景，不参与任何鼠标命中 */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__orb { position: absolute; width: 640px; height: 640px; top: -128px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: rgba(185, 135, 44, .075); filter: blur(64px); }
/* 第 2 层：由上向下逐渐消失的品牌色蒙版 */
.hero__tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(185,135,44,.035) 0%, rgba(214,168,74,.014) 50%, transparent 100%); }
/* 第 3 层：底部羽化到纯白，避免网点与下一屏产生硬边 */
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 48px; pointer-events: none; background: linear-gradient(to bottom, transparent, #ebe8e3); }
/* 第 4 层：Hero 原有内容，参与轻量滚动视差 */
.hero__content { position: relative; z-index: 10; width: 100%; max-width: 1200px; min-height: var(--hero-height); margin: 0 auto; padding: 15px 24px 43px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; will-change: transform, opacity; }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 13px; border: 1px solid #e0ddd9; border-radius: 9999px; color: #5a5a5a; background: rgba(255,255,255,.68); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .025em; text-transform: none; }
.eyebrow svg { width: 12px; height: 12px; fill: none; stroke: #b9872c; stroke-width: 1.35; stroke-linejoin: round; }
.hero h1 { max-width: 1180px; margin: 18px auto 0; color: #1a1a1a; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 4vw, 60px); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; }
.hero h1 em { position: relative; display: inline-block; color: #1a1a1a; font-weight: 500; }
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -.18em;
  right: -.26em;
  bottom: -.3em;
  height: .48em;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 72' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop stop-color='%23d6a84a'/%3E%3Cstop offset='.5' stop-color='%23b9872c'/%3E%3Cstop offset='1' stop-color='%2395691b'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M22 50 C31 28 43 8 56 5 C68 2 73 11 69 24 L62 43 C59 51 65 55 77 53 C122 46 165 31 210 24 C245 19 275 21 291 35 C302 45 299 59 289 67 C284 72 277 71 273 67 C269 63 271 57 276 52 C284 46 282 40 276 36 C262 28 239 29 216 33 C171 41 126 56 81 63 C59 66 47 60 49 48 L57 23 C59 16 57 12 53 13 C44 17 34 34 28 49 L22 60 Z' fill='url(%23g)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: rotate(-1deg);
  transform-origin: center;
}
.hero__gradient { color: transparent; background: linear-gradient(to bottom right, #95691b, #d6a84a); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero__script { color: #b9872c; font-family: inherit; font-size: inherit; font-style: italic; font-weight: 500; letter-spacing: inherit; }
.hero__content > p { max-width: 680px; margin: 18px auto 0; color: #5a5a5a; font-size: 16px; line-height: 26px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .085em; text-transform: uppercase; }
.trust-row b { color: #b8b2ac; font-weight: 400; }
.checker-card { width: calc(100% - 40px); max-width: 1400px; margin: -24px auto 0; background: rgba(255,255,255,.94); backdrop-filter: blur(24px) saturate(150%); border: 1px solid rgba(255,255,255,.92); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: clamp(28px, 3.2vw, 48px); overflow: hidden; }
.checker-card > div, .input-layout, .card-heading > div:first-child { min-width: 0; }
.card-heading, .results-heading { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; margin-bottom: 30px; }
.step-label { display: block; margin-bottom: 10px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.card-heading .step-label, .results-heading .step-label { margin-bottom: 0; color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; letter-spacing: -.025em; text-transform: none; }
.card-heading h2, .results-heading h2, .loading-view #loadingTitle { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; letter-spacing: -.025em; }
.heading-actions, .report-actions { display: flex; align-items: center; gap: 8px; }
.citation-auth { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.citation-auth button { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 600; }
.citation-auth button.primary { background: var(--green-soft); border-color: rgba(185,135,44,.35); color: var(--green-deep); }
.results-heading .report-actions .secondary-button { height: 44px; padding: 0 16px; font-size: 13px; }
.results-heading .report-actions .primary-button.compact { min-height: 44px; padding: 0 18px; font-size: 14px; }
.text-button, .secondary-button { border: 0; background: transparent; cursor: pointer; }
.text-button { display: flex; align-items: center; gap: 8px; padding: 11px 13px; color: var(--green-deep); font-size: 14px; font-weight: 700; }
.text-button svg, .secondary-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linejoin: round; stroke-linecap: round; stroke-width: 1.45; }
.text-button.muted { color: var(--muted); font-weight: 600; }
.text-button:hover { background: var(--green-soft); border-radius: 9px; }

.input-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; gap: 22px; }
.input-side { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.input-side > .primary-button { width: 100%; flex: 0 0 48px; }
.editor-wrap { position: relative; display: flex; flex-direction: column; min-height: 500px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: white; transition: border-color .2s, box-shadow .2s; }
.editor-wrap:focus-within { border-color: rgba(185,135,44,.62); box-shadow: 0 0 0 4px rgba(185,135,44,.1); }
.editor-wrap.dragging { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.editor-topline, .editor-footer { min-height: 56px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; background: #f9f8f7; }
.editor-topline { border-bottom: 1px solid var(--line); gap: 16px; }
.editor-topline-start { display: flex; align-items: baseline; gap: 12px; min-width: 0; flex-wrap: wrap; }
.editor-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.editor-credit-hint { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .01em; }
.file-button { display: flex; align-items: center; gap: 7px; color: var(--green-deep); font-size: 14px; font-weight: 750; cursor: pointer; }
.file-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
textarea { width: 100%; flex: 1; min-height: 380px; resize: vertical; padding: 26px 26px 22px; border: 0; outline: 0; color: #2f3032; background: white; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 16px; line-height: 1.75; }
textarea::placeholder { color: #aaa6a2; }
.editor-footer { min-height: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.editor-footer b { color: inherit; font-weight: 700; }
.editor-footer .limit-exceeded {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(200, 100, 114, .38);
  border-radius: 10px;
  color: #b74455;
  background: var(--red-soft);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  box-shadow: none;
}
.editor-footer .limit-exceeded::before {
  content: "!";
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}
.drop-message { position: absolute; inset: 48px 0 42px; display: none; place-content: center; text-align: center; background: rgba(249, 246, 243, .97); color: var(--green-deep); z-index: 2; }
.dragging .drop-message { display: grid; }
.drop-message svg { width: 42px; height: 42px; margin: 0 auto 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.check-guide { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; padding: 22px 22px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, #f5f3f0, #fff); }
.guide-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.guide-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.guide-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.guide-head div { display: flex; flex-direction: column; gap: 2px; }
.guide-head div span { color: var(--muted); font-size: 12px; }
.guide-head strong { font-size: 16px; }
.check-guide ul { list-style: none; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-evenly; margin: 8px 0 0; padding: 4px 0 6px; }
.check-guide li { display: flex; align-items: center; gap: 14px; padding: 6px 0; }
.check-guide li > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--green); font-size: 11px; font-weight: 800; }
.check-guide li div { display: flex; flex-direction: column; gap: 5px; }
.check-guide li strong { font-size: 15px; }
.check-guide li small { color: var(--muted); font-size: 13px; line-height: 1.5; }

.submit-row { display: flex; align-items: center; justify-content: flex-start; gap: 20px; margin-top: 20px; }
.deep-toggle { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.deep-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { width: 38px; height: 22px; padding: 3px; flex: 0 0 auto; border-radius: 99px; background: #d4d0cc; transition: background .2s; }
.toggle-track i { display: block; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(0,0,0,.16); transition: transform .2s; }
.deep-toggle input:checked + .toggle-track { background: var(--green); }
.deep-toggle input:checked + .toggle-track i { transform: translateX(16px); }
.deep-toggle > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.deep-toggle strong { font-size: 14px; }
.deep-toggle small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.primary-button { min-height: 54px; padding: 0 24px 0 27px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 0; border-radius: 11px; color: white; background: #9b6a17; box-shadow: 0 8px 20px -8px rgba(155,106,23,.46); font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .18s, background .18s, opacity .18s; }
.primary-button:hover:not(:disabled) { transform: translateY(-1px); background: var(--green-deep); }
.primary-button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.primary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.primary-button:hover:not(:disabled) svg { transform: translateX(2px); }
.primary-button.compact { min-height: 44px; padding: 0 18px; box-shadow: none; }
.secondary-button { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 10px; background: white; font-size: 13px; font-weight: 700; }
.secondary-button:hover { border-color: var(--green); color: var(--green-deep); }
.report-download { position: relative; }
.report-download-toggle { min-width: 176px; justify-content: center; }
.report-download-toggle .download-chevron { width: 15px; height: 15px; margin-left: 2px; transition: transform .18s ease; }
.report-download-toggle[aria-expanded="true"] .download-chevron { transform: rotate(180deg); }
.report-download-menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: 224px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: 0 16px 36px rgba(43,35,29,.14); }
.report-download-menu button { width: 100%; padding: 10px 11px; display: grid; grid-template-columns: 34px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 10px; border: 0; border-radius: 8px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.report-download-menu button:hover, .report-download-menu button:focus-visible { outline: 0; background: var(--green-soft); }
.report-download-menu .format-mark { grid-row: 1 / span 2; align-self: center; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; color: var(--green-deep); background: #f7f3eb; font-size: 10px; font-weight: 850; }
.report-download-menu strong { font-size: 13px; line-height: 1.25; }
.report-download-menu small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.citation-export-toggle { min-width: 176px; justify-content: center; border-color: rgba(185,135,44,.42); color: var(--green-deep); background: #fffdf8; }
.citation-export-menu { width: 310px; padding: 10px; }
.export-menu-section { padding: 4px; }
.export-menu-section + .export-menu-section { margin-top: 7px; padding-top: 11px; border-top: 1px solid var(--line); }
.export-menu-label { display: block; margin: 0 0 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.export-strategy-option { display: flex; align-items: flex-start; gap: 10px; padding: 9px 8px; border-radius: 9px; cursor: pointer; }
.export-strategy-option:hover { background: #f8f6f2; }
.export-strategy-option input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--green); }
.export-strategy-option span { display: flex; flex-direction: column; gap: 3px; }
.export-strategy-option strong { font-size: 12px; }
.export-strategy-option small { color: var(--muted); font-size: 10px; line-height: 1.35; }
.citation-style-menu-wrap { position: relative; }
.report-download-menu button.citation-style-menu-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px; }
.citation-style-menu-button span { color: var(--muted); font-size: 11px; font-weight: 700; }
.citation-style-menu-button strong { margin-left: auto; color: var(--ink); }
.citation-style-menu-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.citation-style-submenu { position: absolute; z-index: 35; left: calc(100% + 12px); bottom: -10px; width: 170px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,.99); box-shadow: 0 16px 36px rgba(43,35,29,.14); }
.citation-style-submenu button { display: flex; align-items: center; justify-content: space-between; padding: 10px 11px; font-size: 12px; font-weight: 700; }
.citation-style-submenu button.active { color: var(--green-deep); background: var(--green-soft); }
.citation-style-submenu button.active::after { content: "✓"; font-weight: 900; }

.loading-view { min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.scanner-visual { width: 120px; height: 135px; position: relative; margin: 5px 0 32px; }
.paper-lines { position: absolute; inset: 16px 22px 7px; padding: 24px 13px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; box-shadow: 0 12px 32px rgba(23,22,21,.08); }
.paper-lines i { display: block; height: 3px; margin-bottom: 10px; border-radius: 3px; background: #ddd9d5; }
.paper-lines i:nth-child(2) { width: 78%; }.paper-lines i:nth-child(4) { width: 64%; }
.scan-line { position: absolute; z-index: 2; left: 15px; right: 15px; height: 2px; top: 25px; background: var(--green); box-shadow: 0 0 14px 4px rgba(185,135,44,.22); animation: scan 2.2s ease-in-out infinite; }
.scanner-orbit { position: absolute; inset: 0; border: 1px solid rgba(185,135,44,.18); border-radius: 50%; animation: orbit 5s linear infinite; }
.orbit-two { inset: -11px 5px 11px -5px; border-color: rgba(214,168,74,.22); animation-direction: reverse; animation-duration: 7s; }
.loading-view #loadingTitle { margin-bottom: 10px; }
.loading-view > p { margin: 0; color: var(--muted); font-size: 12px; }
.loading-sources { display: flex; gap: 8px; margin-top: 24px; }
.loading-sources span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: #f7f9f6; font-size: 9px; animation: sourcePulse 1.8s ease-in-out infinite; }
.loading-sources span:nth-child(2) { animation-delay: .2s; }.loading-sources span:nth-child(3) { animation-delay: .4s; }.loading-sources span:nth-child(4) { animation-delay: .6s; }
@keyframes scan { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(91px); opacity: 1; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes sourcePulse { 0%,100% { border-color: var(--line); } 50% { border-color: var(--green); color: var(--green); } }

.score-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(240px, 1fr);
  gap: 12px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(185,135,44,.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 78%, rgba(214,168,74,.12), transparent 25%),
    radial-gradient(circle at 98% 58%, rgba(200,100,114,.06), transparent 22%),
    rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 14px 36px -32px rgba(74,61,52,.4);
}
.score-card {
  min-height: 102px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
}
.score-card.overall {
  min-width: 0;
  padding: 4px 18px 4px 4px;
  border: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.score-ring {
  --rate: 0deg;
  width: 104px;
  height: 104px;
  position: relative;
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  text-align: center;
  border-radius: 50%;
  background: conic-gradient(var(--verified) var(--rate), #e2efea 0);
  box-shadow: 0 12px 28px -22px rgba(75,139,116,.7), 0 0 0 1px rgba(255,255,255,.88);
}
.score-ring::before { content: ""; position: absolute; inset: 9px; border-radius: inherit; background: rgba(255,255,255,.96); box-shadow: inset 0 0 0 1px rgba(75,139,116,.08); }
.score-ring strong, .score-ring span { position: relative; z-index: 1; }
.score-card.overall .score-ring strong { color: #2e8768; font-size: 29px; line-height: 1; }
.score-ring span { margin-top: 6px; color: #2e8768; font-size: 12px; }
.overall > div:last-child { min-width: 0; }
.overall > div:last-child > span { color: var(--ink); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.overall p { margin: 11px 0 0; color: #b24f61; font-size: 16px; line-height: 1.5; }
.metric-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-left: 1px;
  border-radius: 50%;
}
.metric-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.score-card.verified { color: var(--verified); border-color: rgba(75,139,116,.2); background: linear-gradient(145deg, rgba(234,244,240,.82), rgba(255,255,255,.78)); box-shadow: 0 16px 30px -28px rgba(75,139,116,.7); }
.score-card.verified .result-stats { margin: 0; color: inherit; font-size: 14px; font-weight: 650; line-height: 1.45; }
.score-card.attention { color: #aa7518; border-color: rgba(185,135,44,.22); background: linear-gradient(145deg, rgba(251,243,222,.88), rgba(255,255,255,.78)); box-shadow: 0 16px 30px -28px rgba(185,135,44,.72); }
.score-card.missing { color: #b84f62; border-color: rgba(200,100,114,.2); background: linear-gradient(145deg, rgba(249,234,238,.88), rgba(255,255,255,.78)); box-shadow: 0 16px 30px -28px rgba(200,100,114,.72); }
.score-card.verified .metric-icon { background: rgba(255,255,255,.72); box-shadow: 0 0 0 5px rgba(75,139,116,.1), inset 0 0 0 1px rgba(75,139,116,.14); }
.score-card.attention .metric-icon { background: rgba(255,255,255,.7); box-shadow: 0 0 0 5px rgba(185,135,44,.11), inset 0 0 0 1px rgba(185,135,44,.16); }
.score-card.missing .metric-icon { background: rgba(255,255,255,.7); box-shadow: 0 0 0 5px rgba(200,100,114,.1), inset 0 0 0 1px rgba(200,100,114,.15); }
.score-card > div { display: flex; flex-direction: column; }
.score-card > div strong { color: var(--ink); font-size: 30px; line-height: 1; }
.score-card > div small { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.3; white-space: nowrap; }

.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.filter-tabs { display: flex; gap: 3px; padding: 4px; border-radius: 11px; background: #f0eeeb; overflow-x: auto; }
.filter-tabs button { padding: 11px 16px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.filter-tabs button.active { color: var(--ink); background: white; box-shadow: 0 2px 7px rgba(23,22,21,.08); }
.filter-tabs span { display: inline-grid; min-width: 21px; height: 21px; place-content: center; margin-left: 6px; border-radius: 99px; background: #e4e1dd; font-size: 10px; }
.style-select { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.style-select select { height: 40px; padding: 0 33px 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: none; color: var(--ink); background: white; font-size: 12px; }
.results-list { display: flex; flex-direction: column; gap: 10px; }
.result-card { border: 1px solid var(--line); border-radius: 17px; background: white; overflow: hidden; }
.result-summary { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 24px; gap: 16px; align-items: center; padding: 22px 22px; border: 0; background: white; text-align: left; cursor: pointer; }
.result-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: #f9f8f7; font-family: Georgia, serif; font-size: 15px; }
.result-copy { min-width: 0; }
.result-copy strong { display: block; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 680; }
.result-copy span { display: block; color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-badge { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 780; white-space: nowrap; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge.verified { color: var(--verified); background: var(--verified-soft); }.status-badge.needs_attention { color: #8a651f; background: var(--amber-soft); }.status-badge.not_found { color: #a84f5e; background: var(--red-soft); }
.chevron { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.5; transition: transform .2s; }
.result-card.open .chevron { transform: rotate(180deg); }
.result-details { display: none; padding: 22px 24px 28px 88px; border-top: 1px solid #ebe8e3; background: #fcfbfa; }
.result-card.open .result-details { display: block; }
.match-panel { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.match-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; }
.match-top > div:first-child { min-width: 0; }
.match-kicker { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.match-title { margin: 10px 0 9px; font-family: Georgia, serif; font-size: 24px; line-height: 1.35; }
.match-authors { color: var(--muted); font-size: 13px; line-height: 1.6; }
.confidence { min-width: 154px; padding: 14px 16px; text-align: center; flex: 0 0 auto; border: 1px solid rgba(185,135,44,.3); border-radius: 13px; background: linear-gradient(145deg, rgba(251,243,222,.96), rgba(255,255,255,.9)); box-shadow: 0 12px 24px -20px rgba(149,105,27,.7), inset 0 1px 0 rgba(255,255,255,.85); }
.confidence strong { display: block; color: var(--green-deep); font-size: 32px; line-height: 1; }
.confidence span { display: block; margin-top: 8px; color: var(--green-deep); font-size: 12px; font-weight: 750; line-height: 1.25; white-space: nowrap; }
.result-card[data-status="verified"] .confidence { border-color: rgba(75,139,116,.28); background: linear-gradient(145deg, rgba(234,244,240,.98), rgba(255,255,255,.92)); box-shadow: 0 12px 24px -20px rgba(75,139,116,.72), inset 0 1px 0 rgba(255,255,255,.86); }
.result-card[data-status="verified"] .confidence strong, .result-card[data-status="verified"] .confidence span { color: var(--verified); }
.result-card[data-status="needs_attention"] .confidence { border-color: rgba(185,135,44,.32); background: linear-gradient(145deg, rgba(251,243,222,.98), rgba(255,255,255,.92)); box-shadow: 0 12px 24px -20px rgba(185,135,44,.72), inset 0 1px 0 rgba(255,255,255,.86); }
.result-card[data-status="needs_attention"] .confidence strong, .result-card[data-status="needs_attention"] .confidence span { color: #95691b; }
.result-card[data-status="not_found"] .confidence { border-color: rgba(200,100,114,.28); background: linear-gradient(145deg, rgba(249,234,238,.98), rgba(255,255,255,.92)); box-shadow: 0 12px 24px -20px rgba(200,100,114,.72), inset 0 1px 0 rgba(255,255,255,.86); }
.result-card[data-status="not_found"] .confidence strong, .result-card[data-status="not_found"] .confidence span { color: #b84f62; }
.database-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.database-chip { padding: 7px 10px; border-radius: 7px; color: var(--blue); background: var(--green-soft); font-size: 12px; font-weight: 750; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.field-check { min-width: 0; padding: 16px 17px; border: 1px solid var(--line); border-radius: 11px; background: #faf9f7; }
.field-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.field-state { color: var(--muted); }.field-state.match { color: var(--verified); }.field-state.close { color: var(--amber); }.field-state.mismatch { color: var(--red); }
.field-values { color: var(--ink-soft); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }.field-values span { display: block; }.field-values b { color: var(--ink); font-weight: 680; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.detail-button { height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); background: white; text-decoration: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.detail-button:hover { border-color: var(--green); color: var(--green-deep); }.detail-button.primary { color: white; border-color: var(--green); background: var(--green); }
.detail-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.source-error { margin-top: 12px; color: var(--amber); font-size: 10px; line-height: 1.5; }
.empty-filter { padding: 48px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 15px; color: var(--muted); font-size: 11px; }
.report-disclaimer { margin-top: 20px; padding: 15px 17px; border-radius: 10px; color: var(--muted); background: #f1efec; font-size: 12px; line-height: 1.55; }

.citation-landing {
  width: 100%;
  padding-top: 1.5rem;
  background: transparent;
}
.citation-landing .landing-container { max-width: 1200px; }
.citation-section-header {
  text-align: center;
  margin: 0 auto 2.6rem;
  max-width: 760px;
}
.citation-section-header .step-label {
  margin-bottom: 12px;
  color: var(--green);
  font-family: Inter, Outfit, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.citation-section-header h2,
.citation-landing .benefits-title,
.citation-landing .faq-title {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Playfair Display", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.citation-landing .benefits-title {
  margin-bottom: 3.6rem;
}
.citation-section-header p,
.citation-landing .faq-subtitle {
  margin: 14px auto 0;
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.citation-sources { margin-bottom: 3.5rem; }
.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.source-card {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.4rem 1.5rem;
  border: 1px solid rgba(212, 208, 204, .92);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,250,247,.94));
  box-shadow: 0 16px 36px -28px rgba(74, 61, 52, .45);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.source-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 135, 44, .38);
  box-shadow: 0 22px 40px -24px rgba(149, 105, 27, .28);
}
.source-logo {
  display: flex;
  align-items: center;
  min-height: 58px;
  margin-bottom: 1.15rem;
  text-decoration: none;
}
.source-logo img {
  display: block;
  max-width: 158px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.source-logo-openalex img {
  max-width: 48px;
  max-height: 48px;
}
.source-logo-fallback {
  color: var(--ink);
  font-family: Inter, Outfit, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.source-card h3 {
  margin: 0 0 .7rem;
  color: var(--ink);
  font-family: Georgia, "Playfair Display", serif;
  font-size: 1.28rem;
  font-weight: 500;
}
.source-card p {
  margin: 0;
  color: #6b6762;
  font-size: .95rem;
  line-height: 1.65;
}
.source-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.source-site-link:hover {
  color: #7a5514;
}
.source-site-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.citation-landing .landing-benefits {
  margin-top: .5rem;
}
.citation-landing .benefit-content h3 {
  margin-top: 0;
}
.citation-landing .benefit-inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.citation-landing .benefit-inline-link:hover {
  color: var(--green-deep);
}
.citation-landing .academic-trust-section {
  max-width: none;
  margin-bottom: 4rem;
  padding-top: .5rem;
}
.citation-landing .landing-cta {
  background:
    radial-gradient(circle at 88% 12%, rgba(214, 168, 74, .22), transparent 34%),
    linear-gradient(155deg, #1b1713 0%, #2a2218 52%, #14110e 100%);
  border: 1px solid rgba(214, 168, 74, .22);
  box-shadow: 0 22px 48px -24px rgba(20, 16, 12, .72);
}
.citation-landing .landing-cta h2,
.citation-landing .landing-cta p {
  color: #f7f1e6;
}
.citation-landing .landing-cta p {
  color: rgba(247, 241, 230, .78);
}
.citation-landing .cta-button {
  color: #1b1713;
  background: linear-gradient(180deg, #f3e2b8, #d6a84a);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.citation-landing .cta-button:hover {
  background: linear-gradient(180deg, #f8ebd0, #c89638);
  color: #14110e;
}
.ask-ai-card {
  margin-top: 0;
  margin-bottom: 2.75rem;
  padding: 2.2rem 2.4rem 2.1rem;
  border: 1px solid rgba(212, 208, 204, .88);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px -24px rgba(74, 61, 52, .35);
  text-align: center;
}
.ask-ai-copy h2 {
  margin: 0 auto .75rem;
  max-width: none;
  color: #2a2a2a;
  font-family: Georgia, "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.35;
  white-space: nowrap;
}
.ask-ai-copy p {
  margin: 0 auto 1.35rem;
  max-width: 36rem;
  color: #6b6762;
  font-size: 1rem;
  line-height: 1.65;
}
.ask-ai-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}
.ask-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: #f6efe4;
  color: #2a2a2a;
  font-family: Outfit, Inter, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.ask-ai-btn:hover {
  transform: translateY(-1px);
  background: #f0e4d2;
  box-shadow: 0 8px 18px -12px rgba(74, 61, 52, .4);
}
.ask-ai-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.citation-landing .landing-faq.faq-section {
  background: white;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 4rem;
}
.citation-landing .faq-title {
  text-align: center;
  margin-bottom: 0.75rem;
}
.citation-landing .faq-subtitle {
  text-align: center;
  margin-bottom: 2.5rem;
}
.citation-landing .faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.citation-landing .faq-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}
.citation-landing .faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.citation-landing .faq-question {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.citation-landing .faq-question::before {
  content: "Q:";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.citation-landing .faq-answer {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 2rem;
}
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 20; padding: 11px 15px; border-radius: 10px; color: white; background: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 10px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero h1 { font-size: 44px; white-space: normal; }
  .input-layout { grid-template-columns: 1fr; }.check-guide { display: none; }
  .score-grid { grid-template-columns: 1fr; }.score-card.overall { grid-column: auto; min-height: 116px; }
  .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ask-ai-card { padding: 1.85rem 1.5rem 1.6rem; }
  .ask-ai-copy h2 { white-space: normal; }
}
@media (max-width: 640px) {
  main { width: 100%; }.hero__content { padding: 20px 20px 44px; }.hero h1 { font-size: 44px; line-height: 1.05; }.hero h1 em { display: inline-block; width: auto; margin: 0; }.hero__content > p { font-size: 14px; line-height: 24px; }.trust-row, .eyebrow { flex-wrap: wrap; }.trust-row { gap: 7px; font-size: 8px; }
  .checker-card { width: calc(100% - 20px); max-width: 100%; padding: 20px 14px; border-radius: 21px; }.card-heading, .results-heading { min-width: 0; align-items: flex-start; flex-direction: column; }.heading-actions { width: 100%; min-width: 0; justify-content: space-between; flex-wrap: wrap; }
  .editor-wrap { min-height: 400px; }.editor-footer { padding: 0 12px; font-size: 8px; }.submit-row { align-items: stretch; flex-direction: column; }.primary-button { width: 100%; }.deep-toggle small { line-height: 1.4; }
  .results-heading .report-actions { width: 100%; flex-wrap: wrap; }.report-actions .primary-button { width: auto; margin-left: auto; }
  .score-grid { grid-template-columns: 1fr; padding: 12px; }.score-card.overall { padding: 4px 6px; }.score-ring { width: 88px; height: 88px; }.score-card { min-height: 86px; padding: 15px; }
  .paper-facts { grid-template-columns: 1fr 1fr; }
  .results-toolbar { align-items: stretch; flex-direction: column; }.filter-tabs { width: 100%; }.style-select { justify-content: flex-end; }.report-download, .report-download-toggle { width: 100%; }.report-download-menu { left: 0; right: auto; }.citation-style-submenu { left: 0; right: auto; bottom: auto; top: calc(100% + 8px); }
  .result-summary { grid-template-columns: 35px minmax(0,1fr) 20px; padding: 14px 12px; }.result-summary .status-badge { grid-column: 2; justify-self: start; }.result-summary .chevron { grid-column: 3; grid-row: 1 / span 2; }.result-details { padding: 15px 12px; }.match-top { flex-direction: column; }.confidence { min-width: 0; align-self: flex-start; text-align: left; }.field-grid { grid-template-columns: 1fr; }
  .source-grid { grid-template-columns: 1fr; }
  .source-card { min-height: 0; }
  .citation-landing .landing-faq.faq-section { padding: 2rem 1.25rem; }
  .citation-landing .faq-answer { padding-left: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__bg, .hero__content { transform: none !important; }
}

.finder-filters { display:flex; flex-wrap:wrap; align-items:flex-end; gap:14px; }
.finder-filters label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.finder-filters input, .finder-filters select { height:40px; min-width:120px; padding:0 12px; border:1px solid var(--line); border-radius:9px; color:var(--ink); background:#fff; font-size:13px; }
.query-analysis { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.claim-row { display:flex; gap:12px; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:#fcfbfa; }
.claim-index { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:var(--green-soft); color:var(--green-deep); font-size:12px; font-weight:800; }
.claim-row p { margin:0 0 4px; font-size:14px; }
.claim-row code { color:var(--muted); font-size:12px; }
.warning-list { display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.warning-item { padding:12px 14px; border-radius:10px; background:var(--amber-soft); color:#8a651f; font-size:13px; }
.paper-card { display:grid; grid-template-columns:92px minmax(0,1fr); gap:18px; padding:22px; }
@media (max-width: 640px) {
  .paper-card { grid-template-columns: 1fr; }
}
.paper-score { display:flex; flex-direction:column; align-items:center; gap:8px; }
.paper-score .score-ring { --rate:0deg; width:84px; height:84px; }
.paper-score .score-ring strong { color:var(--ink); font-size:22px; }
.paper-score small { color:var(--muted); font-size:11px; text-align:center; line-height:1.3; }
.card-topline { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.relation-badge { display:inline-flex; align-items:center; padding:7px 12px; border-radius:999px; font-size:12px; font-weight:750; }
.relation-badge.supports { color:var(--verified); background:var(--verified-soft); }
.relation-badge.partial, .relation-badge.candidate { color:#8a651f; background:var(--amber-soft); }
.relation-badge.background, .relation-badge.unclear { color:var(--muted); background:#f1efec; }
.relation-badge.contradicts, .relation-badge.retracted { color:#a84f5e; background:var(--red-soft); }
.provider-tags { display:flex; flex-wrap:wrap; gap:6px; }
.meta-badge { padding:5px 8px; border-radius:7px; background:var(--green-soft); color:var(--green-deep); font-size:11px; font-weight:700; }
.paper-title { margin:0 0 8px; font-family:Georgia,serif; font-size:22px; line-height:1.35; }
.paper-title a { color:inherit; text-decoration:none; }
.paper-title a:hover { color:var(--green-deep); }
.paper-facts {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(88px, 0.7fr) minmax(0, 1.4fr) minmax(88px, 0.7fr);
  gap: 8px;
  margin: 0 0 12px;
}
.paper-fact {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #faf9f7;
}
.paper-fact span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.paper-fact strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  word-break: break-word;
}
.evidence-box p strong { display: inline; margin: 0; letter-spacing: 0; text-transform: none; color: var(--green-deep); font-weight: 800; }
.match-reason { margin:0 0 12px; font-size:14px; }
.evidence-box { padding:14px 16px; border-radius:12px; background:#f9f8f7; }
.evidence-box strong { display:block; margin-bottom:6px; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.evidence-box p { margin:0; font-size:14px; line-height:1.65; }
.evidence-empty { color:var(--muted); }
.card-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; align-items:center; }
.card-action { height:40px; display:inline-flex; align-items:center; padding:0 14px; border:1px solid var(--line-strong); border-radius:10px; background:#fff; color:var(--ink); text-decoration:none; font-size:13px; font-weight:700; cursor:pointer; }
.card-action:hover, .card-action.primary { border-color:var(--green); color:var(--green-deep); }
.doi-text { color:var(--muted); font-size:12px; font-family:Consolas,monospace; }
.claim-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.claim-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.claim-tab.is-active { color: var(--green-deep); border-color: var(--green); background: var(--green-soft); }
.claim-group { margin: 0 0 22px; padding: 18px 18px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.claim-group > h3 { margin: 0 0 6px; font-size: 16px; }
.claim-copy { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.paper-option { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; }
.paper-option.is-selected { border-color: var(--green); background: var(--green-soft); }
.paper-option input { margin-top: 6px; cursor: pointer; }
.paper-option .paper-title { font-size: 16px; }
.paper-option .card-actions { margin-top: 10px; }
.cited-draft { margin: 0 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fffdf8; }
.cited-draft__head p { margin: 6px 0 14px; color: var(--muted); font-size: 13px; }
.cited-text { margin: 0 0 16px; font-size: 16px; line-height: 1.7; }
.cited-references { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
