/* Fonts loaded via <link rel="preconnect"> + <link> in base.html head. */

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --dc-navy:        #0D1B2A;
  --dc-navy-mid:    #1A3050;
  --dc-gold:        #C4973A;
  --dc-gold-light:  #F5E9D0;
  --dc-cream:       #FAFAF7;
  --dc-white:       #FFFFFF;
  --dc-text:        #1A1A1A;
  --dc-muted:       #6B6B6B;
  --dc-border:      #E0DDD8;

  --bs-body-bg:          var(--dc-cream);
  --bs-body-color:       var(--dc-text);
  --bs-body-font-family: 'Outfit', sans-serif;
  --bs-border-color:     var(--dc-border);
  --bs-primary-rgb:      13, 27, 42;
  --bs-link-color:       var(--dc-navy);
  --bs-link-hover-color: var(--dc-gold);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  background: var(--dc-cream);
  color: var(--dc-text);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.dc-nav {
  background: var(--dc-navy) !important;
  border-bottom: none !important;
  padding: 0.9rem 0;
}

.dc-nav .navbar-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dc-white) !important;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.dc-dot {
  width: 9px; height: 9px;
  background: var(--dc-gold);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.dc-nav-link {
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.875rem;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  transition: color 0.18s;
  background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.dc-nav-link:hover { color: var(--dc-white) !important; }

.dc-nav-user {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-family: 'Outfit', sans-serif;
  padding: 0.35rem 0.25rem;
}

.dc-btn-gold {
  background: var(--dc-gold); border: none;
  color: var(--dc-navy) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem; font-weight: 600;
  padding: 0.4rem 1.05rem; border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.15s;
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center;
}
.dc-btn-gold:hover { background: #D4A848; transform: translateY(-1px); }

.dc-btn-ghost {
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.75) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  padding: 0.35rem 0.875rem; border-radius: 4px;
  background: transparent;
  transition: border-color 0.18s, color 0.18s;
  text-decoration: none; cursor: pointer;
}
.dc-btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: var(--dc-white) !important; }

/* ── Flash ──────────────────────────────────────────────────────────────── */
.dc-flash {
  border: none; border-radius: 6px;
  font-size: 0.875rem; padding: 0.75rem 1rem;
  margin-bottom: 1.75rem;
}
.dc-flash.danger  { background: #FEF2F2; color: #991B1B; }
.dc-flash.info,
.dc-flash.warning { background: #EFF6FF; color: #1E40AF; }
.dc-flash.success { background: #F0FDF4; color: #166534; }

/* ── Page-level buttons ─────────────────────────────────────────────────── */
.dc-btn-primary {
  background: var(--dc-navy); border: none;
  color: var(--dc-white) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; font-weight: 500;
  padding: 0.625rem 1.625rem; border-radius: 5px;
  letter-spacing: 0.01em; cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.dc-btn-primary:hover {
  background: var(--dc-navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13,27,42,0.18);
  color: var(--dc-white) !important;
}

.dc-btn-outline {
  background: transparent;
  border: 1.5px solid var(--dc-navy);
  color: var(--dc-navy) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 1.25rem; border-radius: 5px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.dc-btn-outline:hover { background: var(--dc-navy); color: var(--dc-white) !important; }

.dc-btn-text {
  background: none; border: none;
  color: var(--dc-muted) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem; padding: 0.5rem 0.5rem;
  cursor: pointer; text-decoration: none;
  transition: color 0.18s;
}
.dc-btn-text:hover { color: var(--dc-navy) !important; }

/* ── Form ───────────────────────────────────────────────────────────────── */
.dc-label {
  display: block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--dc-muted); margin-bottom: 0.4rem;
}

.dc-input {
  display: block; width: 100%;
  background: var(--dc-white);
  border: 1px solid var(--dc-border); border-radius: 5px;
  padding: 0.625rem 0.875rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; color: var(--dc-text);
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
}
.dc-input:focus {
  outline: none;
  border-color: var(--dc-navy);
  box-shadow: 0 0 0 3px rgba(13,27,42,0.07);
}
.dc-input::placeholder { color: #B5B2AD; }

.dc-field { margin-bottom: 1.25rem; }

/* ── Auth split layout ──────────────────────────────────────────────────── */
.dc-auth-wrap {
  display: flex;
  min-height: calc(100vh - 57px);
  min-height: calc(100dvh - 57px);
}

.dc-auth-panel {
  flex: 0 0 38%;
  background: var(--dc-navy);
  padding: 3.5rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.dc-auth-panel::before {
  content: '';
  position: absolute; top: -30%; right: -15%;
  width: 320px; height: 320px;
  border: 55px solid rgba(196,151,58,0.07);
  border-radius: 50%; pointer-events: none;
}
.dc-auth-panel::after {
  content: '';
  position: absolute; bottom: -25%; left: -12%;
  width: 240px; height: 240px;
  border: 40px solid rgba(196,151,58,0.05);
  border-radius: 50%; pointer-events: none;
}

.dc-auth-tagline {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dc-gold); margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}

.dc-auth-panel-title {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem; font-weight: 500;
  color: var(--dc-white); line-height: 1.25;
  letter-spacing: -0.03em; margin-bottom: 1rem;
  position: relative; z-index: 1;
}

.dc-auth-panel-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  position: relative; z-index: 1;
}

.dc-auth-form-side {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2rem;
  background: var(--dc-cream);
}

.dc-auth-box { width: 100%; max-width: 380px; }

.dc-auth-box-title {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 500;
  color: var(--dc-navy); letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.dc-auth-box-sub {
  font-size: 0.875rem; color: var(--dc-muted);
  margin-bottom: 2rem;
}

.dc-auth-divider {
  border: none; border-top: 1px solid var(--dc-border);
  margin: 1.25rem 0;
}

@media (max-width: 767px) {
  .dc-auth-panel { display: none; }
  .dc-auth-form-side { padding: 2rem 1.25rem; }
}

/* ── Page header ────────────────────────────────────────────────────────── */
.dc-header {
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid var(--dc-border);
  margin-bottom: 2.25rem;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 1rem;
}

.dc-header-title {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem; font-weight: 500;
  color: var(--dc-navy); letter-spacing: -0.025em; margin: 0;
}

.dc-header-sub {
  font-size: 0.875rem; color: var(--dc-muted);
  margin: 0.25rem 0 0;
}

.dc-section-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dc-muted); margin-bottom: 1rem;
}

/* ── Table ──────────────────────────────────────────────────────────────── */
.dc-table-wrap {
  background: var(--dc-white);
  border: 1px solid var(--dc-border);
  border-radius: 8px; overflow-x: auto;
}

.dc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.dc-table thead th {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dc-muted);
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--dc-border);
  background: var(--dc-cream);
  white-space: nowrap;
}

.dc-table tbody td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(224,221,216,0.55);
  vertical-align: middle; color: var(--dc-text);
}
.dc-table tbody tr:last-child td { border-bottom: none; }
.dc-table tbody tr { transition: background 0.1s; }
.dc-table tbody tr:hover td { background: rgba(250,250,247,0.8); }

/* ── Q&A appendix table ─────────────────────────────────────────────────── */
.dc-table--qa tbody tr:hover td { background: inherit; }
.dc-table--qa .dc-qa-dim th {
  background: var(--dc-navy); color: var(--dc-white);
  text-align: left; padding: 0.55rem 1.25rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
.dc-table--qa .dc-qa-q td {
  background: var(--dc-gold-light); color: var(--dc-navy);
  font-weight: 600; font-size: 0.85rem; padding: 0.5rem 1.25rem;
}
.dc-table--qa .dc-qa-item td { padding: 0.5rem 1.25rem; vertical-align: top; }
.dc-table--qa .dc-qa-alt td { background: var(--dc-cream); }
.dc-table--qa .dc-qa-ans {
  font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}

.dc-badge {
  display: inline-flex; align-items: center;
  background: var(--dc-gold-light); color: #5A3D0A;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.625rem; border-radius: 20px;
}

/* ── Empty state ────────────────────────────────────────────────────────── */
.dc-empty {
  background: var(--dc-white);
  border: 1px solid var(--dc-border);
  border-radius: 8px;
  text-align: center; padding: 4rem 2rem;
}

.dc-empty-glyph {
  font-family: 'Fraunces', serif;
  font-size: 3rem; font-weight: 500;
  color: var(--dc-navy); opacity: 0.08;
  letter-spacing: -0.05em; margin-bottom: 1rem;
  line-height: 1;
}

.dc-empty-text {
  font-size: 0.9rem; color: var(--dc-muted);
  max-width: 300px; margin: 0 auto 1.5rem;
  line-height: 1.65;
}

/* ── Assessment form ────────────────────────────────────────────────────── */
.dc-assess-header {
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid var(--dc-border);
  margin-bottom: 2rem;
}

.dc-cat-card {
  background: var(--dc-white);
  border: 1px solid var(--dc-border);
  border-left: 3px solid var(--dc-gold);
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.75rem; overflow: hidden;
}

.dc-cat-header {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--dc-border);
  background: var(--dc-cream);
}

.dc-cat-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem; font-weight: 500;
  color: var(--dc-navy); margin: 0 0 0.1rem;
  letter-spacing: -0.015em;
}

.dc-cat-desc { font-size: 0.8rem; color: var(--dc-muted); margin: 0; }

.dc-cat-body { padding: 0.5rem 1.25rem 1.25rem; }

.dc-question {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(224,221,216,0.45);
}
.dc-question:last-child { border-bottom: none; }

.dc-q-num {
  font-size: 0.63rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dc-gold); margin-bottom: 0.3rem;
}

.dc-q-text {
  font-size: 0.9375rem; font-weight: 500;
  color: var(--dc-text); margin-bottom: 0.75rem; line-height: 1.5;
}

.dc-q-options { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
/* Keep Sì/No (and Sì/In parte/No) on one line when the item label wraps:
   without this the options column shrinks and the radios stack vertically.
   Likert keeps its own wrap behaviour for the 0–5 scale. */
.dc-q-options:not(.dc-likert) { flex-shrink: 0; }
.dc-q-options.column { flex-direction: column; gap: 0.3rem; }

.dc-radio {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--dc-text);
  cursor: pointer; padding: 0.2rem 0;
  transition: color 0.15s;
}
.dc-radio:hover { color: var(--dc-navy); }

.dc-radio input[type=radio] {
  width: 16px; height: 16px;
  accent-color: var(--dc-navy);
  cursor: pointer; flex-shrink: 0;
}

/* ── Submit bar ─────────────────────────────────────────────────────────── */
.dc-submit-bar {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--dc-border);
  margin-top: 0.5rem;
}

/* ── Verify sent ────────────────────────────────────────────────────────── */
.dc-verify-wrap {
  min-height: calc(100vh - 57px);
  min-height: calc(100dvh - 57px);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1rem;
}

.dc-verify-card {
  background: var(--dc-white);
  border: 1px solid var(--dc-border);
  border-radius: 10px;
  padding: 3rem 2.5rem;
  max-width: 440px; width: 100%;
  text-align: center;
}

.dc-verify-badge {
  width: 52px; height: 52px;
  background: var(--dc-gold-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 1.3rem;
}

.dc-verify-title {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 500;
  color: var(--dc-navy); letter-spacing: -0.025em; margin-bottom: 0.75rem;
}

.dc-verify-text {
  font-size: 0.9rem; color: var(--dc-muted); line-height: 1.65;
}

/* ── Report ─────────────────────────────────────────────────────────────── */
.dc-report svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* ── A11y + likert anchors (audit fixes) ────────────────────────────────── */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.dc-item {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid #F0EEE9;
}
.dc-item:last-child { border-bottom: none; }
.dc-item-label { font-size: 0.9rem; color: var(--dc-text); }
.dc-likert-anchor {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: var(--dc-muted); margin: 0 0 0.4rem;
}

/* ── Dual-binary question (Q1: Già investito / Prevede di investire) ─────── */
.dc-dual-head {
  display: grid; grid-template-columns: 1fr 7.5rem 7.5rem; gap: 1rem;
  font-size: 0.72rem; font-weight: 600; color: var(--dc-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0 0 0.4rem; border-bottom: 1px solid var(--dc-border); margin-bottom: 0.2rem;
}
.dc-dual-head span:not(.dc-dual-spacer) { text-align: center; }
.dc-item-dual { display: grid; grid-template-columns: 1fr 7.5rem 7.5rem; gap: 1rem; align-items: center; }
.dc-item-dual .dc-q-options { justify-content: center; gap: 0 0.8rem; }
.dc-dual-inline-label { display: none; font-size: 0.72rem; font-weight: 600; color: var(--dc-muted); }
@media (max-width: 640px) {
  .dc-dual-head { display: none; }
  .dc-item-dual { grid-template-columns: 1fr; gap: 0.5rem; }
  .dc-item-dual .dc-q-options { justify-content: flex-start; }
  .dc-dual-inline-label { display: block; margin-bottom: 0.2rem; }
}

/* ── Open DMAT / CC BY 4.0 attribution footer ───────────────────────────── */
.dc-attribution {
  border-top: 1px solid var(--dc-border); background: var(--dc-cream);
  padding: 1rem 0; margin-top: 2rem;
}
.dc-attribution p {
  font-size: 0.72rem; line-height: 1.5; color: var(--dc-muted); margin: 0;
}
.dc-attribution a { color: var(--dc-muted); text-decoration: underline; }

/* ── Assessment form UX (audit fixes) ───────────────────────────────────── */
.dc-form-nav {
  position: sticky; top: 0; z-index: 15;
  display: flex; flex-wrap: wrap; gap: 0.35rem;
  background: var(--dc-cream); padding: 0.75rem 0;
  margin-bottom: 1.25rem; border-bottom: 1px solid var(--dc-border);
}
.dc-form-nav-link {
  font-size: 0.78rem; color: var(--dc-muted);
  text-decoration: none; padding: 0.25rem 0.6rem; border-radius: 20px;
  border: 1px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.dc-form-nav-link:hover { color: var(--dc-navy); }
.dc-form-nav-link.is-active { color: var(--dc-navy); border-color: var(--dc-gold); font-weight: 600; }
.dc-cat-counter {
  display: block; font-size: 0.63rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dc-gold); margin-bottom: 0.15rem;
}
.dc-submit-sticky {
  position: sticky; bottom: 0; z-index: 15;
  background: var(--dc-cream); box-shadow: 0 -6px 16px rgba(13,27,42,0.06);
}
.dc-submit-hint { font-size: 0.82rem; color: #991B1B; }
.dc-likert { gap: 0.4rem; }
.dc-likert .dc-likert-opt {
  border: 1px solid var(--dc-border); border-radius: 6px;
  padding: 0.25rem 0.55rem; background: var(--dc-white);
}
.dc-likert .dc-likert-opt:hover { border-color: var(--dc-navy); }
.dc-item--missing {
  background: #FEF2F2; border-radius: 6px;
  box-shadow: inset 3px 0 0 #991B1B; padding-left: 0.5rem;
}
@media (max-width: 640px) {
  .dc-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .dc-q-options { width: 100%; }
}

/* ── Focus visibility (audit fixes) ─────────────────────────────────────── */
.dc-radio input[type=radio]:focus-visible {
  outline: 2px solid var(--dc-navy); outline-offset: 2px;
}
.dc-input:focus {
  outline: none; border-color: var(--dc-navy);
  box-shadow: 0 0 0 3px rgba(13,27,42,0.35);
}
.dc-nav-link:focus-visible,
.dc-btn-ghost:focus-visible,
.dc-btn-gold:focus-visible {
  outline: 2px solid var(--dc-gold); outline-offset: 2px;
}
.dc-btn-primary:focus-visible,
.dc-btn-outline:focus-visible,
.dc-btn-text:focus-visible,
.dc-form-nav-link:focus-visible {
  outline: 2px solid var(--dc-navy); outline-offset: 2px;
}

/* ── Report design-system (audit fixes) ─────────────────────────────────── */
:root {
  --dc-band-advanced-bg: #E6F4EA; --dc-band-advanced-fg: #1B5E33;
  --dc-band-proactive-bg: #FDF0D8; --dc-band-proactive-fg: #7A4E00;
  --dc-band-basic-bg: #FCE8E6;    --dc-band-basic-fg: #8A1C12;
}
.dc-report-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; padding-bottom: 0.75rem; margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--dc-navy);
}
.dc-report-hero {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--dc-navy); color: var(--dc-white);
  border-radius: 10px; padding: 1.75rem 2rem; margin-bottom: 2rem;
}
.dc-report-hero-num {
  font-family: 'Fraunces', serif; font-size: 4.5rem; font-weight: 600;
  line-height: 1; color: var(--dc-gold);
}
.dc-report-hero-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.dc-report-hero-name {
  font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 500;
  color: var(--dc-white); letter-spacing: -0.02em;
}
.dc-chart-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.dc-chart-block {
  background: var(--dc-white); border: 1px solid var(--dc-border);
  border-radius: 8px; padding: 1rem; margin: 0 0 1.5rem;
}
.dc-band {
  display: inline-flex; align-items: center;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem; border-radius: 20px;
}
.dc-band--advanced { background: var(--dc-band-advanced-bg); color: var(--dc-band-advanced-fg); }
.dc-band--proactive { background: var(--dc-band-proactive-bg); color: var(--dc-band-proactive-fg); }
.dc-band--basic { background: var(--dc-band-basic-bg); color: var(--dc-band-basic-fg); }
.dc-report-note { font-size: 0.82rem; color: #4F4F4F; line-height: 1.55; margin-top: 1.25rem; }

/* ── Dashboard CTA hint (audit fixes) ───────────────────────────────────── */
.dc-header-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.dc-header-cta-hint { font-size: 0.72rem; color: var(--dc-muted); }

/* ── Low-severity cosmetic (audit fixes) ────────────────────────────────── */
.dc-cat-header { background: rgba(196,151,58,0.05); }

/* Company profile form */
.dc-fieldset { border: none; padding: 0; margin: 0 0 1.5rem; }
.dc-fieldset .dc-cat-title { margin-bottom: 0; }
.dc-help { display: block; margin-top: 0.25rem; font-size: 0.8125rem; color: var(--dc-muted); }
.dc-error-summary {
  border: 1px solid #dc3545; background: #fdecec; color: #842029;
  border-radius: 8px; padding: 0.875rem 1rem; margin-bottom: 1.25rem;
}
.dc-error-summary p { margin: 0; font-weight: 500; }
.dc-error-summary ul { margin: 0.25rem 0 0; padding-left: 1.25rem; }
