  /* Attempts history */
  .attempts-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 14px;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s;
  }
  .attempts-summary:hover { border-color: var(--border-strong); }
  .attempts-summary-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .attempts-badge {
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 11px;
  }
  .attempts-badge.pass { background: rgba(163, 217, 192, 0.15); color: var(--success); }
  .attempts-badge.partial { background: rgba(212, 183, 107, 0.15); color: var(--warning); }
  .attempts-badge.fail { background: rgba(217, 163, 163, 0.15); color: var(--danger); }
  .attempts-badge.unknown { background: var(--bg); color: var(--text-muted); }
  .attempts-chevron {
    color: var(--text-muted);
    font-size: 10px;
    transition: transform 0.2s;
  }
  .attempts-summary.expanded .attempts-chevron {
    transform: rotate(180deg);
  }
  .attempts-list {
    margin-top: 6px;
    display: none;
  }
  .attempts-list.expanded { display: block; }
  .attempt-item {
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 6px;
    font-size: 12px;
  }
  .attempt-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
  }
  .attempt-item-date { color: var(--text-secondary); }
  .attempt-status-pass { color: var(--success); }
  .attempt-status-partial { color: var(--warning); }
  .attempt-status-fail { color: var(--danger); }
  .attempt-status-unknown { color: var(--text-muted); }
  .attempt-reason {
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.55;
    margin-bottom: 6px;
    padding-left: 4px;
    border-left: 2px solid var(--border);
    padding-left: 8px;
  }
  .attempt-actions {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
  }
  .attempt-detail {
    margin-top: 8px;
    padding: 10px 12px;
    background: var(--bg);
    border-radius: 4px;
    border: 1px solid var(--border);
    display: none;
  }
  .attempt-detail.expanded { display: block; }
  .attempt-detail pre {
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px;
    overflow-x: auto;
    font-size: 11px;
    font-family: var(--font-mono);
    margin: 6px 0;
    line-height: 1.5;
  }
  .attempt-detail-section {
    margin-top: 8px;
  }
  .attempt-detail-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .resolution-marker {
    background: rgba(163, 217, 192, 0.08);
    border-left: 3px solid var(--success);
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: 4px;
    font-size: 11px;
    color: var(--success);
  }

  /* Feynman explanation section */
  .feynman-section {
    background: linear-gradient(180deg, rgba(163, 217, 192, 0.03), transparent);
    border: 1px dashed rgba(163, 217, 192, 0.3);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-top: 4px;
  }
  .feynman-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 12px;
  }
  .feynman-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
  }
  .feynman-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.5;
  }
  .feynman-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
  }
  .feynman-textarea {
    width: 100%;
    min-height: 80px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    resize: none;
    overflow-y: hidden;
    box-sizing: border-box;
    margin-top: 6px;
  }
  .feynman-textarea:focus {
    outline: none;
    border-color: var(--success);
  }
  .feynman-validation {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    line-height: 1.65;
    display: none;
  }
  .feynman-validation.shown { display: block; }
  .feynman-validation.clarity-clear {
    background: rgba(163, 217, 192, 0.08);
    border-left: 3px solid var(--success);
  }
  .feynman-validation.clarity-partial {
    background: rgba(212, 183, 107, 0.08);
    border-left: 3px solid var(--warning);
  }
  .feynman-validation.clarity-unclear {
    background: rgba(217, 163, 163, 0.08);
    border-left: 3px solid var(--danger);
  }
  .feynman-validation.grading {
    background: var(--bg-input);
    border-left: 3px solid var(--text-muted);
  }
  .feynman-validation h3 {
    font-size: 12px;
    margin: 6px 0 4px;
    color: var(--text-primary);
    font-weight: 600;
  }
  .feynman-validation h3:first-child { margin-top: 0; }
  .feynman-validation p { margin: 4px 0; }
  .feynman-validation code {
    font-family: var(--font-mono);
    font-size: 11px;
    background: var(--bg);
    padding: 1px 4px;
    border-radius: 3px;
  }

  /* Recall quiz card on dashboard */
  .recall-card {
    background: linear-gradient(135deg, rgba(163, 217, 192, 0.06), rgba(163, 217, 192, 0.02));
    border: 1px solid rgba(163, 217, 192, 0.25);
    border-left: 3px solid var(--success);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .recall-card-content { flex: 1; }
  .recall-card-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--success);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .recall-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
  }
  .recall-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
  }
  .recall-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  .btn-recall {
    background: var(--success);
    color: var(--bg);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: all 0.15s;
  }
  .btn-recall:hover { transform: translateY(-1px); opacity: 0.9; }
  .btn-recall-skip {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s;
  }
  .btn-recall-skip:hover { color: var(--text-secondary); border-color: var(--border-strong); }

  /* Recall modal */
  .recall-modal {
    max-width: 700px;
    padding: 32px 36px;
  }
  .recall-modal-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .recall-modal-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
  }
  .recall-modal-context {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-family: var(--font-mono);
  }
  .recall-question-box {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
  }
  .recall-question-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
  }
  .recall-answer-textarea {
    width: 100%;
    min-height: 120px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    resize: none;
    overflow-y: hidden;
    box-sizing: border-box;
  }
  .recall-answer-textarea:focus {
    outline: none;
    border-color: var(--accent);
  }
  .recall-result {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.65;
  }
  .recall-result.result-yes {
    background: rgba(163, 217, 192, 0.08);
    border-left: 3px solid var(--success);
  }
  .recall-result.result-partial {
    background: rgba(212, 183, 107, 0.08);
    border-left: 3px solid var(--warning);
  }
  .recall-result.result-no {
    background: rgba(217, 163, 163, 0.08);
    border-left: 3px solid var(--danger);
  }
  .recall-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 12px;
  }

