/* Recognition product page (/employee-recognition) — page-only mock-ups on top of product.css. */
.rc-post, .rc-badges, .rc-pts, .rc-lb, .rc-shelf, .rc-notify { width: 270px; background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 12px 30px rgba(16, 24, 40, .1); font-size: .8rem; color: #1d2433; }
.rc-badge { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: .95rem; line-height: 1;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 4px 10px color-mix(in srgb, var(--c) 40%, transparent); }

/* 1 — post */
.rc-post-top { display: flex; align-items: center; gap: 8px; line-height: 1.35; }
.rc-post-top small { color: #8a93a4; }
.rc-badge-row { display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; padding: 8px; border-radius: 10px; background: linear-gradient(135deg, #f0f9ff, #fdf4ff); }
.rc-badge-row em { margin-left: auto; font-style: normal; font-weight: 700; font-size: .72rem; color: #b45309; background: #fef3c7; padding: 3px 8px; border-radius: 999px; }
.rc-post p { margin: 0; color: #3c4557; line-height: 1.45; }
.rc-react { display: flex; gap: 8px; margin-top: 12px; }
.rc-react span { padding: 4px 10px; border-radius: 999px; background: #f2f4f8; font-size: .74rem; color: #4b5568; }
.rc-react .rc-cele { background: #fdf2f8; color: #be185d; }
.pp-card.in .rc-react .rc-cele { animation: rcPop .5s 1.4s both; }
@keyframes rcPop { 0% { transform: scale(1); } 50% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* 2 — badges */
.rc-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; padding: 20px 14px; }
.rc-b { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s cubic-bezier(.2, 1.6, .4, 1); transition-delay: calc(var(--i) * 100ms + .3s); }
.pp-card.in .rc-b { opacity: 1; transform: none; }
.rc-b .rc-badge { width: 46px; height: 46px; font-size: 1.2rem; }
.rc-b small { font-size: .68rem; font-weight: 600; color: #4b5568; line-height: 1.2; }

/* 3 — points */
.rc-pts small { color: #8a93a4; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.rc-pts > b { display: block; font-size: 2.2rem; font-weight: 800; margin: 4px 0 8px; color: #b45309; }
.rc-pts > b em { font-style: normal; font-size: 1rem; color: #a0a8b6; font-weight: 600; }
.rc-pts-bar { height: 10px; border-radius: 999px; background: #f2f4f8; overflow: hidden; }
.rc-pts-bar span { display: block; height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #fbbf24); transition: width 1.2s cubic-bezier(.2, .8, .2, 1) .5s; }
.pp-card.in .rc-pts-bar span { width: 60%; }
.rc-pts-calc { display: flex; justify-content: space-between; margin-top: 12px; padding: 8px 10px; border-radius: 8px; background: #fffbeb; color: #92600a; }
.rc-pts-note { margin-top: 10px; color: #8a93a4; font-size: .72rem; line-height: 1.4; }

/* 4 — leaderboard */
.rc-lb-tabs { display: flex; gap: 3px; margin-bottom: 10px; }
.rc-lb-tabs span { padding: 4px 8px; border-radius: 7px; font-size: .66rem; color: #8a93a4; }
.rc-lb-tabs span.on { background: #eef5fd; color: #0c64ae; font-weight: 700; }
.rc-lb-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; }
.rc-lb-n { width: 18px; text-align: center; font-weight: 800; color: #a0a8b6; }
.rc-lb-row:nth-child(2) .rc-lb-n { color: #d97706; } .rc-lb-row:nth-child(3) .rc-lb-n { color: #64748b; } .rc-lb-row:nth-child(4) .rc-lb-n { color: #b45309; }
.rc-lb-row .pp-av { width: 26px; height: 26px; font-size: .6rem; }
.rc-lb-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-weight: 600; font-size: .76rem; }
.rc-lb-name em { display: block; height: 5px; border-radius: 999px; background: linear-gradient(90deg, #0c64ae, #5b5bd6); width: 0; transition: width .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 120ms + .4s); }
.pp-card.in .rc-lb-name em { width: var(--w); }

/* 5 — shelf */
.rc-shelf-top { display: flex; align-items: center; gap: 10px; }
.rc-shelf-top > span:last-child { display: flex; flex-direction: column; }
.rc-shelf-top small { color: #8a93a4; }
.pp-av.big { width: 42px; height: 42px; font-size: .8rem; background: linear-gradient(135deg, #fde68a, #f9a8d4); color: #7c2d12; }
.rc-shelf-row { display: flex; gap: 12px; justify-content: center; margin: 16px 0 14px; padding: 12px 0; border-top: 1px solid #f0f2f6; border-bottom: 1px solid #f0f2f6; }
.rc-shelf-row .rc-badge { width: 40px; height: 40px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s cubic-bezier(.2, 1.6, .4, 1); transition-delay: calc(var(--i) * 120ms + .3s); }
.pp-card.in .rc-shelf-row .rc-badge { opacity: 1; transform: none; }
.rc-shelf-row .rc-badge i { position: absolute; right: -5px; bottom: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #1d2433; color: #fff;
  font-style: normal; font-size: .62rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.rc-shelf-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.rc-shelf-stats b { display: block; font-size: 1.1rem; }
.rc-shelf-stats small { color: #8a93a4; font-size: .68rem; }

/* 6 — notified */
.rc-notify { display: grid; gap: 12px; background: transparent; box-shadow: none; padding: 0; }
.rc-mail, .rc-bell { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(16, 24, 40, .1);
  opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.rc-mail { transition-delay: .3s; } .rc-bell { transition-delay: .8s; }
.pp-card.in .rc-mail, .pp-card.in .rc-bell { opacity: 1; transform: none; }
.rc-mail > i { flex: none; font-size: 1.4rem; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #eef5fd; color: #0c64ae; }
.rc-mail > span, .rc-bell > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rc-mail small, .rc-bell small { color: #8a93a4; font-size: .72rem; }
.rc-bell-ico { position: relative; flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fdf2f8; color: #be185d; }
.rc-bell-ico i { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: #dc2626; color: #fff; font-style: normal; font-size: .62rem; font-weight: 700; display: grid; place-items: center; }
.pp-card.in .rc-bell-ico { animation: rcRing .8s 1.3s both; }
@keyframes rcRing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }

/* walkthrough */
.rc-who label, .rc-lbl { display: block; font-size: .72rem; font-weight: 600; color: #6b7487; margin-bottom: 6px; }
.rc-who-box { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1.5px solid #0c64ae; border-radius: 10px; box-shadow: 0 0 0 4px rgba(12, 100, 174, .1); }
.rc-tok { padding: 5px 10px; border-radius: 999px; background: #eef5fd; color: #0c64ae; font-weight: 600; font-size: .78rem; }
.pp-scene.on .rc-tok { animation: ppRow .4s both; animation-delay: calc(var(--i) * 400ms + .2s); }
.rc-caret { padding: 5px 2px; border-right: 2px solid #1d2433; animation: rcBlink 1s steps(1) infinite; }
@keyframes rcBlink { 50% { border-color: transparent; } }
.rc-sugg { margin-top: 6px; border: 1px solid #e3e7ee; border-radius: 10px; overflow: hidden; }
.rc-sugg > span { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: .8rem; }
.rc-sugg > span:first-child { background: #f7f8fb; }
.rc-sugg small { margin-left: auto; color: #8a93a4; }
.rc-sugg .pp-av { width: 24px; height: 24px; font-size: .58rem; }
.pp-scene.on .rc-sugg { animation: ppRow .4s 1s both; }
.rc-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rc-pick-b { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 10px; border: 1.5px solid #eef0f4; font-size: .7rem; font-weight: 600; text-align: center; color: #4b5568; }
.pp-scene.on .rc-pick-b.sel { animation: rcSel .4s 1s both; }
@keyframes rcSel { to { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); color: #1d2433; } }
.rc-form { margin-top: 14px; }
.rc-what { position: relative; min-height: 120px; padding: 12px; border: 1px solid #e3e7ee; border-radius: 10px; line-height: 1.5; }
.rc-rough, .rc-polished { display: block; }
.rc-rough { color: #6b7487; }
.rc-polished { position: absolute; inset: 12px; opacity: 0; color: #1d2433; }
.pp-scene.on .rc-rough { animation: rcOut .4s 1.6s both; }
.pp-scene.on .rc-polished { animation: rcIn .6s 1.9s both; }
@keyframes rcOut { to { opacity: 0; } }
@keyframes rcIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rc-what-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.rc-what-btns .pp-fake-btn { margin-top: 0; display: inline-flex; gap: 6px; align-items: center; }
.tr-ghost-rc { background: #fff !important; color: #5b5bd6 !important; border: 1px solid #d9def0; }
.pp-scene.on .tr-ghost-rc { animation: ppPulse 1.2s 2; }
.rc-post.big { width: auto; box-shadow: none; border: 1px solid #eef0f4; }
.pp-scene.on .rc-post.big { animation: ppRow .5s both; }
.rc-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rc-confetti i { position: absolute; top: -10px; left: calc(var(--i) * 7% + 3%); width: 7px; height: 11px; border-radius: 2px; opacity: 0;
  background: hsl(calc(var(--i) * 47), 85%, 60%); }
.pp-scene.on .rc-confetti i { animation: rcFall 1.8s calc(var(--i) * 60ms + .6s) ease-in both; }
@keyframes rcFall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(320px) rotate(540deg); } }

/* AI */
.rc-gen .pp-window-body { gap: 8px; }
.rc-gen-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8a93a4; }
.rc-gen .pp-msg { max-width: 100%; align-self: stretch; border-radius: 10px; }
.rc-gen .pp-msg.me { background: #fafbfd; border: 1px solid #e3e7ee; color: #6b7487; font-style: italic; }
.rc-gen .pp-msg.me:empty { display: block; min-height: 2.6em; }
.rc-gen .pp-msg.ai { background: linear-gradient(135deg, #fff7ed, #fdf2f8); min-height: 8em; }

@media (prefers-reduced-motion: reduce) {
  .rc-b, .rc-shelf-row .rc-badge, .rc-mail, .rc-bell { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rc-polished { opacity: 1; position: static; } .rc-rough { display: none; }
}
