/* ---------- Espace apprentissage ---------- */
.coral { --g1: #ff7a3c; --g2: #ff2e7e; --tone: var(--coral); }
.mango { --g1: #ffb21e; --g2: #ff6b3c; --tone: #e07800; }
.teal { --g1: #19c2ab; --g2: #3a7bd5; --tone: #0d8f86; }
.violet { --g1: #8a5cff; --g2: #ff2e7e; --tone: var(--violet); }

.page.wide { max-width: 1220px; }
.ln-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 60px 0; color: var(--muted); font-weight: 600; }
.ln-kicker { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .78rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--rasp); }
.ln-kicker.light { color: rgba(255, 255, 255, .9); }
.ln-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff4dc; color: #8a5200; border-radius: 14px; padding: 10px 14px; font-size: .92rem; }
.ln-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 0; }
.ln-back:hover { color: var(--coral); }
.ln-h2 { margin: 34px 0 16px; font-size: 1.6rem; }

.ln-bar { display: block; height: 8px; border-radius: 99px; background: #f4e6da; overflow: hidden; }
.ln-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff7a3c, #ff2e7e, #7c4dff); transition: width .8s var(--smooth); }

.ln-ring { position: relative; width: var(--size); height: var(--size); flex: none; }
.ln-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ln-ring-bg { fill: none; stroke: rgba(124, 77, 255, .12); }
.ln-ring-fg { fill: none; stroke: url(#ln-rg); stroke-linecap: round; animation: ln-ring 1.2s var(--smooth) both; }
@keyframes ln-ring { from { stroke-dashoffset: var(--c); } }
.ln-ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ln-ring-txt b { font-family: var(--font-title); font-size: calc(var(--size) * .24); }
.ln-ring-txt span { font-size: .72rem; color: var(--muted); max-width: calc(var(--size) * .7); margin: 2px auto 0; }

.ln-cover { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.ln-art { display: grid; place-items: center; background: linear-gradient(135deg, var(--g1), var(--g2)); position: relative; }
.ln-art::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(40% 60% at 20% 20%, rgba(255, 255, 255, .35), transparent 70%),
  radial-gradient(30% 50% at 85% 90%, rgba(255, 255, 255, .22), transparent 70%); }
.ln-art span { position: relative; font-size: 2.4rem; color: #fff; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .2)); }
.ln-cover.sm { width: 64px; aspect-ratio: 1; border-radius: 14px; }
.ln-cover.sm span { font-size: 1.4rem; }

/* Rejoindre */
.ln-join { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: 40px; align-items: center; min-height: 70vh; }
.ln-join-card { padding: 30px; }
.ln-join-card h1 { margin: 8px 0; font-size: 2.3rem; }
.ln-code { letter-spacing: 6px; text-transform: uppercase; }
.ln-join-art { position: relative; height: 420px; }
.ln-join-art::before { content: ""; position: absolute; inset: 10% 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 60, .25), rgba(124, 77, 255, .14) 55%, transparent 72%); filter: blur(10px); }
.ln-float { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow-lg); animation: ln-bob 6s ease-in-out infinite alternate; }
.ln-float div { display: flex; flex-direction: column; line-height: 1.2; }
.ln-float span { font-size: .8rem; color: var(--muted); }
.ln-float.f1 { left: 4%; top: 6%; }
.ln-float.f2 { right: 4%; top: 26%; animation-delay: -2s; }
.ln-float.f3 { left: 12%; top: 52%; animation-delay: -4s; }
.ln-float.f4 { right: 12%; bottom: 4%; animation-delay: -1s; }
@keyframes ln-bob { to { transform: translateY(-14px); } }

/* Tableau de bord */
.ln-hero { display: flex; align-items: center; gap: 30px; color: #fff; border-radius: 32px; padding: 34px 38px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 26px 60px rgba(255, 46, 126, .25); }
.ln-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.ln-hero-txt { flex: 1; position: relative; z-index: 1; }
.ln-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 8px 0 10px; }
.ln-hero p { margin: 0 0 14px; opacity: .92; max-width: 560px; }
.ln-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ln-meta span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; padding: 5px 12px; font-size: .85rem; font-weight: 600; }
.ln-cta { background: #fff; color: var(--text); }
.ln-cta:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
.ln-hero-ring { position: relative; z-index: 1; background: rgba(255, 255, 255, .95); border-radius: 50%; padding: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .15); color: var(--text); }
.ln-hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 0 4px; }

.ln-track { list-style: none; margin: 0; padding: 0; position: relative; }
.ln-track::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px; background: linear-gradient(var(--coral), var(--rasp), var(--violet)); opacity: .25; }
.ln-step { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; position: relative; }
.ln-node { flex: none; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-title); font-size: 1.2rem; font-weight: 700;
  background: #fff; color: var(--coral); border: 3px solid #ffd9c9; z-index: 1; }
.ln-step.done .ln-node { background: linear-gradient(135deg, var(--teal), #0d8f9e); color: #fff; border-color: #fff; box-shadow: 0 6px 14px rgba(18, 179, 160, .35); }
.ln-step.open .ln-node { background: linear-gradient(135deg, var(--coral), var(--rasp)); color: #fff; border-color: #fff; box-shadow: 0 0 0 6px rgba(255, 90, 60, .15); }
.ln-step.locked .ln-node { color: #b9a6bf; border-color: #eee2ea; }
.ln-course { flex: 1; display: flex; align-items: center; gap: 18px; padding: 14px; padding-right: 20px; background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .25s var(--smooth), box-shadow .25s; min-width: 0; }
a.ln-course:not([aria-disabled]):hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ln-course > .ln-cover { width: 170px; flex: none; }
.ln-course-body { flex: 1; min-width: 0; }
.ln-course-body h3 { margin: 0 0 4px; font-size: 1.3rem; }
.ln-course-body p { margin: 0 0 8px; font-size: .9rem; }
.ln-course-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.ln-pill { font-weight: 700; border-radius: 99px; padding: 3px 10px; background: var(--soft); border: 1px solid var(--line); color: var(--text); }
.ln-pill.done { background: #dff7ef; border-color: #bfeedd; color: #0d8a64; }
.ln-pill.open { background: #ffe9e1; border-color: #ffd2c2; color: #d9441f; }
.ln-step.locked .ln-course { opacity: .6; box-shadow: none; cursor: not-allowed; filter: saturate(.6); }
.ln-go { flex: none; }
.ln-cert-card { padding: 20px 22px; background: linear-gradient(135deg, #fff, #fff6ea); }
.ln-step.cert.done .ln-node { background: linear-gradient(135deg, var(--mango), var(--coral)); }
.ln-step.cert.done .ln-cert-card { border-color: #ffd28a; }

/* Lecteur de chapitre */
.ln-read { position: fixed; left: 0; top: 0; right: 0; height: 4px; z-index: 50; background: transparent; }
.ln-read i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff7a3c, #ff2e7e, #7c4dff); border-radius: 0 4px 4px 0; }
.ln-preview { display: flex; align-items: center; gap: 8px; background: #efe8ff; color: #5a32c8; border-radius: 14px; padding: 10px 14px; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.ln-lesson { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.ln-side { position: sticky; top: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: var(--shadow);
  max-height: calc(100vh - 32px); overflow: auto; }
.ln-side-course { display: flex; gap: 12px; align-items: center; margin: 10px 0 12px; }
.ln-side-course div { display: flex; flex-direction: column; min-width: 0; }
.ln-side-course b { line-height: 1.25; }
.ln-side-course span { font-size: .8rem; color: var(--muted); }
.ln-chapters { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ln-chapters a, .ln-chapters li > span { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 14px; color: var(--text); text-decoration: none; transition: background .2s; }
.ln-chapters a:hover { background: var(--soft); }
.ln-chapters li.cur a { background: linear-gradient(135deg, #fff0e8, #ffe9f1); box-shadow: inset 3px 0 0 var(--coral); }
.ln-chapters li.locked { opacity: .5; }
.ln-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--soft); border: 2px solid var(--line); color: var(--muted); }
.ln-chapters li.passed .ln-dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.ln-chapters li.cur .ln-dot { border-color: var(--coral); color: var(--coral); }
.ln-chapters li.cur.passed .ln-dot { color: #fff; }
.ln-ch-t { display: flex; flex-direction: column; font-size: .92rem; font-weight: 600; line-height: 1.25; min-width: 0; }
.ln-ch-t small { font-weight: 500; color: var(--muted); font-size: .76rem; }

.ln-main { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 38px clamp(20px, 5vw, 56px) 44px; box-shadow: var(--shadow); min-width: 0; }
.ln-ch-head h1 { text-transform: none; font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 10px 0 24px; }
.ln-body { font-size: 1.06rem; line-height: 1.75; color: #3b2550; }
.ln-body > * + * { margin-top: 22px; }
.ln-text h3 { font-family: var(--font-title); font-size: 1.45rem; color: var(--text); margin: 26px 0 8px; letter-spacing: .2px; }
.ln-text > h3:first-child { margin-top: 0; }
.ln-text p { margin: 0 0 14px; }
.ln-text ul, .ln-text ol { margin: 0 0 14px; padding-left: 0; list-style: none; counter-reset: ln; }
.ln-text li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.ln-text ul li::before { content: ""; position: absolute; left: 8px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--rasp)); }
.ln-text ol li { counter-increment: ln; }
.ln-text ol li::before { content: counter(ln); position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--coral), var(--rasp)); }
.ln-text strong { color: var(--text); background: linear-gradient(transparent 62%, rgba(255, 178, 30, .35) 62%); }
.ln-text blockquote { margin: 0 0 14px; padding: 12px 18px; border-left: 4px solid var(--violet); background: #f6f1ff; border-radius: 0 14px 14px 0; font-style: italic; }
.ln-tip { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: linear-gradient(135deg, #fff6e0, #ffeede); border: 1px solid #ffe0b0; }
.ln-tip-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--mango), var(--coral)); }
.ln-tip b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: 1.4px; color: #c26400; margin-bottom: 2px; }
.ln-tip p { margin: 0; }
.ln-fig { margin: 0; }
.ln-fig img { display: block; max-width: 100%; max-height: 520px; margin: 0 auto; border-radius: 18px; box-shadow: var(--shadow); }
.ln-fig figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 8px; }
.ln-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #160b22; box-shadow: var(--shadow); }
.ln-video iframe, .ln-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ln-check { margin-top: 40px; padding-top: 30px; border-top: 2px dashed var(--line); scroll-margin-top: 20px; }
.ln-done, .ln-quiz-intro { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 22px; border-radius: 24px; background: linear-gradient(135deg, #fff9f2, #f8f2ff); border: 1px solid var(--line); }
.ln-done > div:not(.row) { flex: 1; display: flex; flex-direction: column; min-width: 200px; }
.ln-quiz-intro h2 { margin: 0 0 4px; }
.ln-quiz-intro p { margin: 0; }
.ln-q { animation: rise-in .5s var(--smooth) both; }
.ln-q h3 { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.35rem; line-height: 1.35; margin: 12px 0 16px; }
.ln-q-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ln-q-dots { display: flex; gap: 6px; }
.ln-q-dots i { width: 26px; height: 6px; border-radius: 6px; background: #f1e4d9; }
.ln-q-dots i.cur { background: var(--coral); }
.ln-q-dots i.ok { background: var(--teal); }
.ln-q-dots i.ko { background: var(--ko); }
.ln-q-img { height: 240px; border-radius: 18px; margin-bottom: 16px; }
.ln-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ln-choice { display: flex; align-items: center; gap: 12px; text-align: left; font: 600 1rem Poppins, sans-serif; color: var(--text); background: #fff; border: 2px solid var(--line);
  border-radius: 18px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, transform .2s var(--spring), box-shadow .2s, background .2s; }
.ln-choice:hover:not(:disabled) { border-color: #ffc0a8; transform: translateY(-2px); }
.ln-choice.on { border-color: var(--coral); background: #fff4ef; box-shadow: 0 0 0 4px rgba(255, 90, 60, .14); }
.ln-choice:disabled { cursor: default; }
.ln-choice.good { border-color: var(--teal); background: #e4f8f2; }
.ln-choice.bad { border-color: var(--ko); background: #ffecee; }
.ln-choice:disabled:not(.good):not(.bad) { opacity: .55; }
.ln-letter { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-title); background: var(--soft); border: 1px solid var(--line); }
.ln-choice.on .ln-letter { background: var(--coral); color: #fff; border-color: var(--coral); }
.ln-choice.good .ln-letter { background: var(--teal); color: #fff; border-color: var(--teal); }
.ln-choice.bad .ln-letter { background: var(--ko); color: #fff; border-color: var(--ko); }
.ln-q textarea.good { border-color: var(--teal); background: #f0fbf7; }
.ln-q textarea.bad { border-color: var(--ko); background: #fff5f6; }
.ln-hint { display: flex; align-items: center; gap: 6px; font-size: .88rem; margin: 10px 0 0; }
.ln-fb-in { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 14px 18px; border-radius: 16px; animation: rise-in .45s var(--spring) both; }
.ln-fb-in b { display: flex; align-items: center; gap: 6px; }
.ln-fb-in.ok { background: #e4f8f2; color: #0b6f52; }
.ln-fb-in.ko { background: #ffecee; color: #b0182b; }
.ln-fb-in span { color: var(--text); }
.ln-q-actions { margin-top: 18px; justify-content: flex-end; }
.ln-result { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; animation: rise-in .5s var(--smooth) both; }
.ln-result h2 { margin: 4px 0 6px; }
.ln-recap { list-style: none; padding: 0; margin: 14px 0 18px; display: flex; flex-direction: column; gap: 8px; }
.ln-recap li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.ln-recap li span { display: flex; flex-direction: column; }
.ln-recap li small { color: var(--muted); }
.ln-recap li.ok .ico { color: var(--teal); }
.ln-recap li.ko .ico { color: var(--ko); }

/* Certificat */
.ln-cert-bar { margin-bottom: 16px; }
.ln-cert { max-width: 900px; margin: 0 auto; padding: 14px; border-radius: 30px; background: linear-gradient(135deg, #ff7a3c, #ff2e7e 50%, #7c4dff); box-shadow: var(--shadow-lg); }
.ln-cert-in { position: relative; background: #fffdf9; border-radius: 22px; padding: 50px clamp(20px, 6vw, 70px); text-align: center; overflow: hidden; }
.ln-cert-in::before { content: ""; position: absolute; inset: 14px; border: 2px solid #f4e1cf; border-radius: 14px; pointer-events: none; }
.ln-cert-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 1.6rem; }
.ln-cert-k { display: block; margin: 22px 0 6px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--rasp); }
.ln-cert p { margin: 6px 0; color: var(--muted); }
.ln-cert h1 { font-size: clamp(2.4rem, 7vw, 4rem); text-transform: none; margin: 8px 0 10px;
  background: linear-gradient(100deg, #ff7a3c, #ff2e7e 50%, #7c4dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ln-cert h2 { font-size: 1.7rem; margin: 6px 0 22px; }
.ln-cert-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding: 14px 0; border-top: 1px solid #f1e2d4; border-bottom: 1px solid #f1e2d4; }
.ln-cert-stats span { color: var(--muted); }
.ln-cert-stats b { color: var(--text); font-family: var(--font-title); font-size: 1.3rem; }
.ln-cert-date { margin-top: 18px !important; }
.ln-cert-seal { position: absolute; right: 34px; bottom: 30px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #fff;
  background: linear-gradient(135deg, var(--mango), var(--coral)); box-shadow: 0 0 0 6px #fff, 0 0 0 8px #ffd28a; transform: rotate(-12deg); }
@media print {
  body::before, body::after, .topbar, .no-print, .ln-read, #toast, .confetti { display: none !important; }
  body { background: #fff; }
  .page { padding: 0; }
  .ln-cert { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ln-cert-in { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Côté animateur ---------- */
/* Onglets de l'espace animateur : trois grandes cartes */
.fm-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.fm-tab { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(120, 50, 40, .06);
  transition: transform .2s var(--spring), box-shadow .2s, background .2s; }
.fm-tab:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(120, 50, 40, .12); }
.fm-tab-ic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--soft); color: var(--coral); }
.fm-tab b { display: block; font-size: 1rem; }
.fm-tab small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.fm-tab.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--coral), var(--rasp)); box-shadow: 0 12px 26px rgba(255, 60, 90, .28); }
.fm-tab.on small { color: rgba(255, 255, 255, .85); }
.fm-tab.on .fm-tab-ic { background: rgba(255, 255, 255, .22); color: #fff; }
.fm-h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 30px 0 14px; font-size: 1.45rem; }
.fm-icon-btn { flex: none; width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; font-size: 1rem; transition: color .2s, border-color .2s; }
.fm-icon-btn:hover:not(:disabled) { color: var(--coral); border-color: var(--coral); }
.fm-icon-btn:disabled { opacity: .35; cursor: default; }
.fm-saved { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; background: rgba(255, 255, 255, .9); border-radius: 99px; padding: 6px 12px; }

.fm-paths { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.fm-path { position: relative; color: #fff; border-radius: 26px; padding: 18px 20px; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 210px;
  background: linear-gradient(140deg, var(--g1), var(--g2)); box-shadow: 0 18px 36px rgba(255, 46, 126, .2); }
.fm-path::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none; }
.fm-path-top { display: flex; justify-content: space-between; align-items: center; }
.fm-code { font-family: var(--font-title); letter-spacing: 3px; font-size: 1.05rem; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px; padding: 3px 10px; }
.fm-path .fm-icon-btn { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .35); color: #fff; }
.fm-path h3 { margin: 8px 0 0; font-size: 1.5rem; }
.fm-path p { margin: 0; opacity: .9; font-size: .9rem; flex: 1; }
.fm-path-meta { font-size: .82rem; font-weight: 600; opacity: .9; }
.fm-path-actions { position: relative; z-index: 1; gap: 6px; margin-top: 6px; }
.fm-path-actions .btn { background: rgba(255, 255, 255, .95); color: var(--text); }

.fm-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 8px; }
.fm-tones { display: flex; gap: 8px; }
.fm-tone { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; cursor: pointer; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 0 0 1px var(--line); transition: transform .2s var(--spring); }
.fm-tone.on { box-shadow: 0 0 0 3px var(--text); transform: scale(1.1); }
.fm-share { border-top: 6px solid var(--tone); }
.fm-share h3 { display: flex; align-items: center; gap: 8px; }
.fm-code-in { letter-spacing: 5px; flex: 1; min-width: 0; font-size: 1.5rem; }
.fm-code-in.bad { border-color: var(--ko); }
.fm-plist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fm-plist li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; }
.fm-plist li .grow { display: flex; flex-direction: column; min-width: 180px; }
.fm-num { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--coral), var(--rasp)); }

.fm-course-head { display: flex; gap: 20px; flex-wrap: wrap; margin: 8px 0 18px; }
.fm-cover { position: relative; width: 260px; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; cursor: pointer; flex: none; }
.fm-cover .ln-cover, .fm-cover .fm-img { width: 100%; height: 100%; border-radius: 0; }
.fm-cover-btn { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .92); border-radius: 99px; padding: 5px 12px; }
.fm-img { width: 100%; height: 100%; }
.fm-chs { display: flex; flex-direction: column; gap: 14px; }
.fm-ch { padding: 0; overflow: hidden; }
.fm-ch-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; }
.fm-ch.open .fm-ch-head { border-bottom: 1px solid var(--line); background: var(--soft); }
.fm-ch-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; color: var(--muted); padding: 0; font: inherit; }
.fm-ch-title { flex: 1; min-width: 180px; font-weight: 700; font-size: 1.05rem; background: transparent; border-color: transparent; }
.fm-ch-title:hover { border-color: var(--line); }
.fm-min { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); }
.fm-min input { width: 70px; padding: 6px 10px; }
.fm-ch-sum { font-size: .82rem; }
.fm-ch-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.fm-h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.05rem; font-family: var(--font-title); letter-spacing: .4px; }
.fm-blocks { display: flex; flex-direction: column; gap: 12px; }
.fm-block { border: 1px solid var(--line); border-left: 5px solid var(--coral); border-radius: 16px; padding: 10px 12px 12px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.fm-block.image { border-left-color: var(--teal); }
.fm-block.video { border-left-color: var(--violet); }
.fm-block.tip { border-left-color: var(--mango); background: #fffaf0; }
.fm-block-bar { display: flex; align-items: center; gap: 6px; }
.fm-block-bar .fm-icon-btn { width: 30px; height: 30px; }
.fm-block-type { flex: 1; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.fm-help { font-size: .78rem; color: var(--muted); }
.fm-media { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.fm-media-prev { width: 200px; max-width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--soft); display: grid; place-items: center; flex: none; }
.fm-video-prev { max-width: 520px; }
.fm-warn { display: inline-flex; gap: 6px; align-items: center; color: #b0182b; font-size: .88rem; }
.fm-add { display: flex; gap: 8px; flex-wrap: wrap; }
.fm-quiz { border-radius: 18px; padding: 14px; background: linear-gradient(135deg, #f8f3ff, #fff6f0); border: 1px solid #eadfff; display: flex; flex-direction: column; gap: 12px; }
.fm-q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.fm-q-num { font-weight: 700; color: var(--violet); }
.fm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fm-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fm-choice { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 4px 4px 10px; border: 2px solid var(--line); border-radius: 14px; background: var(--soft); }
.fm-choice.on { border-color: var(--teal); background: #eefaf6; }
.fm-choice input[type=checkbox], .fm-choice input[type=radio] { width: 20px; height: 20px; flex: none; accent-color: var(--teal); }
.fm-choice input:not([type]), .fm-choice input[data-f=ctext] { border: 0; background: transparent; padding: 6px 8px; }

/* Suivi */
.tr-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.tr-tile { display: flex; align-items: center; gap: 14px; padding: 16px; }
.tr-tile div:last-child { display: flex; flex-direction: column; }
.tr-tile b { font-family: var(--font-title); font-size: 1.7rem; line-height: 1; }
.tr-tile span { color: var(--muted); font-size: .85rem; }
.tr-hard { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.tr-hq { padding: 14px 16px; }
.tr-hq-top { display: flex; gap: 12px; align-items: flex-start; }
.tr-hq-top div { display: flex; flex-direction: column; gap: 2px; }
.tr-hq-top .muted { font-size: .82rem; }
.tr-rate { flex: none; font-family: var(--font-title); font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff6b6b, var(--ko)); border-radius: 12px; padding: 6px 10px; }
.tr-hq ul { margin: 10px 0 0; padding-left: 18px; font-size: .88rem; color: #4a3658; }
.tr-list { display: flex; flex-direction: column; gap: 10px; }
.tr-row { padding: 0; overflow: hidden; }
.tr-row summary { list-style: none; display: grid; grid-template-columns: minmax(120px, 1.2fr) minmax(140px, 2fr) 70px 96px minmax(120px, 1fr) 20px; gap: 14px; align-items: center; padding: 14px 18px; cursor: pointer; }
.tr-row summary::-webkit-details-marker { display: none; }
.tr-name { font-weight: 700; }
.tr-prog { display: flex; align-items: center; gap: 8px; }
.tr-prog .ln-bar { flex: 1; }
.tr-prog small { color: var(--muted); font-weight: 600; }
.tr-score { font-weight: 700; text-align: center; border-radius: 99px; padding: 3px 0; background: var(--soft); }
.tr-score.ok { background: #dff7ef; color: #0d8a64; }
.tr-score.ko { background: #ffecee; color: #b0182b; }
.tr-when { font-size: .82rem; }
.tr-chev { transition: transform .25s; color: var(--muted); }
.tr-row[open] .tr-chev { transform: rotate(180deg); }
.tr-detail { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); }
.tr-course > b { display: block; margin: 12px 0 6px; }
.tr-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 10px; border-radius: 12px; background: var(--soft); margin-bottom: 6px; font-size: .92rem; }
.tr-ch-ic { color: var(--muted); }
.tr-ch.ok .tr-ch-ic { color: var(--teal); }
.tr-ch.ko .tr-ch-ic { color: var(--ko); }
.tr-err { flex-basis: 100%; list-style: none; margin: 4px 0 0; padding: 0 0 0 28px; display: flex; flex-direction: column; gap: 6px; }
.tr-err li { display: flex; flex-direction: column; font-size: .86rem; border-left: 3px solid var(--ko); padding-left: 10px; }
.tr-err span { color: var(--muted); }
.tr-err li.tr-err-h { border: 0; padding: 0; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ko); }

/* Premiers pas dans les formations */
.fm-start { display: grid; grid-template-columns: minmax(200px, .8fr) 2fr; gap: 20px; align-items: center; margin: 18px 0 8px; padding: 22px 24px; border-radius: 28px;
  color: #fff; background: linear-gradient(135deg, #ff7a3c, #ff2e7e 55%, #7c4dff); box-shadow: 0 20px 40px rgba(255, 46, 126, .22); }
.fm-start h2 { margin: 0 0 6px; font-size: 1.6rem; }
.fm-start p { margin: 0; opacity: .92; }
.fm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fm-steps li { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; background: rgba(255, 255, 255, .95); color: var(--text); border-radius: 20px; padding: 14px; }
.fm-steps small { color: var(--muted); flex: 1; margin-bottom: 8px; }
.fm-step-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-title); color: #fff; background: linear-gradient(135deg, var(--coral), var(--rasp)); }

/* Interrupteur */
.fm-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; margin: 0; }
.fm-switch input { position: absolute; opacity: 0; pointer-events: none; }
.fm-switch-ui { flex: none; width: 44px; height: 26px; border-radius: 99px; background: #e5d6cb; position: relative; transition: background .2s; }
.fm-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--spring); }
.fm-switch input:checked + .fm-switch-ui { background: var(--teal); }
.fm-switch input:checked + .fm-switch-ui::after { transform: translateX(18px); }
.fm-switch input:focus-visible + .fm-switch-ui { outline: 3px solid var(--coral); outline-offset: 2px; }

/* Apprenants inscrits à un parcours */
.fm-enrolled { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 6px 4px 4px; font-weight: 600; font-size: .9rem; }
.fm-chip a { color: var(--text); text-decoration: none; }
.fm-chip a:hover { color: var(--coral); }
.fm-chip small { color: var(--muted); font-weight: 500; }
.fm-chip-x { border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 2px; border-radius: 50%; }
.fm-chip-x:hover { color: var(--ko); }

/* Avatars à initiales */
.fm-av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 4px 10px rgba(0, 0, 0, .1); }
.fm-av.xs { width: 26px; height: 26px; font-size: .68rem; box-shadow: none; }
.fm-av.lg { width: 64px; height: 64px; font-size: 1.4rem; }

/* Liste des apprenants */
.pf-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; margin: 18px 0 12px; }
.pf-filters input { flex: 1 1 200px; }
.pf-filters select { width: auto; flex: 0 1 auto; max-width: 100%; }
.pf-list { display: flex; flex-direction: column; gap: 10px; }
.pf-row { display: grid; grid-template-columns: 44px minmax(140px, 1.2fr) auto minmax(160px, 1.6fr) 110px auto; gap: 14px; align-items: center; padding: 12px 16px; }
.pf-who { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--text); }
.pf-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-who:hover b { color: var(--coral); }
.pf-who .muted { font-size: .82rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pf-group { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--violet); background: #f1eaff; border-radius: 99px; padding: 1px 8px; margin-left: 6px; }
.pf-who .pf-group { margin-left: 0; }
.pf-code { display: inline-flex; align-items: center; justify-content: center; min-width: 136px; gap: 6px; font-family: var(--font-title); letter-spacing: 2px; font-size: .95rem; border: 1px dashed #e7c9b8; background: #fff8f3;
  color: var(--text); border-radius: 12px; padding: 6px 10px; cursor: pointer; transition: border-color .2s, color .2s; }
.pf-code:hover { border-color: var(--coral); color: var(--coral); }
.pf-paths { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pf-p { display: grid; grid-template-columns: minmax(60px, 1fr) 80px 44px; gap: 8px; align-items: center; font-size: .82rem; }
.pf-p span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pf-p small { text-align: right; color: var(--muted); font-weight: 700; }
.pf-p.done small { color: var(--mango); }
.pf-status { justify-self: start; font-size: .78rem; font-weight: 700; border-radius: 99px; padding: 4px 10px; background: var(--soft); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.pf-status.doing { background: #ffe9e1; color: #d9441f; }
.pf-status.done { background: #dff7ef; color: #0d8a64; }
.pf-actions { gap: 6px; flex-wrap: nowrap; }

/* Fenêtres : nouvel apprenant, import */
.pf-dlg { max-width: 600px; width: calc(100% - 32px); color: var(--text); padding: 24px; }
.pf-dlg h2 { margin: 0; }
.pf-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-check { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 8px 12px; font-weight: 600; transition: border-color .2s, background .2s; }
.pf-check input { width: 18px; height: 18px; accent-color: var(--tone); margin: 0; }
.pf-check:has(input:checked) { border-color: var(--tone); background: color-mix(in srgb, var(--tone) 8%, #fff); }
.pf-bigcode { font-family: var(--font-title); font-size: 2.2rem; letter-spacing: 6px; text-align: center; padding: 12px; border-radius: 18px; background: #fff8f3; border: 2px dashed #f0c7b0; user-select: all; }
.pf-empty .row { margin-top: 6px; }

/* Fiche d'un apprenant */
.pp-head { display: flex; align-items: center; gap: 14px; }
.pp-head h1 { margin: 0; font-size: 1.8rem; }
.pp-head .muted { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .88rem; }
.pp-path { padding: 0; overflow: hidden; margin-bottom: 10px; border-left: 6px solid var(--tone); }
.pp-path summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; }
.pp-path summary::-webkit-details-marker { display: none; }
.pp-path summary .grow { display: flex; flex-direction: column; min-width: 0; }
.pp-path summary .muted { font-size: .85rem; }
.pp-path[open] .tr-chev { transform: rotate(180deg); }
.pp-path .tr-detail > .btn { align-self: flex-start; }

/* Apprenant : ses parcours */
.ln-name-box { display: flex; flex-direction: column; gap: 6px; animation: rise-in .4s var(--spring) both; }
.ln-name-box[hidden] { display: none; }
.ln-found { margin: 0; display: flex; align-items: center; gap: 6px; color: #0d8a64; font-weight: 600; }
.ln-small { font-size: .82rem; }
.ln-trainer { margin: 16px 0 0; font-size: .88rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ln-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ln-hub-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 26px; text-decoration: none; color: var(--text); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s var(--spring), box-shadow .25s; }
.ln-hub-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--g1), var(--g2)); }
.ln-hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ln-hub-top { display: flex; justify-content: space-between; align-items: center; }
.ln-hub-card h3 { margin: 4px 0 0; font-size: 1.35rem; }
.ln-hub-card p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.ln-hub-meta { display: flex; gap: 12px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.ln-hub-card .ln-go { align-self: flex-start; margin-top: 6px; }

/* Accueil : bloc apprentissage */
.home-learn { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; text-align: left; }
.hl-text p { font-size: 1.05rem; color: #4a3658; max-width: 520px; }
.hl-pill input { letter-spacing: 3px; font-size: 1.3rem; text-transform: uppercase; }
.hl-visual { position: relative; padding: 10px 30px 30px; }
.hl-card { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border: 1px solid #fff; border-radius: 26px; padding: 18px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.hl-head { display: flex; flex-direction: column; padding: 4px 6px 12px; }
.hl-head b { font-family: var(--font-title); font-size: 1.35rem; }
.hl-head span { font-size: .82rem; color: var(--muted); }
.hl-step { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; margin-bottom: 6px; color: var(--muted); }
.hl-step > .ico, .hl-step > b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 2px solid var(--line); font-size: .9rem; }
.hl-step span { display: flex; flex-direction: column; font-weight: 600; color: var(--text); }
.hl-step small { color: var(--muted); font-weight: 500; }
.hl-step.done > .ico { background: var(--teal); border-color: var(--teal); color: #fff; }
.hl-step.cur { background: linear-gradient(135deg, #fff0e8, #ffe9f1); }
.hl-step.cur > b { background: linear-gradient(135deg, var(--coral), var(--rasp)); color: #fff; border-color: #fff; }
.hl-step:last-of-type span { color: var(--muted); }
.hl-bar { height: 8px; border-radius: 99px; background: #f4e6da; overflow: hidden; margin: 10px 6px 4px; }
.hl-bar i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, #ff7a3c, #ff2e7e, #7c4dff); border-radius: inherit; }
.hl-badge { position: absolute; right: 4px; bottom: 4px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--mango), var(--coral)); box-shadow: 0 14px 30px rgba(255, 120, 40, .35); transform: rotate(4deg); animation: ln-bob 4s ease-in-out infinite alternate; }

/* Barre du haut : libellés courts sur petit écran */
@media (max-width: 860px) {
  .ln-lesson { grid-template-columns: 1fr; }
  .ln-side { position: static; max-height: none; }
  .ln-join { grid-template-columns: 1fr; min-height: 0; }
  .ln-join-art { display: none; }
  .fm-grid, .home-learn { grid-template-columns: 1fr; }
  .tr-row summary { grid-template-columns: 1fr auto auto 20px; }
  .tr-prog { grid-column: 1 / -1; grid-row: 2; }
  .tr-when { display: none; }
  .fm-start { grid-template-columns: 1fr; }
  .pf-row { grid-template-columns: 44px 1fr auto; }
  .pf-paths { grid-column: 1 / -1; }
  .pf-status { grid-column: 2; grid-row: 1; justify-self: end; }
  .pf-code { grid-column: 2; justify-self: start; }
  .pf-actions { grid-column: 3; grid-row: 2; }
}
@media (max-width: 640px) {
  .topbar nav .btn span { display: none; }
  .ln-hero { flex-direction: column-reverse; align-items: flex-start; padding: 26px 22px; border-radius: 26px; }
  .ln-hero-ring { align-self: center; }
  .ln-course { flex-wrap: wrap; }
  .ln-course > .ln-cover { width: 100%; }
  .ln-go { width: 100%; justify-content: center; }
  .ln-track::before { left: 17px; }
  .ln-node { width: 37px; height: 37px; font-size: 1rem; }
  .ln-step { gap: 10px; align-items: flex-start; }
  .ln-choices, .fm-two, .fm-choices { grid-template-columns: 1fr; }
  .ln-main { border-radius: 24px; padding: 26px 18px 30px; }
  .ln-cert-seal { width: 54px; height: 54px; font-size: 1.4rem; right: 20px; bottom: 20px; }
  .fm-cover { width: 100%; }
  .fm-tabs { gap: 6px; }
  .fm-tab { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; border-radius: 16px; }
  .fm-tab small { display: none; }
  .fm-tab b { font-size: .82rem; }
  .fm-tab-ic { width: 36px; height: 36px; font-size: 1.1rem; }
  .fm-steps { grid-template-columns: 1fr; }
  .pf-status { display: none; }
  .pf-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .pf-code { grid-column: 1 / 3; grid-row: 2; min-width: 0; }
  .pf-actions { grid-column: 3; grid-row: 2; }
  .pf-paths { grid-row: 3; }
  .pf-p { grid-template-columns: minmax(0, 1fr) 70px 40px; }
  .pf-bigcode { font-size: 1.7rem; letter-spacing: 4px; }
}
.hl-trainer { font-size: .92rem !important; margin-top: 14px; } .hl-trainer a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* Temps de formation */
.tr-time { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-weight: 700; font-size: .85rem; border-radius: 99px; padding: 3px 8px; background: var(--soft); white-space: nowrap; }
.tr-time.ok { background: #dff7ef; color: #0d8a64; }
.tr-time.ko { background: #fff1dc; color: #b06400; }
.ln-time { display: flex; align-items: center; gap: 16px; margin-top: 14px; border-left: 6px solid var(--mango); }
.ln-time.ok { border-left-color: var(--teal); }
.ln-time .grow { display: flex; flex-direction: column; gap: 6px; }
.ln-time .muted { font-size: .9rem; }
.ln-side-time { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 8px; margin: 12px 0 4px; padding: 10px 12px; border-radius: 14px; background: #fff8ec; font-size: .85rem; }
.ln-side-time > span { display: inline-flex; align-items: center; gap: 6px; color: #b06400; font-weight: 600; }
.ln-side-time small { color: var(--muted); font-weight: 500; }
.ln-side-time .ln-bar { flex-basis: 100%; height: 6px; }
.fm-dur { display: flex; align-items: center; gap: 8px; }
.fm-dur input { width: 90px; text-align: center; }
.fm-dur span { font-weight: 600; color: var(--muted); }
