/* =====================================================================
   File: public/assets/css/journey.css
   Project: Young Muslim 360°
   Description: The participants' 30 days — sign-in, dashboard, day
   cards. Light theme from docs/PHASES.md 2.2; mobile first (360px up);
   touch targets ≥ 44px; reduced motion respected.
   ===================================================================== */

:root {
    --ivory: #FBF7EE; --paper: #FFFFFF; --navy: #14213D; --ink-soft: #3D4A63; --muted: #6B7280;
    --emerald: #0F8F6B; --emerald-deep: #065F46; --gold: #C99A2E; --gold-ink: #8A6514; --amber: #F08A24; --amber-ink: #A85609;
    --sky: #38A3D4; --rose: #D64560; --mist: #EDE7D8; --line: rgba(20, 33, 61, .1);
    --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px -12px rgba(20, 33, 61, .18);
    --radius: 18px;
    --tone: var(--emerald);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ivory); }
body.jr {
    margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--ivory); color: var(--navy);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
    background-image: radial-gradient(circle at 15% -10%, rgba(15, 143, 107, .08), transparent 45%), radial-gradient(circle at 110% 10%, rgba(201, 154, 46, .1), transparent 40%);
}
[hidden] { display: none !important; }
a { color: var(--emerald-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

.jr-week-emerald { --tone: var(--emerald); }
.jr-week-navy    { --tone: #2F4C8A; }
.jr-week-amber   { --tone: var(--amber-ink); }
.jr-week-gold    { --tone: var(--gold-ink); }

/* ---------- buttons ---------- */
.jr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem;
    border: 0; border-radius: 999px; background: var(--emerald-deep); color: #fff; font: 700 .95rem/1.2 inherit; text-decoration: none;
    cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; box-shadow: 0 6px 16px -8px rgba(6, 95, 70, .7);
}
.jr-btn:hover { background: #054c38; }
.jr-btn:active { transform: scale(.97); }
.jr-btn[disabled] { background: #B8BCC6; box-shadow: none; cursor: not-allowed; }
.jr-btn--ghost { background: transparent; color: var(--emerald-deep); box-shadow: inset 0 0 0 2px rgba(6, 95, 70, .35); }
.jr-btn--ghost:hover { background: rgba(15, 143, 107, .08); }
.jr-btn--wide { width: 100%; }
.jr-btn--join { background: var(--amber); color: #2B1700; box-shadow: 0 6px 16px -8px rgba(240, 138, 36, .9); }
.jr-btn--join:hover { background: #e07b15; }
.jr-icon-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--paper); color: var(--navy); box-shadow: var(--shadow); cursor: pointer; text-decoration: none; font-size: 1rem;
}
.jr-icon-btn--solid { background: var(--emerald-deep); color: #fff; }
.jr-icon-btn[disabled] { opacity: .35; cursor: default; }

/* ---------- brand / top ---------- */
.jr-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--navy); text-decoration: none; font-weight: 800; letter-spacing: .01em; }
.jr-brand-mark {
    display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 .5rem; border-radius: 999px;
    background: var(--navy); color: #F6E7BF; font: 700 .78rem 'Space Grotesk', monospace;
}
.jr-top {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: calc(.6rem + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) .6rem max(16px, env(safe-area-inset-left));
    background: rgba(251, 247, 238, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.jr-is-preview .jr-top { top: var(--pv-h, 0px); }
.jr-top-right { display: flex; align-items: center; gap: .6rem; }
.jr-top-right form { margin: 0; }
.jr-top-cohort { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 420px) { .jr-hide-xs { display: none; } }

/* ---------- preview bar (admins) ---------- */
.jr-preview {
    position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem;
    padding: .5rem 16px; background: #FFE9B8; color: #3A2600; font-size: .82rem; border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.jr-preview-tag { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.jr-preview-who { font-weight: 600; }
.jr-preview-day { margin: 0; }
.jr-preview-day select { min-height: 32px; border-radius: 8px; border: 1px solid rgba(0, 0, 0, .25); background: #fff; font: inherit; padding: 0 .4rem; }
.jr-preview-note { opacity: .8; }
.jr-preview-exit { margin-left: auto; font-weight: 700; color: #3A2600; }

/* ---------- flashes, notices ---------- */
.jr-flash { padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600; font-size: .92rem; background: #E3F2EC; color: var(--emerald-deep); }
.jr-flash--error { background: #FBE4E8; color: #8C1D33; }
.jr-flash--info { background: #E3F1F8; color: #164E6B; }
.jr-notices { display: grid; gap: .65rem; margin: 0 0 1.25rem; }
.jr-notice { display: flex; gap: .8rem; padding: .9rem 1rem; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); border-left: 4px solid var(--sky); }
.jr-notice > i { margin-top: .2rem; color: var(--sky); }
.jr-notice h3 { font-size: .98rem; }
.jr-notice p { margin: .25rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.jr-notice--success { border-color: var(--emerald); } .jr-notice--success > i { color: var(--emerald); }
.jr-notice--warn { border-color: var(--amber); } .jr-notice--warn > i { color: var(--amber-ink); }
.jr-pin { font-size: .75rem; color: var(--gold-ink); }

/* ---------- dashboard ---------- */
.jr-dash { width: 100%; max-width: 860px; margin: 0 auto; padding: 1.25rem max(16px, env(safe-area-inset-left)) calc(2.5rem + env(safe-area-inset-bottom)); }
.jr-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.jr-eyebrow { margin: 0 0 .2rem; font: 700 .72rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--tone); }
.jr-hero h1 { font-family: 'Amiri', serif; font-size: clamp(2rem, 8vw, 2.9rem); font-weight: 700; }
.jr-hero-day { margin: .35rem 0 .7rem; color: var(--ink-soft); }
.jr-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.jr-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; }
.jr-chip .fa-fire { color: var(--amber); }
.jr-chip .fa-circle-check { color: var(--emerald); }
.jr-ring { margin: 0; width: clamp(130px, 36vw, 190px); }
.jr-ring svg { display: block; width: 100%; height: auto; }
.jr-seg { fill: none; stroke-width: 15; stroke: #E3D9C2; transition: stroke .3s; }
.jr-seg--completed { stroke: var(--emerald); }
.jr-seg--open, .jr-seg--open_waiting { stroke: var(--amber); }
.jr-seg--absent { stroke: var(--rose); }
.jr-seg--missed { stroke: #B9A9AE; }
.jr-seg.is-today { stroke-width: 21; }
.jr-ring-deg { font: 700 2.1rem 'Space Grotesk', sans-serif; fill: var(--navy); text-anchor: middle; }
.jr-ring-sub { font: 600 .8rem 'Plus Jakarta Sans', sans-serif; fill: var(--muted); text-anchor: middle; }
@media (max-width: 480px) { .jr-hero { grid-template-columns: 1fr; text-align: center; } .jr-chips { justify-content: center; } .jr-ring { margin: 0 auto; order: -1; } }

.jr-card { background: var(--paper); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.jr-card h2 { font-size: 1.15rem; margin-bottom: .5rem; display: flex; gap: .55rem; align-items: center; }
.jr-card h2 i { color: var(--emerald); }
.jr-card p { margin: .4rem 0 0; color: var(--ink-soft); }
.jr-countdown b { font: 700 1.1rem 'Space Grotesk', sans-serif; color: var(--navy); }

.jr-today {
    position: relative; background: var(--paper); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1.5rem;
    border-top: 5px solid var(--tone); overflow: hidden;
}
.jr-today-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .4rem; }
.jr-today-num { font: 700 .8rem 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--tone); }
.jr-today h2 { font-family: 'Amiri', serif; font-size: clamp(1.6rem, 6vw, 2.1rem); }
.jr-today-tag { margin: .2rem 0 .9rem; color: var(--ink-soft); }
.jr-today-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.jr-today-foot p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.jr-state { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--mist); color: var(--ink-soft); }
.jr-state--completed { background: #DDF1E8; color: var(--emerald-deep); }
.jr-state--open, .jr-state--open_waiting { background: #FDEBD7; color: var(--amber-ink); }
.jr-state--absent { background: #FBE4E8; color: #8C1D33; }

.jr-session { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; margin: .6rem 0; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); }
.jr-session-info { display: grid; gap: .1rem; min-width: 0; }
.jr-session-info small { color: var(--ink-soft); font-size: .8rem; }
.jr-session-time { font: 700 .85rem 'Space Grotesk', sans-serif; color: var(--amber-ink); }
.jr-session form { display: grid; justify-items: end; gap: .25rem; margin: 0; }
.jr-session-msg { font-size: .8rem; color: var(--muted); }
.jr-session--cancelled { opacity: .6; }
.jr-session--cancelled strong { text-decoration: line-through; }
.jr-ok { color: var(--emerald-deep) !important; font-weight: 700; }
@media (max-width: 480px) { .jr-session form { justify-items: stretch; width: 100%; } .jr-session .jr-btn { width: 100%; } }

.jr-section-title { font-size: .78rem; font-family: 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.jr-week { margin-bottom: 1rem; }
.jr-week h3 { font-size: .95rem; margin-bottom: .5rem; display: flex; gap: .5rem; align-items: baseline; }
.jr-week h3 span { font: 700 .72rem 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--tone); }
.jr-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.jr-day {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .55rem; min-height: 54px; padding: .55rem .7rem;
    border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); color: var(--navy); text-decoration: none; font-size: .82rem;
    border: 2px solid transparent; transition: transform .15s ease;
}
a.jr-day:hover { transform: translateY(-2px); }
.jr-day-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); font: 700 .8rem 'Space Grotesk', sans-serif; }
.jr-day-t { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; font-weight: 600; }
.jr-day > i { font-size: .9rem; color: var(--muted); }
.jr-day-live { position: absolute; top: 4px; right: 6px; font-size: .55rem !important; color: var(--amber-ink) !important; }
.jr-day--locked { opacity: .55; box-shadow: none; background: rgba(255, 255, 255, .55); }
.jr-day--completed .jr-day-n { background: var(--emerald); color: #fff; } .jr-day--completed > i { color: var(--emerald); }
.jr-day--open .jr-day-n, .jr-day--open_waiting .jr-day-n { background: var(--amber); color: #2B1700; } .jr-day--open > i, .jr-day--open_waiting > i { color: var(--amber-ink); }
.jr-day--absent .jr-day-n { background: var(--rose); color: #fff; } .jr-day--absent > i { color: var(--rose); }
.jr-day--missed .jr-day-n { background: #B9A9AE; color: #fff; }
.jr-day.is-today { border-color: var(--tone); }
.jr-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0; margin: .25rem 0 0; font-size: .78rem; color: var(--ink-soft); }
.jr-legend li { display: inline-flex; align-items: center; gap: .35rem; }
.jr-day-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mist); display: inline-block; }
.jr-day-dot.jr-day--completed { background: var(--emerald); } .jr-day-dot.jr-day--open { background: var(--amber); }
.jr-day-dot.jr-day--absent { background: var(--rose); } .jr-day-dot.jr-day--missed { background: #B9A9AE; } .jr-day-dot.jr-day--locked { opacity: 1; }
.jr-motto { margin: 2rem 0 0; text-align: center; font-family: 'Amiri', serif; font-style: italic; font-size: 1.15rem; color: var(--gold-ink); }

/* ---------- sign-in ---------- */
.jr-login { min-height: 100vh; min-height: 100dvh; display: grid; place-content: center; padding: 2rem 16px; }
.jr-login-card { width: min(420px, calc(100vw - 32px)); background: var(--paper); border-radius: 24px; padding: 1.75rem 1.4rem; box-shadow: var(--shadow); text-align: center; }
.jr-login-card h1 { font-family: 'Amiri', serif; font-size: 2.1rem; margin-top: .5rem; }
.jr-login-ring { width: 84px; margin: 1.1rem auto 0; display: block; }
.jr-ring-track { fill: none; stroke: var(--mist); stroke-width: 10; }
.jr-ring-fill { fill: none; stroke: var(--emerald); stroke-width: 10; stroke-linecap: round; }
.jr-login-ring .jr-ring-fill { transform: rotate(-90deg); transform-origin: 50% 50%; animation: jr-spin 6s linear infinite; }
@keyframes jr-spin { to { transform: rotate(270deg); } }
.jr-lead { color: var(--ink-soft); margin: .4rem 0 1.2rem; }
.jr-form { display: grid; gap: .9rem; text-align: left; }
.jr-field { display: grid; gap: .3rem; }
.jr-field label { font-size: .85rem; font-weight: 700; }
.jr-field input, .jr-field select {
    min-height: 50px; padding: .6rem .9rem; border-radius: 12px; border: 2px solid var(--mist); background: var(--ivory); color: var(--navy);
    font: 700 1.2rem 'Space Grotesk', sans-serif; letter-spacing: .12em;
}
.jr-field select { font: 600 1rem inherit; letter-spacing: 0; }
.jr-field input:focus, .jr-field select:focus { border-color: var(--emerald); outline: none; background: #fff; }
.jr-field-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; }
.jr-field-row .jr-hint { grid-column: 1 / -1; margin: 0; }
.jr-hint, .jr-small { font-size: .82rem; color: var(--ink-soft); }
.jr-small { margin: 1rem 0 0; }
.jr-error { margin: 0; padding: .7rem .9rem; border-radius: 10px; background: #FBE4E8; color: #8C1D33; font-size: .88rem; font-weight: 600; }

/* ---------- the sign-in page (/journey): welcome panel + form ---------- */
.jl { max-width: 1020px; margin: 0 auto; padding: 1rem max(16px, env(safe-area-inset-left)) 2.5rem; min-height: 100vh; min-height: 100dvh; }
.jl-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .4rem 0 1rem; }
.jl-back { font-size: .85rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; }
.jl-back:hover { color: var(--emerald-deep); }
.jl-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; align-items: start; }
@media (min-width: 880px) { .jl-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; } }
.jl-hero {
    position: relative; overflow: hidden; padding: 1.7rem 1.4rem 1.5rem; border-radius: 26px; color: #fff;
    background: linear-gradient(140deg, #0B4F3C 0%, var(--emerald-deep) 50%, var(--emerald) 125%); box-shadow: 0 28px 54px -32px rgba(6, 95, 70, .85);
}
.jl-hero::before { content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .07); }
.jl-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--gold); }
.jl-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font: 700 .7rem 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.jl-badge i { font-size: .45rem; color: #7DF0C4; }
.jl-hero h1 { margin: 1rem 0 .3rem; font-family: 'Amiri', serif; font-size: clamp(2.1rem, 8vw, 3rem); line-height: 1.1; color: #fff; }
.jl-sub { margin: 0 0 1.3rem; color: rgba(255, 255, 255, .88); }
.jl-steps { list-style: none; margin: 0; padding: 1rem; display: grid; gap: .2rem; border-radius: 18px; background: rgba(255, 255, 255, .1); position: relative; }
.jl-steps li { position: relative; display: flex; gap: .9rem; padding: .55rem 0; }
.jl-steps li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 3.1rem; bottom: -.45rem; border-left: 2px dashed rgba(255, 255, 255, .35); }
.jl-step-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--emerald-deep); font-size: 1.1rem; }
.jl-step-ic--go { background: var(--gold); color: #2B1700; }
.jl-steps small { display: block; font: 700 .66rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #F6E7BF; }
.jl-steps strong { display: block; font-size: 1.02rem; }
.jl-demo { display: inline-block; margin-top: .3rem; padding: .25rem .6rem; border-radius: 8px; background: rgba(0, 0, 0, .22); font: 600 .78rem 'Space Grotesk', ui-monospace, monospace; }
.jl-demo b { color: #F6E7BF; }
.jl-demo em { font-style: normal; padding: .02rem .4rem; border-radius: 6px; background: var(--gold); color: #2B1700; letter-spacing: .1em; }
.jl-demo i { font-size: .68rem; margin: 0 .15rem; }
.jl-inside { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.jl-inside li { display: flex; gap: .6rem; padding: .65rem .7rem; border-radius: 14px; background: rgba(255, 255, 255, .1); font-size: .78rem; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.jl-inside li i { margin-top: .15rem; color: #F6E7BF; }
.jl-inside b { display: block; color: #fff; font-size: .86rem; }
@media (max-width: 400px) { .jl-inside { grid-template-columns: 1fr; } }

.jl-card { padding: 1.6rem 1.35rem 1.4rem; border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
@media (min-width: 880px) { .jl-card { position: sticky; top: 1rem; } }
@media (max-width: 879px) { .jl-card { order: -1; } }   /* on a phone the form comes first, the guide below it */
.jl-ring { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 3px solid var(--gold); background: var(--navy); color: #F6E7BF; font: 700 .95rem 'Space Grotesk', sans-serif; box-shadow: 0 10px 22px -12px rgba(20, 33, 61, .7); }
.jl-card h2 { margin: .7rem 0 0; font-family: 'Amiri', serif; font-size: 2rem; }
.jl-card .jr-lead { margin-bottom: 1.1rem; }
.jl-card .jr-field label { display: flex; align-items: center; gap: .45rem; }
.jl-card .jr-field label i { color: var(--emerald); font-size: .85rem; }
.jl-lock { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); }
.jl-lock i { margin-right: .25rem; color: var(--gold-ink); }
.jl-help { display: grid; gap: .6rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); text-align: left; }
.jl-help p { display: flex; gap: .65rem; margin: 0; font-size: .82rem; line-height: 1.5; color: var(--ink-soft); }
.jl-help p > i { flex: none; width: 1.1rem; margin-top: .2rem; text-align: center; color: var(--gold-ink); }
.jl-help a { font-weight: 700; }

/* ---------- the day player: see "THE DAY — SLIDES" at the end ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   PHASES 5–8 — menu, tools, excuses, quiz, rating, letter, vote,
   progress, ask, circle, messages, certificate, verify, light mode
   ===================================================================== */
.jr-link { display: inline-block; margin-top: .3rem; font-weight: 700; font-size: .85rem; color: var(--emerald-deep); }
.jr-page-title { font-family: 'Amiri', serif; font-size: clamp(1.8rem, 7vw, 2.4rem); display: flex; gap: .6rem; align-items: center; margin: .25rem 0 .4rem; }
.jr-page-title i { font-size: .7em; color: var(--emerald); }
.jr-mono { font-family: 'Space Grotesk', monospace; letter-spacing: .06em; }

/* the menu in the top bar */
.jr-menu { position: relative; }
.jr-menu > summary { list-style: none; }
.jr-menu > summary::-webkit-details-marker { display: none; }
.jr-menu-list { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; display: grid; min-width: 15rem; padding: .4rem; border-radius: 14px; background: var(--paper); box-shadow: 0 18px 50px -20px rgba(20, 33, 61, .45); border: 1px solid var(--line); }
.jr-menu-list a, .jr-menu-list button { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .5rem .75rem; border: 0; border-radius: 10px; background: none; color: var(--navy); font: 600 .92rem inherit; text-decoration: none; cursor: pointer; text-align: left; width: 100%; }
.jr-menu-list a:hover, .jr-menu-list button:hover { background: var(--ivory); }
.jr-menu-list a[aria-current] { color: var(--emerald-deep); background: #E3F2EC; }
.jr-menu-list i { width: 1.1rem; text-align: center; color: var(--ink-soft); }
.jr-menu-list form { margin: 0; border-top: 1px solid var(--line); padding-top: .3rem; margin-top: .3rem; }

/* tools on the dashboard */
.jr-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin: 0 0 1.5rem; }
.jr-tool { position: relative; display: grid; gap: .1rem; padding: .9rem; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); color: var(--navy); text-decoration: none; transition: transform .15s ease; }
.jr-tool:hover { transform: translateY(-2px); }
.jr-tool > i { font-size: 1.25rem; color: var(--emerald); margin-bottom: .3rem; }
.jr-tool strong { font-size: .92rem; }
.jr-tool small { font-size: .76rem; color: var(--ink-soft); }
.jr-tool.is-earned { background: linear-gradient(135deg, #FFF6DD, #fff); box-shadow: var(--shadow), inset 0 0 0 2px var(--gold); }
.jr-tool.is-earned > i { color: var(--gold-ink); }
.jr-tool-bar { display: block; height: 5px; margin-top: .45rem; border-radius: 5px; background: var(--mist); overflow: hidden; }
.jr-tool-bar i { display: block; height: 100%; background: var(--emerald); border-radius: 5px; }
.jr-rules { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .55rem; }
.jr-rules li { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.jr-rules li > i { margin-top: .25rem; color: var(--emerald); width: 1rem; text-align: center; }
.jr-rules li.is-ok > i { color: var(--emerald); } .jr-rules li:not(.is-ok) > .fa-circle { color: var(--mist); }
.jr-quote { margin: .6rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--gold); background: var(--ivory); border-radius: 0 12px 12px 0; font-style: italic; color: var(--ink-soft); }
.jr-quote small { display: block; margin-top: .4rem; font-style: normal; font-weight: 600; font-size: .78rem; color: var(--muted); }

/* new day states */
.jr-seg--excuse_pending { stroke: #F3C27E; }
.jr-seg--excused_open { stroke: var(--amber); }
.jr-seg--excused_done { stroke: #4FB08E; }
.jr-seg--excused_closed { stroke: #B9A9AE; }
.jr-state--excuse_pending, .jr-state--excused_open { background: #FDEBD7; color: var(--amber-ink); }
.jr-state--excused_done { background: #DDF1E8; color: var(--emerald-deep); }
.jr-day--excused_done .jr-day-n { background: #4FB08E; color: #fff; } .jr-day--excused_done > i { color: #4FB08E; }
.jr-day--excuse_pending .jr-day-n { background: repeating-linear-gradient(135deg, #F3C27E 0 4px, #fff 4px 7px); }
.jr-day--excused_open .jr-day-n { background: var(--amber); color: #2B1700; }
.jr-day--excused_closed .jr-day-n { background: #B9A9AE; color: #fff; }
.jr-day-dot.jr-day--excuse_pending { background: #F3C27E; } .jr-day-dot.jr-day--excused_open { background: var(--amber); }

/* excuse form, quiz, rating, letter, replies, vote */
.jr-excuse textarea { width: 100%; padding: .9rem 1rem; border-radius: 14px; border: 2px solid var(--mist); background: var(--ivory); font: 400 1rem/1.6 inherit; color: var(--navy); }
.jr-excuse textarea:focus { outline: none; border-color: var(--emerald); background: #fff; }
.jr-quiz { list-style: none; counter-reset: q; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.jr-q { counter-increment: q; }
.jr-q-text { font-weight: 700; margin: 0 0 .5rem; }
.jr-q-text::before { content: counter(q) '. '; color: var(--tone); }
.jr-q-options { display: grid; gap: .4rem; }
.jr-q-opt { position: relative; display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: .55rem .9rem; border-radius: 12px; border: 2px solid var(--mist); background: var(--ivory); cursor: pointer; }
.jr-q-opt input { width: 20px; height: 20px; accent-color: var(--emerald); flex-shrink: 0; }
.jr-q-opt.is-right { border-color: var(--emerald); background: #E3F2EC; }
.jr-q-opt.is-right::after { content: '\f00c'; font: 900 .85rem 'Font Awesome 6 Free'; color: var(--emerald-deep); margin-left: auto; }
.jr-q-opt.is-wrong { border-color: var(--rose); background: #FBE4E8; }
.jr-q-explain { margin: .5rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: #FFF6DD; color: #5A4310; font-size: .88rem; }
.jr-q-explain i { color: var(--gold-ink); margin-right: .2rem; }
.jr-quiz-score { font-weight: 700; color: var(--emerald-deep); }
.jr-rating { display: grid; gap: .55rem; }
.jr-rating-scale { display: flex; justify-content: space-between; margin: 0 0 .2rem; font-size: .75rem; color: var(--muted); font-weight: 600; }
.jr-rate { border: 0; margin: 0; padding: .5rem .6rem; border-radius: 12px; background: var(--ivory); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem; }
.jr-rate legend { float: left; padding: 0; font-weight: 700; font-size: .9rem; }
.jr-rate-row { display: flex; gap: .25rem; }
.jr-rate-row label { position: relative; }
.jr-rate-row input { position: absolute; opacity: 0; inset: 0; }
.jr-rate-row span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--mist); background: #fff; font: 700 .9rem 'Space Grotesk', sans-serif; cursor: pointer; }
.jr-rate-row input:checked + span { border-color: var(--emerald); background: var(--emerald); color: #fff; }
.jr-rate-row input:focus-visible + span { outline: 3px solid var(--amber); }
@media (max-width: 400px) { .jr-rate { grid-template-columns: 1fr; } .jr-rate-row span { width: 44px; height: 40px; } }
.jr-sealed { display: flex; gap: .9rem; align-items: center; padding: 1rem; border-radius: 14px; background: linear-gradient(135deg, #FFF6DD, #FBF7EE); border: 1px dashed var(--gold); }
.jr-sealed > i { font-size: 1.8rem; color: var(--gold-ink); }
.jr-sealed p { margin: 0; color: var(--ink-soft); }
.jr-letter { text-align: left; background: #FFFDF6; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.jr-letter-text { font-family: 'Amiri', serif; font-size: 1.2rem; line-height: 1.8; white-space: pre-line; color: var(--navy); }
.jr-reply { display: flex; gap: .65rem; margin: .8rem 0 0; padding: .75rem .9rem; border-radius: 12px; background: #E3F2EC; text-align: left; }
.jr-reply > i { color: var(--emerald-deep); margin-top: .2rem; }
.jr-reply small { color: var(--muted); font-weight: 600; }
.jr-reply p { margin: .2rem 0 0; color: var(--navy); white-space: pre-line; }
.jr-vote { margin: 0 0 1.25rem; }
.jr-vote p { margin: 0 0 .5rem; font-weight: 700; color: var(--navy); }
.jr-vote .jr-choices { justify-content: center; }
.jr-vote .jr-choices span { padding: 0 .9rem; font-size: .88rem; }

/* support message */
.jr-support { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(20, 33, 61, .55); }
.jr-support-box { width: min(440px, 100%); background: var(--paper); border-radius: 22px; padding: 1.6rem 1.4rem; text-align: center; box-shadow: var(--shadow); }
.jr-support-icon { font-size: 2.4rem; color: var(--emerald); }
.jr-support-box h2 { font-family: 'Amiri', serif; font-size: 1.7rem; margin: .5rem 0; }
.jr-support-box p { white-space: pre-line; color: var(--ink-soft); margin: 0 0 1.2rem; }

/* progress page */
.jr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 1rem 0 1.25rem; }
.jr-stats div { padding: .85rem .6rem; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.jr-stats b { display: block; font: 700 1.6rem 'Space Grotesk', sans-serif; color: var(--navy); }
.jr-stats span { font-size: .75rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 480px) { .jr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jr-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; margin-top: .6rem; }
.jr-badge { position: relative; display: grid; justify-items: center; text-align: center; gap: .1rem; padding: .7rem .5rem; border-radius: 14px; background: var(--ivory); }
.jr-badge svg { width: 64px; height: 64px; }
.jr-badge > b { position: absolute; top: 1.95rem; font: 700 1.2rem 'Space Grotesk', sans-serif; color: var(--tone); }
.jr-badge-arc { fill: none; stroke: var(--tone); stroke-width: 6; stroke-linecap: round; }
.jr-badge strong { font-size: .82rem; margin-top: .3rem; }
.jr-badge small { font-size: .72rem; color: var(--muted); }
.jr-badge.is-earned { background: linear-gradient(180deg, #FFF6DD, var(--ivory)); box-shadow: inset 0 0 0 2px var(--gold); }
.jr-reviews { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; }
.jr-reviews li { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 2.5rem; gap: .6rem; align-items: center; font-size: .85rem; }
.jr-reviews .jr-tool-bar { margin: 0; height: 8px; }
.jr-quizmap { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin: .7rem 0 .4rem; }
.jr-quizmap span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 7px; background: var(--mist); font: 700 .72rem 'Space Grotesk', sans-serif; color: var(--muted); }
.jr-quizmap .is-good { background: #DDF1E8; color: var(--emerald-deep); }
.jr-quizmap .is-grow { background: #FFF1D6; color: var(--amber-ink); }

/* radar (shared partial) */
.rd { margin: .5rem 0 0; }
.rd svg { display: block; width: 100%; max-width: 420px; margin: 0 auto; height: auto; }
.rd-grid { fill: none; stroke: var(--mist); stroke-width: .7; }
.rd-axis { stroke: var(--mist); stroke-width: .7; }
.rd-label { font: 600 7px 'Plus Jakarta Sans', sans-serif; fill: var(--ink-soft); }
.rd-first { fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 3 2; }
.rd-last { fill: rgba(15, 143, 107, .2); stroke: var(--emerald); stroke-width: 1.8; stroke-linejoin: round; }
.rd-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; font-size: .78rem; color: var(--ink-soft); }
.rd-key { display: inline-block; width: 18px; border-top: 2px dashed var(--muted); vertical-align: middle; margin-right: .25rem; }
.rd-key--last { border-top: 3px solid var(--emerald); }
.rd-scale { color: var(--muted); }

/* ask / messages */
.jr-form textarea, .jr-form select:not(#jr-month) { width: 100%; padding: .75rem .9rem; border-radius: 12px; border: 2px solid var(--mist); background: var(--ivory); font: 400 1rem/1.55 'Plus Jakarta Sans', sans-serif; color: var(--navy); }
.jr-form textarea:focus, .jr-form select:focus { outline: none; border-color: var(--emerald); background: #fff; }
.jr-error.is-ok { background: #E3F2EC; color: var(--emerald-deep); }
.jr-qa { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.jr-qa-item h3 { font-size: 1rem; font-weight: 600; line-height: 1.5; white-space: pre-line; }
.jr-faq { display: grid; gap: .5rem; }
.jr-faq details { padding: .9rem 1rem; }
.jr-faq summary { cursor: pointer; font-weight: 700; display: grid; gap: .15rem; }
.jr-faq-q { font-weight: 600; color: var(--navy) !important; }

/* circle */
.jr-orbit { position: relative; width: min(360px, 92vw); margin: 1rem auto 1.5rem; aspect-ratio: 1; }
.jr-orbit svg { width: 100%; height: 100%; }
.jr-orbit-ring { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 3 4; }
.jr-orbit-core { fill: var(--navy); }
.jr-orbit-spoke { stroke: var(--mist); stroke-width: 1; }
.jr-orbit-txt { fill: #F6E7BF; font: 700 15px 'Space Grotesk', sans-serif; }
.jr-orbit ul { list-style: none; margin: 0; padding: 0; }
.jr-orbit li { position: absolute; transform: translate(-50%, -50%); padding: .35rem .7rem; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.jr-orbit li.is-me { background: var(--emerald-deep); color: #fff; }

/* certificate */
.jr-cert-progress { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.jr-cert-meter { position: relative; width: 120px; flex: none; }
.jr-cert-meter > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.jr-cert-meter b { font: 700 1.8rem/1 'Space Grotesk', sans-serif; } .jr-cert-meter span { font-size: .72rem; color: var(--muted); }
.jr-cert-progress > div:last-child { flex: 1 1 240px; }
.jr-cert-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.jr-cert { background: #FFFDF6; border-radius: 6px; padding: 14px; box-shadow: var(--shadow); color: var(--navy); }
.jr-cert-border { position: relative; border: 2px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -8px; padding: 2.2rem 1.5rem 1.6rem; text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(201, 154, 46, .1), transparent 55%); }
.jr-cert-mark { width: 54px; height: 54px; color: var(--gold-ink); }
.jr-cert-brand { margin: .3rem 0 0; font: 700 .9rem 'Cinzel Decorative', serif; letter-spacing: .14em; }
.jr-cert-brand b { color: var(--emerald-deep); }
.jr-cert h1 { font-family: 'Amiri', serif; font-size: clamp(1.8rem, 6vw, 2.8rem); margin: .4rem 0 .2rem; }
.jr-cert-pre { margin: .6rem 0 0; color: var(--ink-soft); font-style: italic; }
.jr-cert-name { margin: .2rem 0; font: 700 clamp(1.6rem, 6vw, 2.5rem) 'Amiri', serif; color: var(--emerald-deep); border-bottom: 1px solid var(--gold); display: inline-block; padding: 0 1rem .2rem; }
.jr-cert-body { max-width: 34rem; margin: .8rem auto; color: var(--ink-soft); }
.jr-cert-motto { font-size: .74rem; letter-spacing: .06em; color: var(--gold-ink); font-weight: 700; text-transform: uppercase; }
.jr-cert-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1rem; margin-top: 1.4rem; font-size: .78rem; }
.jr-cert-foot > div { display: grid; justify-items: center; gap: .3rem; }
.jr-cert-line { width: 9rem; border-bottom: 1px solid var(--navy); height: 2rem; }
.jr-cert-qr #jr-qr { width: 112px; height: 112px; background: #fff; padding: 4px; }
.jr-cert-qr #jr-qr img, .jr-cert-qr #jr-qr canvas { width: 104px !important; height: 104px !important; }
.jr-cert-foot small { color: var(--muted); }
@media (max-width: 520px) { .jr-cert-foot { grid-template-columns: 1fr; } }
@media print {
    @page { size: A4 landscape; margin: 10mm; }
    body.jr { background: #fff !important; }
    .jr-noprint, .jr-preview, .jr-cert-tools, .jr-top { display: none !important; }
    .jr-dash.jr-cert-page { max-width: none; padding: 0; }
    .jr-cert { box-shadow: none; padding: 0; }
    .jr-cert-border { min-height: 180mm; display: flex; flex-direction: column; justify-content: center; }
}

/* verify */
.jr-verify-icon { font-size: 3rem; color: var(--emerald); margin: 1.2rem 0 .3rem; }
.jr-verify-icon.is-bad { color: var(--rose); }
.jr-verify { margin: 1rem 0 0; text-align: left; display: grid; gap: 0; }
.jr-verify div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dotted var(--mist); }
.jr-verify dt { color: var(--muted); font-size: .85rem; }
.jr-verify dd { margin: 0; font-weight: 700; text-align: right; }

/* light mode: fewer moving things, smaller images */
.jr-lite *, .jr-lite *::before, .jr-lite *::after { animation: none !important; transition: none !important; }
.jr-lite body.jr { background-image: none; }
.jr-lite .jr-cards { scroll-behavior: auto; }

/* =====================================================================
   2.1 — THE DASHBOARD (main.jr-home)
   A dark hero with the profile (photo, name, details) and the 360°
   ring, number tiles, the four weeks, then the cards below.
   [data-reveal] blocks rise into place once (journey.js); without
   JavaScript, in light mode or with reduced motion they simply show.
   ===================================================================== */
.jr-home { max-width: 1040px; }
.jr-js .jr-home [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }
.jr-home [data-reveal] { transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }

.jr-hero2 {
    position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1.4rem; align-items: center;
    padding: clamp(1.3rem, 4vw, 2.2rem); margin-bottom: 1.1rem; border-radius: 28px; color: #EEF2FF;
    background: radial-gradient(120% 140% at 0% 0%, #1B3A6B 0%, #0E1D3D 45%, #0A1530 100%);
    box-shadow: 0 30px 60px -30px rgba(10, 21, 48, .7);
}
.jr-hero2-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.jr-hero2-bg span { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; animation: jrFloat 16s ease-in-out infinite alternate; }
.jr-hero2-bg span:nth-child(1) { width: 260px; height: 260px; left: -60px; top: -80px; background: #0F8F6B; }
.jr-hero2-bg span:nth-child(2) { width: 220px; height: 220px; right: -40px; bottom: -90px; background: #C99A2E; animation-duration: 19s; }
.jr-hero2-bg span:nth-child(3) { width: 160px; height: 160px; right: 30%; top: -60px; background: #3A5BD9; opacity: .35; animation-duration: 23s; }
.jr-hero2::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .09; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 4l7 21h21l-17 13 7 21-18-13-18 13 7-21L4 25h21z' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E"); }
@keyframes jrFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, 24px) scale(1.15); } }

.jr-profile { display: flex; gap: 1.1rem; align-items: center; min-width: 0; }
.jr-avatar-wrap { position: relative; flex: none; width: 112px; height: 112px; }
.jr-avatar-wrap > svg { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); transform: rotate(-90deg); }
.jr-avatar-track { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 4; }
.jr-avatar-arc { fill: none; stroke: url(#jr-g-av); stroke-width: 4; stroke-linecap: round; stroke-dasharray: var(--p, 0) 100; transition: stroke-dasharray 1.6s cubic-bezier(.2, .8, .2, 1) .3s; }
.jr-js .jr-hero2:not(.is-in) .jr-avatar-arc { stroke-dasharray: 0 100; }
.jr-avatar { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
    background: linear-gradient(135deg, #0F8F6B, #2F4C8A); box-shadow: 0 0 0 3px rgba(255, 255, 255, .15), 0 14px 30px -10px rgba(0, 0, 0, .6); }
.jr-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jr-avatar-ini { font: 700 2.4rem 'Space Grotesk', sans-serif; color: #fff; letter-spacing: .02em; }
.jr-avatar.has-photo .jr-avatar-ini { visibility: hidden; }
.jr-avatar-cam { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    background: #F2C14E; color: #2B1700; border: 3px solid #0E1D3D; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); transition: transform .2s; }
.jr-avatar-cam:hover { transform: scale(1.08) rotate(-6deg); }
.jr-avatar-cam:focus-within { outline: 3px solid #fff; outline-offset: 2px; }
.jr-avatar-cam input { position: absolute; width: 1px; height: 1px; opacity: 0; }
[data-photo].is-busy .jr-avatar::after { content: ''; position: absolute; inset: 0; background: rgba(10, 21, 48, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='18' fill='none' stroke='white' stroke-width='4' stroke-dasharray='80 40'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.9s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center/40px no-repeat; }
.jr-profile-t { min-width: 0; }
.jr-profile-t .jr-eyebrow { color: #F2C14E; }
.jr-profile-t h1 { font: 700 clamp(1.9rem, 6vw, 2.8rem)/1.05 'Amiri', serif; color: #fff; margin: .1rem 0 .35rem; }
.jr-profile-ref { margin: 0 0 .55rem; font-size: .82rem; color: #B9C4DE; display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; }
.jr-profile-ref .jr-mono { color: #fff; background: rgba(255, 255, 255, .1); padding: .15rem .55rem; border-radius: 8px; }
.jr-profile-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.jr-profile-tags li { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 600;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #DDE4F5; }
.jr-profile-tags i { color: #4FE3C1; }
.jr-photo-msg { margin: .55rem 0 0; font-size: .8rem; font-weight: 600; color: #7BE0C3; }
.jr-photo-msg.is-bad { color: #FF9BB3; }
.jr-linkbtn { margin-top: .4rem; padding: 0; border: 0; background: none; color: #B9C4DE; font: 600 .76rem inherit; text-decoration: underline; cursor: pointer; }

.jr-hero2-ring { position: relative; justify-self: center; width: min(230px, 62vw); }
.jr-hero2-ring svg { display: block; width: 100%; height: auto; }
.jr-hero2-ring .jr-seg { stroke: rgba(255, 255, 255, .1); stroke-width: 14; }
.jr-hero2-ring .jr-seg--completed { stroke: #4FE3C1; }
.jr-hero2-ring .jr-seg--excused_done { stroke: #7BE0C3; }
.jr-hero2-ring .jr-seg--open, .jr-hero2-ring .jr-seg--open_waiting, .jr-hero2-ring .jr-seg--excused_open { stroke: #F2C14E; }
.jr-hero2-ring .jr-seg--absent { stroke: #FF6B8B; }
.jr-hero2-ring .jr-seg--missed, .jr-hero2-ring .jr-seg--excused_closed { stroke: rgba(255, 255, 255, .28); }
.jr-hero2-ring .jr-seg--excuse_pending { stroke: #FFC98A; }
.jr-hero2-ring .jr-seg.is-today { stroke-width: 20; filter: drop-shadow(0 0 6px rgba(242, 193, 78, .8)); }
.jr-js .jr-hero2:not(.is-in) .jr-seg { opacity: 0; }
.jr-hero2 .jr-seg { transition: opacity .4s ease; transition-delay: calc(var(--k, 0) * 28ms + .2s); }
.jr-hero2-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.jr-hero2-mid b { font: 700 clamp(2.4rem, 9vw, 3.2rem)/1 'Space Grotesk', sans-serif; color: #fff; }
.jr-hero2-mid small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9FB0D4; margin-top: .3rem; }
.jr-hero2-day { margin: .1rem 0 0; color: #C9D3EA; font-size: .92rem; }
.jr-hero2-day strong { color: #F2C14E; }
@media (min-width: 760px) {
    .jr-hero2 { grid-template-columns: minmax(0, 1fr) auto; }
    .jr-avatar-wrap { width: 132px; height: 132px; }
}
@media (max-width: 520px) {
    .jr-profile { flex-direction: column; text-align: center; }
    .jr-profile-ref, .jr-profile-tags { justify-content: center; }
}

/* number tiles */
.jr-kpis { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
@media (min-width: 760px) { .jr-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jr-kpi { position: relative; overflow: hidden; padding: 1rem 1rem .9rem; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); display: grid; gap: .15rem; }
.jr-kpi::before { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--k-c, var(--emerald)); opacity: .1; }
.jr-kpi > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-size: 1.05rem; margin-bottom: .35rem;
    background: linear-gradient(135deg, var(--k-c, var(--emerald)), var(--k-c2, #065F46)); box-shadow: 0 8px 18px -8px var(--k-c, var(--emerald)); }
.jr-kpi b { font: 700 1.9rem/1 'Space Grotesk', sans-serif; color: var(--navy); }
.jr-kpi > span:not(.jr-tool-bar) { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }
.jr-kpi .jr-tool-bar { margin-top: .4rem; }
.jr-kpi .jr-tool-bar i { background: linear-gradient(90deg, var(--k-c, var(--emerald)), var(--k-c2, #065F46)); transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .3s; }
.jr-js .jr-kpis:not(.is-in) .jr-tool-bar i { width: 0 !important; }
.jr-kpi--fire  { --k-c: #F08A24; --k-c2: #D64560; }
.jr-kpi--done  { --k-c: #0F8F6B; --k-c2: #0B6E8A; }
.jr-kpi--deg   { --k-c: #3A5BD9; --k-c2: #7A4FD9; }
.jr-kpi--cert  { --k-c: #C99A2E; --k-c2: #A85609; }

/* today, restyled */
.jr-home .jr-today { border-top: 0; padding: 0; background: none; box-shadow: none; overflow: visible; }
.jr-today-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 1.35rem; color: #fff;
    background: linear-gradient(135deg, var(--tone) 0%, #0E1D3D 120%); box-shadow: 0 24px 50px -28px rgba(10, 21, 48, .8); }
.jr-today-card::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .08); z-index: -1; }
.jr-today-card::after { content: attr(data-n); position: absolute; right: 14px; bottom: -28px; font: 700 8rem/1 'Space Grotesk', sans-serif; color: rgba(255, 255, 255, .08); z-index: -1; }
.jr-today-card .jr-today-num { color: rgba(255, 255, 255, .8); }
.jr-today-card h2 { color: #fff; font-family: 'Amiri', serif; font-size: clamp(1.7rem, 6vw, 2.3rem); }
.jr-today-card .jr-today-tag, .jr-today-card .jr-today-foot p { color: rgba(255, 255, 255, .82); }
.jr-today-card .jr-session { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: #fff; }
.jr-today-card .jr-session-info small, .jr-today-card .jr-session-msg { color: rgba(255, 255, 255, .75); }
.jr-today-card .jr-session-time { color: #FFD27A; }
.jr-today-card .jr-ok { color: #7BE0C3 !important; }
.jr-today-card .jr-btn { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.jr-today-card .jr-btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); }
.jr-today-card .jr-btn--join { background: #F2C14E; color: #2B1700; }
.jr-today-card .jr-state { background: rgba(255, 255, 255, .16); color: #fff; }
.jr-today-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 .2rem; padding: 0; list-style: none; }
.jr-today-meta li { font-size: .74rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.jr-today-card .jr-btn:not(.jr-btn--ghost):not(.jr-btn--join) { animation: jrPulse 2.4s ease-in-out infinite; }
@keyframes jrPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }

/* the four weeks */
.jr-weeks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 760px) { .jr-weeks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.jr-wk { padding: .9rem; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); border-top: 4px solid var(--tone); }
.jr-wk small { font: 700 .66rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--tone); }
.jr-wk strong { display: block; font-size: .92rem; margin: .1rem 0 .5rem; }
.jr-wk-dots { display: flex; gap: 4px; flex-wrap: wrap; }
.jr-wk-dots i { width: 14px; height: 14px; border-radius: 5px; background: var(--mist); }
.jr-wk-dots i.is-done { background: var(--tone); }
.jr-wk-dots i.is-today { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--amber); }
.jr-wk-dots i.is-bad { background: #F4B8C4; }
.jr-wk p { margin: .45rem 0 0; font-size: .74rem; color: var(--muted); font-weight: 600; }
.jr-wk.is-now { box-shadow: var(--shadow), 0 0 0 2px var(--tone); }

/* profile details */
.jr-me { display: grid; gap: .1rem; margin: .4rem 0 0; }
.jr-me div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .8rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.jr-me div:last-child { border-bottom: 0; }
.jr-me dt { color: var(--muted); font-weight: 600; display: flex; gap: .45rem; align-items: center; }
.jr-me dt i { width: 1rem; text-align: center; color: var(--emerald); }
.jr-me dd { margin: 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
@media (max-width: 420px) { .jr-me div { grid-template-columns: 1fr; gap: .1rem; } }
.jr-home-grid { display: grid; gap: 1.1rem; }
@media (min-width: 880px) { .jr-home-grid { grid-template-columns: 1.15fr .85fr; align-items: start; } .jr-home-grid > * { margin-bottom: 0; } }

/* tools, restyled */
.jr-home .jr-tool { overflow: hidden; isolation: isolate; }
.jr-home .jr-tool > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--t1, #0F8F6B), var(--t2, #0B6E8A)); }
.jr-home .jr-tool::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.jr-home .jr-tool:hover::after { transform: translateX(120%); }
.jr-home .jr-tool:nth-child(2) { --t1: #3A5BD9; --t2: #7A4FD9; }
.jr-home .jr-tool:nth-child(3) { --t1: #D64560; --t2: #F08A24; }
.jr-home .jr-tool:nth-child(4) { --t1: #0B6E8A; --t2: #38A3D4; }
.jr-home .jr-tool:nth-child(5) { --t1: #C99A2E; --t2: #A85609; }

/* the 30-day map, restyled */
.jr-home .jr-day { transition: transform .2s ease, box-shadow .2s ease; }
.jr-home a.jr-day:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -16px rgba(20, 33, 61, .45); }
.jr-home .jr-day.is-today { background: linear-gradient(135deg, #FFF8E6, #fff); }

/* small avatar in the top bar */
.jr-top-av { width: 36px; height: 36px; padding: 0; border-radius: 50%; overflow: hidden; position: relative; display: grid; place-items: center;
    background: linear-gradient(135deg, #0F8F6B, #2F4C8A); color: #fff; font: 700 .85rem 'Space Grotesk', sans-serif; text-decoration: none; box-shadow: var(--shadow); }
.jr-top-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jr-top-av.has-photo .jr-avatar-ini { visibility: hidden; }
.jr-top-av .jr-avatar-ini { font-size: .85rem; }

/* =====================================================================
   2.1 — THE DAY — SLIDES
   Full-screen, dark, one theme per kind of slide (.jr-s--{kind}): its
   own gradient, two drifting light orbs, an accent colour (--ac) used
   by its widgets. Contents marked data-a rise in turn (--d) when the
   slide comes into view (.is-in); only with html.jr-js are they hidden
   before that.
   ===================================================================== */
body.jr-player-body { overflow: hidden; background: #0A1020; }
.jr-player { position: fixed; inset: 0; display: grid; grid-template-rows: auto auto auto 1fr auto; height: 100vh; height: 100dvh; color: #EEF2FF; background: #0A1020; }
.jr-is-preview .jr-player { top: var(--pv-h, 0px); height: calc(100dvh - var(--pv-h, 0px)); }
.jr-player-top, .jr-player-sub, .jr-player-note, .jr-player-nav { position: relative; z-index: 5; }
.jr-player-top { display: flex; align-items: center; gap: .7rem; padding: calc(.55rem + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) .3rem max(14px, env(safe-area-inset-left)); }
.jr-icon-btn--glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.jr-icon-btn--glass:hover { background: rgba(255, 255, 255, .18); }
.jr-segs { flex: 1; display: flex; gap: 3px; min-width: 0; }
.jr-segs span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.jr-segs span i { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; }
.jr-segs span.is-done i { width: 100%; }
.jr-segs span.is-on i { width: 100%; animation: jrSeg .6s ease both; background: linear-gradient(90deg, #4FE3C1, #F2C14E); }
@keyframes jrSeg { from { width: 0; } }
.jr-player-count { font: 700 .78rem 'Space Grotesk', sans-serif; color: rgba(255, 255, 255, .7); min-width: 2.6rem; text-align: right; }
.jr-player-sub { display: flex; justify-content: space-between; gap: 1rem; padding: 0 max(16px, env(safe-area-inset-left)) .2rem; font-size: .72rem; color: rgba(255, 255, 255, .62); }
.jr-player-sub #jr-kind { font: 700 .68rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.jr-player-sub #jr-kind i { color: var(--ac, #4FE3C1); margin-right: .25rem; }
.jr-player-sub-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-player-note { margin: 0 14px .3rem; padding: .45rem .8rem; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: .78rem; color: rgba(255, 255, 255, .8); text-align: center; }
.jr-player-note.is-preview { background: #FFE9B8; color: #3A2600; }

.jr-cards { grid-row: 4; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; outline: none; }
.jr-player > .jr-cards { position: absolute; inset: 0; z-index: 1; }
.jr-cards::-webkit-scrollbar { display: none; }

/* one slide */
.jr-s {
    --ac: #4FE3C1; --o1: rgba(79, 227, 193, .35); --o2: rgba(111, 168, 255, .3);
    position: relative; isolation: isolate; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; overflow-y: auto; overflow-x: hidden;
    display: flex; flex-direction: column; align-items: center;
    padding: calc(var(--hdr, 5.5rem) + .9rem) max(16px, env(safe-area-inset-left)) calc(var(--ftr, 4.6rem) + 1.2rem);
    background: radial-gradient(130% 90% at 10% 0%, var(--g1, #13244A) 0%, var(--g2, #0A1020) 70%);
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
/* base pieces of the widgets (choices, checklist, dots) */
.jr-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.jr-choices label { position: relative; }
.jr-choices input { position: absolute; opacity: 0; inset: 0; }
.jr-choices span { display: grid; grid-auto-flow: column; gap: .35rem; place-items: center; min-width: 50px; min-height: 50px; padding: 0 .9rem; border-radius: 14px; font-weight: 700; cursor: pointer; transition: transform .12s, border-color .12s, background .12s; }
.jr-choices--emoji span { padding: 0; }
.jr-choices input:focus-visible + span { outline: 3px solid var(--amber); }
.jr-choices input:disabled + span { cursor: default; }
.jr-steps { list-style: none; padding: 0; margin: 0; display: grid; }
.jr-steps label { position: relative; display: flex; gap: .75rem; cursor: pointer; }
.jr-dots { flex-wrap: wrap; justify-content: center; gap: .35rem; }
.jr-dots button { padding: 0; border: 0; border-radius: 50%; cursor: pointer; }
.jr-counter { display: block; }
.jr-s::before, .jr-s::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.jr-s::before { width: 60vmax; height: 60vmax; max-width: 620px; max-height: 620px; left: -18%; top: -14%; background: var(--o1); animation: jrOrb 18s ease-in-out infinite alternate; }
.jr-s::after { width: 50vmax; height: 50vmax; max-width: 520px; max-height: 520px; right: -20%; bottom: -16%; background: var(--o2); animation: jrOrb 22s ease-in-out infinite alternate-reverse; }
@keyframes jrOrb { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, 8%) scale(1.18); } }
.jr-s-in { position: relative; width: 100%; max-width: 680px; margin: auto 0; text-align: left; }
.jr-s h1, .jr-s h2 { color: #fff; }
.jr-s h2 { font: 700 clamp(1.55rem, 5.6vw, 2.25rem)/1.15 'Amiri', serif; margin: .35rem 0 .3rem; }
.jr-s-head { margin-bottom: 1.1rem; }
.jr-s-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .75rem; border-radius: 999px; font: 700 .66rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase;
    color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.jr-s-badge i { color: var(--ac); }
.jr-s-badge em { font-style: normal; letter-spacing: .08em; padding-left: .5rem; margin-left: .2rem; border-left: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7); }
.jr-s-prompt { color: rgba(238, 242, 255, .8); margin: .3rem 0 0; font-size: 1rem; }
.jr-note { margin: 1rem 0 0; font-size: .8rem; color: rgba(238, 242, 255, .66); }
.jr-note i { color: var(--ac); margin-right: .2rem; }
.jr-glass { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 1.1rem; }

/* rising in */
.jr-js .jr-s:not(.is-in) [data-a] { opacity: 0; }
.jr-s.is-in [data-a] { animation: jrUp .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 85ms + 80ms); }
@keyframes jrUp { from { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* themes */
.jr-s--hero     { --g1: #1B3A6B; --g2: #08101F; --o1: rgba(15, 143, 107, .55); --o2: rgba(201, 154, 46, .45); --ac: #F2C14E; }
.jr-s--agenda   { --g1: #1B2B55; --g2: #0A1124; --o1: rgba(111, 168, 255, .4); --o2: rgba(185, 140, 255, .3); --ac: #8FB4FF; }
.jr-s--excuse   { --g1: #3A1A1A; --g2: #140A0A; --o1: rgba(255, 122, 122, .35); --o2: rgba(255, 201, 77, .2); --ac: #FFB0A0; }
.jr-s--ayah     { --g1: #0B2E3F; --g2: #061520; --o1: rgba(231, 196, 106, .35); --o2: rgba(79, 227, 193, .22); --ac: #E7C46A; }
.jr-s--concept  { --g1: #2A1650; --g2: #100822; --o1: rgba(201, 167, 255, .4); --o2: rgba(255, 122, 162, .22); --ac: #C9A7FF; }
.jr-s--tip      { --g1: #0B4141; --g2: #041818; --o1: rgba(79, 227, 193, .45); --o2: rgba(111, 168, 255, .25); --ac: #4FE3C1; }
.jr-s--stat     { --g1: #3A2A08; --g2: #120C02; --o1: rgba(255, 201, 77, .42); --o2: rgba(255, 154, 61, .3); --ac: #FFC94D; }
.jr-s--chart    { --g1: #13306B; --g2: #071330; --o1: rgba(111, 168, 255, .45); --o2: rgba(79, 227, 193, .22); --ac: #6FA8FF; }
.jr-s--myth     { --g1: #4A1030; --g2: #16050E; --o1: rgba(255, 122, 162, .42); --o2: rgba(185, 140, 255, .28); --ac: #FF7AA2; }
.jr-s--steps    { --g1: #073B52; --g2: #031722; --o1: rgba(73, 198, 255, .4); --o2: rgba(79, 227, 193, .25); --ac: #49C6FF; }
.jr-s--compare  { --g1: #26213F; --g2: #0B0A16; --o1: rgba(255, 107, 139, .3); --o2: rgba(79, 227, 193, .3); --ac: #FFD27A; }
.jr-s--poll     { --g1: #33135C; --g2: #11061F; --o1: rgba(185, 140, 255, .45); --o2: rgba(111, 168, 255, .28); --ac: #B98CFF; }
.jr-s--scenario { --g1: #233066; --g2: #0A0F24; --o1: rgba(143, 180, 255, .4); --o2: rgba(255, 201, 77, .2); --ac: #8FB4FF; }
.jr-s--challenge{ --g1: #5A2208; --g2: #1A0902; --o1: rgba(255, 154, 61, .5); --o2: rgba(255, 201, 77, .3); --ac: #FF9A3D; }
.jr-s--audit    { --g1: #0B3D36; --g2: #031512; --o1: rgba(61, 219, 180, .42); --o2: rgba(255, 201, 77, .2); --ac: #3DDBB4; }
.jr-s--checkin  { --g1: #4A2E0A; --g2: #160D02; --o1: rgba(255, 184, 77, .45); --o2: rgba(255, 122, 162, .25); --ac: #FFB84D; }
.jr-s--reflect  { --g1: #23234F; --g2: #0A0A1E; --o1: rgba(169, 180, 255, .4); --o2: rgba(201, 167, 255, .25); --ac: #A9B4FF; }
.jr-s--task     { --g1: #124A26; --g2: #04170B; --o1: rgba(110, 231, 160, .42); --o2: rgba(79, 227, 193, .22); --ac: #6EE7A0; }
.jr-s--quiz     { --g1: #0D2F66; --g2: #040F24; --o1: rgba(95, 179, 255, .45); --o2: rgba(185, 140, 255, .25); --ac: #5FB3FF; }
.jr-s--rating   { --g1: #1E2F52; --g2: #08101E; --o1: rgba(242, 193, 78, .32); --o2: rgba(79, 227, 193, .25); --ac: #F2C14E; }
.jr-s--carry    { --g1: #0F3D33; --g2: #041510; --o1: rgba(123, 224, 195, .4); --o2: rgba(242, 193, 78, .28); --ac: #7BE0C3; }
.jr-s--letter   { --g1: #3A2A12; --g2: #120C04; --o1: rgba(242, 193, 78, .4); --o2: rgba(255, 122, 162, .22); --ac: #F2C14E; }
.jr-s--closing  { --g1: #1B3A6B; --g2: #08101F; --o1: rgba(242, 193, 78, .45); --o2: rgba(79, 227, 193, .4); --ac: #F2C14E; }
/* two light slides for contrast: the hadith and the letter, on parchment */
.jr-s--quote, .jr-s--letterback { --g1: #FFF8E6; --g2: #EFDDB0; --o1: rgba(201, 154, 46, .35); --o2: rgba(15, 143, 107, .18); --ac: #8A6514; color: var(--navy); }
.jr-s--quote .jr-s-badge, .jr-s--letterback .jr-s-badge { color: var(--gold-ink); background: rgba(138, 101, 20, .1); border-color: rgba(138, 101, 20, .25); }
.jr-s--quote::before, .jr-s--letterback::before { filter: blur(70px); }
.jr-player:has(.jr-s--quote.is-in, .jr-s--letterback.is-in) .jr-player-sub, .jr-player:has(.jr-s--quote.is-in, .jr-s--letterback.is-in) .jr-player-count { color: rgba(20, 33, 61, .7); }
.jr-player:has(.jr-s--quote.is-in, .jr-s--letterback.is-in) .jr-player-sub #jr-kind { color: var(--navy); }
.jr-player:has(.jr-s--quote.is-in, .jr-s--letterback.is-in) .jr-segs span { background: rgba(20, 33, 61, .15); }
.jr-player:has(.jr-s--quote.is-in, .jr-s--letterback.is-in) .jr-segs span.is-done i { background: var(--navy); }
.jr-player:has(.jr-s--quote.is-in, .jr-s--letterback.is-in) .jr-icon-btn--glass { background: rgba(20, 33, 61, .08); color: var(--navy); border-color: rgba(20, 33, 61, .15); }

/* cover */
.jr-s--hero .jr-s-in, .jr-s--ayah .jr-s-in, .jr-s--concept .jr-s-in, .jr-s--closing .jr-s-in { text-align: center; }
.jr-cover-ring { position: relative; width: min(230px, 60vw, 30vh); margin: 0 auto 1rem; }
.jr-cover-ring .jr-cover-n { font-size: clamp(2.6rem, 9vh, 4.4rem); }
.jr-cover-ring svg { display: block; width: 100%; overflow: visible; }
.jr-cover-track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.jr-cover-tick { stroke: rgba(255, 255, 255, .22); stroke-width: 2; stroke-linecap: round; }
.jr-cover-tick.is-on { stroke: #F2C14E; }
.jr-cover-arc { fill: none; stroke: url(#jr-g-ring); stroke-width: 10; stroke-linecap: round; stroke-dasharray: var(--to) 360; filter: drop-shadow(0 0 8px rgba(242, 193, 78, .55)); }
.jr-s--hero.is-in .jr-cover-arc { animation: jrArc 1.8s cubic-bezier(.2, .8, .2, 1) .2s both; }
@keyframes jrArc { from { stroke-dasharray: var(--from, 0) 360; } }
.jr-cover-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.jr-cover-ring small { font: 700 .7rem 'Space Grotesk', sans-serif; letter-spacing: .3em; color: rgba(255, 255, 255, .6); }
.jr-cover-n { font: 700 4.4rem/1 'Space Grotesk', sans-serif; color: #fff; text-shadow: 0 0 30px rgba(242, 193, 78, .45); }
.jr-cover-deg { font: 600 .8rem 'Space Grotesk', sans-serif; color: #F2C14E; margin-top: .2rem; }
.jr-s .jr-eyebrow { color: var(--ac); }
.jr-cover-title { font: 700 clamp(2.2rem, 9vw, 3.6rem)/1.05 'Amiri', serif; margin: .2rem 0 .3rem;
    background: linear-gradient(90deg, #fff 20%, #F2C14E 50%, #fff 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: jrShine 6s linear infinite; }
@keyframes jrShine { to { background-position: -200% 0; } }
.jr-cover-tag { color: rgba(238, 242, 255, .8); font-size: 1.05rem; margin: 0 0 1rem; }
.jr-cover-chips { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.jr-cover-chips li { padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); }
.jr-cover-chips i { color: var(--ac); margin-right: .25rem; }
.jr-swipe-hint { margin-top: 1rem; font-size: .76rem; color: rgba(255, 255, 255, .55); }
.jr-swipe-hint i { animation: jrNudge 1.6s ease-in-out infinite; }
@keyframes jrNudge { 50% { transform: translateX(8px); } }

/* buttons in the player */
.jr-btn--glow { background: linear-gradient(135deg, var(--ac, #4FE3C1), #fff 160%); color: #0A1020; box-shadow: 0 10px 30px -10px var(--ac, #4FE3C1); }
.jr-btn--glow:hover { background: linear-gradient(135deg, #fff, var(--ac, #4FE3C1)); }
.jr-btn--lg { min-height: 54px; padding: .8rem 2rem; font-size: 1.05rem; }
.jr-s--quote .jr-btn--glow, .jr-s--letterback .jr-btn--glow { color: #fff; background: var(--navy); }

/* today's journey */
.jr-agenda-stats { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.jr-agenda-stats li { padding: .8rem .4rem; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.jr-agenda-stats b { display: block; font: 700 1.7rem/1.1 'Space Grotesk', sans-serif; color: #fff; }
.jr-agenda-stats span { font-size: .7rem; color: rgba(255, 255, 255, .65); font-weight: 600; }
.jr-agenda-path { list-style: none; padding: 0 0 0 1.3rem; margin: 0; position: relative; display: grid; gap: .35rem; }
.jr-agenda-path::before { content: ''; position: absolute; left: .58rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(var(--ac), rgba(255, 255, 255, .1)); }
.jr-agenda-path li { position: relative; display: flex; align-items: center; gap: .65rem; font-size: .88rem; color: rgba(238, 242, 255, .85); }
.jr-agenda-path li i { position: relative; left: -1.3rem; margin-right: -1.3rem; width: 1.2rem; height: 1.2rem; display: grid; place-items: center; font-size: .6rem; border-radius: 50%;
    background: #1B2B55; color: var(--ac); box-shadow: 0 0 0 3px #142046; }
.jr-agenda-path li.is-req span::after { content: ' ★'; color: #F2C14E; font-size: .75em; }
.jr-agenda-path li.is-done span { text-decoration: line-through; text-decoration-color: rgba(79, 227, 193, .7); }
.jr-agenda-path li.is-done i { background: #4FE3C1; color: #0A1020; }

/* verse */
.jr-s--ayah .jr-s-in::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(520px, 110vw); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; opacity: .12;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23E7C46A' stroke-width='.8'%3E%3Crect x='40' y='40' width='120' height='120'/%3E%3Crect x='40' y='40' width='120' height='120' transform='rotate(45 100 100)'/%3E%3Ccircle cx='100' cy='100' r='60'/%3E%3Ccircle cx='100' cy='100' r='88'/%3E%3Crect x='60' y='60' width='80' height='80' transform='rotate(22.5 100 100)'/%3E%3Crect x='60' y='60' width='80' height='80' transform='rotate(67.5 100 100)'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
    animation: jrSpin 120s linear infinite; }
@keyframes jrSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.jr-ayah-ar { font: 400 clamp(1.8rem, 7vw, 2.7rem)/2 'Amiri', serif; margin: 1rem 0 .4rem; color: #fff; text-shadow: 0 0 24px rgba(231, 196, 106, .35); }
.jr-ayah-rule { display: flex; align-items: center; gap: .8rem; justify-content: center; color: #E7C46A; font-size: .85rem; margin: .4rem auto; max-width: 260px; }
.jr-ayah-rule::before, .jr-ayah-rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #E7C46A); }
.jr-ayah-rule::after { transform: scaleX(-1); }
.jr-ayah-en { font-size: clamp(1.05rem, 4vw, 1.25rem); color: rgba(238, 242, 255, .88); font-style: italic; line-height: 1.7; margin: .6rem 0; }
.jr-ayah-ref { display: inline-block; font: 700 .75rem 'Space Grotesk', sans-serif; letter-spacing: .14em; color: #0A1020; background: #E7C46A; padding: .3rem .8rem; border-radius: 999px; }

/* today's thought */
.jr-concept-h { font-size: clamp(1.8rem, 7vw, 2.8rem) !important; margin: .8rem 0 .8rem !important;
    background: linear-gradient(90deg, #fff, #C9A7FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jr-concept { font-size: clamp(1.1rem, 4.4vw, 1.4rem); line-height: 1.7; margin: 0 auto; max-width: 34rem; color: rgba(238, 242, 255, .9); }

/* tips */
.jr-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
@media (min-width: 720px) { .jr-tips { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } .jr-tip { flex-direction: column; } }
.jr-tip { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.05rem; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .25s, background .25s; }
.jr-tip:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }
.jr-tip-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-size: 1.15rem; color: #04201C;
    background: linear-gradient(135deg, var(--ac), #fff 170%); box-shadow: 0 10px 24px -10px var(--ac); }
.jr-tip strong { display: block; color: #fff; font-size: 1.02rem; }
.jr-tip p { margin: .2rem 0 0; font-size: .9rem; color: rgba(238, 242, 255, .76); }

/* big numbers */
.jr-nums { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.jr-nums--1 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .jr-nums--3 { grid-template-columns: repeat(3, 1fr); } .jr-nums--4 { grid-template-columns: repeat(4, 1fr); } }
.jr-num { position: relative; padding: 1.1rem .8rem 1rem; border-radius: 22px; text-align: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; }
.jr-num svg { position: absolute; left: 50%; top: .6rem; width: 96px; transform: translateX(-50%) rotate(-90deg); opacity: .9; }
.jr-num-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 6; }
.jr-num-arc { fill: none; stroke: var(--ac); stroke-width: 6; stroke-linecap: round; stroke-dasharray: var(--arc) 100; }
.jr-s.is-in .jr-num-arc { animation: jrNumArc 1.4s cubic-bezier(.2, .8, .2, 1) .3s both; }
@keyframes jrNumArc { from { stroke-dasharray: 0 100; } }
.jr-num b { position: relative; display: flex; align-items: center; justify-content: center; height: 96px; font: 700 clamp(1.6rem, 7vw, 2.3rem)/1 'Space Grotesk', sans-serif; color: #fff; text-shadow: 0 0 18px rgba(255, 201, 77, .4); }
.jr-num small { display: block; margin-top: .6rem; font-size: .8rem; line-height: 1.4; color: rgba(238, 242, 255, .78); }

/* bars */
.jr-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.jr-bar { display: grid; grid-template-columns: minmax(5.5rem, 8.5rem) minmax(0, 1fr) auto; align-items: center; gap: .7rem; }
.jr-bar-l { font-size: .84rem; font-weight: 600; color: rgba(238, 242, 255, .85); }
.jr-bar-t { height: 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.jr-bar-t i { display: block; height: 100%; width: var(--w); border-radius: 10px; background: linear-gradient(90deg, var(--c), #fff 220%); box-shadow: 0 0 16px -2px var(--c); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.jr-js .jr-s:not(.is-in) .jr-bar-t i { width: 0; }
.jr-s.is-in .jr-bar:nth-child(2) i { transition-delay: .1s; } .jr-s.is-in .jr-bar:nth-child(3) i { transition-delay: .2s; } .jr-s.is-in .jr-bar:nth-child(4) i { transition-delay: .3s; } .jr-s.is-in .jr-bar:nth-child(5) i { transition-delay: .4s; }
.jr-bar b { font: 700 .95rem 'Space Grotesk', sans-serif; color: #fff; min-width: 3.5rem; text-align: right; }
.jr-donut { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 560px) { .jr-donut { grid-template-columns: 220px 1fr; } }
.jr-donut svg { width: 100%; max-width: 220px; margin: 0 auto; display: block; }
.jr-donut-seg { fill: none; stroke-width: 30; }
.jr-legend2 { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .88rem; }
.jr-legend2 li { display: flex; align-items: center; gap: .5rem; } .jr-legend2 i { width: 12px; height: 12px; border-radius: 4px; } .jr-legend2 b { margin-left: auto; }

/* hadith (light) */
.jr-hadith { margin: 0; text-align: center; }
.jr-hadith-mark { font-size: 2.6rem; color: var(--gold); opacity: .6; }
.jr-hadith-ar { font: 400 clamp(1.5rem, 6vw, 2.2rem)/1.95 'Amiri', serif; color: var(--navy); margin: .5rem 0; }
.jr-hadith blockquote { margin: .6rem auto 1rem; max-width: 34rem; font: 400 clamp(1.15rem, 4.6vw, 1.5rem)/1.6 'Amiri', serif; color: #2A2A3A; }
.jr-hadith figcaption { display: inline-block; font: 700 .72rem 'Space Grotesk', sans-serif; letter-spacing: .1em; color: #fff; background: var(--gold-ink); padding: .35rem .85rem; border-radius: 999px; }
.jr-s--quote .jr-s-head { text-align: center; }

/* myth or fact */
.jr-flips { display: grid; gap: .8rem; }
@media (min-width: 640px) { .jr-flips { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.jr-flip { position: relative; display: block; width: 100%; min-height: 190px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; perspective: 1000px; }
.jr-flip-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.jr-flip.is-flipped .jr-flip-in { transform: rotateY(180deg); }
.jr-flip-f, .jr-flip-b { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.15rem; border-radius: 22px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.jr-flip-f { background: linear-gradient(145deg, rgba(255, 122, 162, .22), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 122, 162, .4); }
.jr-flip-b { transform: rotateY(180deg); background: linear-gradient(145deg, rgba(79, 227, 193, .25), rgba(255, 255, 255, .06)); border: 1px solid rgba(79, 227, 193, .45); }
.jr-flip em { font: 700 .66rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: #FF9BB8; }
.jr-flip-b em { color: #FF9BB8; text-decoration: line-through; }
.jr-flip-f > span, .jr-flip-b > span { flex: 1; font-size: 1.02rem; font-weight: 600; color: #fff; line-height: 1.45; }
.jr-flip-b > span { font-weight: 500; font-size: .95rem; }
.jr-flip small { font-size: .74rem; color: rgba(255, 255, 255, .6); }
.jr-flip-b small { color: #7BE0C3; font-weight: 700; }
.jr-flip:not(.is-flipped) .jr-flip-f small::after { content: ' ↻'; }

/* infographics */
.jr-timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: .55rem; }
.jr-timeline::before { content: ''; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--ac), rgba(255, 255, 255, .08)); transform-origin: top; transition: transform 1.2s ease .2s; }
.jr-js .jr-s:not(.is-in) .jr-timeline::before { transform: scaleY(0); }
.jr-timeline li { position: relative; display: flex; gap: .9rem; align-items: center; padding: .7rem .9rem .7rem 0; }
.jr-timeline-dot { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; z-index: 1; color: #031722; font-size: 1rem;
    background: radial-gradient(circle at 30% 30%, #fff, var(--ac) 70%); box-shadow: 0 0 0 5px rgba(73, 198, 255, .15), 0 8px 20px -8px var(--ac); }
.jr-timeline li > div { flex: 1; padding: .75rem .9rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.jr-timeline strong, .jr-ladder strong, .jr-grid4 strong { color: #fff; display: block; }
.jr-timeline p, .jr-ladder p, .jr-grid4 p { margin: .15rem 0 0; font-size: .86rem; color: rgba(238, 242, 255, .74); }

.jr-ladder { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column-reverse; gap: .5rem; }
.jr-ladder li { position: relative; display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border-radius: 16px;
    margin-left: calc(var(--k) * min(9%, 46px)); background: linear-gradient(90deg, rgba(255, 255, 255, calc(.05 + var(--k) * .03)), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid var(--ac); }
.jr-ladder-n { position: absolute; right: .8rem; top: .4rem; font: 700 1.6rem 'Space Grotesk', sans-serif; color: rgba(255, 255, 255, .08); }
.jr-ladder li > i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--ac); }

.jr-grid4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.jr-grid4-c { padding: 1rem .9rem; border-radius: 20px; min-height: 130px; border: 1px solid rgba(255, 255, 255, .12); }
.jr-grid4-c > i { font-size: 1.3rem; margin-bottom: .45rem; display: block; }
.jr-grid4-c--0 { background: linear-gradient(145deg, rgba(255, 107, 139, .3), rgba(255, 255, 255, .04)); } .jr-grid4-c--0 > i { color: #FF8FA8; }
.jr-grid4-c--1 { background: linear-gradient(145deg, rgba(79, 227, 193, .28), rgba(255, 255, 255, .04)); } .jr-grid4-c--1 > i { color: #4FE3C1; }
.jr-grid4-c--2 { background: linear-gradient(145deg, rgba(255, 201, 77, .26), rgba(255, 255, 255, .04)); } .jr-grid4-c--2 > i { color: #FFC94D; }
.jr-grid4-c--3 { background: linear-gradient(145deg, rgba(111, 168, 255, .28), rgba(255, 255, 255, .04)); } .jr-grid4-c--3 > i { color: #8FB4FF; }

.jr-cycle { position: relative; width: min(400px, 100%); aspect-ratio: 1; margin: 0 auto; }
.jr-cycle > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.jr-cycle-ring { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 2; stroke-dasharray: 2 4; }
.jr-cycle-run { fill: none; stroke: var(--ac); stroke-width: 3; stroke-linecap: round; stroke-dasharray: var(--run, 0) 100; transition: stroke-dasharray .8s ease; filter: drop-shadow(0 0 6px var(--ac)); }
.jr-cycle-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .3rem; width: 96px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; font: inherit; }
.jr-cycle-node i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; font-size: 1.15rem; background: #0B2C3D; border: 2px solid rgba(255, 255, 255, .2); color: var(--ac); transition: all .35s; }
.jr-cycle-node span { font-size: .74rem; font-weight: 700; line-height: 1.2; text-align: center; color: rgba(238, 242, 255, .8); }
.jr-cycle-node.is-on i { background: var(--ac); color: #031722; border-color: #fff; transform: scale(1.14); box-shadow: 0 0 0 8px rgba(73, 198, 255, .18), 0 0 30px var(--ac); }
.jr-cycle-node.is-on span { color: #fff; }
.jr-cycle-core { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); text-align: center; display: grid; gap: .25rem; }
.jr-cycle-core b { font: 700 1.05rem 'Space Grotesk', sans-serif; color: #fff; }
.jr-cycle-core span { font-size: .8rem; color: rgba(238, 242, 255, .78); line-height: 1.35; }
.jr-cycle-core.is-swap { animation: jrSwap .5s ease both; }
@keyframes jrSwap { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.jr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* compare */
.jr-vs { position: relative; display: grid; gap: .9rem; }
@media (min-width: 620px) { .jr-vs { grid-template-columns: 1fr 1fr; gap: 1.4rem; } }
.jr-vs-col { padding: 1.1rem; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12); }
.jr-vs-col--left { background: linear-gradient(160deg, rgba(255, 107, 139, .22), rgba(255, 255, 255, .03)); }
.jr-vs-col--right { background: linear-gradient(160deg, rgba(79, 227, 193, .24), rgba(255, 255, 255, .03)); }
.jr-vs-col h3 { font-size: 1.02rem; color: #fff; margin-bottom: .6rem; display: flex; gap: .5rem; align-items: center; }
.jr-vs-col--left h3 i { color: #FF8FA8; } .jr-vs-col--right h3 i { color: #4FE3C1; }
.jr-vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.jr-vs-col li { padding: .55rem .75rem; border-radius: 12px; background: rgba(0, 0, 0, .18); font-size: .9rem; color: rgba(238, 242, 255, .88); }
.jr-vs-badge { justify-self: center; display: grid; place-items: center; width: 50px; height: 50px; margin: -1.6rem 0; z-index: 1; border-radius: 50%;
    font: 700 .9rem 'Space Grotesk', sans-serif; color: #1A1206; background: radial-gradient(circle at 30% 30%, #fff, var(--ac)); box-shadow: 0 0 0 6px rgba(255, 210, 122, .15), 0 10px 26px -8px var(--ac); }
@media (min-width: 620px) { .jr-vs-badge { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); } }
.jr-s.is-in .jr-vs-badge { animation: jrPop .6s cubic-bezier(.3, 1.6, .5, 1) .5s both; }
@keyframes jrPop { from { transform: scale(0); } }
@media (min-width: 620px) { @keyframes jrPop { from { transform: translate(-50%, -50%) scale(0); } } }

/* forms inside slides */
.jr-player .jr-activity { background: none; box-shadow: none; padding: 0; margin: 0; text-align: left; color: inherit; }
.jr-player .jr-activity-foot { display: flex; align-items: center; justify-content: flex-end; gap: .9rem; margin-top: 1.2rem; }
.jr-player .jr-saved { margin-right: auto; color: #7BE0C3; font-weight: 700; font-size: .86rem; }
.jr-s.is-saved .jr-s-badge::after { content: '\f058'; font: 900 .8rem 'Font Awesome 6 Free'; color: #7BE0C3; margin-left: .3rem; }

.jr-player .jr-check { border: 0; padding: 1rem; margin: 0 0 .8rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.jr-player .jr-check legend { float: left; width: 100%; font-weight: 700; color: #fff; margin-bottom: .7rem; padding: 0; }
.jr-player .jr-choices { clear: both; }
.jr-player .jr-choices span { background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .14); color: #fff; min-width: 54px; min-height: 54px; border-radius: 16px; }
.jr-player .jr-choices--emoji span { font-size: 1.8rem; transition: transform .2s; }
.jr-player .jr-choices--emoji label:hover span { transform: translateY(-3px) scale(1.06); }
.jr-player .jr-choices input:checked + span { border-color: var(--ac); background: rgba(255, 255, 255, .18); transform: scale(1.1); box-shadow: 0 0 22px -4px var(--ac); }

.jr-write { border-radius: 20px; padding: .35rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .2s, box-shadow .2s; }
.jr-write:focus-within { border-color: var(--ac); box-shadow: 0 0 0 4px rgba(169, 180, 255, .15); }
.jr-player .jr-write textarea { display: block; width: 100%; min-height: 180px; padding: .9rem 1rem; border: 0; border-radius: 16px; background: transparent; color: #fff; font: 400 1.02rem/1.65 'Plus Jakarta Sans', sans-serif; resize: vertical; }
.jr-player .jr-write textarea:focus { outline: none; }
.jr-player .jr-write textarea::placeholder { color: rgba(238, 242, 255, .45); }
.jr-write-foot { display: flex; align-items: center; gap: .7rem; padding: 0 .7rem .5rem; }
.jr-meter { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.jr-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ac), #7BE0C3); transition: width .3s; }
.jr-player .jr-counter { margin: 0; font-size: .74rem; color: rgba(238, 242, 255, .6); }
.jr-player .jr-counter.is-ok { color: #7BE0C3; }
.jr-private { margin: .6rem 0 0; font-size: .76rem; color: rgba(238, 242, 255, .55); }
.jr-player .jr-sealed { background: rgba(242, 193, 78, .1); border-color: rgba(242, 193, 78, .5); }
.jr-player .jr-sealed p { color: rgba(238, 242, 255, .85); }

.jr-player .jr-steps { gap: .6rem; }
.jr-player .jr-steps label { align-items: center; padding: .9rem 1rem; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, border-color .25s; }
.jr-player .jr-steps input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jr-tick { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .3); color: transparent; transition: all .3s cubic-bezier(.3, 1.6, .5, 1); }
.jr-player .jr-steps input:checked ~ .jr-tick { background: var(--ac); border-color: var(--ac); color: #04170B; transform: rotate(-8deg) scale(1.08); }
.jr-player .jr-steps input:checked ~ span:last-child { color: #fff; font-weight: 600; text-decoration: line-through; text-decoration-color: rgba(110, 231, 160, .6); }
.jr-player .jr-steps label:has(input:checked) { background: rgba(110, 231, 160, .12); border-color: rgba(110, 231, 160, .45); }
.jr-player .jr-steps input:focus-visible ~ .jr-tick { outline: 3px solid var(--amber); }

.jr-player .jr-quiz { gap: 1rem; }
.jr-player .jr-q { padding: 1rem; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.jr-player .jr-q-text { color: #fff; display: flex; gap: .6rem; align-items: flex-start; }
.jr-player .jr-q-text::before { content: none; }
.jr-q-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ac); color: #040F24; font: 700 .85rem 'Space Grotesk', sans-serif; }
.jr-player .jr-q-opt { background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .12); color: #fff; border-radius: 14px; transition: all .2s; }
.jr-player .jr-q-opt:hover { background: rgba(255, 255, 255, .1); }
.jr-player .jr-q-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jr-q-letter { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .12); font: 700 .78rem 'Space Grotesk', sans-serif; margin-right: .1rem; }
.jr-player .jr-q-opt:has(input:checked) { border-color: var(--ac); background: rgba(95, 179, 255, .16); }
.jr-player .jr-q-opt:has(input:checked) .jr-q-letter { background: var(--ac); color: #040F24; }
.jr-player .jr-q-opt:has(input:focus-visible) { outline: 3px solid var(--amber); }
.jr-player .jr-q-opt.is-right { border-color: #4FE3C1; background: rgba(79, 227, 193, .16); }
.jr-player .jr-q-opt.is-right::after { color: #4FE3C1; }
.jr-player .jr-q-opt.is-wrong { border-color: #FF6B8B; background: rgba(255, 107, 139, .14); animation: jrShake .4s; }
@keyframes jrShake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.jr-player .jr-q-explain { background: rgba(242, 193, 78, .12); color: #FFE7A8; }
.jr-player .jr-q-explain i { color: #F2C14E; }
.jr-quiz-score { margin: 1rem 0 0; font-weight: 700; color: #7BE0C3; }

.jr-player .jr-rate { background: rgba(255, 255, 255, .06); }
.jr-player .jr-rate legend { color: #fff; }
.jr-player .jr-rating-scale { color: rgba(238, 242, 255, .6); }
.jr-player .jr-rate-row span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.jr-player .jr-rate-row input:checked + span { background: var(--ac); border-color: var(--ac); color: #08101E; }

/* poll */
.jr-poll { display: grid; gap: .6rem; }
.jr-poll-opt { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 58px; padding: .7rem 1rem; border-radius: 18px; overflow: hidden; cursor: pointer;
    background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .12); transition: border-color .25s, transform .15s; }
.jr-poll-opt:hover { transform: translateX(3px); }
.jr-poll-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jr-poll-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(185, 140, 255, .45), rgba(185, 140, 255, .12)); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); z-index: 0; }
.has-results .jr-poll-fill { width: var(--p); }
.jr-poll-mark { position: relative; z-index: 1; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); color: transparent; font-size: .7rem; transition: all .25s; }
.jr-poll-t { position: relative; z-index: 1; flex: 1; font-weight: 600; color: #fff; }
.jr-poll-pct { position: relative; z-index: 1; font: 700 .95rem 'Space Grotesk', sans-serif; color: #fff; }
.jr-poll-opt:has(input:checked) { border-color: var(--ac); }
.jr-poll-opt:has(input:checked) .jr-poll-mark { background: var(--ac); border-color: var(--ac); color: #11061F; }
.jr-poll-opt:has(input:focus-visible) { outline: 3px solid var(--amber); }
.jr-poll-opt:has(input:disabled) { cursor: default; }
.jr-poll-note { margin: .8rem 0 0; font-size: .8rem; color: rgba(238, 242, 255, .65); }

/* scenario */
.jr-story { position: relative; display: flex; gap: .8rem; padding: 1.1rem 1.15rem; margin-bottom: 1rem; border-radius: 22px 22px 22px 6px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.jr-story > i { flex: none; font-size: 1.4rem; color: var(--ac); }
.jr-story p { margin: 0; font-size: 1.05rem; line-height: 1.55; color: #fff; }
.jr-scn { display: grid; gap: .6rem; }
.jr-scn-opt { display: grid; gap: .5rem; padding: .85rem 1rem; border-radius: 18px; cursor: pointer; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .12); transition: all .3s; }
.jr-scn-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jr-scn-t { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; color: #fff; }
.jr-scn-fb { display: none; font-size: .88rem; line-height: 1.45; color: rgba(238, 242, 255, .85); padding-top: .5rem; border-top: 1px dashed rgba(255, 255, 255, .15); }
.jr-scn-fb i { color: var(--ac); }
.jr-scn-pct { display: block; margin-top: .3rem; font-style: normal; font-size: .74rem; font-weight: 700; color: rgba(238, 242, 255, .6); }
.jr-scn.is-open .jr-scn-fb { display: block; animation: jrUp .5s ease both; }
.jr-scn.is-open .jr-scn-opt { opacity: .62; }
.jr-scn.is-open .jr-scn-opt:has(input:checked), .jr-scn.is-open .jr-scn-opt.is-best { opacity: 1; }
.jr-scn.is-open .jr-scn-opt.is-best { border-color: #4FE3C1; background: rgba(79, 227, 193, .12); }
.jr-scn.is-open .jr-scn-opt.is-best .jr-scn-fb i { color: #F2C14E; }
.jr-scn-opt:has(input:checked) { border-color: var(--ac); box-shadow: 0 0 24px -8px var(--ac); }
.jr-scn-opt:has(input:focus-visible) { outline: 3px solid var(--amber); }

/* challenge */
.jr-levels { display: grid; gap: .7rem; }
@media (min-width: 680px) { .jr-levels { grid-template-columns: repeat(3, 1fr); } .jr-level { flex-direction: column; text-align: center; } }
.jr-level { position: relative; display: flex; gap: .9rem; align-items: center; padding: 1rem; border-radius: 22px; cursor: pointer; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .12); transition: all .3s cubic-bezier(.3, 1.4, .5, 1); }
.jr-level:hover { transform: translateY(-4px); }
.jr-level input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jr-level-medal { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; font-size: 1.4rem; color: #fff; }
.jr-level--0 .jr-level-medal { background: linear-gradient(135deg, #3DDBB4, #0F8F6B); }
.jr-level--1 .jr-level-medal { background: linear-gradient(135deg, #FFB84D, #F0592A); }
.jr-level--2 .jr-level-medal { background: linear-gradient(135deg, #FFE08A, #C99A2E); color: #4A2E00; }
.jr-level-t strong { display: block; font: 700 .72rem 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); }
.jr-level-t span { font-size: .92rem; color: #fff; }
.jr-level:has(input:checked) { border-color: var(--ac); background: rgba(255, 154, 61, .16); transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 40px -18px var(--ac); }
.jr-level:has(input:checked) .jr-level-medal { animation: jrBounce .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes jrBounce { 40% { transform: scale(1.25) rotate(-10deg); } }
.jr-level:has(input:focus-visible) { outline: 3px solid var(--amber); }
.jr-stamp { display: none; width: max-content; margin: 1.1rem auto 0; padding: .45rem 1.1rem; border: 3px solid #F2C14E; border-radius: 12px; font: 700 1rem 'Space Grotesk', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #F2C14E; transform: rotate(-6deg); }
.jr-stamp.is-on { display: block; animation: jrStamp .55s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes jrStamp { from { opacity: 0; transform: rotate(-6deg) scale(2.4); } }

/* my day — sliders and a ring */
.jr-audit { display: grid; gap: 1.1rem; align-items: center; }
@media (min-width: 680px) { .jr-audit { grid-template-columns: 220px 1fr; } .jr-audit-msg { grid-column: 1 / -1; } }
.jr-audit-chart { position: relative; width: min(220px, 64vw); margin: 0 auto; }
.jr-audit-chart svg { display: block; width: 100%; }
.jr-audit-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 22; }
.jr-audit-track--in { stroke-width: 10; }
.jr-audit-seg { fill: none; stroke-width: 22; transition: stroke-dasharray .35s, stroke-dashoffset .35s; }
[data-audit-prev] .jr-audit-seg { stroke-width: 10; opacity: .55; }
.jr-audit-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.jr-audit-mid b { font: 700 2rem/1 'Space Grotesk', sans-serif; color: #fff; }
.jr-audit-mid small { font-size: .72rem; color: rgba(238, 242, 255, .6); margin-top: .2rem; }
.jr-audit-list { display: grid; gap: .55rem; }
.jr-audit-row { display: grid; grid-template-columns: minmax(0, 1fr) 3rem; gap: .2rem .7rem; align-items: center; padding: .55rem .8rem; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.jr-audit-l { grid-column: 1 / -1; display: flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: #fff; }
.jr-audit-l > i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.jr-audit-was { margin-left: auto; font-size: .7rem; color: rgba(238, 242, 255, .55); font-weight: 600; }
.jr-audit-row output { font: 700 .95rem 'Space Grotesk', sans-serif; color: #fff; text-align: right; }
.jr-audit-row input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--c) var(--v, 0%), rgba(255, 255, 255, .12) var(--v, 0%)); outline: none; }
.jr-audit-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--c); box-shadow: 0 2px 10px rgba(0, 0, 0, .4); cursor: pointer; }
.jr-audit-row input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--c); cursor: pointer; }
.jr-audit-row input[type=range]:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.jr-audit-msg { margin: 0; font-size: .82rem; font-weight: 700; color: #7BE0C3; text-align: center; }
.jr-audit-msg.is-bad { color: #FF9BB3; }

/* 2.5 — check-in: stars, a 0–10 slider, a short answer; anchors under a scale */
.jr-opt { font: 600 .66rem 'Space Grotesk', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: rgba(238, 242, 255, .5); margin-left: .3rem; }
.jr-anchors { clear: both; display: flex; justify-content: space-between; gap: 1rem; margin: .45rem .1rem 0; font-size: .74rem; color: rgba(238, 242, 255, .6); }
.jr-anchors--ticks { margin-top: .2rem; padding: 0 10px; font: 600 .66rem 'Space Grotesk', sans-serif; color: rgba(238, 242, 255, .4); }
.jr-player .jr-short { clear: both; display: block; width: 100%; min-height: 50px; padding: .7rem 1rem; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); color: #fff; font: 500 1rem 'Plus Jakarta Sans', sans-serif; }
.jr-player .jr-short:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 4px rgba(255, 184, 77, .15); }
.jr-player .jr-short::placeholder { color: rgba(238, 242, 255, .45); }
.jr-stars { clear: both; display: inline-flex; flex-direction: row-reverse; gap: .3rem; }
.jr-stars label { position: relative; }
.jr-stars input { position: absolute; opacity: 0; inset: 0; }
.jr-stars span { display: grid; place-items: center; width: 50px; height: 50px; font-size: 1.7rem; color: rgba(255, 255, 255, .2); cursor: pointer; transition: transform .15s, color .15s; }
.jr-stars label:hover span, .jr-stars label:hover ~ label span,
.jr-stars label:has(input:checked) span, .jr-stars label:has(input:checked) ~ label span { color: #FFC94D; text-shadow: 0 0 18px rgba(255, 201, 77, .55); }
.jr-stars label:has(input:checked) span { transform: scale(1.12); }
.jr-stars input:focus-visible + span { outline: 3px solid var(--amber); border-radius: 12px; }
.jr-stars input:disabled + span { cursor: default; }
.jr-slide10 { clear: both; display: grid; grid-template-columns: minmax(0, 1fr) 3rem; gap: .9rem; align-items: center; }
.jr-slide10 input { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 10px; outline: none;
    background: linear-gradient(90deg, var(--ac) var(--v, 50%), rgba(255, 255, 255, .12) var(--v, 50%)); }
.jr-slide10 input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 5px solid var(--ac); box-shadow: 0 2px 12px rgba(0, 0, 0, .45); cursor: pointer; }
.jr-slide10 input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--ac); cursor: pointer; }
.jr-slide10 input:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
.jr-slide10 output { display: grid; place-items: center; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); font: 700 1.2rem 'Space Grotesk', sans-serif; color: #fff; }

/* sentence starters above a written answer */
.jr-starters { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .7rem; }
.jr-starters small { font: 700 .66rem 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(238, 242, 255, .55); margin-right: .2rem; }
.jr-starters button { padding: .4rem .8rem; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); color: rgba(238, 242, 255, .9); font: 500 .82rem 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: all .15s; }
.jr-starters button:hover { border-style: solid; border-color: var(--ac); color: #fff; background: rgba(255, 255, 255, .1); }

/* a poll with several answers: square marks; the others rest at the limit */
.jr-poll--multi .jr-poll-mark { border-radius: 8px; }
.jr-poll-opt.is-resting { opacity: .45; }

/* the agree scale */
.jr-s--likert { --g1: #123C5C; --g2: #05141F; --o1: rgba(84, 214, 255, .38); --o2: rgba(185, 140, 255, .25); --ac: #54D6FF; }
.jr-s--rank   { --g1: #3D1F5C; --g2: #12081F; --o1: rgba(255, 143, 199, .38); --o2: rgba(255, 201, 77, .22); --ac: #FF8FC7; }
.jr-likert { display: grid; gap: .7rem; }
.jr-lk { border: 0; margin: 0; padding: 1rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.jr-lk legend { float: left; width: 100%; padding: 0; margin-bottom: .7rem; font-weight: 700; color: #fff; }
.jr-lk-row { clear: both; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: .35rem; }
.jr-lk-row label { position: relative; }
.jr-lk-row input { position: absolute; opacity: 0; inset: 0; }
.jr-lk-row span { display: grid; justify-items: center; align-content: start; gap: .3rem; min-height: 50px; padding: .55rem .2rem; border-radius: 14px; cursor: pointer; text-align: center;
    background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .12); transition: all .15s; }
.jr-lk-row b { font: 700 1rem 'Space Grotesk', sans-serif; color: #fff; }
.jr-lk-row small { font-size: .66rem; line-height: 1.2; color: rgba(238, 242, 255, .6); }
.jr-lk-row label:hover span { background: rgba(255, 255, 255, .1); }
.jr-lk-row input:checked + span { border-color: var(--ac); background: rgba(84, 214, 255, .18); box-shadow: 0 0 20px -6px var(--ac); transform: translateY(-2px); }
.jr-lk-row input:checked + span small { color: #fff; }
.jr-lk-row input:focus-visible + span { outline: 3px solid var(--amber); }
.jr-lk-row input:disabled + span { cursor: default; }
@media (max-width: 560px) {
    .jr-lk-row small { display: none; }
    .jr-lk-row label:first-child small, .jr-lk-row label:last-child small, .jr-lk-row input:checked + span small { display: block; }
}
.jr-lk-avg { display: grid; gap: .25rem; margin-top: .7rem; }
.jr-lk-track { position: relative; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 107, 139, .5), rgba(255, 255, 255, .15), rgba(79, 227, 193, .55)); }
.jr-lk-track i { position: absolute; top: 50%; left: var(--p); width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; box-shadow: 0 0 0 4px rgba(84, 214, 255, .35); transition: left 1s cubic-bezier(.2, .8, .2, 1); }
.jr-lk-avg small { font-size: .74rem; color: rgba(238, 242, 255, .65); }
.jr-lk-avg b { color: #fff; }

/* rank it */
.jr-rank { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.jr-rank-i { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 58px; padding: .55rem .6rem .55rem .7rem; border-radius: 18px;
    background: rgba(255, 255, 255, .07); border: 2px solid rgba(255, 255, 255, .12); transition: box-shadow .2s, border-color .2s, background .2s; touch-action: pan-y; }
.jr-rank-i.is-drag { z-index: 2; border-color: var(--ac); background: rgba(61, 31, 92, .95); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 4px rgba(255, 143, 199, .2); transition: none; }
.jr-rank-i.is-moved { animation: jrRankIn .35s ease; }
@keyframes jrRankIn { from { background: rgba(255, 143, 199, .25); } }
.jr-rank-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--ac); color: #12081F; font: 700 .95rem 'Space Grotesk', sans-serif; }
.jr-rank-i:nth-child(n+4) .jr-rank-n { background: rgba(255, 255, 255, .14); color: #fff; }
.jr-rank-t { flex: 1; min-width: 0; font-weight: 600; color: #fff; }
.jr-rank-avg { font: 700 .72rem 'Space Grotesk', sans-serif; font-style: normal; color: #FFC94D; white-space: nowrap; }
.jr-rank-btns { display: flex; flex-direction: column; gap: 2px; }
.jr-rank-btns button { width: 30px; height: 20px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); font-size: .65rem; cursor: pointer; }
.jr-rank-btns button:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.jr-rank-i:first-child [data-rank-move="-1"], .jr-rank-i:last-child [data-rank-move="1"] { visibility: hidden; }
.jr-rank-grip { flex: none; display: grid; place-items: center; width: 34px; height: 44px; border-radius: 10px; color: rgba(255, 255, 255, .5); cursor: grab; touch-action: none; }
.jr-rank-grip:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.jr-rank-i.is-drag .jr-rank-grip { cursor: grabbing; }

/* mentor reply inside a slide */
.jr-player .jr-reply { background: rgba(79, 227, 193, .12); border: 1px solid rgba(79, 227, 193, .3); }
.jr-player .jr-reply p, .jr-player .jr-reply strong { color: #fff; }
.jr-player .jr-reply small { color: rgba(238, 242, 255, .6); }
.jr-player .jr-reply > i { color: #4FE3C1; }

/* takeaways */
.jr-carry { list-style: none; counter-reset: c; padding: 0; margin: 0; display: grid; gap: .65rem; }
.jr-carry li { counter-increment: c; position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem 1rem 3.4rem; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-weight: 600; color: #fff; }
.jr-carry li::before { content: counter(c); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--ac); color: #041510; font: 700 .85rem 'Space Grotesk', sans-serif; }
.jr-carry li > i { color: var(--ac); }
.jr-carry li.is-do { background: linear-gradient(120deg, rgba(242, 193, 78, .25), rgba(255, 255, 255, .05)); border-color: rgba(242, 193, 78, .5); }
.jr-carry li.is-do::before { content: '\f0e7'; font: 900 .8rem 'Font Awesome 6 Free'; background: #F2C14E; }
.jr-carry small { display: block; font: 700 .64rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #F2C14E; }

/* closing */
.jr-close-ring { position: relative; width: min(200px, 56vw); margin: 0 auto 1rem; }
.jr-close-ring svg { display: block; width: 100%; }
.jr-close-arc { fill: none; stroke: url(#jr-g-ring); stroke-width: 10; stroke-linecap: round; stroke-dasharray: var(--to) 360; transition: stroke-dasharray 1.8s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 0 10px rgba(242, 193, 78, .6)); }
.jr-close-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.jr-close-ring b { font: 700 2.8rem/1 'Space Grotesk', sans-serif; color: #fff; }
.jr-close-ring small { font-size: .74rem; color: rgba(238, 242, 255, .6); }
.jr-s--closing.is-done .jr-close-ring::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(242, 193, 78, .45); animation: jrSpin2 18s linear infinite; }
@keyframes jrSpin2 { to { transform: rotate(360deg); } }
.jr-s--closing #jr-closing-text { margin: 0 auto 1.2rem; max-width: 30rem; }
.jr-player .jr-vote { margin: 0 auto 1.3rem; padding: 1rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); max-width: 30rem; }
.jr-player .jr-vote p { color: #fff; }
.jr-player .jr-vote .jr-choices span { font-size: .85rem; min-height: 46px; }

/* letter (light) */
.jr-s--letterback .jr-letter { box-shadow: 0 30px 60px -30px rgba(90, 60, 10, .45); }
.jr-s--letterback .jr-note { color: var(--ink-soft); }

/* excuse */
.jr-player .jr-excuse textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.jr-player .jr-excuse textarea::placeholder { color: rgba(238, 242, 255, .45); }

/* nav */
.jr-player-nav { grid-row: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .55rem max(14px, env(safe-area-inset-right)) calc(.7rem + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    background: linear-gradient(0deg, rgba(10, 16, 32, .85), rgba(10, 16, 32, 0)); }
.jr-player-top { background: linear-gradient(180deg, rgba(10, 16, 32, .75), rgba(10, 16, 32, 0)); }
.jr-player:has(.jr-s--quote.is-in, .jr-s--letterback.is-in) .jr-player-nav { background: linear-gradient(0deg, rgba(255, 248, 230, .9), rgba(255, 248, 230, 0)); }
.jr-player:has(.jr-s--quote.is-in, .jr-s--letterback.is-in) .jr-player-top { background: linear-gradient(180deg, rgba(255, 248, 230, .85), rgba(255, 248, 230, 0)); }
.jr-player .jr-dots { display: none; }
@media (min-width: 900px) { .jr-player .jr-dots { display: flex; } }
.jr-player .jr-dots button { width: 8px; height: 8px; background: rgba(255, 255, 255, .25); }
.jr-player .jr-dots button.is-on { background: #fff; transform: scale(1.4); }
.jr-player .jr-dots button.is-done { background: #4FE3C1; }
.jr-next { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.3rem; border: 0; border-radius: 999px; cursor: pointer;
    background: #fff; color: #0A1020; font: 700 .92rem 'Plus Jakarta Sans', sans-serif; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6); transition: transform .15s, opacity .2s; }
.jr-next:hover { transform: translateX(2px); }
.jr-next:active { transform: scale(.96); }
.jr-next[disabled] { opacity: 0; pointer-events: none; }
.jr-next i { transition: transform .2s; } .jr-next:hover i { transform: translateX(3px); }

.jr-toast { position: fixed; left: 50%; bottom: calc(5.2rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; max-width: calc(100vw - 32px);
    padding: .75rem 1.15rem; border-radius: 14px; background: #fff; color: #0A1020; font-size: .9rem; font-weight: 700; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); animation: jrUp .35s ease both; }
.jr-toast.is-error { background: #FF6B8B; color: #fff; }
.jr-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

@media (min-width: 900px) {
    .jr-s { padding-left: 6rem; padding-right: 6rem; }
}

/* light mode / reduced motion: still pretty, nothing drifting, no blur */
.jr-lite .jr-s::before, .jr-lite .jr-s::after, .jr-lite .jr-hero2-bg span { animation: none; }
.jr-lite .jr-icon-btn--glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
.jr-lite .jr-s--ayah .jr-s-in::before { animation: none; }
.jr-lite .jr-cover-title { animation: none; }
.jr-lite.jr-js .jr-s:not(.is-in) [data-a], .jr-lite.jr-js .jr-home [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .jr-js .jr-s:not(.is-in) [data-a], .jr-js .jr-home [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}

/* Older content may name an icon Font Awesome 6 Free lacks. */
.fa-hands-holding-heart::before { content: "\f4be"; }

/* =====================================================================
   2.2 — THE DASHBOARD IN TWO COLUMNS: the 30 days always in sight
   Wide screens: the main column beside a sticky sidebar (.jr-path)
   that scrolls by itself. Phones: one column, and the sidebar becomes
   a strip right under "Today" (order), sliding to the current day.
   ===================================================================== */
.jr-home { max-width: 1260px; }
.jr-home-cols { display: flex; flex-direction: column; }
.jr-home-main { display: contents; }
.jr-home-main > * { order: 0; }
.jr-home-main > .jr-weeks, .jr-home-main > .jr-tools, .jr-home-main > .jr-home-grid { order: 2; }
.jr-path { order: 1; margin: 0 0 1.4rem; }
@media (min-width: 1100px) {
    .jr-home-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.4rem; align-items: start; }
    .jr-home-main { display: block; min-width: 0; }
    .jr-path { position: sticky; top: calc(76px + var(--pv-h, 0px)); margin: 0; max-height: calc(100vh - 96px - var(--pv-h, 0px)); display: flex; flex-direction: column; }
}

.jr-path { border-radius: 24px; padding: 1.1rem 1rem .9rem; color: #EEF2FF; overflow: hidden;
    background: radial-gradient(120% 80% at 100% 0%, #1B3A6B 0%, #0E1D3D 55%, #0A1530 100%); box-shadow: 0 24px 50px -28px rgba(10, 21, 48, .75); }
.jr-path-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 0 .3rem; }
.jr-path-head small { font: 700 .64rem 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #F2C14E; }
.jr-path-head h2 { margin: .15rem 0 0; font: 700 1.6rem/1 'Space Grotesk', sans-serif; color: #fff; }
.jr-path-head h2 span { font-size: .85rem; font-weight: 600; color: #9FB0D4; }
.jr-path-deg { font: 700 1rem 'Space Grotesk', sans-serif; color: #4FE3C1; padding: .3rem .65rem; border-radius: 999px; background: rgba(79, 227, 193, .12); }
.jr-path-bar { height: 6px; margin: .8rem .3rem .7rem; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.jr-path-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #4FE3C1, #F2C14E); }
.jr-path-list { list-style: none; margin: 0; padding: 0; }
.jr-path-week { display: flex; align-items: baseline; gap: .45rem; padding: .7rem .4rem .3rem; }
.jr-path-week span { font: 700 .62rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--wk, #4FE3C1); }
.jr-path-week b { font-size: .8rem; color: #DDE4F5; }
.jr-path-week em { margin-left: auto; font: 700 .7rem 'Space Grotesk', sans-serif; font-style: normal; color: #9FB0D4; }
.jr-path .jr-week-emerald { --wk: #4FE3C1; } .jr-path .jr-week-navy { --wk: #8FB4FF; } .jr-path .jr-week-amber { --wk: #FFB86B; } .jr-path .jr-week-gold { --wk: #F2C14E; }
.jr-pd { position: relative; display: flex; align-items: center; gap: .65rem; padding: .45rem .5rem; border-radius: 14px; color: #EEF2FF; text-decoration: none; transition: background .2s, transform .2s; }
a.jr-pd:hover { background: rgba(255, 255, 255, .07); transform: translateX(3px); }
.jr-pd-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font: 700 .82rem 'Space Grotesk', sans-serif;
    background: rgba(255, 255, 255, .08); color: #C9D3EA; border: 1.5px solid rgba(255, 255, 255, .1); }
.jr-pd-t { flex: 1; min-width: 0; display: grid; }
.jr-pd-t b { font-size: .84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jr-pd-t small { font-size: .68rem; color: #8C9CC0; }
.jr-pd-s { flex: none; font-size: .85rem; color: #5D6C8E; }
.jr-pd--completed .jr-pd-n, .jr-pd--excused_done .jr-pd-n { background: var(--wk, #4FE3C1); border-color: transparent; color: #0A1530; }
.jr-pd--completed .jr-pd-s, .jr-pd--excused_done .jr-pd-s { color: #4FE3C1; }
.jr-pd--open .jr-pd-n, .jr-pd--open_waiting .jr-pd-n, .jr-pd--excused_open .jr-pd-n { border-color: #F2C14E; color: #F2C14E; }
.jr-pd--open .jr-pd-s, .jr-pd--open_waiting .jr-pd-s, .jr-pd--excused_open .jr-pd-s { color: #F2C14E; }
.jr-pd--absent .jr-pd-n { background: rgba(255, 107, 139, .2); border-color: #FF6B8B; color: #FF9BB3; } .jr-pd--absent .jr-pd-s { color: #FF6B8B; }
.jr-pd--missed .jr-pd-n, .jr-pd--excused_closed .jr-pd-n { opacity: .6; } .jr-pd--excuse_pending .jr-pd-s { color: #FFC98A; }
.jr-pd--locked { opacity: .55; }
.jr-pd.is-today { background: linear-gradient(90deg, rgba(242, 193, 78, .22), rgba(242, 193, 78, .04)); box-shadow: inset 3px 0 0 #F2C14E; }
.jr-pd.is-today .jr-pd-n { animation: jrPulseDay 2.2s ease-in-out infinite; }
.jr-pd.is-today .jr-pd-t small { color: #F2C14E; font-weight: 700; }
@keyframes jrPulseDay { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 193, 78, .5); } 50% { box-shadow: 0 0 0 7px rgba(242, 193, 78, 0); } }
.jr-path-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin: .7rem .3rem 0; padding: .7rem 0 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .68rem; color: #9FB0D4; }
.jr-path-legend li { display: inline-flex; align-items: center; gap: .3rem; }
.jr-pd-dot { width: 9px; height: 9px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.jr-pd-dot.jr-pd--completed { background: #4FE3C1; } .jr-pd-dot.jr-pd--open { background: #F2C14E; } .jr-pd-dot.jr-pd--absent { background: #FF6B8B; } .jr-pd-dot.jr-pd--missed { background: #5D6C8E; }

/* wide: the list scrolls inside the sidebar */
@media (min-width: 1100px) {
    .jr-path-list { flex: 1; overflow-y: auto; margin-right: -.4rem; padding-right: .4rem; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
}
/* narrow: a strip that slides sideways */
@media (max-width: 1099.98px) {
    .jr-path-list { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .5rem; scrollbar-width: none; }
    .jr-path-list::-webkit-scrollbar { display: none; }
    .jr-path-week { flex: none; flex-direction: column; justify-content: center; gap: .1rem; width: 84px; padding: .5rem .55rem; border-radius: 14px; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--wk); }
    .jr-path-week em { margin-left: 0; }
    .jr-path-day { flex: none; scroll-snap-align: start; }
    .jr-pd { flex-direction: column; align-items: flex-start; gap: .45rem; width: 128px; height: 100%; padding: .65rem .65rem .6rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
    a.jr-pd:hover { transform: translateY(-2px); }
    .jr-pd-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
    .jr-pd-s { position: absolute; top: .7rem; right: .65rem; }
    .jr-pd.is-today { box-shadow: inset 0 3px 0 #F2C14E; border-color: rgba(242, 193, 78, .5); }
}
.jr-lite .jr-pd.is-today .jr-pd-n { animation: none; }

/* =====================================================================
   2.2 — MY CERTIFICATE (before it is issued)
   ===================================================================== */
.jr-certx { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1.2rem; align-items: center; margin: .4rem 0 1rem; padding: clamp(1.4rem, 4vw, 2.2rem);
    border-radius: 28px; color: #EEF2FF; background: radial-gradient(120% 140% at 0% 0%, #1B3A6B 0%, #0E1D3D 50%, #0A1530 100%); box-shadow: 0 30px 60px -30px rgba(10, 21, 48, .7); }
@media (min-width: 640px) { .jr-certx { grid-template-columns: 170px minmax(0, 1fr); } }
.jr-certx-bg { position: absolute; inset: 0; z-index: -1; }
.jr-certx-bg span { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; animation: jrFloat 16s ease-in-out infinite alternate; }
.jr-certx-bg span:first-child { width: 260px; height: 260px; left: -70px; top: -90px; background: #C99A2E; }
.jr-certx-bg span:last-child { width: 220px; height: 220px; right: -60px; bottom: -100px; background: #0F8F6B; animation-duration: 20s; }
.jr-certx-medal { position: relative; width: 150px; margin: 0 auto; overflow: hidden; border-radius: 50% 50% 18px 18px; }
.jr-certx-medal svg { display: block; width: 100%; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .45)); animation: jrMedal 5s ease-in-out infinite; }
@keyframes jrMedal { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-4px); } }
.jr-certx-shine { position: absolute; top: 0; left: -60%; width: 40%; height: 70%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: jrShineMove 3.6s ease-in-out infinite; }
@keyframes jrShineMove { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.jr-certx-text .jr-eyebrow { color: #F2C14E; }
.jr-certx-text h1 { margin: .2rem 0 .5rem; font: 700 clamp(1.7rem, 5.5vw, 2.5rem)/1.12 'Amiri', serif; color: #fff; }
.jr-certx-text p { margin: 0; color: rgba(238, 242, 255, .82); }
.jr-certx-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 760px) { .jr-certx-steps { grid-template-columns: repeat(3, 1fr); } }
.jr-cert-page { max-width: 980px; }
.jr-certx-steps li { position: relative; display: flex; gap: .85rem; padding: 1.1rem; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); border-top: 4px solid var(--mist); }
.jr-certx-steps li.is-ok { border-top-color: var(--emerald); }
.jr-certx-steps li.is-now { border-top-color: var(--gold); box-shadow: var(--shadow), 0 0 0 2px rgba(201, 154, 46, .35); }
.jr-certx-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--mist); color: var(--ink-soft); font: 700 1rem 'Space Grotesk', sans-serif; }
.is-ok .jr-certx-n { background: var(--emerald); color: #fff; }
.is-now .jr-certx-n { background: linear-gradient(135deg, #F2C14E, #C99A2E); color: #2B1700; }
.jr-certx-steps small { font: 700 .62rem 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.jr-certx-steps h3 { font-size: 1.02rem; margin: .1rem 0 .3rem; }
.jr-certx-steps p { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.jr-certx-steps .jr-btn { margin-top: .7rem; min-height: 40px; padding: .5rem 1rem; font-size: .85rem; }
.jr-certx-bar { display: block; height: 6px; margin-top: .6rem; border-radius: 6px; background: var(--mist); overflow: hidden; }
.jr-certx-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--emerald), var(--gold)); }
.jr-lite .jr-certx-medal svg, .jr-lite .jr-certx-shine, .jr-lite .jr-certx-bg span { animation: none; }

/* =====================================================================
   2.4 — MY PROFILE on the dashboard: how complete, and the button
   ===================================================================== */
.jr-prof { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1rem; align-items: center; margin: 0 0 1.25rem; padding: 1rem 1.1rem;
    border-radius: 20px; background: linear-gradient(120deg, #FFF8E6 0%, #fff 60%); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(201, 154, 46, .35); }
.jr-prof::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 154, 46, .18), transparent 70%); }
.jr-prof.is-full { background: linear-gradient(120deg, #E3F2EC 0%, #fff 60%); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(15, 143, 107, .3); }
.jr-prof-ring { position: relative; width: 72px; }
.jr-prof-ring svg { display: block; width: 100%; }
.jr-prof-track { fill: none; stroke: var(--mist); stroke-width: 8; }
.jr-prof-arc { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round; stroke-dasharray: var(--p) 100; transition: stroke-dasharray 1.4s cubic-bezier(.2, .8, .2, 1) .3s; }
.jr-prof.is-full .jr-prof-arc { stroke: var(--emerald); }
.jr-js .jr-prof:not(.is-in) .jr-prof-arc { stroke-dasharray: 0 100; }
.jr-prof-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; font: 700 1.05rem 'Space Grotesk', sans-serif; color: var(--navy); }
.jr-prof-t small { font: 700 .64rem 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.jr-prof.is-full .jr-prof-t small { color: var(--emerald-deep); }
.jr-prof-t h2 { margin: .1rem 0 .2rem; font-size: 1.08rem; }
.jr-prof-t p { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.jr-prof-btn { position: relative; z-index: 1; grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: 0 1.3rem; border-radius: 999px;
    background: linear-gradient(135deg, #C99A2E, #A87F1F); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 12px 24px -12px rgba(168, 127, 31, .9); transition: transform .15s; }
.jr-prof-btn:hover { transform: translateY(-2px); }
.jr-prof.is-full .jr-prof-btn { background: var(--paper); color: var(--emerald-deep); box-shadow: inset 0 0 0 2px rgba(6, 95, 70, .35); }
.jr-prof:not(.is-full) .jr-prof-btn { animation: jrProfNudge 3s ease-in-out 1.5s infinite; }
@keyframes jrProfNudge { 0%, 85%, 100% { transform: none; } 90% { transform: translateY(-3px); } 95% { transform: translateY(1px); } }
@media (min-width: 640px) { .jr-prof { grid-template-columns: auto minmax(0, 1fr) auto; } .jr-prof-btn { grid-column: auto; } }
.jr-me-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .9rem; }
.jr-me-foot .jr-hint { margin: 0; }
.jr-lite .jr-prof-btn { animation: none; }

/* =====================================================================
   FEEDBACK SURVEY (/journey/survey) — a formal document: a cover with
   a seal, the sections as lettered chapters, contents beside them (a
   strip on phones), a navy bar at the bottom with progress and Send.
   Once sent: the same cover with a stamp, and the answers as a receipt.
   ===================================================================== */
.svp { max-width: 1080px; padding-bottom: calc(8rem + env(safe-area-inset-bottom)); }
body.jr-survey-body {
    background-image:
        radial-gradient(circle at 12% -8%, rgba(201, 154, 46, .12), transparent 42%),
        radial-gradient(circle at 105% 18%, rgba(20, 33, 61, .07), transparent 40%),
        repeating-linear-gradient(45deg, rgba(20, 33, 61, .018) 0 1px, transparent 1px 14px);
}

/* ---- The cover ---- */
.svp-cover {
    position: relative; margin: .4rem 0 1.6rem; padding: 10px; border-radius: 6px;
    background: var(--paper); box-shadow: 0 30px 60px -40px rgba(20, 33, 61, .55), 0 1px 2px rgba(20, 33, 61, .06);
}
.svp-cover-in {
    position: relative; overflow: hidden; padding: 2.4rem 1.4rem 1.8rem; text-align: center;
    border: 1px solid rgba(201, 154, 46, .55); outline: 1px solid rgba(201, 154, 46, .3); outline-offset: -6px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 154, 46, .1), transparent 60%),
        linear-gradient(#fff, #FDFBF5);
}
.svp-cover-in::before, .svp-cover-in::after {
    content: '◆'; position: absolute; top: 12px; font-size: .55rem; color: var(--gold);
}
.svp-cover-in::before { left: 14px; }
.svp-cover-in::after  { right: 14px; }

.svp-seal { position: relative; width: 112px; height: 112px; margin: 0 auto 1.1rem; }
.svp-seal svg { width: 100%; height: 100%; animation: svp-turn 40s linear infinite; }
.svp-seal-o { fill: none; stroke: var(--gold); stroke-width: 1; }
.svp-seal-i { fill: var(--navy); stroke: var(--gold); stroke-width: 2; }
.svp-seal text { font: 700 8.2px 'Space Grotesk', sans-serif; letter-spacing: .5px; fill: var(--gold-ink); }
.svp-seal > span {
    position: absolute; inset: 0; display: grid; place-items: center;
    font: 700 1.05rem 'Space Grotesk', sans-serif; color: #F6E7BF; letter-spacing: .02em;
}
.svp--sent .svp-seal-i { fill: var(--emerald-deep); }
.svp--sent .svp-seal > span { font-size: 1.5rem; }
@keyframes svp-turn { to { transform: rotate(360deg); } }

.svp-kicker { margin: 0 0 .5rem; font: 700 .72rem 'Space Grotesk', sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-ink); }
.svp-cover h1 { margin: 0 auto; max-width: 22ch; font-family: 'Amiri', serif; font-size: clamp(1.9rem, 6.4vw, 2.9rem); line-height: 1.15; font-weight: 700; color: var(--navy); }
.svp-sub { margin: .55rem 0 0; font-size: .92rem; color: var(--ink-soft); font-style: italic; }
.svp-orn { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 1.1rem auto; max-width: 260px; color: var(--gold); }
.svp-orn i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.svp-orn i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.svp-orn b { font-size: .7rem; font-weight: 400; }
.svp-hello { margin: 0 0 .25rem; font-weight: 700; color: var(--navy); }
.svp-intro { margin: 0 auto; max-width: 56ch; color: var(--ink-soft); font-size: .97rem; }

.svp-facts {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.6rem 0 0; padding: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.svp-facts div { padding: .8rem .5rem; min-width: 0; }
.svp-facts div + div { border-left: 1px solid var(--line); }
.svp-facts dt { font: 700 .64rem 'Space Grotesk', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.svp-facts dd { margin: .2rem 0 0; font-weight: 700; color: var(--navy); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
    .svp-facts { grid-template-columns: 1fr 1fr; }
    .svp-facts div:nth-child(3) { border-left: 0; }
    .svp-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.svp-lock {
    display: inline-flex; gap: .65rem; align-items: center; margin-top: 1.2rem; padding: .7rem 1.1rem; border-radius: 999px;
    background: var(--navy); color: #fff; font-size: .88rem; line-height: 1.45; text-align: left;
}
.svp-lock i { color: var(--gold); }
.svp-lock--preview { background: #FFE9B8; color: #3A2600; }
.svp-lock--preview i { color: #3A2600; }
.svp-stamp {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; padding: .5rem 1rem;
    border: 2px solid var(--emerald); border-radius: 8px; color: var(--emerald-deep); font: 700 .78rem 'Space Grotesk', sans-serif;
    letter-spacing: .06em; text-transform: uppercase; transform: rotate(-1.5deg); background: rgba(15, 143, 107, .05);
}
.svp-cover-btn { display: flex; width: max-content; margin: 1.2rem auto 0; }

/* ---- Contents + chapters ---- */
.svp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.svp-layout > * { min-width: 0; }
@media (min-width: 980px) { .svp-layout { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }

.svp-toc { position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 10; }
.svp-toc-title { margin: 0 0 .6rem; font: 700 .68rem 'Space Grotesk', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.svp-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.svp-toc a {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem;
    padding: .6rem .75rem; border-radius: 10px; text-decoration: none; color: var(--ink-soft); font-size: .86rem; font-weight: 600;
    background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, color .2s;
}
.svp-toc a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%);
    background: linear-gradient(90deg, var(--gold), var(--emerald)); transition: width .35s ease;
}
.svp-toc-mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-ink); font: 700 .72rem 'Space Grotesk', sans-serif; }
.svp-toc-name { line-height: 1.3; }
.svp-toc-n { font: 600 .72rem 'Space Grotesk', sans-serif; color: var(--muted); }
.svp-toc a.is-current { border-color: var(--navy); color: var(--navy); }
.svp-toc a.is-complete .svp-toc-mark { background: var(--emerald-deep); border-color: var(--emerald-deep); color: #fff; }
.svp-toc a.is-complete .svp-toc-n { color: var(--emerald-deep); }
@media (max-width: 979px) {
    .svp-toc { margin: 0 -16px; padding: .5rem 16px; background: rgba(251, 247, 238, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
    .svp-toc-title { display: none; }
    .svp-toc ol { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
    .svp-toc ol::-webkit-scrollbar { display: none; }
    .svp-toc li { flex: none; }
    .svp-toc a { grid-template-columns: auto auto; padding: .4rem .7rem .45rem .45rem; border-radius: 999px; }
    .svp-toc-name { display: none; }
    .svp-toc a.is-current .svp-toc-name { display: inline; white-space: nowrap; }
    .svp-toc a.is-current { grid-template-columns: auto auto auto; }
}

.svp-chap { margin: 0 0 1.4rem; background: var(--paper); border-radius: 6px; box-shadow: var(--shadow); scroll-margin-top: 130px; overflow: hidden; }
@media (min-width: 980px) { .svp-chap { scroll-margin-top: 80px; } }
.svp-chap-head {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
    padding: 1.2rem 1.25rem; background: linear-gradient(120deg, var(--navy), #1F3260); color: #fff;
}
.svp-chap-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 70%); }
.svp-mark {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 5px rgba(201, 154, 46, .45);
    font: 700 1.35rem 'Cinzel Decorative', serif; color: #F6E7BF;
}
.svp-chap-kicker { margin: 0; font: 700 .64rem 'Space Grotesk', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 231, 191, .8); }
.svp-chap-head h2 { margin: .1rem 0 0; font-family: 'Amiri', serif; font-size: clamp(1.3rem, 4.6vw, 1.6rem); line-height: 1.2; color: #fff; }
.svp-chap-help { margin: .25rem 0 0; font-size: .84rem; color: rgba(255, 255, 255, .72); }
.svp-chap-count { align-self: start; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font: 700 .74rem 'Space Grotesk', sans-serif; color: #F6E7BF; white-space: nowrap; }
.svp-chap.is-complete .svp-chap-count { background: var(--gold); color: var(--navy); }
.svp-chap-body { padding: .3rem 1.25rem .6rem; }
@media (max-width: 520px) {
    .svp-chap-head { grid-template-columns: auto 1fr; padding: 1rem; gap: .8rem; }
    .svp-chap-count { grid-column: 2; justify-self: start; }
    .svp-mark { width: 44px; height: 44px; font-size: 1.1rem; }
    .svp-chap-body { padding: .2rem 1rem .5rem; }
}

/* ---- One question ---- */
.svp-q { margin: 0; padding: 1.1rem 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; position: relative; }
.svp-q:last-child { border-bottom: 0; }
.svp-q legend { float: left; width: 100%; display: flex; gap: .75rem; align-items: baseline; padding: 0; margin-bottom: .75rem; font-weight: 700; line-height: 1.45; color: var(--navy); }
.svp-q legend + * { clear: both; }
.svp-num { flex: none; font: 700 .78rem 'Space Grotesk', sans-serif; color: var(--gold-ink); letter-spacing: .04em; min-width: 1.6rem; transition: color .2s; }
.svp-q.is-done .svp-num { color: var(--emerald); }
.svp-q.is-done .svp-num::after { content: ' ✓'; }
.svp-label em { color: var(--rose); font-style: normal; }
.svp-label small { font-weight: 500; color: var(--muted); }
.svp-help { clear: both; margin: -.35rem 0 .75rem 2.35rem; font-size: .85rem; color: var(--muted); }
.svp-q.is-missing::before { content: ''; position: absolute; left: -1.25rem; top: 0; bottom: 0; width: 4px; background: var(--rose); }
.svp-q.is-missing legend { color: #8C1D33; }
.svp-err { margin: .6rem 0 0; font-size: .85rem; font-weight: 700; color: #8C1D33; }

/* Ratings: on wide screens the label and the scale share a row. */
@media (min-width: 720px) {
    .svp-q--rating { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: .4rem 1.5rem; align-items: center; }
    .svp-q--rating legend { width: auto; margin: 0; }   /* still floated: a floated legend is a plain grid item */
    .svp-q--rating .svp-help, .svp-q--rating .svp-err { grid-column: 1 / -1; margin-left: 2.35rem; }
    .svp-q--rating .svp-help { margin-top: -.2rem; grid-row: 2; }
}
.svp-rate {
    display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
    border: 1.5px solid rgba(20, 33, 61, .18); border-radius: 10px; overflow: hidden; background: var(--ivory);
}
.svp-rate-btn, .svp-opt { position: relative; cursor: pointer; }
.svp-rate-btn input, .svp-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svp-rate-btn span {
    display: grid; place-items: center; height: 46px; border-left: 1px solid rgba(20, 33, 61, .1);
    font: 700 1.05rem 'Space Grotesk', sans-serif; color: var(--ink-soft); transition: background .15s, color .15s;
}
.svp-rate-btn:first-child span { border-left: 0; }
.svp-rate-btn:hover span { background: rgba(201, 154, 46, .14); }
/* Everything up to the chosen value fills in, like a level. */
.svp-rate-btn:has(~ .svp-rate-btn input:checked) span { background: rgba(201, 154, 46, .2); color: var(--gold-ink); }
.svp-rate-btn input:checked + span { background: var(--navy); color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
.svp-rate-btn input:focus-visible + span, .svp-opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: -3px; }
.svp-rate-ends { display: flex; justify-content: space-between; margin-top: .3rem; font: 600 .66rem 'Space Grotesk', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.svp-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .5rem; }
.svp-opts--row { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
.svp-opt span {
    display: flex; align-items: center; gap: .6rem; height: 100%; min-height: 46px; padding: .6rem .9rem; border-radius: 10px;
    border: 1.5px solid rgba(20, 33, 61, .14); background: var(--ivory); font-weight: 600; font-size: .92rem; color: var(--ink-soft);
    transition: background .15s, border-color .15s, color .15s;
}
.svp-opts--row .svp-opt span { justify-content: center; }
.svp-opt span i { color: var(--muted); }
.svp-opt:hover span { border-color: var(--gold); }
.svp-opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.svp-opt input:checked + span i { color: var(--gold); }
.svp-opt input:checked + span i::before { content: '\f058'; font-weight: 900; }
.svp-q--multi .svp-opt input:checked + span i::before { content: '\f14a'; font-weight: 900; }

.svp-input { width: 100%; min-height: 48px; padding: .75rem .9rem; border-radius: 10px; border: 1.5px solid rgba(20, 33, 61, .14); background: var(--ivory); color: var(--navy); font: inherit; font-size: 1rem; }
.svp-input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201, 154, 46, .15); }
/* Long answers: ruled paper. */
textarea.svp-lined {
    resize: vertical; min-height: 116px; padding: .55rem .9rem; line-height: 2rem; border-radius: 6px;
    background: #fff repeating-linear-gradient(transparent 0 calc(2rem - 1px), rgba(20, 33, 61, .1) calc(2rem - 1px) 2rem);
    background-attachment: local; border-left: 3px solid rgba(214, 69, 96, .35);
}

.svp-sign { margin: .4rem 0 0; text-align: center; font-size: .84rem; color: var(--muted); font-style: italic; }
.svp-sign i { color: var(--gold); margin-right: .3rem; }

/* ---- The bar ---- */
.svp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: .8rem max(16px, env(safe-area-inset-right)) calc(.8rem + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(20, 33, 61, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -16px 40px -24px rgba(20, 33, 61, .7); color: #fff;
}
.svp-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.svp-bar-in { max-width: 1048px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.svp-bar-progress { flex: 1 1 12rem; display: grid; gap: .35rem; font-size: .82rem; color: rgba(255, 255, 255, .78); }
.svp-bar-progress b { color: #F6E7BF; font-family: 'Space Grotesk', sans-serif; }
.svp-meter { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.svp-meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), #F6E7BF); transition: width .3s ease; }
.svp-bar .jr-error { flex-basis: 100%; order: -1; margin: 0; }
.svp-send { flex: 0 1 auto; background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px -10px rgba(201, 154, 46, .9); }
.svp-send:hover { background: #D9AB3E; }
@media (max-width: 520px) { .svp-send { flex: 1 1 100%; } }

/* ---- Once sent: the receipt ---- */
.svp-receipt { max-width: 820px; margin: 0 auto; display: grid; gap: 1.2rem; }
.svp-receipt-chap { background: var(--paper); border-radius: 6px; box-shadow: var(--shadow); padding: 1.2rem 1.25rem; }
.svp-receipt-chap h2 { display: flex; align-items: center; gap: .8rem; margin: 0 0 .5rem; font-family: 'Amiri', serif; font-size: 1.35rem; color: var(--navy); }
.svp-receipt-chap .svp-mark { width: 40px; height: 40px; font-size: 1rem; background: var(--navy); }
.svp-receipt dl { margin: 0; }
.svp-receipt dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.svp-receipt dl div:last-child { border-bottom: 0; }
.svp-receipt dt { font-size: .88rem; color: var(--ink-soft); }
.svp-receipt dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; max-width: 50ch; }
@media (max-width: 560px) { .svp-receipt dl div { grid-template-columns: 1fr; gap: .15rem; } .svp-receipt dd { text-align: left; } }
.svp-none { color: var(--muted); font-weight: 400; }

.jr-lite .svp-seal svg { animation: none; }
@media (prefers-reduced-motion: reduce) { .svp-seal svg { animation: none; } }

/* YM360 contrast patch 2.7.3 */
.jr-s .jr-s-prompt { color: #EEF2FF; }
.jr-s--quote .jr-s-prompt, .jr-s--letterback .jr-s-prompt,
.jr-s--quote .jr-note, .jr-s--letterback .jr-note { color: #344054; }
.jr-s--quote h1, .jr-s--quote h2,
.jr-s--letterback h1, .jr-s--letterback h2 { color: #14213D; }
/* YM360 source lesson presentation 2.8.0 */
.jr-player[data-day="2"] .jr-s { --g1:#143f4a;--g2:#051b27;--ac:#74e2cf;--o1:rgba(116,226,207,.22);--o2:rgba(241,195,105,.18); }
.jr-player[data-day="3"] .jr-s { --g1:#323257;--g2:#10172d;--ac:#b9bcff;--o1:rgba(175,174,255,.23);--o2:rgba(88,227,183,.16); }
.jr-player[data-day="4"] .jr-s { --g1:#493018;--g2:#20170f;--ac:#ffc679;--o1:rgba(255,179,80,.22);--o2:rgba(83,181,139,.12); }
.jr-player[data-day="5"] .jr-s { --g1:#173e38;--g2:#071e1d;--ac:#aedccc;--o1:rgba(151,215,192,.21);--o2:rgba(230,198,127,.15); }
.jr-player[data-day="6"] .jr-s { --g1:#123d57;--g2:#081827;--ac:#74d9f5;--o1:rgba(78,205,248,.24);--o2:rgba(135,120,247,.19); }
.jr-player[data-day="7"] .jr-s { --g1:#3d3154;--g2:#171629;--ac:#f4d58d;--o1:rgba(231,186,101,.19);--o2:rgba(195,155,238,.21); }
.jr-source-kicker { color:var(--ac,#b9e6dc);font-size:.72rem;letter-spacing:.07em;line-height:1.6;margin:0 0 .85rem;font-weight:700; }
.jr-source-cards { display:grid;gap:1rem;margin:1rem 0 1.3rem;text-align:left; }
.jr-source-card { position:relative;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:linear-gradient(140deg,rgba(255,255,255,.09),rgba(255,255,255,.025));padding:1.25rem 1.25rem 1.25rem 3.5rem;box-shadow:0 12px 28px rgba(0,0,0,.1);overflow:auto; }
.jr-source-card-mark { position:absolute;left:1.1rem;top:1.2rem;color:var(--ac,#a5e8d8);font:700 .7rem 'Space Grotesk',sans-serif;letter-spacing:.1em; }
.jr-source-copy { color:#f0f3f9;font-size:clamp(.96rem,2vw,1.08rem);line-height:1.85;overflow-wrap:anywhere; }
.jr-source-copy p { margin:.5rem 0 .9rem; }
.jr-source-copy :is(strong,b,h3,h4) { color:#fff; }
.jr-source-copy :is(h3,h4) { font:700 1.08rem/1.6 'Space Grotesk',sans-serif;margin:.65rem 0; }
.jr-source-copy :is(.arabic,.ar,[lang="ar"]) { font-family:'Amiri',serif;direction:rtl;text-align:right;font-size:clamp(1.6rem,5vw,2.2rem);line-height:2.1;color:#f4dc9e;display:block;margin:.75rem 0; }
.jr-source-copy :is(.reference,.source,.eyebrow,.pill) { color:var(--ac,#b5dfcf);font-weight:700;font-size:.8rem;line-height:1.8; }
.jr-source-copy :is(.small,.muted,small) { color:#d9e1ec;font-size:.88em; }
.jr-source-copy .flow,.jr-source-copy .timeline { display:flex;flex-wrap:wrap;gap:.8rem; }
.jr-source-copy :is(.node,.time,.tile) { padding:.8rem;border-radius:12px;background:rgba(255,255,255,.055);margin:.4rem 0; }
.jr-source-copy :is(.node,.time) { flex:1 1 100px; }
.jr-source-copy .node :is(b,small) { display:block; }
.jr-source-copy table { width:100%;border-collapse:collapse;min-width:450px;font-size:.91em; }
.jr-source-copy :is(th,td) { padding:.8rem .7rem;border-bottom:1px solid rgba(255,255,255,.16);vertical-align:top;text-align:left; }
.jr-source-copy th { color:var(--ac,#b5dfcf);font-size:.85em; }
.jr-source-copy a { color:#c0e8ff;text-decoration:underline; }
.jr-source-copy ul,.jr-source-copy ol { padding-left:1.2rem; }
.jr-source-copy li { margin:.5rem 0; }
.jr-source-card--quotation { border-color:rgba(231,196,106,.3);background:linear-gradient(130deg,rgba(231,196,106,.08),rgba(255,255,255,.03)); }
.jr-personal-profile { padding:1rem;border:1px solid rgba(255,255,255,.16);border-radius:22px;background:rgba(255,255,255,.04); }
.jr-profile-row { margin:1rem 0;line-height:1.6; }
.jr-profile-row progress { accent-color:var(--ac,#4fe3c1);height:.65rem;border:0;border-radius:8px;overflow:hidden; }
.jr-profile-row progress::-webkit-progress-bar { background:rgba(255,255,255,.12); }
.jr-profile-row progress::-webkit-progress-value { background:var(--ac,#4fe3c1);transition:width .45s ease; }
.jr-personal-profile [data-profile-polygon] { transition:all .45s ease; }
.jr-long-answer { resize:vertical;min-height:100px;line-height:1.7; }
.jr-player :is(.jr-poll-opt,.jr-stars label,.jr-choices span) { transition:transform .18s ease,background-color .18s ease,border-color .18s ease; }
.jr-player :is(.jr-poll-opt,.jr-stars label):hover { transform:translateY(-2px); }
.jr-s.is-in .jr-source-card { animation:jrSourceRise .55s cubic-bezier(.2,.7,.3,1) both;animation-delay:calc(min(var(--d,0),7)*55ms); }
@keyframes jrSourceRise { from { opacity:0;transform:translateY(18px); } to { opacity:1;transform:translateY(0); } }
@media(max-width:600px) { .jr-source-card { padding:1rem 1rem 1rem 2.8rem;border-radius:17px; }.jr-source-card-mark{left:.85rem;top:1rem;}.jr-source-copy table{min-width:380px;} }
@media(prefers-reduced-motion:reduce) { .jr-s.is-in .jr-source-card { animation:none!important; }.jr-personal-profile [data-profile-polygon],.jr-profile-row progress::-webkit-progress-value,.jr-player :is(.jr-poll-opt,.jr-stars label,.jr-choices span) { transition:none!important; }.jr-player :is(.jr-poll-opt,.jr-stars label):hover { transform:none; } }

.jr-live-plan{margin:1rem 0;padding:1rem;border-left:3px solid var(--ac,#4fe3c1);border-radius:12px;background:rgba(255,255,255,.07);line-height:1.8;color:#f2f5fb;}

/* =====================================================================
   CATCH-UP — the days open to complete late (Journey states catchup_open,
   catchup_done). Same colours as the excused ones: amber while open,
   green when done.
   ===================================================================== */
.jr-seg--catchup_open { stroke: var(--amber); }
.jr-seg--catchup_done { stroke: #4FB08E; }
.jr-state--catchup_open { background: #FDEBD7; color: var(--amber-ink); }
.jr-state--catchup_done { background: #DDF1E8; color: var(--emerald-deep); }
.jr-day--catchup_done .jr-day-n { background: #4FB08E; color: #fff; } .jr-day--catchup_done > i { color: #4FB08E; }
.jr-day--catchup_open .jr-day-n { background: var(--amber); color: #2B1700; }
.jr-day-dot.jr-day--catchup_open { background: var(--amber); }
.jr-day-dot.jr-day--catchup_done { background: #4FB08E; }
.jr-hero2-ring .jr-seg--catchup_done { stroke: #7BE0C3; }
.jr-hero2-ring .jr-seg--catchup_open { stroke: #F2C14E; }
.jr-pd--catchup_done .jr-pd-n { background: var(--wk, #4FE3C1); border-color: transparent; color: #0A1530; }
.jr-pd--catchup_done .jr-pd-s { color: #4FE3C1; }
.jr-pd--catchup_open .jr-pd-n { border-color: #F2C14E; color: #F2C14E; }
.jr-pd--catchup_open .jr-pd-s { color: #F2C14E; }

/* The Grand Finale on the dashboard (Finale) — a dark gold card that leads to /journey/finale. */
.fn-teaser { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.25rem; padding: 1rem 1.1rem; border-radius: 18px; text-decoration: none; color: #EEF2FF;
             background: radial-gradient(120% 140% at 100% 0%, rgba(242, 193, 78, .32), transparent 55%), linear-gradient(135deg, #FFFDF6, #FBF3DE 60%, #EEF7F2);
             border: 1px solid rgba(201, 154, 46, .35); color: var(--navy); box-shadow: 0 18px 36px -26px rgba(138, 101, 20, .7); transition: transform .15s ease; }
.fn-teaser:hover { transform: translateY(-2px); }
.fn-teaser-icon { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.25rem; color: #2A1D00;
                  background: radial-gradient(circle at 35% 30%, #FFE8A3, #F2C14E 45%, #C99A2E); box-shadow: 0 0 0 6px rgba(242, 193, 78, .12); }
.fn-teaser-text { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.fn-teaser-text small { font: 700 .66rem 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); }
.fn-teaser-text strong { font: 700 1.2rem 'Amiri', serif; color: var(--gold-ink); }
.fn-teaser-text span { font-size: .85rem; color: var(--ink-soft); }
.fn-teaser-go { color: var(--gold); }
.fn-teaser.is-ready .fn-teaser-icon { animation: fn-tease 2.4s ease-in-out infinite; }
@keyframes fn-tease { 50% { box-shadow: 0 0 0 12px rgba(242, 193, 78, .04); } }
