.agentic-v2 {
  --v2-ink: #10233f;
  --v2-muted: #607087;
  --v2-line: #dfe7f0;
  --v2-blue: #2457e6;
  --v2-cyan: #0d9fc4;
  --v2-soft: #f4f7fb;
  --v2-green: #0b8b67;
  color: var(--v2-ink);
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 28px 60px;
}

.v2-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; padding:28px 30px; color:#fff; border-radius:24px; background:radial-gradient(circle at 85% 10%,rgba(33,218,223,.38),transparent 34%),linear-gradient(130deg,#10295a,#1d54d8 62%,#087a9d); box-shadow:0 20px 50px rgba(25,62,125,.2); }
.v2-hero h1 { margin:7px 0 8px; max-width:850px; font-size:clamp(26px,3vw,42px); line-height:1.18; letter-spacing:-.03em; color:#fff; }
.v2-hero p { margin:0; max-width:820px; color:rgba(255,255,255,.82); font-size:15px; line-height:1.7; }
.v2-kicker { font-size:11px; letter-spacing:.16em; font-weight:800; text-transform:uppercase; opacity:.82; }
.v2-hero-actions { flex:none; }
.v2-tabs { display:flex; gap:8px; margin:18px 0 22px; padding:6px; border:1px solid var(--v2-line); border-radius:16px; background:#fff; width:max-content; max-width:100%; overflow:auto; box-shadow:0 8px 25px rgba(25,50,85,.06); }
.v2-tabs button { border:0; background:transparent; color:var(--v2-muted); padding:10px 18px; border-radius:11px; font-weight:700; white-space:nowrap; cursor:pointer; }
.v2-tabs button.active { color:#fff; background:var(--v2-blue); }
.v2-button { border:1px solid transparent; border-radius:11px; padding:10px 17px; font:inherit; font-weight:700; cursor:pointer; transition:.2s ease; }
.v2-button:hover:not(:disabled) { transform:translateY(-1px); box-shadow:0 7px 16px rgba(22,64,140,.14); }
.v2-button.primary { color:#fff; background:linear-gradient(135deg,var(--v2-blue),#3473ef); }
.v2-button.ghost { color:var(--v2-ink); background:#fff; border-color:var(--v2-line); }
.v2-hero .v2-button.ghost { color:#fff; background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.4); }
.v2-button.large { min-width:130px; padding:13px 20px; }
.v2-button:disabled { opacity:.48; cursor:not-allowed; }
.v2-text-button,.v2-icon-button { border:0; background:transparent; padding:5px; color:var(--v2-muted); font:inherit; font-weight:700; cursor:pointer; }
.v2-text-button.primary { color:var(--v2-blue); }
.v2-icon-button { font-size:25px; line-height:1; }
.v2-metric-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:18px; }
.v2-metric-row > div { display:flex; align-items:baseline; gap:11px; padding:20px 22px; border:1px solid var(--v2-line); border-radius:17px; background:#fff; }
.v2-metric-row strong { font-size:30px; }
.v2-metric-row span { color:var(--v2-muted); }
.v2-secretary-composer,.v2-article-composer { border:1px solid #cbdcf5; border-radius:22px; background:linear-gradient(150deg,#fff,#f3f8ff); box-shadow:0 14px 40px rgba(30,71,135,.09); }
.v2-secretary-composer { display:grid; grid-template-columns:44px minmax(0,1fr); gap:16px; padding:24px; align-items:start; }
.v2-secretary-avatar { width:44px; height:44px; flex:none; display:grid; place-items:center; border-radius:14px; background:linear-gradient(135deg,var(--v2-blue),var(--v2-cyan)); color:#fff; font-size:20px; font-weight:900; box-shadow:0 8px 20px rgba(36,87,230,.24); }
.v2-composer-main { min-width:0; }
.agentic-v2 textarea,.agentic-v2 input,.agentic-v2 select { width:100%; box-sizing:border-box; border:1px solid var(--v2-line); border-radius:12px; background:#fff; color:var(--v2-ink); font:inherit; outline:none; }
.agentic-v2 textarea { resize:vertical; padding:16px; line-height:1.7; }
.agentic-v2 input,.agentic-v2 select { min-height:46px; padding:0 13px; }
.agentic-v2 textarea:focus,.agentic-v2 input:focus,.agentic-v2 select:focus { border-color:#7ca3ef; box-shadow:0 0 0 4px rgba(36,87,230,.08); }
.v2-composer-bottom { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:12px; }
.v2-composer-bottom span,.v2-safe-note { color:var(--v2-muted); font-size:13px; }
.v2-knowledge-prompts { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:10px; color:var(--v2-muted); font-size:13px; }
.v2-knowledge-prompts > span { flex:none; color:var(--v2-blue); font-weight:900; }
.v2-knowledge-prompt-chip { min-height:32px; padding:6px 11px; border:1px solid #d9e5f5; border-radius:999px; background:#fff; color:#244469; font:inherit; font-size:13px; font-weight:800; cursor:pointer; transition:.18s ease; }
.v2-knowledge-prompt-chip:hover { border-color:#8eaff1; background:#f6f9ff; color:var(--v2-blue); transform:translateY(-1px); box-shadow:0 7px 15px rgba(22,64,140,.1); }
.v2-knowledge-prompt-chip.priority-0 { border-color:#f1d99a; background:#fff9e9; color:#8b5a00; }
.v2-knowledge-refresh { min-height:32px; padding:6px 10px; border:1px dashed #b8c9e2; border-radius:999px; background:rgba(255,255,255,.72); color:var(--v2-muted); font:inherit; font-size:13px; font-weight:800; cursor:pointer; transition:.18s ease; }
.v2-knowledge-refresh:hover { border-color:#8eaff1; background:#fff; color:var(--v2-blue); box-shadow:0 7px 15px rgba(22,64,140,.08); }
.v2-section-head { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-bottom:17px; }
.v2-section-head.compact { margin-bottom:10px; }
.v2-section-head span { color:var(--v2-blue); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.v2-section-head h2 { margin:4px 0 0; font-size:22px; }
.v2-library-section,.v2-candidate-box,.v2-proof-focus { margin-top:20px; padding:24px; border:1px solid var(--v2-line); border-radius:20px; background:#fff; }
.v2-research-result { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; margin-top:20px; padding:18px 20px; border:1px solid #b9dfd3; border-radius:16px; background:#effaf6; }
.v2-research-result.empty { border-color:#ead9ac; background:#fff9e9; }
.v2-research-result span { display:block; color:var(--v2-green); font-size:12px; font-weight:800; }
.v2-research-result strong { display:block; margin:4px 0; font-size:17px; }
.v2-research-result p { margin:0; color:var(--v2-muted); font-size:13px; line-height:1.6; }
.v2-research-result details { flex:none; max-width:380px; }
.v2-research-result summary { color:var(--v2-blue); font-weight:800; cursor:pointer; }
.v2-research-result ol { margin:10px 0 0; padding-left:20px; }
.v2-research-result li { margin:6px 0; }
.v2-research-result a { color:var(--v2-blue); }
.v2-fact-grid,.v2-candidate-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.v2-fact-card,.v2-candidate-card { border:1px solid var(--v2-line); border-radius:15px; padding:16px; background:#fff; }
.v2-fact-card h3 { margin:10px 0 7px; font-size:16px; }
.v2-fact-card p,.v2-candidate-card p { margin:0; color:#4d5e74; line-height:1.65; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.v2-card-top,.v2-fact-actions { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.v2-fact-actions { margin-top:12px; border-top:1px solid #eef2f7; padding-top:9px; }
.v2-type { font-size:12px; color:var(--v2-blue); font-weight:800; }
.v2-state { display:inline-flex; align-items:center; width:max-content; padding:5px 9px; border-radius:999px; background:#eef3f9; color:var(--v2-muted); font-size:11px; font-weight:800; }
.v2-state.confirmed,.v2-state.ready { color:#087b5b; background:#e6f7f1; }
.v2-state.pending,.v2-state.waiting,.v2-state.working { color:#8b5a00; background:#fff5d8; }
.v2-state.private,.v2-state.muted { color:#5d6877; background:#edf0f4; }
.v2-state.danger { color:#b12c33; background:#fdebee; }
.v2-candidate-card { display:flex; gap:12px; cursor:pointer; transition:.2s; }
.v2-candidate-card:has(input:checked) { border-color:#8faff2; background:#f6f9ff; }
.v2-candidate-card input { width:17px; height:17px; min-height:0; margin-top:3px; accent-color:var(--v2-blue); }
.v2-candidate-card strong { display:block; margin:5px 0; }
.v2-candidate-card small { display:block; margin-top:9px; color:#8793a2; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.v2-empty-inline,.v2-loading,.v2-error { padding:32px; text-align:center; border:1px dashed #cad5e3; border-radius:16px; color:var(--v2-muted); background:#f9fbfd; }
.v2-error h2 { color:#b12c33; }
.v2-article-composer { padding:24px; }
.v2-article-composer textarea { margin:9px 0 12px; font-size:17px; }
.v2-reference-row { display:grid; grid-template-columns:minmax(260px,1fr) 170px auto; gap:10px; }
.v2-article-composer > p { margin:12px 0 0; color:var(--v2-muted); font-size:12px; }
.v2-brain-status { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:13px 0 4px; padding:12px 14px; border:1px solid #bfe1d5; border-radius:14px; background:linear-gradient(135deg,#f1fbf7,#f7fbff); }
.v2-brain-status.refreshing { border-color:#ead7a1; background:linear-gradient(135deg,#fff9e9,#f7fbff); }
.v2-brain-status > div { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.v2-brain-status strong { font-size:13px; }
.v2-brain-status small,.v2-brain-status p { color:var(--v2-muted); font-size:11px; }
.v2-brain-status p { margin:0; text-align:right; }
.v2-selected-writer-agent { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; margin:12px 0; padding:14px 15px; border:1px solid #c8dafa; border-radius:15px; background:#eef5ff; }
.v2-writer-agent-avatar { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; color:#fff; font-size:16px; font-weight:900; box-shadow:inset 0 0 0 1px rgba(255,255,255,.25); }
.v2-writer-agent-avatar.small { width:36px; height:36px; border-radius:10px; font-size:12px; }
.v2-writer-agent-copy > div { display:flex; align-items:center; gap:7px; }
.v2-writer-agent-copy > div > span { color:var(--v2-muted); font-size:11px; }
.v2-writer-agent-copy b,.v2-writer-agent-title b { padding:3px 7px; border-radius:12px; color:#087b5b; background:#daf5ea; font-size:10px; }
.v2-writer-agent-copy h2 { margin:3px 0; font-size:16px; }
.v2-writer-agent-copy p { margin:0; color:#5d7291; font-size:13px; line-height:1.5; }
.v2-writer-agent-empty { grid-column:1/-1; color:var(--v2-muted); font-size:13px; }
.v2-writer-agent-picker { display:none; position:fixed; inset:0; z-index:300; padding:5vh 5vw; }
.v2-writer-agent-picker.open { display:grid; place-items:center; }
.v2-writer-agent-backdrop { position:absolute; inset:0; width:100%; border:0; background:rgba(9,20,38,.58); backdrop-filter:blur(4px); }
.v2-writer-agent-dialog { position:relative; width:min(980px,100%); max-height:90vh; overflow:auto; border-radius:22px; background:#f7f9fc; box-shadow:0 30px 90px rgba(0,0,0,.3); }
.v2-writer-agent-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:24px 26px 18px; border-bottom:1px solid var(--v2-line); background:#fff; }
.v2-writer-agent-dialog-head > div > span { color:var(--v2-blue); font-size:12px; font-weight:800; letter-spacing:.08em; }
.v2-writer-agent-dialog-head h2 { margin:6px 0; font-size:24px; }
.v2-writer-agent-dialog-head p { margin:0; color:var(--v2-muted); font-size:13px; }
.v2-writer-agent-picker-tools { padding:17px 22px 4px; }
.v2-writer-agent-picker-tools input { width:100%; padding:12px 14px; border:1px solid var(--v2-line); border-radius:11px; background:#fff; }
.v2-writer-agent-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:14px 22px 24px; }
.v2-writer-agent-card { display:grid; grid-template-columns:auto minmax(0,1fr); gap:13px; padding:17px; border:1px solid var(--v2-line); border-radius:16px; color:var(--v2-ink); background:#fff; text-align:left; cursor:pointer; transition:.18s ease; }
.v2-writer-agent-card:hover,.v2-writer-agent-card.selected { transform:translateY(-2px); border-color:#88aef7; box-shadow:0 12px 25px rgba(40,80,140,.1); }
.v2-writer-agent-card.selected { background:#f2f6ff; }
.v2-writer-agent-card-body,.v2-writer-agent-title { display:block; min-width:0; }
.v2-writer-agent-title { display:flex; align-items:center; gap:7px; }
.v2-writer-agent-card-body small { display:block; margin-top:6px; color:#5471a3; }
.v2-writer-agent-card-body p { margin:8px 0 11px; color:var(--v2-muted); font-size:12px; line-height:1.6; }
.v2-writer-agent-card-body em { display:block; padding-top:10px; border-top:1px solid #edf1f6; color:var(--v2-blue); font-size:12px; font-style:normal; font-weight:800; }
.v2-creation-choice-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:14px; margin:12px 0 16px; align-items:stretch; }
.v2-creation-choice { min-width:0; padding:14px 15px; border:1px solid #cfddf2; border-radius:17px; background:#fff; }
.v2-simple-choice-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.v2-simple-choice-head > span { color:var(--v2-blue); font-size:12px; font-weight:800; }
.v2-choice-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.v2-choice-head span { color:var(--v2-blue); font-size:11px; font-weight:800; }
.v2-choice-head h2 { margin:4px 0 0; font-size:17px; }
.v2-choice-intro { margin:7px 0 12px; color:var(--v2-muted); font-size:12px; line-height:1.5; }
.v2-choice-refresh { border:1px dashed #9db8e8; border-radius:16px; padding:6px 11px; color:#3764ba; background:#fff; cursor:pointer; font-size:11px; font-weight:700; }
.v2-choice-refresh:disabled { opacity:.55; cursor:wait; }
.v2-topic-list { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.v2-topic-card { display:grid; gap:3px; width:auto; max-width:100%; padding:8px 12px; border:1px solid #d5e1f4; border-radius:18px; color:#173f7a; background:#f8fbff; text-align:left; cursor:pointer; font-size:12px; line-height:1.45; transition:.16s ease; }
.v2-topic-card strong { font-size:12px; }
.v2-topic-card small { max-width:440px; color:#6c7f99; font-size:10px; line-height:1.45; }
.v2-topic-card:hover,.v2-topic-card.selected { border-color:#7fa8f5; color:#1554b5; background:#eaf2ff; transform:translateY(-1px); }
.v2-topic-card.selected { box-shadow:inset 0 0 0 1px #7fa8f5; }
.v2-simple-choice-note { margin:10px 0 0; color:var(--v2-muted); font-size:10px; line-height:1.5; }
.v2-agent-choice .v2-selected-writer-agent { grid-template-columns:auto minmax(0,1fr) auto; margin:0; padding:11px 12px; background:#eef5ff; }
.v2-agent-choice .v2-selected-writer-agent > .v2-button { align-self:center; padding:8px 10px; white-space:nowrap; }
.v2-idea-label { display:flex; align-items:center; gap:8px; margin-top:4px; color:var(--v2-ink); font-size:12px; font-weight:800; }
.v2-idea-label span { color:var(--v2-muted); font-size:11px; font-weight:400; }
@media (max-width:1100px) { .v2-creation-choice-grid { grid-template-columns:1fr; } }
.v2-article-workspace { display:grid; grid-template-columns:300px minmax(0,1fr); gap:18px; margin-top:20px; align-items:start; }
.v2-article-workspace > aside,.v2-article-workspace > main { border:1px solid var(--v2-line); border-radius:20px; background:#fff; }
.v2-article-workspace > aside { padding:18px; position:sticky; top:18px; }
.v2-article-workspace > main { min-height:520px; overflow:hidden; }
.v2-run-list { display:grid; gap:8px; }
.v2-run-card { display:grid; gap:7px; width:100%; text-align:left; padding:13px; border:1px solid transparent; border-radius:13px; background:#f6f8fb; color:var(--v2-ink); cursor:pointer; }
.v2-run-card:hover,.v2-run-card.active { border-color:#8eaff1; background:#f2f7ff; }
.v2-run-card strong { line-height:1.4; }
.v2-run-card small { color:var(--v2-muted); }
.v2-preview-placeholder { min-height:520px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px; text-align:center; background:radial-gradient(circle at 50% 25%,#edf6ff,transparent 42%); }
.v2-preview-placeholder span { color:var(--v2-blue); font-weight:800; }
.v2-preview-placeholder h2 { margin:10px 0; font-size:27px; }
.v2-preview-placeholder p { max-width:520px; color:var(--v2-muted); line-height:1.7; }
.v2-pulse { width:56px; height:56px; margin-bottom:20px; border:6px solid #dbe7fa; border-top-color:var(--v2-blue); border-radius:50%; animation:v2spin 1.2s linear infinite; }
@keyframes v2spin { to { transform:rotate(360deg); } }
.v2-article-preview { padding:clamp(24px,4vw,54px); }
.v2-article-score { display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid var(--v2-line); padding-bottom:18px; margin-bottom:25px; }
.v2-article-score > div { display:flex; align-items:baseline; gap:8px; }
.v2-article-score strong { font-size:34px; }
.v2-article-score span { color:var(--v2-muted); }
.v2-article-preview > h1 { margin:0; font-size:clamp(28px,4vw,44px); line-height:1.2; letter-spacing:-.035em; }
.v2-article-deck { color:var(--v2-muted); font-size:17px; line-height:1.8; }
.v2-article-body { margin-top:30px; color:#243750; font-size:16px; line-height:1.9; }
.v2-article-body h2 { margin:34px 0 12px; color:var(--v2-ink); font-size:25px; }
.v2-article-body h3 { margin-top:25px; color:var(--v2-ink); }
.v2-article-body img { max-width:100%; height:auto; border-radius:14px; }
.v2-article-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:34px; padding-top:20px; border-top:1px solid var(--v2-line); }
.v2-details { margin-top:20px; border:1px solid var(--v2-line); border-radius:14px; background:#f8fafc; }
.v2-details summary { padding:15px 17px; cursor:pointer; font-weight:800; }
.v2-details > :not(summary) { margin-left:17px; margin-right:17px; }
.v2-detail-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; padding-bottom:16px; }
.v2-detail-grid > div { display:grid; gap:5px; padding:12px; border-radius:10px; background:#fff; }
.v2-detail-grid span { color:var(--v2-muted); font-size:12px; }
.v2-brain-basis { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(320px,1.2fr); gap:14px; margin:0 17px 16px; padding:14px; border:1px solid #bfe1d5; border-radius:12px; background:#f0faf6; }
.v2-brain-basis > div { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.v2-brain-basis strong { font-size:13px; }
.v2-brain-basis small,.v2-brain-basis p { color:var(--v2-muted); font-size:12px; }
.v2-brain-basis p { margin:0; line-height:1.65; }
.v2-proof-banner { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:28px 30px; border:1px solid #c9dbf4; border-radius:20px; background:linear-gradient(125deg,#f5f9ff,#eaf7fa); }
.v2-proof-banner > div > span { color:var(--v2-blue); font-size:12px; font-weight:800; }
.v2-proof-banner h2 { margin:6px 0 8px; font-size:27px; }
.v2-proof-banner p { margin:0; color:var(--v2-muted); }
.v2-proof-progress { margin-top:14px; padding:18px 22px; border:1px solid #bfd5f2; border-radius:17px; background:linear-gradient(135deg,#fff,#f3f8ff); box-shadow:0 10px 30px rgba(36,99,235,.07); }
.v2-proof-progress-head,.v2-proof-progress-head > div,.v2-proof-progress-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.v2-proof-progress-head > div { justify-content:flex-start; }
.v2-proof-progress-head > strong { color:var(--v2-blue); font-size:20px; }
.v2-proof-progress-pulse { width:9px; height:9px; border-radius:50%; background:var(--v2-blue); box-shadow:0 0 0 0 rgba(37,99,235,.35); animation:v2ProofPulse 1.8s infinite; }
.v2-proof-progress-track { height:10px; margin:14px 0 10px; overflow:hidden; border-radius:999px; background:#dce8f8; }
.v2-proof-progress-track > span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#2463eb,#19a8ca); box-shadow:0 0 14px rgba(36,99,235,.35); transition:width .55s ease; }
.v2-proof-progress-meta { color:var(--v2-muted); font-size:13px; }
.v2-proof-progress p { margin:8px 0 0; overflow:hidden; color:#48627f; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
@keyframes v2ProofPulse { 70% { box-shadow:0 0 0 8px rgba(37,99,235,0); } 100% { box-shadow:0 0 0 0 rgba(37,99,235,0); } }
.v2-proof-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:18px; }
.v2-proof-grid article { display:grid; gap:5px; padding:22px; border:1px solid var(--v2-line); border-radius:17px; background:#fff; }
.v2-proof-grid article > span,.v2-proof-grid p { color:var(--v2-muted); }
.v2-proof-grid strong { font-size:34px; }
.v2-proof-grid p { margin:0; font-size:13px; }
.v2-proof-score-note { display:flex; gap:10px; margin-top:10px; padding:11px 14px; border-radius:12px; background:#edf4ff; color:#49627e; font-size:13px; line-height:1.6; }
.v2-proof-score-note strong { flex:0 0 auto; color:var(--v2-blue); }
.v2-proof-focus h3 { font-size:22px; margin:6px 0 8px; }
.v2-proof-focus > p { color:var(--v2-muted); line-height:1.7; }
.v2-big-score { font-size:28px!important; color:var(--v2-green)!important; }
.v2-proof-details { padding-bottom:15px; background:#fff; }
.v2-proof-grid.four { grid-template-columns:repeat(4,minmax(0,1fr)); }
.v2-proof-records-section { margin-top:18px; padding:24px; border:1px solid var(--v2-line); border-radius:20px; background:#fff; }
.v2-proof-records { display:grid; gap:12px; margin-top:16px; }
.v2-proof-record { overflow:hidden; border:1px solid var(--v2-line); border-radius:16px; background:#fbfcfe; }
.v2-proof-record-main { display:grid; grid-template-columns:minmax(240px,1.4fr) minmax(320px,1fr) auto; gap:20px; align-items:center; padding:18px; }
.v2-proof-record-title { min-width:0; }
.v2-proof-record-title h3 { margin:8px 0 6px; overflow:hidden; color:var(--v2-ink); font-size:17px; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.v2-proof-record-title p { margin:0 0 5px; color:var(--v2-muted); font-size:12px; }
.v2-proof-record-title a,.v2-proof-record-title small { color:var(--v2-blue); font-size:13px; }
.v2-proof-record-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.v2-proof-record-metrics > div { display:grid; gap:4px; min-height:62px; padding:10px; border-radius:11px; background:#f2f6fb; }
.v2-proof-record-metrics span,.v2-proof-record-metrics small { color:var(--v2-muted); font-size:11px; }
.v2-proof-record-metrics strong { font-size:15px; line-height:1.25; }
.v2-proof-content-index { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; padding:0 18px 14px; }
.v2-proof-reuse-weight { padding:5px 9px; border-radius:999px; background:#eef3f8; color:var(--v2-muted); font-size:12px; font-weight:700; }
.v2-proof-reuse-weight.high { background:#e9f8ef; color:var(--v2-green); }
.v2-proof-reuse-weight.medium { background:#fff5df; color:#9a6700; }
.v2-proof-reuse-weight.low { background:#fff0ee; color:#b42318; }
.v2-proof-keyword-tags { display:flex; flex-wrap:wrap; gap:6px; }
.v2-proof-keyword-tags span { padding:4px 8px; border:1px solid var(--v2-line); border-radius:999px; background:#fff; color:var(--v2-muted); font-size:11px; }
.v2-proof-content-index small { color:var(--v2-muted); font-size:11px; }
.v2-proof-record-advanced { border-top:1px solid var(--v2-line); background:#fff; }
.v2-proof-record-advanced summary { padding:11px 18px; color:var(--v2-muted); cursor:pointer; font-size:12px; font-weight:700; }
.v2-proof-record-advanced p,.v2-proof-record-advanced button { margin:0 18px 12px; }
.v2-proof-insight { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:18px; padding:24px; border:1px solid #d8e4f3; border-radius:20px; background:#f7faff; }
.v2-proof-insight.positive { border-color:#b8e5d2; background:#f0fbf6; }
.v2-proof-insight span { color:var(--v2-blue); font-size:12px; font-weight:800; }
.v2-proof-insight h2 { margin:6px 0 8px; font-size:22px; }
.v2-proof-insight p { margin:0; color:var(--v2-muted); line-height:1.7; }
.v2-proof-technical { padding:0 17px 15px; }
.v2-proof-technical p { margin:8px 0 13px; color:var(--v2-muted); line-height:1.6; }
.v2-proof-record .positive,.v2-proof-grid .positive { color:var(--v2-green); }
.v2-proof-record .negative,.v2-proof-grid .negative { color:#c0392b; }
.v2-modal-backdrop { position:fixed; inset:0; z-index:10020; display:grid; place-items:center; padding:20px; background:rgba(11,24,43,.52); backdrop-filter:blur(4px); }
.v2-modal { width:min(660px,100%); max-height:90vh; overflow:auto; padding:24px; border-radius:20px; background:#fff; box-shadow:0 30px 80px rgba(0,0,0,.25); }
.v2-modal label { display:grid; gap:7px; margin-top:14px; color:var(--v2-muted); font-size:13px; font-weight:700; }
.v2-modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }
.v2-empty-page { display:grid; place-items:center; min-height:60vh; }
.v2-empty-card { max-width:650px; text-align:center; padding:45px; border:1px solid var(--v2-line); border-radius:24px; background:#fff; }
.v2-empty-card span { color:var(--v2-blue); font-weight:800; }
.v2-empty-card p { color:var(--v2-muted); line-height:1.7; }

.v2-flywheel-panel { margin-bottom:18px; padding:22px; border:1px solid #c8d8ee; border-radius:20px; background:linear-gradient(135deg,#f7faff,#eef6ff); box-shadow:0 12px 30px rgba(34,82,138,.08); }
.v2-flywheel-head { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.v2-flywheel-head span { color:var(--v2-blue); font-size:12px; font-weight:800; letter-spacing:.04em; }
.v2-flywheel-head h2 { margin:7px 0 6px; color:var(--v2-ink); font-size:22px; }
.v2-flywheel-head p { margin:0; color:var(--v2-muted); line-height:1.65; }
.v2-flywheel-metrics { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin-top:18px; }
.v2-flywheel-metrics div { display:grid; gap:3px; padding:11px; border-radius:12px; background:rgba(255,255,255,.82); }
.v2-flywheel-metrics strong { color:var(--v2-ink); font-size:19px; }
.v2-flywheel-metrics span,.v2-flywheel-memory { color:var(--v2-muted); font-size:11px; }
.v2-flywheel-memory { display:flex; flex-wrap:wrap; align-items:center; gap:7px 12px; margin-top:12px; }
.v2-flywheel-memory > span { font-weight:700; }
.v2-flywheel-memory div { display:flex; flex-wrap:wrap; gap:5px; }
.v2-flywheel-memory b { padding:4px 7px; border-radius:999px; background:#fff; color:var(--v2-blue); font-size:10px; }
.v2-attribution-line { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin-top:10px; padding:10px 12px; border:1px solid rgba(52,104,171,.14); border-radius:12px; background:rgba(255,255,255,.64); color:var(--v2-muted); font-size:11px; }
.v2-attribution-line strong { color:var(--v2-ink); }
.v2-attribution-line em { margin-left:auto; color:var(--v2-blue); font-style:normal; font-weight:700; }
.v2-publication-progress { display:flex; align-items:center; gap:12px; margin:22px 0 4px; padding:13px 14px; border:1px solid #d6e2f4; border-radius:14px; background:#f7faff; }
.v2-publication-progress > div { display:grid; flex:1; gap:3px; min-width:0; }
.v2-publication-progress strong { color:var(--v2-ink); font-size:14px; }
.v2-publication-progress small { color:var(--v2-muted); line-height:1.5; }
.v2-publication-progress.ready { border-color:#bce8d5; background:#f2fbf7; }
.v2-publication-progress.danger { border-color:#f1c7c3; background:#fff7f6; }
.v2-publication-progress.waiting { border-color:#f0d99c; background:#fffbef; }
@media (max-width: 960px) {
  .agentic-v2 { padding:18px 16px 45px; }
  .v2-hero { align-items:flex-start; flex-direction:column; }
  .v2-secretary-composer { grid-template-columns:44px minmax(0,1fr); }
  .v2-article-workspace { grid-template-columns:1fr; }
  .v2-article-workspace > aside { position:static; }
  .v2-run-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v2-reference-row { grid-template-columns:1fr 150px; }
  .v2-reference-row .v2-button { grid-column:1/-1; }
  .v2-detail-grid { grid-template-columns:repeat(2,1fr); }
  .v2-proof-grid.four { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .v2-proof-record-main { grid-template-columns:1fr; align-items:start; }
  .v2-proof-record-main > .v2-button { justify-self:start; }
}

@media (max-width: 680px) {
  .agentic-v2 { padding:12px 10px 35px; }
  .v2-hero { padding:22px 19px; border-radius:18px; }
  .v2-hero h1 { font-size:27px; }
  .v2-hero-actions,.v2-hero-actions .v2-button { width:100%; }
  .v2-tabs { width:100%; box-sizing:border-box; }
  .v2-tabs button { flex:1; padding:9px 11px; }
  .v2-metric-row,.v2-proof-grid { grid-template-columns:1fr; }
  .v2-metric-row { gap:8px; }
  .v2-metric-row > div { padding:14px 16px; }
  .v2-secretary-composer { grid-template-columns:1fr; padding:17px; }
  .v2-secretary-avatar { display:none; }
  .v2-composer-bottom,.v2-section-head,.v2-proof-banner { align-items:flex-start; flex-direction:column; }
  .v2-brain-status { align-items:flex-start; flex-direction:column; }
  .v2-brain-status p { text-align:left; }
  .v2-proof-progress { padding:16px; }
  .v2-proof-progress-meta { align-items:flex-start; flex-direction:column; gap:4px; }
  .v2-proof-progress p { white-space:normal; }
  .v2-proof-score-note { flex-direction:column; gap:2px; }
  .v2-research-result { flex-direction:column; }
  .v2-composer-bottom .v2-button,.v2-section-head .v2-button,.v2-proof-banner .v2-button { width:100%; }
  .v2-fact-grid,.v2-candidate-grid,.v2-run-list,.v2-reference-row,.v2-detail-grid { grid-template-columns:1fr; }
  .v2-reference-row .v2-button { grid-column:auto; }
  .v2-library-section,.v2-candidate-box,.v2-proof-focus,.v2-article-composer { padding:17px; }
  .v2-selected-writer-agent { grid-template-columns:auto 1fr; }
  .v2-selected-writer-agent > .v2-button { grid-column:1/-1; width:100%; }
  .v2-writer-agent-picker { padding:0; }
  .v2-writer-agent-dialog { width:100%; height:100vh; max-height:none; border-radius:0; }
  .v2-writer-agent-cards { grid-template-columns:1fr; }
  .v2-article-workspace { gap:12px; }
  .v2-article-workspace > aside { padding:13px; }
  .v2-preview-placeholder { min-height:380px; padding:25px; }
  .v2-article-preview { padding:24px 18px; }
  .v2-article-actions { flex-direction:column; }
  .v2-article-actions .v2-button { width:100%; }
  .v2-publication-progress { align-items:flex-start; flex-direction:column; }
  .v2-publication-progress .v2-button { width:100%; }
  .v2-brain-basis { grid-template-columns:1fr; }
  .v2-proof-grid.four,.v2-proof-record-metrics { grid-template-columns:1fr; }
  .v2-proof-records-section { padding:17px; }
  .v2-proof-record-main > .v2-button,.v2-proof-insight .v2-button { width:100%; }
  .v2-proof-insight { align-items:flex-start; flex-direction:column; }
}
@media (min-width: 961px) {
  .v2-proof-grid.four { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .v2-proof-record-main { grid-template-columns:minmax(240px,1.4fr) minmax(320px,1fr) auto; align-items:center; }
  .v2-proof-record-main > .v2-button { justify-self:auto; }
}
@media (max-width: 960px) {
  .v2-flywheel-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .v2-flywheel-panel { padding:17px; }
  .v2-flywheel-head { align-items:flex-start; flex-direction:column; }
  .v2-flywheel-head .v2-button { width:100%; }
