#app { max-width: 960px; margin: 0 auto; padding: 24px 20px; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
header h1 { font-size: 28px; font-weight: 600; letter-spacing: -0.5px; }
header .meta { font-size: 13px; color: var(--text-secondary); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-tertiary); margin-bottom: 20px; }
.breadcrumb button { font-size: 13px; color: var(--accent); padding: 0; }
.breadcrumb span { opacity: 0.4; }
/* Domain grid */
.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.domain-card { padding: 18px; cursor: pointer; transition: background 0.15s; }
.domain-card:hover { background: var(--surface-hover); }
.domain-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.domain-card .stats { display: flex; gap: 16px; font-size: 12px; color: var(--text-secondary); }
.domain-card .score-bar { height: 4px; background: rgba(4,49,89,0.06); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.domain-card .score-fill { height: 100%; border-radius: 2px; transition: width 0.3s; }
/* Score colors */
.score-1 { color: var(--red); } .score-2 { color: var(--orange); }
.score-3 { color: var(--yellow); } .score-4 { color: var(--green); }
.score-high { color: var(--green); } .score-mid { color: var(--yellow); } .score-low { color: var(--red); }
.empty { color: var(--text-tertiary); font-size: 13px; font-style: italic; }
section { margin-bottom: 24px; }
section h2 { font-size: 15px; font-weight: 500; margin-bottom: 12px; color: var(--text-secondary); }
.bg-1 { background: var(--red); } .bg-2 { background: var(--orange); }
.bg-3 { background: var(--yellow); } .bg-4 { background: var(--green); }
.bg-none { background: rgba(4,49,89,0.10); }
/* Badge */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.badge-conflict { background: var(--red-dim); color: var(--red); }
.badge-evidence { background: var(--accent-dim); color: var(--accent); }
.badge-scored { background: var(--green-dim); color: var(--green); }
/* Question list */
.q-list { display: flex; flex-direction: column; gap: 8px; }
.q-row { padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; transition: background 0.15s; }
.q-row:hover { background: var(--surface-hover); }
.q-num { font-size: 12px; color: var(--text-tertiary); min-width: 24px; padding-top: 2px; }
.q-text { flex: 1; font-size: 14px; line-height: 1.5; }
.q-badges { display: flex; gap: 6px; flex-shrink: 0; }
.q-score { font-size: 20px; font-weight: 600; min-width: 28px; text-align: center; }
/* Evidence cards */
.evidence-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ev-card { padding: 14px 16px; }
.ev-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ev-source { font-size: 12px; font-weight: 500; color: var(--accent); }
.ev-type { font-size: 11px; padding: 2px 6px; border-radius: 4px; background: var(--surface); color: var(--text-tertiary); }
.ev-excerpt { font-size: 13px; line-height: 1.6; color: var(--text-secondary); font-style: italic; }
.ev-score { margin-top: 8px; font-size: 12px; }
/* Conflict card */
.conflict-card { padding: 16px; border-left: 3px solid var(--red); margin-top: 12px; }
.conflict-card h4 { font-size: 13px; font-weight: 500; color: var(--red); margin-bottom: 8px; }
.conflict-desc { font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 12px; }
/* Score input */
.score-panel { margin-top: 20px; padding: 18px; }
.score-panel h3 { font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.score-buttons { display: flex; gap: 8px; margin-bottom: 14px; }
.score-btn { width: 48px; height: 48px; border-radius: var(--radius-sm); font-size: 18px; font-weight: 600; background: var(--surface); transition: all 0.15s; }
.score-btn:hover { background: var(--surface-hover); }
.score-btn.active { outline: 2px solid var(--accent); background: var(--accent-dim); }
textarea { width: 100%; min-height: 80px; padding: 10px 12px; font-family: var(--font); font-size: 13px; background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--text); resize: vertical; }
textarea:focus { outline: none; border-color: var(--accent); }
.save-btn { margin-top: 10px; padding: 8px 20px; background: var(--accent); color: #fff; font-weight: 500; font-size: 13px; border-radius: var(--radius-sm); transition: opacity 0.15s; }
.save-btn:hover { opacity: 0.85; }
/* Progress ring */
.progress-ring { display: flex; align-items: center; gap: 8px; }
.ring { width: 40px; height: 40px; }
.ring-bg { fill: none; stroke: rgba(4,49,89,0.06); stroke-width: 3; }
.ring-fill { fill: none; stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 0.4s; }
/* Section titles */
.section-title { font-size: 13px; font-weight: 500; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; margin: 24px 0 12px; }
/* Summary bar */
.summary-bar { display: flex; gap: 24px; padding: 16px 18px; margin-bottom: 20px; }
.summary-stat { text-align: center; }
.summary-stat .val { font-size: 22px; font-weight: 600; }
.summary-stat .label { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }

/* Sources */
.source-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.source-card { padding: 16px; }
.source-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.source-date { font-size: 12px; color: var(--text-tertiary); }
.source-desc { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.source-stakeholders { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.stakeholder-chip { padding: 2px 8px; background: var(--accent-dim); color: var(--accent); border-radius: 10px; font-size: 11px; }
.source-meta { font-size: 12px; color: var(--text-tertiary); }
/* Report */
.report-bars { display: flex; flex-direction: column; gap: 12px; }
.report-bar { display: grid; grid-template-columns: 180px 1fr 60px; align-items: center; gap: 14px; }
.bar-label { font-size: 13px; color: var(--text-secondary); }
.bar-track { height: 8px; background: rgba(4,49,89,0.06); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; transition: width 0.3s; }
.bar-fill.score-high { background: var(--green); } .bar-fill.score-mid { background: var(--yellow); } .bar-fill.score-low { background: var(--red); }
.bar-score { font-size: 14px; font-weight: 600; text-align: right; }
.report-warning { padding: 16px; border-left: 3px solid var(--red); margin-bottom: 20px; }
.report-warning p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.report-actions { padding: 20px; }
.btn-action { padding: 10px 20px; font-size: 14px; background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent); border-radius: var(--radius-sm); cursor: pointer; }
.btn-action:hover { background: var(--accent); color: var(--bg); }
