/* Shared icon geometry; local containers supply the subject or action color. */
.steady-icon { display: inline-block; width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.22em; fill: none; stroke: currentColor; stroke-width: 1.8; }
.steady-icon .icon-tone { fill: currentColor; fill-opacity: .12; stroke: none; }
.sidebar nav > a > span:first-child { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; }
.sidebar nav .steady-icon { width: 21px; height: 21px; }
.sidebar nav > a:nth-child(6) > span:first-child { color: #087c60; background: #e1f7ec; }
.sidebar nav > a:nth-child(7) > span:first-child { color: #176ab4; background: #e5f3ff; }
.sidebar nav > a[aria-current="page"] > span:first-child { color: #204b40; background: #c5efd5; }
.icon-button { display: inline-grid; place-items: center; }
.icon-button .steady-icon { width: 21px; height: 21px; }
.subject-tag { gap: 6px; }
.subject-tag .steady-icon { width: 15px; height: 15px; }
.subject-tabs a, .flashcard-subjects a { display: inline-flex; align-items: center; gap: 8px; }
.subject-tabs .steady-icon, .flashcard-subjects .steady-icon { width: 20px; height: 20px; }
.subject-progress-heading .subject-symbol, .checkpoint-row .subject-symbol { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
.subject-symbol .steady-icon { width: 23px; height: 23px; }
.course-large-icon { display: grid; place-items: center; flex: 0 0 80px; width: 80px; height: 80px; margin: 0 10px 0 24px; border-radius: 24px; background: var(--subject-soft); color: var(--subject-accent); opacity: 1; }
.course-large-icon .steady-icon { width: 48px; height: 48px; }
.mode-card .mode-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #204b4010; border-radius: 15px; }
.mode-icon .steady-icon { width: 29px; height: 29px; }
.mode-card:nth-child(4) .mode-icon { background: #fff0e6; color: #a5482e; }
.mode-card:nth-child(5) .mode-icon { background: #e5f3ff; color: #176ab4; }
.mode-card:nth-child(6) .mode-icon { background: #f1eaff; color: #7350c6; }
.mode-arrow .steady-icon { width: 20px; height: 20px; }
.writing-banner > span, .banner-icon, .flashcard-today-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 15px; background: #ffffffa8; }
.writing-banner > span .steady-icon, .banner-icon .steady-icon, .flashcard-today-icon .steady-icon { width: 29px; height: 29px; }
.writing-banner > span { color: #7350c6; }
.writing-banner[href="#mock-exams"] > span { color: #a5482e; }
.banner-icon { background: #e1f7ec; color: #087c60; }
.flashcard-deck-icon .steady-icon { width: 24px; height: 24px; }
.flashcard-deck-link { display: grid; place-items: center; }
.flashcard-deck-link .steady-icon, .flashcard-turn-icon .steady-icon { width: 23px; height: 23px; }
.flashcard-rating strong .steady-icon { width: 20px; height: 20px; margin-right: 5px; }
.next-step-symbol .steady-icon, .guided-symbol .steady-icon, .takeaway-mark .steady-icon { width: 27px; height: 27px; }
.empty-state > span > .steady-icon { width: 42px; height: 42px; }
.lesson-step-node .steady-icon, .correct-key .steady-icon { width: 16px; height: 16px; }
.flag-button[aria-pressed="true"] .flag-shape, [data-action="mock-flag"][aria-pressed="true"] .flag-shape { fill-opacity: .9; }
.mock-question-list .steady-icon { width: 14px; height: 14px; }
.mock-subject-heading { display: flex; align-items: center; gap: 12px; }
.mock-subject-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: var(--subject-soft); color: var(--subject-accent); }
.mock-subject-icon .steady-icon { width: 24px; height: 24px; }
.mock-subject-heading h2 { margin: 0; }
@media (max-width: 800px) {
  .sidebar nav > a > span:first-child { width: 27px; height: 27px; border-radius: 8px; }
  .sidebar nav .steady-icon { width: 20px; height: 20px; }
}
@media (max-width: 600px) {
  .course-large-icon { display: none; }
  .writing-banner { gap: 14px; }
  .writing-banner > span, .flashcard-today-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  .writing-banner > span .steady-icon, .flashcard-today-icon .steady-icon { width: 25px; height: 25px; }
}
@media (forced-colors: active) {
  .steady-icon .icon-tone { fill: none; }
  .mode-icon, .mock-subject-icon { border: 1px solid CanvasText; }
}

/* Small status icons keep their scale inside the larger milestone artwork. */
.daily-five .steady-icon, .milestone-medallion i .steady-icon { width: 14px; height: 14px; stroke-width: 2; }
.moment-spark .steady-icon { width: 1em; height: 1em; }
.calculator-toggle .steady-icon { width: 24px; height: 24px; }
.calculator-panel-close .steady-icon { width: 20px; height: 20px; }
