/* Author: VIVI x Codex */
/* 能谈吗 · 页面层样式。只补设计系统 v1.0 没有的零件（多行输入/下拉/单选/进度/证据），数值一律走 token。 */

.nt-hero { padding: var(--s-12) 0 var(--s-10); }
.nt-hero h1 {
  margin: 0; font-family: var(--font-display); font-size: var(--t-h1); font-weight: 900;
  line-height: var(--lh-tight); letter-spacing: var(--ls-tight);
}
.nt-hero h1 b { color: var(--teal-ink); }
.nt-hero p { margin: var(--s-5) 0 0; font-size: var(--t-lede); font-weight: 600; color: var(--muted); }

.nt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--s-11); align-items: start; }
@media (max-width: 860px) { .nt-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 表单 ---------- */
.nt-form { display: flex; flex-direction: column; gap: var(--s-8); }
.nt-field { display: flex; flex-direction: column; gap: var(--s-3); border: 0; margin: 0; padding: 0; min-width: 0; }
.nt-field > label, .nt-field > legend { padding: 0; font-size: var(--t-sm); font-weight: 800; }
.nt-field small { font-size: var(--t-xs); font-weight: 600; color: var(--muted); line-height: var(--lh-normal); }
.nt-input, .nt-textarea, .nt-select {
  width: 100%; min-height: 46px; padding: 0 var(--s-6);
  border: var(--bw-mid) solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink); font: inherit; font-size: var(--t-body); font-weight: 600;
}
.nt-textarea { min-height: 96px; padding: var(--s-5) var(--s-6); resize: vertical; line-height: var(--lh-normal); }
.nt-input:focus-visible, .nt-textarea:focus-visible, .nt-select:focus-visible {
  outline: var(--bw-bold) solid var(--teal); outline-offset: 1px; border-color: var(--teal-ink);
}
.nt-count { align-self: flex-end; font-size: var(--t-xs); font-weight: 700; color: var(--muted); }

.nt-radios { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.nt-radio { position: relative; }
.nt-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nt-radio span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-7);
  border: var(--bw-mid) solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--paper); font-size: var(--t-sm); font-weight: 800;
}
.nt-radio input:checked + span { border-color: var(--ink); background: var(--mint); }
.nt-radio input:focus-visible + span { outline: var(--bw-bold) solid var(--teal); outline-offset: 2px; }

.nt-check { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--t-sm); font-weight: 700; line-height: var(--lh-normal); }
.nt-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal-ink); flex: 0 0 auto; }

.nt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }
.nt-fine { margin: 0; font-size: var(--t-xs); font-weight: 600; color: var(--muted); line-height: var(--lh-normal); }

/* ---------- 示例卡 ---------- */
.nt-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-9); }
@media (max-width: 860px) { .nt-samples { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }
.nt-sample { margin: 0; }
.nt-sample figcaption { margin-top: var(--s-4); font-size: var(--t-xs); font-weight: 700; color: var(--muted); }

.nt-mine { display: flex; flex-direction: column; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.nt-mine a {
  display: flex; justify-content: space-between; gap: var(--s-5); padding: var(--s-5) var(--s-6);
  border: var(--bw) solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  color: var(--ink); text-decoration: none; font-size: var(--t-sm); font-weight: 700;
}
.nt-mine a:hover { border-color: var(--teal-ink); }
.nt-mine span { color: var(--muted); font-weight: 600; }

/* ---------- 进度 ---------- */
.nt-steps { display: flex; flex-direction: column; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.nt-steps li {
  display: flex; align-items: center; gap: var(--s-5); font-size: var(--t-body); font-weight: 700; color: var(--muted);
}
.nt-steps li::before {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%;
  border: var(--bw-bold) solid var(--line-strong); background: var(--paper);
}
.nt-steps li.is-now { color: var(--ink); }
.nt-steps li.is-now::before { border-color: var(--teal-ink); background: var(--mint); animation: nt-pulse 1.2s var(--ease) infinite; }
.nt-steps li.is-done { color: var(--ink); }
.nt-steps li.is-done::before { border-color: var(--teal-ink); background: var(--teal); }
@keyframes nt-pulse { 50% { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .nt-steps li.is-now::before { animation: none; } }
.nt-log { margin: var(--s-8) 0 0; font-size: var(--t-xs); font-weight: 600; color: var(--muted); line-height: var(--lh-relaxed); }

/* ---------- 报告 ---------- */
.nt-report { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: var(--s-11); align-items: start; }
@media (max-width: 900px) { .nt-report { grid-template-columns: minmax(0, 1fr); } }
.nt-report-card { position: sticky; top: 76px; display: flex; flex-direction: column; gap: var(--s-6); }
@media (max-width: 900px) { .nt-report-card { position: static; } }
.nt-report-main { display: flex; flex-direction: column; gap: var(--s-9); min-width: 0; }

.nt-block h2 {
  margin: 0 0 var(--s-5); font-family: var(--font-display); font-size: var(--t-h3); font-weight: 900; line-height: var(--lh-tight);
}
.nt-block p { margin: 0 0 var(--s-4); font-size: var(--t-body); line-height: var(--lh-relaxed); }
.nt-block p:last-child { margin-bottom: 0; }
.nt-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--s-3) var(--s-6); margin: 0; font-size: var(--t-sm); }
.nt-kv dt { font-weight: 800; color: var(--muted); }
.nt-kv dd { margin: 0; font-weight: 600; line-height: var(--lh-normal); }

.nt-fold { border: var(--bw) solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.nt-fold > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: var(--pad-card); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--t-h3); font-weight: 900;
}
.nt-fold > summary::-webkit-details-marker { display: none; }
.nt-fold > summary::after { content: "展开"; font-family: var(--font-body); font-size: var(--t-xs); font-weight: 800; color: var(--teal-ink); }
.nt-fold[open] > summary::after { content: "收起"; }
.nt-fold-body { padding: 0 var(--pad-card) var(--pad-card); }

.nt-evidence { display: flex; flex-direction: column; gap: var(--s-5); margin: var(--s-7) 0 0; padding: 0; list-style: none; }
.nt-ev {
  display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6) var(--s-7);
  border: var(--bw) solid var(--line); border-radius: var(--r-sm); background: var(--paper);
}
.nt-ev-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.nt-ev-id { font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.nt-ev blockquote {
  margin: 0; padding-left: var(--s-5); border-left: var(--bw-heavy) solid var(--line-strong);
  font-size: var(--t-body); font-weight: 600; line-height: var(--lh-relaxed); overflow-wrap: anywhere;
}
.nt-ev.is-hidden blockquote { color: var(--muted); font-style: italic; }
.nt-ev-meta { font-size: var(--t-xs); font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.nt-ev-meta a { color: var(--teal-ink); }

.nt-share-list { display: flex; flex-direction: column; gap: var(--s-3); margin: var(--s-5) 0 0; padding: 0; list-style: none; font-size: var(--t-sm); font-weight: 600; }
.nt-share-list li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.nt-copy-out { font-family: var(--font-mono); font-size: var(--t-xs); }

.nt-danger { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.nt-danger .v-btn { border-color: var(--bad-ink); background: var(--paper); color: var(--bad-ink); }

.nt-modal-form { display: flex; flex-direction: column; gap: var(--s-6); margin-top: var(--s-5); }

.nt-center { max-width: 520px; margin: 0 auto; }
.nt-prose h2 { margin: var(--s-10) 0 var(--s-4); font-family: var(--font-display); font-size: var(--t-h3); font-weight: 900; }
.nt-prose p, .nt-prose li { font-size: var(--t-body); line-height: var(--lh-relaxed); }
.nt-prose ul { padding-left: 1.2em; }

.v-foot a { color: var(--teal-ink); }
[hidden] { display: none !important; }
.nt-fine a, .nt-kv a { color: var(--teal-ink); }
