/* Recognition: personal habits, contribution progress and peer appreciation. */
#app .rc-recognition { display: grid; gap: 24px; min-width: 0; }
#app .rc-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
#app .rc-header > div { flex: 1 1 320px; }
#app .rc-header .g-kicker { margin: 0 0 8px; color: var(--muted); }
#app .rc-header h1 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
#app .rc-header p:last-child { margin: 0; max-width: 65ch; color: var(--muted); font-size: .875rem; line-height: 1.5; }
#app :is(.rc-personal, .rc-middle, .rc-community) { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
#app :is(.rc-tier, .rc-streak, .rc-section) { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
#app :is(.rc-tier, .rc-streak) { display: grid; align-content: start; gap: 12px; }
#app .rc-tier-top { display: flex; align-items: center; gap: 12px; }
#app .rc-tier-top > div { flex: 1; min-width: 0; }
#app .rc-tier-top .g-kicker { margin: 0 0 4px; color: var(--muted); }
#app .rc-tier h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.025em; }
#app .rc-symbol { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--gold-mark-soft); color: var(--gold-mark); }
#app .rc-symbol .icon { width: 28px; height: 28px; }
#app .rc-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-block: 4px; }
#app .rc-score > strong { font-size: 2.75rem; line-height: 1.1; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
#app .rc-score > span { font-size: .8125rem; color: var(--muted); }
#app .rc-score .rc-month { margin-left: auto; color: var(--gold-mark); }
#app .rc-recognition .m-bar { height: 6px; margin: 0; background: var(--hover); border-radius: 999px; overflow: hidden; }
#app .rc-tier .m-bar-fill { background: var(--gold-mark); }
#app .rc-recognition :is(.rc-progress-note, .rc-caption) { margin: 0; font-size: .75rem; line-height: 1.5; color: var(--muted); }
#app .rc-tier-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 16px 0 0; margin: 0; list-style: none; border-top: 1px solid var(--border); }
#app .rc-tier-path li { display: grid; justify-items: start; gap: 4px; min-width: 0; color: var(--muted); }
#app .rc-tier-path strong { font-size: .75rem; line-height: 1.4; overflow-wrap: anywhere; }
#app .rc-tier-path li > span:last-child { font-size: .6875rem; }
#app .rc-tier-dot { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 50%; }
#app .rc-tier-dot .icon { width: 12px; height: 12px; }
#app .rc-tier-path .reached { color: var(--text); }
#app .rc-tier-path .reached .rc-tier-dot { background: var(--gold-mark-soft); color: var(--gold-mark); border-color: transparent; }
#app .rc-streak-title { display: flex; align-items: center; gap: 8px; }
#app .rc-streak-title .icon { color: var(--sage-main); }
#app :is(.rc-streak-title h2, .rc-section-head h2) { margin: 0; font-size: 1.125rem; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
#app .rc-streak-count { display: flex; align-items: baseline; gap: 8px; }
#app .rc-streak-count strong { font-size: 2.25rem; line-height: 1.1; letter-spacing: -.04em; font-weight: 600; }
#app .rc-streak-count > span { color: var(--muted); font-size: .8125rem; }
#app .rc-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
#app .rc-week > div { display: grid; justify-items: center; gap: 6px; font-size: .6875rem; color: var(--muted); }
#app .rc-day-mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; }
#app .rc-day-mark .icon { width: 14px; height: 14px; }
#app .rc-week .done .rc-day-mark { background: var(--ui-selected); color: var(--text); border-color: var(--sage-main); }
#app .rc-streak > button { width: 100%; }
#app .rc-section-head { margin-bottom: 16px; }
#app .rc-section-head > p { margin: 6px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
#app .rc-goals { display: grid; margin-bottom: 12px; }
#app .rc-goal { display: flex; align-items: center; gap: 12px; min-height: 72px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; color: var(--text); text-align: left; }
#app .rc-goal:last-child { border-bottom: 0; }
#app .rc-goal-check { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%; color: var(--muted); }
#app .rc-goal-check .icon { width: 16px; height: 16px; }
#app .rc-goal.complete .rc-goal-check { background: var(--ui-selected); border-color: var(--sage-main); color: var(--text); }
#app .rc-goal > span:nth-child(2) { flex: 1; display: grid; gap: 4px; min-width: 0; }
#app .rc-goal strong { font-size: .875rem; font-weight: 600; line-height: 1.4; }
#app .rc-goal > span:nth-child(2) > span { font-size: .75rem; line-height: 1.5; color: var(--muted); }
#app .rc-goal > .icon { width: 16px; height: 16px; color: var(--muted); }
#app .rc-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#app .rc-badge { display: grid; align-content: start; justify-items: center; gap: 6px; min-width: 0; padding: 12px 4px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: center; }
#app .rc-badge-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px dashed var(--border-strong); border-radius: 50%; background: var(--bg); }
#app .rc-badge-mark .icon { width: 22px; height: 22px; }
#app .rc-badge strong { font-size: .75rem; line-height: 1.4; font-weight: 500; }
#app .rc-badge > span:last-child { font-size: .6875rem; line-height: 1.4; }
#app .rc-badge.earned { color: var(--text); }
#app .rc-badge.earned .rc-badge-mark { background: var(--gold-mark-soft); border-style: solid; border-color: transparent; color: var(--gold-mark); }
#app .rc-directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#app .rc-direction { display: grid; gap: 10px; padding: 0 0 16px; min-width: 0; }
#app .rc-direction-head { display: flex; align-items: center; gap: 8px; }
#app .rc-direction h3 { margin: 0; font-size: .875rem; font-weight: 600; }
#app .rc-direction-head strong { margin-left: auto; font-size: .8125rem; font-weight: 500; }
#app .rc-direction .link { display: flex; align-items: center; gap: 4px; justify-self: start; min-height: 44px; }
#app .rc-direction .link .icon { width: 14px; height: 14px; }
#app .rc-certificates { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
#app .rc-certificates > div { flex: 1 1 240px; }
#app .rc-certificates strong { font-size: .875rem; }
#app .rc-certificates .rc-caption { margin-top: 4px; }
#app .rc-board-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
#app .rc-recognition .m-leaders { margin: 0 0 12px; padding: 0; }
#app .rc-recognition .m-leader { padding: 10px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; gap: 8px; }
#app .rc-recognition .m-leader-name { flex: 1; min-width: 0; }
#app .rc-recognition .m-leader-name strong { overflow-wrap: anywhere; font-size: .875rem; }
#app .rc-recognition .m-leader-pts { font-size: .875rem; white-space: nowrap; }
#app .rc-spotlight { display: grid; justify-items: start; gap: 12px; }
#app .rc-spotlight h3 { margin: 0; font-size: 1.125rem; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
#app .rc-spotlight > p:not(.rc-caption) { margin: 0; font-size: .875rem; line-height: 1.5; }
#app .rc-thanks-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
#app .rc-thanks-list .m-kudos { margin: 0; padding: 12px; background: var(--bg); border-radius: 8px; }
#app .rc-thanks-list .m-kudos-head { flex-wrap: wrap; gap: 8px; }
#app .rc-thanks-list .m-kudos-head p { flex: 1; min-width: 120px; }
#app .rc-thanks-list .m-kudos-msg { margin: 8px 0; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
#app .rc-empty { margin: 0; padding: 16px 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
#app .rc-footer { display: flex; align-items: start; gap: 8px; color: var(--muted); }
#app .rc-footer .icon { width: 16px; height: 16px; }
#app .rc-footer p { margin: 0; font-size: .75rem; line-height: 1.5; }
@media (hover: hover) {
  #app :is(.rc-goal, .rc-badge):hover { background: var(--hover); }
}
@media (max-width: 899px) {
  #app :is(.rc-personal, .rc-middle, .rc-community) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  #app .rc-recognition { gap: 16px; }
  #app :is(.rc-tier, .rc-streak, .rc-section) { padding: 16px; }
  #app .rc-thanks-list { grid-template-columns: minmax(0, 1fr); }
  #app .rc-header > .primary { width: 100%; }
  #app .rc-tier-path { gap: 6px; }
  #app .rc-tier-path strong { font-size: .6875rem; }
  #app .rc-directions { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #app .rc-score .rc-month { flex-basis: 100%; margin-left: 0; }
}
