  .naming-progress-summary {
    margin: 0 0 14px;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #0f172a;
    overflow: hidden;
  }
  .naming-progress-summary > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
    cursor: pointer;
    list-style: none;
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 700;
  }
  .naming-progress-summary > summary::-webkit-details-marker { display: none; }
  .naming-progress-summary > summary::after {
    content: "Show details";
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
  }
  .naming-progress-summary[open] > summary::after { content: "Hide details"; }
  .naming-progress-main {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
  }
  #quizTotalNamed {
    color: #86efac;
    font: 700 24px/1 Consolas,monospace;
  }
  .naming-progress-streak {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: #1e3a8a;
    color: #dbeafe;
    font: 700 11px/1.2 Arial,sans-serif;
  }
  .naming-progress-body {
    padding: 0 12px 12px;
    border-top: 1px solid #334155;
  }
  .naming-progress-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    margin: 11px 0;
  }
  .naming-progress-stat {
    min-width: 0;
    padding: 9px;
    border-radius: 8px;
    background: #111827;
  }
  .naming-progress-stat span {
    display: block;
    margin-bottom: 3px;
    color: #9ca3af;
    font-size: 11px;
  }
  .naming-progress-stat strong {
    display: block;
    overflow-wrap: anywhere;
    color: #f9fafb;
    font: 700 18px/1.15 Consolas,monospace;
  }
  .naming-progress-actions {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
  }
  .naming-progress-actions button { width: auto; margin: 0; }
  .naming-progress-note {
    flex: 1 1 210px;
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.4;
  }
  .auth-reset-code-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  html[data-theme="light"] .naming-progress-summary {
    border-color: #cbd5e1;
    background: #f8fafc;
  }
  html[data-theme="light"] .naming-progress-summary > summary { color: #0f172a; }
  html[data-theme="light"] .naming-progress-summary > summary::after { color: #1d4ed8; }
  html[data-theme="light"] .naming-progress-body { border-color: #cbd5e1; }
  html[data-theme="light"] .naming-progress-stat { background: #e2e8f0; }
  html[data-theme="light"] .naming-progress-stat span,
  html[data-theme="light"] .naming-progress-note { color: #475569; }
  html[data-theme="light"] .naming-progress-stat strong { color: #0f172a; }
  html[data-theme="light"] #quizTotalNamed { color: #166534; }
  html[data-theme="light"] .naming-progress-streak { background: #dbeafe; color: #1e3a8a; }
  @media (max-width: 620px) {
    .naming-progress-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .naming-progress-summary > summary { align-items: flex-start; }
    .naming-progress-streak { white-space: nowrap; }
    .auth-reset-code-actions { grid-template-columns: 1fr; }
  }
