/* ---------- Decorative page header band ---------- */
.page-band { position: relative; }
.page-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 220px; z-index: -1;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(215, 180, 200, 0.35), transparent 70%); }

/* ---------- Verify ---------- */
.verify-form:focus-within { border-color: var(--rose); box-shadow: var(--shadow-sm), var(--focus); }
.verify-form textarea {
  width: 100%; min-height: 150px; resize: vertical; border: 0; outline: none; background: transparent;
  font-size: var(--fs-lg); line-height: 1.9; color: var(--ink); padding: 6px 4px;
}
.verify-form .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.verify-result { margin-top: 18px; }
.verdict { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.verdict-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.verdict-icon .icon { width: 26px; height: 26px; }
.verdict h2 { margin: 0; }
.verdict.is-matched .verdict-icon { background: var(--success); color: #fff; }
.verdict.is-matched h2 { color: var(--success); }
.verdict.is-partial .verdict-icon { background: var(--lavender-100); color: #5b47a3; }
.verdict.is-not .verdict-icon, .verdict.is-insufficient .verdict-icon { background: var(--warn-bg); color: var(--warn); }
.verdict.is-error .verdict-icon { background: var(--danger-bg); color: var(--danger); }
.stored-text { margin: 14px 0; display: flex; gap: 14px; align-items: flex-start; }
.stored-text blockquote { margin: 0; flex: 1; font-size: var(--fs-lg); line-height: 2.1; color: var(--ink);
  background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; overflow-wrap: anywhere; }
.verify-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.details { margin-top: 12px; }
.meter { height: 8px; background: #f2e7ec; border-radius: var(--r-pill); overflow: hidden; width: 160px; display: inline-block; vertical-align: middle; }
.meter > i { display: block; height: 100%; background: var(--rose-600); }

/* ---------- Sources & reliability ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cat-card { padding: 18px 16px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.cat-card .icon { width: 30px; height: 30px; color: var(--rose-700); margin-bottom: 4px; }
.cat-card h3 { margin: 0; font-size: var(--fs-md); }
.cat-card p { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.cat-count { font-family: var(--font-head); color: var(--plum); font-weight: 700; font-size: var(--fs-lg); }
.cat-items { list-style: none; margin: 4px 0 0; padding: 0; font-size: var(--fs-xs); color: var(--text); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; counter-reset: step; }
.flow li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 12px 14px; text-align: center; font-size: var(--fs-sm); color: var(--plum); font-weight: 600; counter-increment: step; }
.flow li::before { content: counter(step, arabic-indic); display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 8px;
  border-radius: 50%; background: var(--rose-100); color: var(--rose-700); font-family: var(--font-head); }
.flow li span { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-xs); margin-top: 4px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-card { padding: 18px; }
.info-card h3 { display: flex; align-items: center; gap: 8px; font-size: var(--fs-md); }
.info-card h3 .icon { color: var(--rose-700); }
.info-card p, .info-card li { font-size: var(--fs-sm); color: var(--text); }
.info-card ul { margin: 0; padding-inline-start: 18px; }

/* ---------- Model info ---------- */
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.metric-table th, .metric-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: start; }
.metric-table th { color: var(--muted); font-weight: 600; background: var(--surface-soft); }
.metric-table td.num { font-variant-numeric: tabular-nums; direction: ltr; text-align: end; }
.metric-table tr.is-default td { background: var(--rose-50); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.placeholder { color: var(--muted); font-style: normal; }

/* ---------- Saved ---------- */
.saved-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.saved-card { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.saved-q { font-family: var(--font-head); color: var(--plum); font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.saved-preview { color: var(--text); font-size: var(--fs-sm); margin: 0; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.saved-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.saved-date { font-size: var(--fs-xs); color: var(--muted); }
.saved-actions { display: flex; gap: 8px; }

/* ---------- Prose pages ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: 0.4em; }
