/* Data Center Tracker — internal staff tool, scoped with .dct- prefix.
   Reuses design tokens from styles.css (colors, fonts). */

/* ── Staff badge in header ────────────────────────────────────────── */
.dct-staff-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: var(--accent-warm, #E87B2F);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  vertical-align: middle;
}

/* ── Gate / teaser (pre-auth) ─────────────────────────────────────── */
.dct-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  padding: 3rem 1.25rem;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}
/* The [hidden] attribute must trump display:flex on .dct-gate. */
.dct-gate[hidden],
.dct-app[hidden] { display: none; }
.dct-gate__card {
  max-width: 720px;
  width: 100%;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}
.dct-gate__eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-water, #1570EF);
  background: #EFF6FF;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}
.dct-gate__heading {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--text-primary, #181D27);
  line-height: 1.2;
}
.dct-gate__lede {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-muted, #535862);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.dct-gate__body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted, #535862);
  margin: 0 0 1rem;
  line-height: 1.5;
  font-size: 0.9rem;
}
.dct-gate__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #F9FAFB 0%, #EFF6FF 100%);
  border-radius: 10px;
  border: 1px solid #E5E7EB;
}
.dct-gate__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.dct-gate__stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-water, #1570EF);
  line-height: 1;
}
.dct-gate__stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted, #535862);
  margin-top: 0.3rem;
  line-height: 1.3;
}
.dct-gate__features {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary, #181D27);
  line-height: 1.55;
}
.dct-gate__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
}
.dct-gate__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #047857;
  font-weight: 700;
  font-size: 0.95rem;
}
.dct-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.dct-gate__actions .dct-btn { font-size: 0.95rem; padding: 0.7rem 1.4rem; }
.dct-gate__secondary {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted, #535862);
  text-decoration: none;
  border-bottom: 1px dotted #9CA3AF;
}
.dct-gate__secondary:hover { color: var(--accent-water, #1570EF); border-bottom-color: var(--accent-water, #1570EF); }
.dct-gate__note {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted, #535862);
  margin-top: 0.75rem;
  font-style: italic;
}

/* Stack stats on small screens */
@media (max-width: 600px) {
  .dct-gate__card { padding: 1.75rem 1.25rem; }
  .dct-gate__heading { font-size: 1.4rem; }
  .dct-gate__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── App container ────────────────────────────────────────────────── */
.dct-app {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}
.dct-app__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.dct-app__title h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0 0 0.25rem;
  color: var(--text-primary, #181D27);
}
.dct-app__subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted, #535862);
  margin: 0;
  line-height: 1.5;
}
.dct-app__subtitle code {
  background: #F3F4F6;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.78rem;
}
.dct-app__stats {
  display: flex;
  gap: 1.5rem;
}
.dct-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dct-stat__num {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-water, #1570EF);
  line-height: 1;
}
.dct-stat__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted, #535862);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ── Toolbar (filters + sort) ─────────────────────────────────────── */
.dct-toolbar {
  display: flex;
  gap: 0.75rem;
  align-items: end;
  flex-wrap: wrap;
  padding: 1rem;
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}
.dct-input,
.dct-select {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: white;
  color: var(--text-primary, #181D27);
}
.dct-input:focus,
.dct-select:focus {
  outline: none;
  border-color: var(--accent-water, #1570EF);
  box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.1);
}
.dct-input {
  flex: 1 1 240px;
  min-width: 240px;
}
.dct-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.dct-filter__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted, #535862);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.dct-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.dct-btn--primary {
  background: var(--accent-water, #1570EF);
  color: white;
}
.dct-btn--primary:hover { background: #0E5BC4; }
.dct-btn--ghost {
  background: white;
  color: var(--text-primary, #181D27);
  border-color: #D1D5DB;
}
.dct-btn--ghost:hover { background: #F3F4F6; }

/* ── Grid + cards ─────────────────────────────────────────────────── */
.dct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}
.dct-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dct-card:hover {
  border-color: var(--accent-water, #1570EF);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.dct-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.dct-card__title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary, #181D27);
  margin: 0;
  line-height: 1.3;
}
.dct-card__operator {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted, #535862);
  margin: 0.15rem 0 0;
}
.dct-card__score {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}
.dct-card__score--10 { background: #047857; }
.dct-card__score--9  { background: #059669; }
.dct-card__score--8  { background: #10B981; }
.dct-card__score--7  { background: #34D399; color: #064E3B; }
.dct-card__score--6  { background: #FCD34D; color: #78350F; }
.dct-card__score--5  { background: #F59E0B; color: white; }
.dct-card__score--low { background: #D1D5DB; color: #4B5563; }
.dct-card__match {
  margin-top: 0.4rem;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-water, #1570EF);
  background: #EFF6FF;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}
.dct-card__match--zero { color: #9CA3AF; background: #F3F4F6; }
.dct-card__head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}
.dct-card__loc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted, #535862);
}
.dct-card__loc strong {
  color: var(--text-primary, #181D27);
  font-weight: 600;
}
.dct-card__status {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted, #535862);
}
.dct-card__hook {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-primary, #181D27);
  line-height: 1.45;
  margin: 0;
  border-left: 3px solid var(--accent-water, #1570EF);
  padding-left: 0.65rem;
}
.dct-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.dct-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  text-transform: uppercase;
  background: #F3F4F6;
  color: #4B5563;
}
.dct-tag--stress      { background: #FEE2E2; color: #991B1B; }
.dct-tag--stormwater  { background: #DBEAFE; color: #1E40AF; }
.dct-tag--watershed   { background: #D1FAE5; color: #065F46; }
.dct-tag--commitment  { background: #FEF3C7; color: #92400E; }
.dct-tag--litigation  { background: #FDE2E2; color: #B91C1C; }
.dct-tag--brownfield  { background: #E0E7FF; color: #3730A3; }
.dct-tag--innovation  { background: #EDE9FE; color: #5B21B6; }
.dct-tag--ej          { background: #FCE7F3; color: #9D174D; }
.dct-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid #F3F4F6;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
}
.dct-card__commitment {
  font-weight: 600;
}
.dct-card__commitment--committed { color: #047857; }
.dct-card__commitment--tbd       { color: #B45309; }
.dct-card__commitment--none      { color: #9CA3AF; }
.dct-card__capacity {
  color: var(--text-muted, #535862);
}

.dct-empty {
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted, #535862);
}

/* ── Detail slideover ─────────────────────────────────────────────── */
.dct-detail {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.dct-detail[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
}
.dct-detail__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.dct-detail__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(720px, 100%);
  background: white;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(20px);
  transition: transform 0.2s;
  overflow-y: auto;
}
.dct-detail[aria-hidden="false"] .dct-detail__panel {
  transform: translateX(0);
}
.dct-detail__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-primary, #181D27);
  z-index: 2;
}
.dct-detail__close:hover { background: #F3F4F6; }
.dct-detail__body {
  padding: 2rem 2rem 4rem;
}

/* Detail content sections */
.dct-detail__title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 0.25rem;
  color: var(--text-primary, #181D27);
  line-height: 1.25;
}
.dct-detail__operator {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted, #535862);
  margin: 0 0 1rem;
}
.dct-detail__chips {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.dct-chip {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  background: #F3F4F6;
  color: #4B5563;
}
.dct-chip--score-high { background: #D1FAE5; color: #065F46; }
.dct-chip--score-med  { background: #FEF3C7; color: #92400E; }
.dct-chip--score-low  { background: #F3F4F6; color: #4B5563; }
.dct-chip--state      { background: #DBEAFE; color: #1E40AF; }

.dct-detail__hook {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary, #181D27);
  line-height: 1.5;
  margin: 0 0 1.5rem;
  border-left: 4px solid var(--accent-water, #1570EF);
}
.dct-detail__hook strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-water, #1570EF);
  margin-bottom: 0.35rem;
}

.dct-detail__section {
  margin-bottom: 1.75rem;
}
.dct-detail__section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary, #181D27);
  margin: 0 0 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #E5E7EB;
}
.dct-fields {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.6rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}
.dct-fields dt {
  color: var(--text-muted, #535862);
  font-weight: 500;
}
.dct-fields dd {
  margin: 0;
  color: var(--text-primary, #181D27);
}
.dct-fields dd.empty { color: #9CA3AF; }

.dct-detail__county-live {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.dct-county-stat {
  display: flex;
  flex-direction: column;
}
.dct-county-stat__num {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent-water, #1570EF);
  line-height: 1;
}
.dct-county-stat__label {
  font-size: 0.7rem;
  color: var(--text-muted, #535862);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.dct-detail__source {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-water, #1570EF);
  word-break: break-all;
  text-decoration: underline;
}

/* ── Matched Rainplan programs (in detail panel) ──────────────────── */
.dct-programs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dct-program {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-primary, #181D27);
  transition: all 0.15s;
}
.dct-program:hover {
  border-color: var(--accent-water, #1570EF);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.dct-program__logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #F3F4F6;
  object-fit: cover;
}
.dct-program__logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: #9CA3AF;
}
.dct-program__body { flex: 1; min-width: 0; }
.dct-program__name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary, #181D27);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dct-program__meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted, #535862);
  margin-top: 0.1rem;
}
.dct-program__arrow {
  color: #9CA3AF;
  font-size: 1rem;
}

/* ── Intelligence callout boxes (state incentive / opposition / capex) */
.dct-callout {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
}
.dct-callout--incentive {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #064E3B;
}
.dct-callout--opposition {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}
.dct-callout--capex {
  background: #F5F3FF;
  border-color: #DDD6FE;
  color: #4C1D95;
}
.dct-callout--empty {
  background: #F9FAFB;
  border-color: #E5E7EB;
  color: var(--text-muted, #535862);
  font-style: italic;
}
.dct-callout__title {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.dct-callout__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0;
}
.dct-callout__row + .dct-callout__row { border-top: 1px solid rgba(0,0,0,0.05); }
.dct-callout__label { font-weight: 500; opacity: 0.8; }
.dct-callout__value { font-weight: 600; text-align: right; }
.dct-callout__notes {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ── Methodology modal ────────────────────────────────────────────── */
.dct-methodology-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #D1D5DB;
  background: white;
  color: var(--text-primary, #181D27);
  cursor: pointer;
}
.dct-methodology-btn:hover { background: #F3F4F6; }

.dct-method {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.dct-method[aria-hidden="false"] {
  pointer-events: auto;
  opacity: 1;
}
.dct-method__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.dct-method__panel {
  position: absolute;
  inset: 5% 5%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dct-method__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
  flex-shrink: 0;
}
.dct-method__title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
}
.dct-method__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #F3F4F6;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.dct-method__body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.dct-method__section { margin-bottom: 1.5rem; }
.dct-method__section summary {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  background: #F3F4F6;
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
}
.dct-method__section summary::-webkit-details-marker { display: none; }
.dct-method__section summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.15s;
}
.dct-method__section[open] summary::before {
  transform: rotate(90deg);
}
.dct-method__section-body {
  padding: 0.75rem 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-primary, #181D27);
}
.dct-method__rows {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
}
.dct-method__row {
  padding: 0.55rem 0;
  border-bottom: 1px solid #F3F4F6;
}
.dct-method__row:last-child { border-bottom: none; }
.dct-method__row-cell {
  display: inline-block;
  margin-right: 1rem;
  color: var(--text-primary, #181D27);
}
.dct-method__row-cell:not(:first-child) {
  color: var(--text-muted, #535862);
  font-size: 0.82rem;
}
.dct-method__theme {
  padding: 0.9rem 1rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.dct-method__theme-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
  color: var(--text-primary, #181D27);
}
.dct-method__theme p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
}
.dct-method__theme strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #535862);
  font-weight: 600;
}

/* Responsive ─ stack header on mobile, slideover becomes full-screen */
@media (max-width: 768px) {
  .dct-app__header { flex-direction: column; align-items: stretch; }
  .dct-app__stats { gap: 1rem; }
  .dct-grid { grid-template-columns: 1fr; }
  .dct-detail__panel { width: 100%; }
  .dct-fields { grid-template-columns: 1fr; gap: 0.2rem; }
  .dct-fields dt { margin-top: 0.5rem; }
}
