/* RLFEED_20260926 — Learning Reels feed in the employee portal. Uses the Manara design-system tokens (--mds-*) and --aw-acc. */
body.rf-mode .aw-page { padding: 0; max-width: none; }
body.rf-mode .aw-main { padding-bottom: 0; }
.rf-wrap { display: flex; justify-content: center; background: #000; }
.rf-feed { position: relative; width: 100%; max-width: 480px; height: 70vh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain;
  background: #000; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rf-feed::-webkit-scrollbar { display: none; }
.rf-item { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; color: #fff; background: #000; }
.rf-media { position: absolute; inset: 0; cursor: pointer; }
.rf-video, .rf-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.rf-item.ready .rf-poster { display: none; }
.rf-play { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center; font-size: 26px; pointer-events: none; transition: opacity .15s; }
.rf-item.playing .rf-play { opacity: 0; }
.rf-top { position: absolute; top: 12px; left: 12px; right: 96px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.rf-chip { background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.rf-chip.rf-mand { background: #b91c1c; }
.rf-chip.rf-done { background: #15803d; }
.rf-ctl { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.rf-ctl button { min-width: 40px; height: 40px; border-radius: 99px; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.rf-ctl button[aria-pressed="false"] { opacity: .55; text-decoration: line-through; }
.rf-ctl button:focus-visible, .rf-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rf-rail { position: absolute; right: 8px; bottom: 118px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.rf-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; color: #fff; cursor: pointer; min-width: 48px; min-height: 48px; padding: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,.8); font-size: 11.5px; }
.rf-btn b { font-size: 26px; font-weight: 400; line-height: 1.1; }
.rf-btn.on b { color: #ff5a6e; }
.rf-btn:disabled { opacity: .6; }
.rf-text { position: absolute; left: 0; right: 64px; bottom: 0; padding: 60px 14px 20px; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0)); pointer-events: none; }
.rf-pub { font-weight: 700; font-size: 13px; }
.rf-title { margin: 4px 0; font-size: 17px; line-height: 1.25; color: #fff; }
.rf-cap { margin: 0; font-size: 13.5px; opacity: .92; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rf-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; color: #bfe3ff; }
.rf-need { margin-top: 6px; font-size: 12px; opacity: .85; }
.rf-cc { position: absolute; left: 12px; right: 70px; bottom: 150px; text-align: center; font-size: 16px; line-height: 1.35; pointer-events: none; white-space: pre-line; }
.rf-cc:not([hidden]) { display: block; }
.rf-cc { text-shadow: 0 0 4px #000, 0 1px 2px #000; }
.rf-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.rf-prog i { display: block; height: 100%; background: #fff; transition: width .3s linear; }
.rf-end { position: absolute; inset: 0; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: 24px; }
.rf-end-in { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; text-align: center; }
.rf-end-in .mds-btn--outline { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.rf-state { height: 100%; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; color: #fff; }
.rf-state p { margin: 0; opacity: .8; max-width: 300px; }
.rf-state-ic { font-size: 40px; }
.rf-state .mds-btn--outline { color: #fff; border-color: rgba(255,255,255,.7); }

/* bottom sheet */
.rf-sheet { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.5); display: flex; align-items: flex-end; justify-content: center; }
.rf-sh-box { position: relative; background: var(--mds-surface, #fff); color: var(--mds-ink, #111); width: 100%; max-width: 560px; max-height: 82vh; overflow: auto;
  border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + var(--mds-safe-bottom, 0px)); box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
.rf-sh-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 26px; color: var(--mds-muted, #666); cursor: pointer; }
.rf-sh-h { margin: 0 0 6px; font-size: 18px; }
.rf-sh-p { margin: 0 0 12px; color: var(--mds-muted, #666); font-size: 13.5px; }
.rf-in { width: 100%; padding: 10px 12px; border: 1px solid var(--mds-border, #ddd); border-radius: 10px; font: inherit; background: var(--mds-surface, #fff); color: inherit; }
.rf-cm-list { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 12px; }
.rf-cm { border-bottom: 1px solid var(--mds-border, #eee); padding-bottom: 8px; }
.rf-cm-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.rf-cm p { margin: 4px 0 0; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.rf-cm-form { display: flex; gap: 8px; align-items: flex-end; position: sticky; bottom: 0; background: var(--mds-surface, #fff); padding-top: 6px; }
.rf-cm-form .mds-btn { flex: 0 0 auto; }
.rf-link { border: 0; background: none; color: var(--aw-acc, #0E7C86); cursor: pointer; font: inherit; font-size: 12.5px; }
.rf-q { border: 1px solid var(--mds-border, #ddd); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; }
.rf-q legend { font-weight: 600; padding: 0 4px; }
.rf-opt { display: flex; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 8px; cursor: pointer; min-height: 44px; }
.rf-opt input { width: 18px; height: 18px; accent-color: var(--aw-acc, #0E7C86); }
.rf-opt.ok { background: color-mix(in srgb, var(--mds-ok, #15803d) 14%, transparent); }
.rf-opt.bad { background: color-mix(in srgb, var(--mds-bad, #b91c1c) 12%, transparent); }
.rf-q-res { font-size: 13px; margin-top: 6px; }
.rf-q-res.ok { color: var(--mds-ok, #15803d); }
.rf-q-res.bad { color: var(--mds-bad, #b91c1c); }
.rf-qz-sum { padding: 12px; border-radius: 10px; margin-bottom: 10px; font-size: 14px; }
.rf-qz-sum.ok { background: color-mix(in srgb, var(--mds-ok, #15803d) 14%, transparent); }
.rf-qz-sum.bad { background: color-mix(in srgb, var(--mds-bad, #b91c1c) 10%, transparent); }
.rf-toast { position: fixed; left: 50%; bottom: calc(var(--mds-nav-h, 64px) + 24px); transform: translate(-50%, 16px); z-index: 2100; opacity: 0; pointer-events: none;
  background: #14532d; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; max-width: calc(100vw - 32px); transition: opacity .2s, transform .2s; }
.rf-toast.err { background: #991b1b; }
.rf-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .rf-wrap { background: transparent; padding: 12px 0; } .rf-feed { border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .rf-play, .rf-prog i, .rf-toast { transition: none; } }
/* RLFEED2_20260926 — For you / Saved */
.rf-wrap { flex-direction: column; align-items: center; }
.rf-tabs { display: flex; gap: 4px; justify-content: center; width: 100%; max-width: 480px; padding: 8px 12px; background: #000; }
.rf-tabs button { flex: 1 1 0; max-width: 160px; min-height: 36px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.rf-tabs button[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; }
.rf-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (min-width: 900px) { .rf-tabs { background: transparent; } .rf-tabs button { color: var(--mds-ink, #111); border-color: var(--mds-border, #ccc); } .rf-tabs button[aria-selected="true"] { background: var(--aw-acc, #0E7C86); color: #fff; border-color: var(--aw-acc, #0E7C86); } }
