/* Ali's Review (AL 14/10/2026). The list pages use the kit; the review itself is a full screen dark stage. */
.sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sess { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0; cursor: pointer; }
.sess:hover { border-color: var(--fg); }
.sess b { display: block; overflow-wrap: anywhere; }
.sess .bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--hover); margin: 10px 0 8px; }
.sess .bar i { display: block; height: 100%; }
.sess .bar .g { background: var(--ok); } .sess .bar .n { background: var(--bad); }
.stat { display: inline-flex; gap: 4px; align-items: baseline; margin-right: 12px; font-size: 13px; color: var(--muted); }
.stat b { color: var(--fg); font-size: 15px; }
.go { color: var(--ok); } .nogo { color: var(--bad); }
.posts { display: grid; gap: 6px; max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--card); }
.pick { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 9px; cursor: pointer; user-select: none; border: 1px solid transparent; min-width: 0; }
.pick:hover { background: var(--hover); }
.pick.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pick img, .pick .noimg { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--hover); flex: none; }
.pick .noimg { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.pick b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.pick .k { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.pick.on .k { background: var(--accent); border-color: var(--accent); color: #fff; }
.items { display: grid; gap: 6px; }
.item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; min-width: 0; }
.item:hover { border-color: var(--fg); }
.item .n { width: 34px; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.item .kind { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); width: 56px; flex: none; }
.item b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.item .c { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .ms { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.big { font-size: 16px; min-height: 46px; padding: 8px 22px; }
.keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 18px; }
.keys div { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; border-top: 1px solid var(--line); font-size: 14px; }
kbd { font: 12px ui-monospace, Menlo, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; background: var(--card); min-width: 28px; text-align: center; display: inline-block; }
@media (max-width: 640px) { .item .kind { display: none; } .item .c { display: none; } }

/* The stage: full screen, black, nothing else on the screen. */
.stage { position: fixed; inset: var(--hqbar, 0px) 0 0 0; z-index: 40; background: #000; color: #fff; display: flex; flex-direction: column; overscroll-behavior: none; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage .hud { position: absolute; left: 0; right: 0; top: 0; z-index: 3; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; display: flex; align-items: center; gap: 12px; background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,0)); font-size: 13px; font-variant-numeric: tabular-nums; }
.stage .hud .cnt { font-size: 18px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.stage .hud .ttl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .9; }
.stage .hud .spd { background: rgba(255,255,255,.14); border-radius: 999px; padding: 3px 10px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.stage .hud .spd.up { background: #ff6a00; animation: pop .5s; }
@keyframes pop { 0% { transform: scale(1.4); } 100% { transform: scale(1); } }
.stage .hud .tm { opacity: .75; white-space: nowrap; }
.stage .hud .x { background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 2px 6px; opacity: .85; }
.stage .body { flex: 1; min-height: 0; display: grid; grid-template-columns: clamp(220px, 25vw, 400px) minmax(0, 1fr) clamp(220px, 25vw, 400px); grid-template-rows: minmax(0, 1fr); }
.stage .mid { grid-column: 2; grid-row: 1; min-height: 0; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.stage .snd { position: absolute; top: calc(58px + env(safe-area-inset-top)); right: 10px; z-index: 3; background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; display: none; }
.stage .snd.on { display: inline-flex; }
.stage .pz { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.stage .pz span { background: rgba(0,0,0,.55); border-radius: 50%; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.stage.paused .pz { display: flex; }
.stage .dark { position: absolute; inset: 0; z-index: 6; background: #000; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.stage .dark .n { font-size: 56px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stage .dark .t { font-size: 20px; opacity: .85; margin-top: 10px; max-width: 80%; overflow-wrap: anywhere; }
.stage .dark .s { margin-top: 18px; font-size: 14px; opacity: .6; }
.stage.dark-on .dark { display: flex; }
.stage .flash { position: absolute; inset: 0; z-index: 5; display: none; align-items: center; justify-content: center; font-size: 64px; font-weight: 900; letter-spacing: .02em; pointer-events: none; }
.stage .flash.go { display: flex; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); animation: fl .35s forwards; }
.stage .flash.nogo { display: flex; color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); animation: fl .35s forwards; }
@keyframes fl { 0% { opacity: 0; transform: scale(.8); } 30% { opacity: 1; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1); } }
.stage .bot { position: relative; z-index: 3; display: flex; gap: 10px; align-items: center; justify-content: center; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.7)); }
.stage .bot button { font: inherit; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; border-radius: 14px; min-height: 54px; padding: 8px 16px; font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-width: 54px; justify-content: center; }
.stage .bot button kbd { border-color: rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; }
.stage .bot .bgo { background: var(--ok); border-color: var(--ok); color: #fff; flex: 1; max-width: 220px; }
.stage .bot .bno { background: var(--bad); border-color: var(--bad); color: #fff; flex: 1; max-width: 220px; }
.stage .bot .on { outline: 3px solid #fff; }
.stage .cmt { position: absolute; left: 0; right: 0; bottom: calc(160px + env(safe-area-inset-bottom)); z-index: 7; display: none; padding: 0 14px; }
.stage .cmt.on { display: flex; gap: 8px; }
.stage .cmt input { flex: 1; font: inherit; font-size: 16px; min-height: 48px; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: #151514; color: #fff; min-width: 0; }
.stage .cmt input:focus { outline: 2px solid #ff6a00; }
.stage .cmt button { font: inherit; border: 0; background: #ff6a00; color: #fff; border-radius: 12px; padding: 8px 16px; font-weight: 700; cursor: pointer; min-height: 48px; }
.stage .set { position: absolute; top: calc(52px + env(safe-area-inset-top)); right: 12px; z-index: 8; background: #151514; border: 1px solid #2c2c2a; border-radius: 14px; padding: 14px; width: min(340px, calc(100% - 24px)); display: none; color: #ecebe6; font-size: 14px; }
.stage .set.on { display: block; }
.stage .set .lab { margin: 10px 0 5px; }
.stage .set .pill { background: #1d1d1c; color: #ecebe6; border-color: #2c2c2a; }
.stage .set .pill.on { background: #fff; color: #000; border-color: #fff; }
.stage .done { position: absolute; inset: 0; z-index: 9; background: #000; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 8px; }
.stage.over .done { display: flex; }
.stage .done h2 { font-size: 30px; margin: 0; }
.stage .done .big2 { display: flex; gap: 28px; margin: 16px 0; }
.stage .done .big2 div { font-size: 13px; opacity: .7; }
.stage .done .big2 b { display: block; font-size: 40px; font-weight: 900; letter-spacing: -.02em; }
.stage .done .row { justify-content: center; }
.stage .done .btn { background: #1d1d1c; color: #fff; border-color: #2c2c2a; }
.stage .done .btn.accent { background: #ff6a00; border-color: #ff6a00; }
@media (max-width: 640px) { .stage .hud .tm { display: none; } .stage .bot button kbd { display: none; } .stage .dark .n { font-size: 44px; } }
@media (hover: none) { .stage .bot button kbd { display: none; } }

/* The loop with Claude (AL 14/10/2026): round n/3 on the session, the comment of the round before on each content, the brief page. */
.round { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: var(--accent); color: #fff; white-space: nowrap; vertical-align: middle; }
.item .was { font-size: 12.5px; color: var(--bad); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brief .nums { display: flex; gap: 22px; flex-wrap: wrap; margin: 12px 0; }
.brief .nums div { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.brief .nums b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.02em; color: var(--fg); }
.brief .fix { border-left: 4px solid var(--bad); }
.brief .q { margin: 6px 0; padding: 6px 10px; background: var(--hover); border-radius: 8px; font-size: 14.5px; overflow-wrap: anywhere; }
.brief .q::before { content: '\201C'; } .brief .q::after { content: '\201D'; }
.brief ol, .brief ul { margin: 6px 0 0; padding-left: 20px; }
.brief li { margin: 4px 0; overflow-wrap: anywhere; }

/* Waiting for review (AL 15/10/2026): the to_review contents of each client planner, one click to review them. */
.wait { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 14px 16px; display: grid; gap: 10px; }
.wait .spread { gap: 4px 12px; flex-wrap: wrap; }
.wrow { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); min-width: 0; }
.wrow .grow { min-width: 0; flex: 1 1 200px; }
.wrow b { display: block; overflow-wrap: anywhere; }
.wrow .btn { flex: none; }
@media (max-width: 640px) { .wrow .btn { width: 100%; } }
/* Home (AL 15/10/2026: "Ali revoit chaque business un par un, toujours. Y a marqué this week [...] VIRE-MOI TOUT LE RESTE"):
   This week and its dates, the businesses (one picked, a business with nothing stays listed, dimmed), the order, Review. */
.wait .lab { margin: 4px 0 0; }
.wait .pill { max-width: 100%; white-space: normal; text-align: left; }
.wait.home { border-left: 1px solid var(--line); padding: 18px 18px 20px; gap: 12px; }
.wk-h { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.wk-d { margin: 2px 0 0; font-size: 15px; }
.wbs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.wb { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; text-align: left; font: inherit; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.wb:hover { border-color: var(--fg); }
/* Long forms in "Also to review" (AL 19/10/2026): a pale orange, clearly visible. */
.wb.lf { background: color-mix(in srgb, #ff7a26 16%, var(--card)); border-color: color-mix(in srgb, #ff7a26 45%, var(--line)); }
/* Third-party test series (montages, transitions, visual renders, machines): pale blue. Thumbnails: pale green (AL 19/10/2026). */
.wb.ts { background: color-mix(in srgb, #3d7bd9 12%, var(--card)); border-color: color-mix(in srgb, #3d7bd9 40%, var(--line)); }
.wb.th { background: color-mix(in srgb, #2e9e5b 12%, var(--card)); border-color: color-mix(in srgb, #2e9e5b 40%, var(--line)); }
.wb.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--card)); }
.wb .k { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.wb.on .k { background: var(--accent); border-color: var(--accent); color: #fff; }
.wb .grow, .wb .sub { display: block; }
.wb b { display: block; overflow-wrap: anywhere; }
.wb .wn { flex: none; text-align: right; line-height: 1.1; }
.wb .wn b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wb .wn span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.wb.zero { cursor: default; background: transparent; border-style: dashed; }
.wb.zero:hover { border-color: var(--line); }
.wb.zero .k { visibility: hidden; }
.wk-go { margin-top: 4px; }
/* Talk folders (AL 25/10/2026: « un dossier T03, un dossier T04 », each kind in its own dropdown, the editing and transition
   proposals a category apart in their own colour). A folder = one talk; inside, one dropdown per kind. Drawn arrows, never the
   browser's own marker. */
.folds { display: grid; gap: 10px; }
.fold { border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--fg) 2%, transparent); }
.fold > summary, .fcat > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 44px; }
.fold > summary::-webkit-details-marker, .fcat > summary::-webkit-details-marker { display: none; }
.fold > summary::before, .fcat > summary::before { content: "\25B8"; flex: none; width: 16px; font-size: 18px; line-height: 1; color: var(--fg); transition: transform .12s; }
.fold[open] > summary::before, .fcat[open] > summary::before { transform: rotate(90deg); }
.fold > summary { padding: 10px 14px; }
.fold > summary .fdt b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.fold[open] > summary { border-bottom: 1px solid var(--line); }
.fdt { flex: 1 1 auto; min-width: 0; }
.fdt b, .fdt .sub { display: block; overflow-wrap: anywhere; }
.fdn { flex: none; text-align: right; font-size: 13px; color: var(--muted); white-space: nowrap; }
.fdn b { font-size: 17px; font-weight: 800; color: var(--fg); font-variant-numeric: tabular-nums; }
.fds { flex: none; font-size: 12px; color: var(--muted); white-space: nowrap; min-width: 74px; text-align: right; }
.fcat { margin: 8px 10px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--fc, #8a8a84); background: var(--card); }
.fcat > summary { padding: 8px 12px; }
.fcat > summary .fdt b { font-size: 15px; }
.fcat > summary .fdt .sub { font-size: 12.5px; }
.fcat > .wbs { padding: 2px 12px 12px; }
.fold > .fcat:last-child { margin-bottom: 10px; }
/* One colour per kind: long form orange (as its cards), shorts violet, text grey, pictures teal, the proposals blue (their own
   category, AL), material dashed grey. */
.fcat.k-long_form { --fc: #ff7a26; }
.fcat.k-shorts { --fc: #9b6bdf; }
.fcat.k-text { --fc: #9a9a94; }
.fcat.k-visual { --fc: #1fa4a0; }
.fcat.k-edit { --fc: #3d7bd9; background: color-mix(in srgb, #3d7bd9 7%, var(--card)); border-color: color-mix(in srgb, #3d7bd9 40%, var(--line)); border-left-color: #3d7bd9; }
.fcat.k-edit > summary .fdt b { color: color-mix(in srgb, #3d7bd9 70%, var(--fg)); }
.fcat.k-material { border-style: dashed; border-left-style: solid; }
@media (max-width: 640px) { .fold > summary { padding: 9px 10px; gap: 8px; } .fcat { margin: 8px 6px; } .fcat > summary { padding: 8px 9px; gap: 8px; } .fcat > .wbs { padding: 2px 8px 10px; } .fds { display: none; } .fold > summary .fdt b { font-size: 17px; } }
.item .kind { width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The stage (AL 15/10/2026): a staged content, the next version of a client planner, not live yet. */
.pv { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); white-space: nowrap; vertical-align: 1px; }
.stage .hud .pvb { background: #2f6fde; color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; flex: none; }
.stage .side .pvs { border: 1px solid #2f6fde; border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; }
.stage .side .pvs .pv { background: #2f6fde; color: #fff; }
.stage .side .pvs p { margin: 6px 0 0; font-size: 13px; color: #c9c8c2; }
@media (max-width: 640px) { .stage .hud .pvb .pvl { display: none; } }
.item .when { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .wk-h { font-size: 21px; } .wk-go .btn { width: 100%; } .wb { padding: 9px 10px; gap: 10px; } }

/* The two black bands (AL 15/10/2026: "mets les captions de social media comme c'est dans le planner"): the captions per
   platform on the left, the post sheet on the right; on a phone both go under the video, folded. */
.stage .side { min-height: 0; min-width: 0; display: flex; flex-direction: column; padding: calc(58px + env(safe-area-inset-top)) 14px 8px; color: #ecebe6; font-size: 14px; }
.stage .sl { grid-column: 1; grid-row: 1; } .stage .sr { grid-column: 3; grid-row: 1; }
.stage .side .sh { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #9b9a94; margin-bottom: 8px; }
.stage .side .sc { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; display: grid; gap: 10px; align-content: start; padding-right: 4px; user-select: text; -webkit-user-select: text; }
.stage .fold { display: none; }
.stage .dim { color: #9b9a94; margin: 0; }
.stage .cp { background: #141413; border: 1px solid #2c2c2a; border-radius: 12px; padding: 10px 12px; min-width: 0; }
.stage .cph { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 7px; font-size: 13px; }
.stage .pf { display: inline-flex; align-items: center; gap: 6px; }
.stage .lg { display: inline-flex; background: #fff; border-radius: 6px; padding: 1px; line-height: 0; }
.stage .cpt { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; font-size: 14px; }
.stage .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.stage .tags span { font-size: 12px; background: #17263a; color: #9cc3ff; border-radius: 999px; padding: 2px 8px; overflow-wrap: anywhere; }
.stage .code { font-size: 24px; font-weight: 900; letter-spacing: -.01em; }
.stage .pt { font-weight: 700; margin: 2px 0 8px; overflow-wrap: anywhere; }
.stage .kv { display: flex; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid #2c2c2a; padding: 6px 0; font-size: 13px; }
.stage .kv span { color: #9b9a94; flex: none; } .stage .kv b { text-align: right; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.stage .nt i { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #9b9a94; margin: 10px 0 4px; }
.stage .nt p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13.5px; }
.stage .vo { color: #ffd166; font-weight: 700; }
.stage .hist { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.stage .hist li { background: #141413; border: 1px solid #2c2c2a; border-radius: 10px; padding: 7px 9px; font-size: 13px; overflow-wrap: anywhere; }
.stage .hist .hd { display: block; color: #9b9a94; font-size: 12px; margin-bottom: 2px; }
.stage .hist b.go { color: var(--ok); } .stage .hist b.nogo { color: var(--bad); }

/* Colours (C08, AL 28/10/2026: « que les couleurs correspondent »): the stage reads the kit (hq/app/kit.css --ok --bad --warn --blue), the same green and red as the HQ Batches track; no hex of its own.
   The timeline (AL 15/10/2026: "manque timeline"): one thumbnail per content, the colour of its decision, a click jumps;
   it scrolls sideways inside its band only. */
.stage .tl { position: relative; z-index: 3; flex: none; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; padding: 6px 12px 2px; scrollbar-width: thin; scrollbar-color: #3a3a38 transparent; touch-action: pan-x; }
.stage .tlin { display: flex; gap: 4px; width: max-content; padding: 2px 0; }
.stage .th { position: relative; flex: none; width: 36px; height: 60px; border-radius: 6px; overflow: hidden; padding: 0; border: 0; background: #1d1d1c; cursor: pointer; opacity: .62; box-shadow: inset 0 0 0 2px #55554f; }
.stage .th img, .stage .th video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.stage .th .tx { display: block; padding: 14px 3px 3px; font-size: 6.5px; line-height: 1.2; color: #ecebe6; text-align: left; overflow: hidden; height: 100%; }
.stage .th .tn { position: absolute; left: 3px; top: 2px; z-index: 1; font-size: 10px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
.stage .th::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #6b6b66; }
.stage .th.g { box-shadow: inset 0 0 0 2px var(--ok); } .stage .th.g::after { background: var(--ok); }
.stage .th.n { box-shadow: inset 0 0 0 2px var(--bad); } .stage .th.n::after { background: var(--bad); }
.stage .th.c { box-shadow: inset 0 0 0 2px #ffd166; } .stage .th.c::after { background: #ffd166; }
.stage .th.cur { opacity: 1; outline: 2px solid #fff; outline-offset: 1px; }
.stage .th:hover { opacity: 1; }

/* Talk (AL 15/10/2026): the microphone the whole review long, cut per content at the end. */
.stage .bot .bt[aria-pressed="true"] { background: #ff3b30; border-color: #ff3b30; animation: talk 1.6s ease-in-out infinite; }
@keyframes talk { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,48,.55); } 50% { box-shadow: 0 0 0 7px rgba(255,59,48,0); } }
.stage .hud .rec { white-space: nowrap; font-weight: 700; color: #ff6b61; }
.stage .hud .rec:empty { display: none; }
.stage .bot .bl { margin-left: 2px; }
.stage .done .big2 { flex-wrap: wrap; justify-content: center; }

@media (max-width: 860px) {
  .stage .body { display: flex; flex-direction: column; }
  .stage .mid { order: 1; flex: 1; min-height: 140px; }
  .stage .fold { order: 2; display: flex; gap: 8px; padding: 6px 10px 0; }
  .stage .fold button { flex: 1; font: inherit; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; min-height: 36px; cursor: pointer; }
  .stage .fold button.on { background: #fff; color: #000; border-color: #fff; }
  .stage .side { order: 3; display: none; padding: 8px 10px 0; max-height: 40%; flex: none; }
  .stage .side .sh { display: none; }
  .stage.fold-sl .sl, .stage.fold-sr .sr { display: flex; }
  .stage .th { width: 28px; height: 46px; }
  .stage .tl { padding: 5px 10px 0; }
  .stage .bot { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .stage .bot .bc .bl, .stage .bot .bp kbd { display: none; }
  .stage .bot .bc, .stage .bot .bp { min-width: 48px; padding: 8px 10px; }
  .stage .bot .bt { padding: 8px 12px; }
  .stage .cmt { bottom: calc(136px + env(safe-area-inset-bottom)); }
}

/* The feed phone (AL 15/10/2026: "À chaque fois, comme dans un DB planner client, fais-les apparaître comme ça apparaîtra
   dans le feed."): the content in the phone of its platform, as the client dashboard's Calendar draws it, the platform
   tabs on its left, the player under it. SOURCE: ~/Projects/alexandrecorne-site/public/ai/me.html (commit 2527a0a,
   15/10/2026): the plain-frame rules of the carousel (.pn-track to .pn-count) and the FEED-PREVIEW-CSS block, copied as
   is below; then Review's own: the size of the phone on the stage, the tabs, the player for a dark stage (its timeline
   drawn, never a native control), YouTube Shorts and the feed card. */
.stage .mid { padding: calc(50px + env(safe-area-inset-top)) 10px 4px; }
.stage .vhold { display: none; }
.stage.k-video .pz { display: none; }
.stage .rv-feed { --tw: 132px; --tg: 14px; position: relative; width: 100%; height: 100%; container-type: size; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: var(--tg); }
.stage .rv-tabs { grid-column: 1; justify-self: end; width: var(--tw); display: flex; flex-direction: column; gap: 6px; }
.stage .rv-ph { grid-column: 2; --pw: min(100cqw - 2 * (var(--tw) + var(--tg)), (100cqh - 68px) * 402 / 874); }
.stage .pn-phone { position: relative; width: calc(var(--pw) + 12px); padding: 6px; }
.stage .pn-ptab { appearance: none; font: inherit; display: flex; align-items: center; gap: 8px; min-height: 40px; min-width: 0; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #cfcec8; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.stage .pn-ptab > span:not(.lg) { overflow: hidden; text-overflow: ellipsis; }
.stage .pn-ptab:hover { border-color: rgba(255,255,255,.6); }
.stage .pn-ptab.is-on { color: #fff; background: rgba(255,106,0,.2); border-color: rgba(255,106,0,.75); }
.stage span.pn-ptab { cursor: default; }
.stage .pn-ptab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.pn-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.pn-track::-webkit-scrollbar { display: none; }
.pn-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pn-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.pn-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pn-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #e6e5e0; background: rgba(255, 255, 255, .94); color: #1b1b1a; font: 600 18px/1 -apple-system, system-ui, sans-serif; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(11, 11, 12, .12); }
.pn-arrow:hover { border-color: #1b1b1a; }
.pn-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pn-arrow:disabled { visibility: hidden; }
.pn-arrow.is-prev { left: 8px; }
.pn-arrow.is-next { right: 8px; }
.pn-dot { appearance: none; border: 0; background: none; padding: 0; width: 18px; height: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pn-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: background .15s ease, transform .15s ease; }
.pn-dot[aria-current="true"]::before { background: #fff; transform: scale(1.15); }
.pn-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
.pn-count { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: rgba(11, 11, 12, .72); color: #fff; font: 600 12.5px/1 -apple-system, system-ui, sans-serif; padding: 6px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; pointer-events: none; }
.pn-phone .pn-mnote { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; }

/* Ported from the dashboard (FEED-PREVIEW-CSS, me.html), as is: */
/*   In the feed (AL, 11/10/2026): each frame becomes a phone of 402 x 874 points, the screen of AL's
   reference screenshots, with the platform's interface drawn over the post. The screen is laid out
   once at 402 x 874 (.fp-k, one point = one pixel, --u) and scaled as one picture to the size the
   phone has (--k, set by fpFit), so text, icons and media keep their places at every width and
   the interface covers exactly what it covers on a real phone (a font scaled by size alone would
   not: the system font tracks small sizes wider). .fp-a places one element: --x, --y, --w, --h in
   points, measured on the screenshots. */
.fp-scr { position: relative; display: block; width: 100%; aspect-ratio: 402 / 874; overflow: hidden; border-radius: 13.4% / 6.17%; background: #000; color: #fff;
  box-shadow: 0 0 0 5px #1c1c1e, 0 0 0 6px #3a3a3c, 0 14px 30px rgba(11, 11, 12, .2); isolation: isolate;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; line-height: 1.2; letter-spacing: 0; text-align: left;
  -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none; }
.fp-light .fp-scr { background: #fff; color: #0c0c0d; }
.fp-k { --u: 1px; position: absolute; left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0; transform: scale(var(--k, 1)); }
.fp-scr svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fp-scr b { font-weight: 600; }
.fp-a { position: absolute; display: block; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); }
.fp-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fp-reel .fp-ui, .fp-photo .fp-ui { text-shadow: 0 0 calc(3 * var(--u)) rgba(0, 0, 0, .32); }
.fp-reel .fp-ui svg, .fp-photo .fp-ui svg { filter: drop-shadow(0 0 calc(1.6 * var(--u)) rgba(0, 0, 0, .3)); }
.fp-media { position: absolute; inset: 0; overflow: hidden; background: #000; }
.fp-media > video, .fp-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-shade { position: absolute; left: 0; right: 0; display: block; }
.fp-shade.is-top { top: 0; height: calc(170 * var(--u)); background: linear-gradient(rgba(0, 0, 0, .24), rgba(0, 0, 0, 0)); }
.fp-shade.is-bot { bottom: 0; height: calc(330 * var(--u)); background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .45)); }
.fp-av { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; container-type: size;
  background: #d9d9de var(--fp-av, none) center / cover no-repeat; color: #3a3a3c; text-shadow: none; }
.fp-av b { font-size: 46cqh; font-weight: 700; line-height: 1; }
.fp-has-av .fp-av { background-color: #fff; }
.fp-has-av .fp-av b { visibility: hidden; }
.fp-n { display: flex; align-items: center; justify-content: center; font-size: calc(17 * var(--u)); font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .9); }
.fp-name { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-ln { display: block; white-space: nowrap; overflow: hidden; }
.fp-more { font-weight: 600; }
.fp-sound { display: flex; align-items: center; gap: calc(5 * var(--u)); white-space: nowrap; overflow: hidden; }
.fp-sound svg { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.fp-sound span { overflow: hidden; text-overflow: ellipsis; }
.fp-follow { flex: none; display: inline-flex; align-items: center; height: calc(22 * var(--u)); padding: 0 calc(8 * var(--u)); border: calc(1.2 * var(--u)) solid rgba(255, 255, 255, .6); border-radius: calc(6.7 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 600; line-height: 1; }
/* Status bar: the island and the Preview label where the clock is (the sound is in the player under the phone). */
.fp-sb { position: absolute; left: 0; right: 0; top: 0; height: calc(54 * var(--u)); z-index: 4; pointer-events: none; }
.fp-isl { --x: 139; --y: 11; --w: 124; --h: 36; border-radius: calc(18 * var(--u)); background: #000; }
.fp-tag { position: absolute; left: calc(30 * var(--u)); top: calc(21 * var(--u)); height: calc(22 * var(--u)); padding: 0 calc(9 * var(--u)); border-radius: calc(11 * var(--u)); font-size: calc(12.5 * var(--u)); font-weight: 600; line-height: calc(22 * var(--u)); color: #fff; background: rgba(255, 255, 255, .22); white-space: nowrap; }
.fp-light .fp-tag { color: #0c0c0d; background: rgba(0, 0, 0, .07); }
/* A tap on the video plays or pauses it; the sign shows while it is paused. */
.fp-tap { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.fp-tap:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.fp-play { --x: 0; --y: 0; --w: 64; --h: 64; left: 50%; top: 50%; margin: calc(-32 * var(--u)) 0 0 calc(-32 * var(--u)); z-index: 1; color: rgba(255, 255, 255, .78); opacity: 0; transition: opacity .15s ease; pointer-events: none; filter: drop-shadow(0 0 calc(4 * var(--u)) rgba(0, 0, 0, .35)); }
.pn-phone.is-paused .fp-play { opacity: 1; }
.fp-prog { position: absolute; display: block; overflow: hidden; border-radius: calc(2 * var(--u)); background: rgba(255, 255, 255, .28); }
.fp-prog > i { display: block; width: 0; height: 100%; background: rgba(255, 255, 255, .92); }
/* Carousel inside a phone: the track as in the plain frame, arrows on hover only (a swipe on a phone). */
.pn-phone .pn-arrow { width: calc(32 * var(--u)); height: calc(32 * var(--u)); font-size: calc(16 * var(--u)); border: 0; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); visibility: hidden; z-index: 2; }
.pn-phone .pn-arrow.is-prev { left: calc(8 * var(--u)); }
.pn-phone .pn-arrow.is-next { right: calc(8 * var(--u)); }
@media (hover: hover) { .pn-phone .fp-media:hover .pn-arrow:not(:disabled) { visibility: visible; } }
.pn-phone .pn-arrow:focus-visible:not(:disabled) { visibility: visible; }
.fp-dots { position: absolute; z-index: 3; display: flex; align-items: center; justify-content: center; }
.fp-dots .pn-dot { width: calc(11 * var(--u)); height: calc(18 * var(--u)); }
.fp-dots .pn-dot::before { width: calc(6 * var(--u)); height: calc(6 * var(--u)); background: rgba(255, 255, 255, .45); }
.fp-dots .pn-dot[aria-current="true"]::before { background: #fff; transform: none; }
.fp-count { left: auto; right: calc(12 * var(--u)); top: calc(12 * var(--u)); bottom: auto; transform: none; z-index: 2; padding: calc(4 * var(--u)) calc(9 * var(--u)); border-radius: calc(13 * var(--u)); font-size: calc(12.5 * var(--u)); line-height: calc(16 * var(--u)); background: rgba(18, 18, 18, .7); }
.pn-phone .pn-mnote { color: var(--ink-soft); }

/* TikTok: status bar and nav bar black, the post between them (61 to 791 points). */
.fp-tt .fp-media { top: calc(61 * var(--u)); bottom: calc(83 * var(--u)); }
.fp-tt.is-wide .fp-media > video, .fp-tt .fp-media > img, .fp-tt .pn-slide img { object-fit: contain; }
.fp-tt .pn-arrow { top: calc(240 * var(--u)); }
.fp-tt .fp-shade.is-top { top: calc(61 * var(--u)); height: calc(110 * var(--u)); }
.fp-tt .fp-shade.is-bot { bottom: calc(83 * var(--u)); height: calc(250 * var(--u)); background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .3)); }
.t-live { --x: 17.4; --y: 72.3; --w: 21.3; --h: 23; }
.t-search { --x: 362.6; --y: 72.6; --w: 23.4; --h: 23.4; }
.fp-tt-tabs { position: absolute; left: calc(46 * var(--u)); right: calc(57.7 * var(--u)); top: calc(72 * var(--u)); height: calc(40 * var(--u)); display: flex; justify-content: flex-end; align-items: flex-start; gap: calc(16.5 * var(--u)); overflow: hidden; white-space: nowrap;
  font-size: calc(14.2 * var(--u)); font-weight: 600; line-height: calc(24 * var(--u)); color: rgba(255, 255, 255, .72);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 calc(34 * var(--u))); mask-image: linear-gradient(90deg, transparent, #000 calc(34 * var(--u))); }
.fp-tt-tabs > span { flex: none; position: relative; height: calc(24 * var(--u)); }
.fp-tt-tabs > .is-on { color: #fff; font-weight: 700; }
.fp-tt-tabs > .is-on::after { content: ""; position: absolute; left: 50%; top: calc(30 * var(--u)); width: calc(24 * var(--u)); height: calc(2.2 * var(--u)); margin-left: calc(-12 * var(--u)); border-radius: calc(1.1 * var(--u)); background: #fff; }
.t-av { --x: 349.7; --y: 393; --w: 44; --h: 44; }
.t-av .fp-av { box-shadow: 0 0 0 calc(1 * var(--u)) #fff; }
.t-plus { --x: 360.9; --y: 426.3; --w: 21.4; --h: 21.4; }
.t-heart { --x: 357.35; --y: 473.35; --w: 28.7; --h: 25.7; }
.t-com { --x: 357.7; --y: 537.95; --w: 28; --h: 27.7; }
.t-save { --x: 361.3; --y: 605.65; --w: 21; --h: 23.7; }
.t-share { --x: 357.7; --y: 670.65; --w: 27; --h: 26.7; }
.t-n1, .t-n2, .t-n3, .t-n4 { --x: 351.7; --w: 40; --h: 16; }
.t-n1 { --y: 502; } .t-n2 { --y: 568; } .t-n3 { --y: 634.2; } .t-n4 { --y: 700; }
.t-disc { --x: 351.7; --y: 737; --w: 40; --h: 40; }
.fp-disc { display: block; width: 100%; height: 100%; padding: 9%; border-radius: 50%; background: radial-gradient(circle, #2c2c2e 0 50%, #121212 51%); animation: fp-spin 8s linear infinite; }
.pn-phone.is-paused .fp-disc { animation-play-state: paused; }
@keyframes fp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fp-disc { animation: none; } }
.fp-tt-txt { position: absolute; left: calc(12 * var(--u)); bottom: calc(94.2 * var(--u)); width: calc(296 * var(--u)); display: flex; flex-direction: column; }
.fp-tt-txt .fp-name { font-size: calc(15.6 * var(--u)); line-height: calc(22 * var(--u)); }
.fp-tt-txt .fp-cap { display: block; margin-top: calc(7.5 * var(--u)); }
.fp-tt-txt .fp-ln { font-size: calc(15.2 * var(--u)); line-height: calc(17 * var(--u)); }
.fp-tt-txt .fp-more { font-size: calc(14 * var(--u)); }
.fp-tt .fp-more { color: rgba(255, 255, 255, .78); }
.fp-tt-txt .fp-sound { margin-top: calc(5.5 * var(--u)); font-size: calc(14.2 * var(--u)); line-height: calc(17 * var(--u)); }
.fp-tt.fp-photo .fp-tt-txt { bottom: calc(108 * var(--u)); }
.fp-dots-tt { left: 0; right: 0; top: calc(766 * var(--u)); height: calc(18 * var(--u)); }
.fp-prog-tt { left: calc(12 * var(--u)); right: calc(12 * var(--u)); top: calc(788 * var(--u)); height: calc(1.6 * var(--u)); }
.t-navbg { --x: 0; --y: 791; --w: 402; --h: 83; background: #000; }
.fp-tt .fp-nv { --y: 797; --w: 60; --h: 40; display: flex; flex-direction: column; align-items: center; color: #fff; text-shadow: none; filter: none; }
.fp-tt .fp-nv > svg { flex: none; width: calc(24 * var(--u)); height: calc(24 * var(--u)); filter: none; }
.fp-tt .fp-nv > span { margin-top: calc(2 * var(--u)); font-size: calc(9.9 * var(--u)); font-weight: 600; line-height: calc(13 * var(--u)); }
.fp-tt .tn1 > span { font-weight: 700; }
.tn1 { --x: 10.3; } .tn2 { --x: 90.8; } .tn4 { --x: 251.5; } .tn5 { --x: 331.8; }
.tn3 { --x: 178.35; --y: 801; --w: 45.7; --h: 28.7; }
.fp-tt .tn3 svg { filter: none; }

/* Instagram Reels: the post fills the screen, the nav floats over it. */
.fp-ig.is-wide.fp-reel .fp-media > video { object-fit: contain; }
.i-plus { --x: 16.9; --y: 75.9; --w: 22.2; --h: 22.2; }
.fp-ig-tabs { position: absolute; left: calc(122 * var(--u)); top: calc(73 * var(--u)); height: calc(28 * var(--u)); display: flex; gap: calc(16.6 * var(--u)); white-space: nowrap; font-size: calc(22.7 * var(--u)); font-weight: 700; line-height: calc(28 * var(--u)); color: rgba(255, 255, 255, .55); }
.fp-ig-tabs .is-on { color: #fff; }
.i-filter { --x: 358; --y: 76.7; --w: 22; --h: 20.6; }
.i-heart { --x: 358.65; --y: 397.95; --w: 25.7; --h: 22.7; }
.i-com { --x: 359.65; --y: 467; --w: 23.7; --h: 24; }
.i-rep { --x: 360.65; --y: 536.65; --w: 21.7; --h: 28.7; }
.i-send { --x: 359.65; --y: 614; --w: 23.7; --h: 22; }
.i-save { --x: 361.65; --y: 685; --w: 19.7; --h: 23; }
.i-n1, .i-n2, .i-n3, .i-n4 { --x: 351.5; --w: 40; --h: 16; }
.i-n1 { --y: 430.8; } .i-n2 { --y: 499.8; } .i-n3 { --y: 575.8; } .i-n4 { --y: 644.8; }
.i-audio { --x: 356.3; --y: 725; --w: 30; --h: 30; }
.i-audio .fp-av { border-radius: calc(7 * var(--u)); box-shadow: 0 0 0 calc(2 * var(--u)) #fff; }
.i-av { --x: 15; --y: 691; --w: 38; --h: 38; }
.fp-ig-who { position: absolute; left: calc(59.7 * var(--u)); top: calc(698.3 * var(--u)); height: calc(22 * var(--u)); display: flex; align-items: center; gap: calc(12 * var(--u)); white-space: nowrap; }
.fp-ig-who .fp-name { max-width: calc(180 * var(--u)); font-size: calc(12.9 * var(--u)); line-height: calc(22 * var(--u)); }
.fp-ig-who .fp-follow { font-size: calc(12.7 * var(--u)); }
.fp-ig-cap { position: absolute; left: calc(16 * var(--u)); top: calc(737 * var(--u)); width: calc(318 * var(--u)); }
.fp-ig-cap .fp-ln { font-size: calc(13.2 * var(--u)); line-height: calc(18 * var(--u)); }
.fp-prog-ig { left: calc(16 * var(--u)); width: calc(369.4 * var(--u)); top: calc(775 * var(--u)); height: calc(2 * var(--u)); background: rgba(255, 255, 255, .35); }
.fp-prog-ig > i { background: #fff; }
.fp-ignav { --x: 51; --y: 796.5; --w: 300; --h: 49; border-radius: calc(24.5 * var(--u)); background: rgba(44, 44, 46, .6); -webkit-backdrop-filter: blur(calc(16 * var(--u))) saturate(1.5); backdrop-filter: blur(calc(16 * var(--u))) saturate(1.5); box-shadow: inset 0 0 0 calc(.8 * var(--u)) rgba(255, 255, 255, .16); }
.fp-ignav-on { --x: 112; --y: 801.7; --w: 64; --h: 39.3; border-radius: calc(19.7 * var(--u)); background: rgba(255, 255, 255, .16); }
.in1, .in2, .in3, .in4 { --y: 810.5; --w: 23; --h: 23; }
.in1 { --x: 75.7; } .in2 { --x: 132.7; } .in3 { --x: 189.5; } .in4 { --x: 246; }
.in5 { --x: 303.6; --y: 811.3; --w: 21.4; --h: 21.4; }
.fp-ui .fp-navav svg, .fp-ignav, .fp-fbnav { filter: none; }

/* Facebook Reels: a tall video fills the screen; a wider one sits under the status bar. */
.fp-fb.is-wide.fp-reel .fp-media { top: calc(64 * var(--u)); bottom: auto; height: auto; aspect-ratio: var(--fp-ar, .8); }
.fp-fb.is-wide.fp-reel .fp-shade.is-top { top: calc(64 * var(--u)); }
.fp-fb-title { position: absolute; left: calc(14 * var(--u)); top: calc(70 * var(--u)); font-size: calc(26.6 * var(--u)); font-weight: 700; line-height: calc(36 * var(--u)); }
.f-search { --x: 322.6; --y: 76.6; --w: 22.8; --h: 22.8; }
.f-more { --x: 366.2; --y: 76.2; --w: 23.6; --h: 23.6; }
.f-like { --x: 361; --y: 468.05; --w: 26; --h: 25.3; }
.f-com { --x: 361; --y: 539.7; --w: 26; --h: 26; }
.f-share { --x: 360.35; --y: 611.95; --w: 26.3; --h: 24.7; }
.f-save { --x: 364; --y: 683; --w: 20; --h: 26; }
.f-n1, .f-n2, .f-n3, .f-n4 { --x: 354; --w: 40; --h: 16; }
.f-n1 { --y: 499.3; } .f-n2 { --y: 571; } .f-n3 { --y: 642.8; } .f-n4 { --y: 714.3; }
.f-dots { --x: 364; --y: 759.6; --w: 20; --h: 4.8; }
.fp-fb-who { position: absolute; left: calc(12 * var(--u)); top: calc(716.7 * var(--u)); height: calc(39.5 * var(--u)); max-width: calc(336 * var(--u)); display: flex; align-items: center; white-space: nowrap; }
.fp-ring { flex: none; display: block; width: calc(39.5 * var(--u)); height: calc(39.5 * var(--u)); padding: calc(1.6 * var(--u)); border: calc(2 * var(--u)) solid #2d88ff; border-radius: 50%; background: #000; }
.fp-fb-names { display: flex; flex-direction: column; min-width: 0; max-width: calc(205 * var(--u)); margin-left: calc(8.5 * var(--u)); }
.fp-fb-names .fp-name { font-size: calc(13.9 * var(--u)); line-height: calc(20 * var(--u)); }
.fp-fb-names .fp-sound { margin-top: calc(1 * var(--u)); font-size: calc(12 * var(--u)); line-height: calc(17 * var(--u)); }
.fp-fb-names .fp-sound svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.fp-fb-who .fp-follow { margin-left: calc(13 * var(--u)); height: calc(24.6 * var(--u)); padding: 0 calc(8.5 * var(--u)); border-radius: calc(7 * var(--u)); font-size: calc(13.6 * var(--u)); border-color: rgba(255, 255, 255, .5); }
.fp-fb-cap { position: absolute; left: calc(12 * var(--u)); top: calc(765 * var(--u)); width: calc(334 * var(--u)); }
.fp-fb-cap .fp-ln { font-size: calc(14 * var(--u)); line-height: calc(19 * var(--u)); }
.fp-fb-cap .fp-more { font-size: calc(13.4 * var(--u)); }
.fp-fb .fp-more { color: rgba(255, 255, 255, .62); }
.fp-fbnav { --x: 12.2; --y: 801; --w: 376.8; --h: 50.4; border-radius: calc(25.2 * var(--u)); background: rgba(44, 44, 46, .72); -webkit-backdrop-filter: blur(calc(16 * var(--u))) saturate(1.5); backdrop-filter: blur(calc(16 * var(--u))) saturate(1.5); box-shadow: inset 0 0 0 calc(.8 * var(--u)) rgba(255, 255, 255, .14); }
.fp-fbnav-on { --x: 80.9; --y: 807; --w: 53.1; --h: 38.6; border-radius: calc(19.3 * var(--u)); background: rgba(255, 255, 255, .14); }
.fn1, .fn2, .fn3, .fn4, .fn5 { --y: 813; --w: 28; --h: 28; }
.fn1 { --x: 31.3; } .fn2 { --x: 93.7; } .fn3 { --x: 156; } .fn4 { --x: 218.3; } .fn5 { --x: 280.7; }
.fn6 { --x: 338; --y: 814; --w: 26; --h: 26; }

/* Instagram and Facebook feed posts (pictures and carousels), light, the nav pill floating. */
.fp-feed { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: calc(54 * var(--u)); overflow: hidden; }
.fp-post .fp-media { position: relative; inset: auto; flex: none; width: 100%; aspect-ratio: var(--fp-ar, .8); background: #efefef; }
.fp-post .fp-media > img, .fp-post .pn-slide img { object-fit: cover; }
.fp-post .fp-feed svg { flex: none; }
.fp-pav { flex: none; display: block; }
.fp-ighead { flex: none; position: relative; display: flex; align-items: center; height: calc(44 * var(--u)); padding: 0 calc(16 * var(--u)); }
.fp-ighead svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.fp-ighead b { flex: 1; text-align: center; font-size: calc(25 * var(--u)); font-weight: 700; letter-spacing: calc(-0.6 * var(--u)); line-height: calc(44 * var(--u)); }
.fp-phead { flex: none; display: flex; align-items: center; height: calc(54 * var(--u)); padding: 0 calc(12 * var(--u)); gap: calc(10 * var(--u)); }
.fp-phead .fp-pav { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.fp-phead .fp-name { flex: 1; font-size: calc(14 * var(--u)); }
.fp-pmore { width: calc(16 * var(--u)) !important; height: calc(4.4 * var(--u)) !important; }
.fp-acts { flex: none; position: relative; height: calc(46 * var(--u)); }
.fp-acts-i { position: absolute; inset: 0; display: flex; align-items: center; gap: calc(16 * var(--u)); padding: 0 calc(12 * var(--u)); }
.fp-acts-i svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.fp-acts-i .fp-rep { width: calc(19 * var(--u)); height: calc(24.5 * var(--u)); }
.fp-acts-i .fp-sp { flex: 1; }
.fp-dots-ig, .fp-dots-fb { position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); gap: calc(1 * var(--u)); }
.fp-dots-ig .pn-dot::before, .fp-dots-fb .pn-dot::before { background: #c7c7cc; }
.fp-dots-ig .pn-dot[aria-current="true"]::before { background: #0095f6; }
.fp-dots-fb { position: relative; left: auto; transform: none; flex: none; height: calc(20 * var(--u)); }
.fp-dots-fb .pn-dot[aria-current="true"]::before { background: #0866ff; }
.fp-pcap { display: block; flex: none; padding: 0 calc(12 * var(--u)); }
.fp-igp .fp-pcap .fp-ln { font-size: calc(14 * var(--u)); line-height: calc(18 * var(--u)); }
.fp-igp .fp-more { color: #737373; font-weight: 400; }
.fp-light .fp-ignav, .fp-light .fp-fbnav { background: rgba(250, 250, 252, .84); box-shadow: 0 calc(2 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, .12), inset 0 0 0 calc(.8 * var(--u)) rgba(0, 0, 0, .06); }
.fp-light .fp-ignav-on, .fp-light .fp-fbnav-on { background: rgba(0, 0, 0, .065); }
.fp-light .fp-ignav-on { --x: 55.2; }
.fp-light .fp-fbnav-on { --x: 18.8; }
.fp-light .fp-ui { color: #0c0c0d; }
.fp-fbp .fp-feed { background: #fff; }
.fp-fbhead { flex: none; display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(52 * var(--u)); padding: 0 calc(12 * var(--u)) 0 calc(16 * var(--u)); }
.fp-fbhead b { flex: 1; font-size: calc(30 * var(--u)); font-weight: 800; letter-spacing: calc(-1.2 * var(--u)); color: #0866ff; line-height: 1; }
.fp-circ { flex: none; display: flex; align-items: center; justify-content: center; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%; background: #e4e6eb; color: #050505; }
.fp-circ svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.fp-fbsep { flex: none; display: block; height: calc(6 * var(--u)); background: #e4e6eb; }
.fp-fbph { flex: none; display: flex; align-items: center; gap: calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(8 * var(--u)); color: #050505; }
.fp-fbph .fp-pav { width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.fp-fbph-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fp-fbph-n { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-fbfollow { color: #0866ff; font-weight: 600; }
.fp-fbph-s { display: flex; align-items: center; height: calc(16 * var(--u)); color: #65676b; }
.fp-fbph-s svg { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
.fp-fbph .fp-pmore { color: #65676b; }
.fp-pclose { width: calc(20 * var(--u)) !important; height: calc(20 * var(--u)) !important; color: #65676b; margin-left: calc(10 * var(--u)); }
.fp-fbp .fp-pcap { padding-bottom: calc(10 * var(--u)); color: #050505; }
.fp-fbp .fp-pcap .fp-ln { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); }
.fp-fbp .fp-more { color: #65676b; }
.fp-fbacts { flex: none; display: flex; align-items: center; justify-content: space-around; height: calc(44 * var(--u)); margin: calc(2 * var(--u)) calc(12 * var(--u)) 0; border-top: calc(.8 * var(--u)) solid #ced0d4; color: #65676b; font-size: calc(14.5 * var(--u)); font-weight: 600; }
.fp-fbacts > span { display: flex; align-items: center; gap: calc(6 * var(--u)); }
.fp-fbacts svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.fp-none .fp-scr { background: var(--bg-2); box-shadow: 0 0 0 5px #d9d9de, 0 0 0 6px #c7c7cc; }
/* End of the port. */

/* On the dark stage the phone's edge needs a lighter ring to read. */
.stage .fp-scr { box-shadow: 0 0 0 5px #1c1c1e, 0 0 0 6px #4a4a4c, 0 14px 30px rgba(0, 0, 0, .4); }
/* The player under the phone (dashboard 12/10/2026, redrawn for the dark stage): play or pause, the timeline, the clock,
   the sound; for a carousel the slide shown with previous and next. */
.fp-pb { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 4px 6px; min-height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; }
.fp-pb.is-none { visibility: hidden; }
.fp-pb-btn { flex: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.fp-pb-btn:hover { background: rgba(255,255,255,.12); }
.fp-pb-btn:focus-visible, .fp-pb-seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fp-pb-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.fp-pb-btn svg { display: block; width: 20px; height: 20px; }
.pn-phone .fp-pb-btn .p-pause, .pn-phone.is-paused .fp-pb-btn .p-play { display: block; }
.pn-phone .fp-pb-btn .p-play, .pn-phone.is-paused .fp-pb-btn .p-pause { display: none; }
.pn-phone .fp-pb-btn .s-on, .pn-phone.is-muted .fp-pb-btn .s-off { display: block; }
.pn-phone .fp-pb-btn .s-off, .pn-phone.is-muted .fp-pb-btn .s-on { display: none; }
.fp-pb-seek { --p: 0%; position: relative; flex: 1 1 auto; min-width: 0; height: 28px; cursor: pointer; touch-action: none; border-radius: 6px; }
.fp-pb-seek i { position: absolute; display: block; }
.fp-pb-line { left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.fp-pb-fill { left: 0; top: 0; bottom: 0; width: var(--p); background: var(--accent); }
.fp-pb-knob { left: var(--p); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.45); }
.fp-pb-time { flex: none; font-size: 12.5px; color: #b9b8b2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp-pb.is-car { justify-content: space-between; }
.fp-pb .fp-pb-count { position: static; transform: none; left: auto; bottom: auto; padding: 0; background: none; color: #fff; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }

/* YouTube Shorts (Review, in the points of the dashboard's Reels): the post between the status bar and the nav. */
.fp-yt .fp-media { bottom: calc(83 * var(--u)); }
.fp-yt.is-wide .fp-media > video { object-fit: contain; }
.y-search { --x: 318; --y: 74; --w: 24; --h: 24; }
.y-more { --x: 368; --y: 75; --w: 6; --h: 22; }
.y-like { --x: 357; --y: 425; --w: 30; --h: 28; }
.y-n1, .y-n3 { --x: 352; --w: 40; --h: 16; }
.y-n1 { --y: 456; } .y-n3 { --y: 586; }
.y-dis { --x: 357; --y: 490; --w: 30; --h: 28; }
.y-com { --x: 358; --y: 555; --w: 28; --h: 28; }
.y-share { --x: 358; --y: 620; --w: 28; --h: 25; }
.y-remix { --x: 358; --y: 683; --w: 28; --h: 28; }
.y-l2, .y-l4, .y-l5 { --x: 332; --w: 80; --h: 16; }
.y-l2 { --y: 521; } .y-l4 { --y: 650; } .y-l5 { --y: 714; }
.fp-yl { display: flex; justify-content: center; font-size: calc(12 * var(--u)); font-weight: 600; line-height: calc(16 * var(--u)); }
.y-audio { --x: 356; --y: 745; --w: 32; --h: 32; }
.y-audio .fp-av { border-radius: calc(7 * var(--u)); box-shadow: 0 0 0 calc(2 * var(--u)) #fff; }
.fp-yt-who { position: absolute; left: calc(12 * var(--u)); top: calc(698 * var(--u)); height: calc(34 * var(--u)); max-width: calc(320 * var(--u)); display: flex; align-items: center; gap: calc(9 * var(--u)); white-space: nowrap; }
.fp-yav { flex: none; display: block; width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.fp-yt-who .fp-name { min-width: 0; font-size: calc(14.5 * var(--u)); }
.fp-ysub { flex: none; display: inline-flex; align-items: center; height: calc(30 * var(--u)); padding: 0 calc(13 * var(--u)); border-radius: calc(15 * var(--u)); background: #fff; color: #0f0f0f; font-size: calc(13.5 * var(--u)); font-weight: 600; text-shadow: none; }
.fp-yt-cap { position: absolute; left: calc(12 * var(--u)); top: calc(740 * var(--u)); width: calc(322 * var(--u)); }
.fp-yt-cap .fp-ln { font-size: calc(14.5 * var(--u)); line-height: calc(19 * var(--u)); }
.fp-prog-yt { left: 0; right: 0; top: calc(789 * var(--u)); height: calc(2 * var(--u)); border-radius: 0; }
.fp-prog-yt > i { background: #ff0033; }
.y-navbg { --x: 0; --y: 791; --w: 402; --h: 83; background: #0f0f0f; }
.fp-yt .fp-nv { --y: 799; --w: 76; --h: 40; display: flex; flex-direction: column; align-items: center; color: #fff; text-shadow: none; filter: none; }
.fp-yt .fp-nv > svg { flex: none; width: calc(24 * var(--u)); height: calc(24 * var(--u)); filter: none; }
.fp-yt .fp-nv > span { margin-top: calc(3 * var(--u)); font-size: calc(10 * var(--u)); font-weight: 500; line-height: calc(13 * var(--u)); white-space: nowrap; }
.yn1 { --x: 4; } .yn2 { --x: 82; } .yn4 { --x: 240; }
.yn3 { --x: 182; --y: 800; --w: 38; --h: 38; }
.yn5 { --x: 340; --y: 805; --w: 26; --h: 26; }

/* The feed card (Review, in the manner of the dashboard's Instagram and Facebook feed posts): a text post, and the
   platforms the dashboard does not draw (LinkedIn, X, Threads, Pinterest, YouTube without a video). */
.fp-gp .fp-feed { background: #fff; }
.fp-ghead { flex: none; display: flex; align-items: center; gap: calc(18 * var(--u)); height: calc(50 * var(--u)); padding: 0 calc(16 * var(--u)); color: #0f1419; }
.fp-ghead b { flex: 1; min-width: 0; font-size: calc(24 * var(--u)); font-weight: 800; letter-spacing: calc(-0.6 * var(--u)); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-ghead svg { width: calc(22 * var(--u)) !important; height: calc(22 * var(--u)) !important; }
.fp-gsep { flex: none; display: block; height: calc(1 * var(--u)); background: #e1e4e8; }
.fp-gph { flex: none; display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(12 * var(--u)) calc(12 * var(--u)) calc(8 * var(--u)); color: #0f1419; }
.fp-gph .fp-pav { width: calc(42 * var(--u)); height: calc(42 * var(--u)); }
.fp-gph-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.fp-gph-t .fp-name { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); }
.fp-gsub { font-size: calc(13.5 * var(--u)); line-height: calc(18 * var(--u)); color: #536471; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-gph .fp-pmore { color: #536471; }
.fp-gp .fp-pcap { padding-bottom: calc(10 * var(--u)); color: #0f1419; }
.fp-gp .fp-pcap .fp-ln { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); }
.fp-gp .fp-pcap.is-text .fp-ln { font-size: calc(16 * var(--u)); line-height: calc(22 * var(--u)); }
.fp-gp .fp-more { color: #536471; }
.fp-gacts { flex: none; display: flex; align-items: center; justify-content: space-between; height: calc(46 * var(--u)); margin: calc(2 * var(--u)) calc(14 * var(--u)) 0; color: #536471; font-size: calc(13.5 * var(--u)); font-weight: 600; }
.fp-gacts > span { display: flex; align-items: center; gap: calc(6 * var(--u)); }
.fp-gacts svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.fp-gacts .fp-gsave { padding: calc(8 * var(--u)) calc(16 * var(--u)); border-radius: calc(20 * var(--u)); background: #e60023; color: #fff; font-weight: 700; }
.fp-gnav { position: absolute; left: 0; right: 0; bottom: 0; height: calc(83 * var(--u)); padding: calc(12 * var(--u)) calc(28 * var(--u)) 0; display: flex; align-items: flex-start; justify-content: space-between; background: rgba(255,255,255,.97); border-top: calc(1 * var(--u)) solid #e1e4e8; color: #0f1419; }
.fp-gnav svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.fp-gnav-av { display: block; width: calc(26 * var(--u)); height: calc(26 * var(--u)); }

@media (max-width: 860px) {
  .stage .rv-feed { --tw: 44px; --tg: 8px; }
  .stage .pn-ptab { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .stage .pn-ptab > span:not(.lg) { display: none; }
  .fp-pb { margin-top: 8px; gap: 4px; }
  .fp-pb-time { font-size: 11.5px; }
}

/* QA 15/10/2026. A pin is shown whole, as Pinterest shows it (a 2:3 pin lost its top line and its logo to the 4:5 crop). */
.fp-pin.fp-whole .fp-media > img, .fp-pin.fp-whole .pn-slide img { object-fit: contain; background: #fff; }
/* Between 861 and 1100 px the two bands stay beside the phone: the tabs shrink to their logo, as on a phone, so the phone
   keeps its size (at 861 px it was 109 px wide, its player spilling out). */
@media (min-width: 861px) and (max-width: 1100px) {
  .stage .rv-feed { --tw: 44px; --tg: 8px; }
  .stage .pn-ptab { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .stage .pn-ptab > span:not(.lg) { display: none; }
}
/* A narrow player (a small phone, the Caption panel open on a phone) drops the clock and tightens before anything spills out. */
.stage .fp-pb { container-type: inline-size; }
@container (max-width: 200px) {
  .stage .fp-pb-time { display: none; }
  .stage .fp-pb-btn { width: 30px; height: 30px; }
  .stage .fp-pb .fp-pb-count { font-size: 12px; }
}

/* The score 1 to 10 (AL 15/10/2026: « mets les 10 dans Ali's review avec option notation »): a strip above the buttons,
   keys 1 to 9 and 0 = 10, the same number again takes it off. Shown on the timeline (top right of a thumbnail), in the
   contents of the session and in its Ranking. */
.stage .score { position: relative; z-index: 3; flex: none; display: flex; gap: 4px; align-items: center; justify-content: center; padding: 6px 14px 0; }
.stage .score .scl { font-size: 12px; font-weight: 700; opacity: .7; margin-right: 6px; text-transform: uppercase; letter-spacing: .04em; }
.stage .score button { font: inherit; flex: 1 1 0; min-width: 0; max-width: 46px; min-height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; padding: 0; }
.stage .score button:hover { background: rgba(255,255,255,.18); }
.stage .score button.on { background: #ff6a00; border-color: #ff6a00; outline: 2px solid #fff; }
.stage .cmt { bottom: calc(206px + env(safe-area-inset-bottom)); }
.stage .flash.sc { display: flex; color: #ff6a00; background: rgba(255,106,0,.12); animation: fl .35s forwards; }
.stage .th[data-sc]::before { content: attr(data-sc); position: absolute; right: 2px; top: 2px; z-index: 1; font-size: 10px; font-weight: 800; color: #000; background: #ff6a00; border-radius: 4px; padding: 0 3px; line-height: 13px; }
.badge.scb { background: color-mix(in srgb, #ff6a00 16%, transparent); color: color-mix(in srgb, #ff6a00 70%, var(--fg)); font-weight: 700; font-variant-numeric: tabular-nums; }
.rank .n { width: 26px; font-weight: 700; color: var(--fg); }
@media (max-width: 640px) { .stage .score { gap: 3px; padding: 5px 8px 0; } .stage .score .scl { display: none; } .stage .score button { min-height: 36px; font-size: 14px; border-radius: 8px; } }
@media (max-width: 860px) { .stage .cmt { bottom: calc(178px + env(safe-area-inset-bottom)); } }

/* Full screen and Plein cadre (AL 16/10/2026, 01:01: « Crée une fonction full screen review stp merci », on a session of
   16:9 transitions drawn tiny in the TikTok phone). The view buttons sit right of the phone (the platform tabs are on its
   left); in Plein cadre and full screen the content leaves the phone (.rv-plain, its ratio in --ar) with the player and the
   view buttons under it. Full screen (.stage.fs): the bands, the timeline and the tabs go; on a phone the decision bar stays
   under the content, on a computer the bars float over it and fade when the mouse rests (.fs-idle). */
.stage .hud .fsx { display: none; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.45); color: #fff; cursor: pointer; }
.stage .hud .fsx:hover { border-color: #fff; }
.stage .hud .fsx:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* M7 (AL 30/10/2026, capture 43: « Dans HQ le menu doit apparaître », also in the view of a piece): the stage starts under the HQ bar (--hqbar, nav.js: 0 on a phone
   and on a page with no bar, the client's link); Full screen is the one way it covers the menu. */
.stage.fs { inset: 0; }
.stage.fs .hud .fsx { display: inline-flex; }
.stage.fs .hud .x { display: none; }
.stage .rv-view { grid-column: 3; justify-self: start; width: var(--tw); display: flex; flex-direction: column; gap: 6px; }
.stage .rv-vb { appearance: none; font: inherit; display: flex; align-items: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 0 10px 0 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.stage .rv-vb > span { overflow: hidden; text-overflow: ellipsis; }
.stage .rv-vb svg { flex: none; display: block; }
.stage .rv-vb:hover { border-color: #fff; background: rgba(255,255,255,.2); }
.stage .rv-vb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stage .rv-vb[aria-pressed="true"] { background: rgba(255,106,0,.22); border-color: rgba(255,106,0,.8); }
.stage .rv-vb[hidden] { display: none; }
@media (max-width: 1100px) {
  .stage .rv-vb { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .stage .rv-vb > span { display: none; }
}
/* The content without the phone. */
.stage .rv-feed.rv-flat { display: flex; align-items: center; justify-content: center; }
.stage .rv-flat .rv-ph { display: flex; justify-content: center; width: 100%; min-width: 0; }
.stage .rv-plain { --rowh: 52px; position: relative; width: min(100cqw, (100cqh - var(--rowh)) * var(--ar, 1.778)); padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stage .rv-plain .fp-media { position: relative; inset: auto; flex: none; width: 100%; aspect-ratio: var(--ar, 1.778); border-radius: 8px; background: #000; }
.stage .rv-plain .fp-media > video, .stage .rv-plain .fp-media > img, .stage .rv-plain .pn-slide img { object-fit: contain; }
.stage .rv-plain .pn-arrow { width: 44px; height: 44px; font-size: 18px; }
.stage .rv-plain .pn-arrow.is-prev { left: 10px; }
.stage .rv-plain .pn-arrow.is-next { right: 10px; }
.stage .rv-prow { display: flex; align-items: center; gap: 8px; min-width: 0; }
.stage .rv-prow .fp-pb { flex: 1 1 auto; min-width: 0; margin-top: 0; }
.stage .rv-prow .rv-view { width: auto; flex: none; flex-direction: row; }
.stage .rv-prow .rv-vb { width: 44px; height: 44px; padding: 0; justify-content: center; }
.stage .rv-prow .rv-vb > span { display: none; }
.stage .rv-plain.is-text { width: min(100cqw, 46rem); }
.stage .rv-ptext { max-height: calc(100cqh - var(--rowh)); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; white-space: pre-wrap; overflow-wrap: anywhere; font-size: clamp(17px, 2.2vw, 24px); line-height: 1.5; padding: 18px 20px; background: #141413; border: 1px solid #2c2c2a; border-radius: 14px; color: #f2f1ec; user-select: text; -webkit-user-select: text; }
.stage.flat.k-video.paused .pz { display: flex; }
/* Full screen. */
.stage.fs .side, .stage.fs .fold, .stage.fs .tl, .stage.fs .rv-view { display: none; }
.stage.fs .body { display: flex; flex-direction: column; }
.stage.fs .mid { flex: 1; min-height: 0; padding: calc(54px + env(safe-area-inset-top)) 8px 6px; }
.stage.fs .hud { padding-top: calc(4px + env(safe-area-inset-top)); padding-bottom: 4px; }
.stage.fs .rv-plain:not(.has-bar) { --rowh: 0px; }
.stage.fs .rv-plain:not(.has-bar) .rv-prow { display: none; }
@media (hover: hover) and (pointer: fine) {
  .stage.fs .mid { padding: 0; }
  .stage.fs .rv-plain { --rowh: 0px; position: static; }
  .stage.fs .rv-plain .fp-media { border-radius: 0; }
  .stage.fs .rv-prow { position: absolute; z-index: 4; left: 50%; bottom: 132px; width: min(760px, calc(100% - 32px)); transform: translateX(-50%); }
  .stage.fs .score, .stage.fs .bot { position: absolute; left: 0; right: 0; }
  .stage.fs .bot { bottom: 0; }
  .stage.fs .score { bottom: 76px; padding-bottom: 6px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.4)); }
  .stage.fs .hud, .stage.fs .score, .stage.fs .bot, .stage.fs .rv-prow { transition: opacity .25s ease; }
  .stage.fs.fs-idle .hud, .stage.fs.fs-idle .score, .stage.fs.fs-idle .bot, .stage.fs.fs-idle .rv-prow { opacity: 0; pointer-events: none; }
  .stage.fs.fs-idle, .stage.fs.fs-idle * { cursor: none; }
  /* A carousel slide is read whole (AL 16/10/2026 on FEST: « les rendus carousels plein ecran sont cropped »): the HUD and
     the bars covered the kicker and the footer of a 4:5 slide (lines 0-54 and 1165-1350 at 2000 x 1300). */
  .stage.fs.k-images .rv-feed { padding: 56px 0 182px; }
}
/* Back from the iPhone's own video player: the decision bar slides in again. */
.stage.fs-back .score, .stage.fs-back .bot { animation: fsback .6s ease-out; }
@keyframes fsback { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .stage.fs-back .score, .stage.fs-back .bot { animation: none; } .stage.fs .hud, .stage.fs .score, .stage.fs .bot, .stage.fs .rv-prow { transition: none; } }
/* Plein cadre by default in a session of dropped files (AL 16/10/2026, the 10 renders of T03 drawn in the TikTok phone:
   « apercu en horizontale debile aucun sens »). Such a session (.nofeed) has no planner: no platform, no caption. In Plein
   cadre the empty Caption band goes too, so the content takes the width up to the post sheet; on a phone its fold button goes. */
.stage.nofeed.flat .sl, .stage.nofeed.flat .fold [data-fold="sl"] { display: none; }
@media (min-width: 861px) { .stage.nofeed.flat:not(.fs) .body { grid-template-columns: 0 minmax(0, 1fr) clamp(220px, 25vw, 400px); } }
/* The "more" of a cut caption is a real button over the folded caption; it opens the whole caption in a sheet in the
   lower part of the screen, with its own Less (AL 18/10/2026, same as the client dashboard). */
.pn-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fp-capbtn { position: absolute; z-index: 3; left: 0; top: 0; width: 0; height: 0; padding: 0; margin: 0; border: 0; border-radius: calc(8 * var(--u)); background: transparent; cursor: pointer; }
.fp-capbtn:hover { background: rgba(255, 255, 255, .07); }
.fp-light .fp-capbtn:hover { background: rgba(0, 0, 0, .045); }
.fp-capbtn:focus-visible, .fp-capless:focus-visible, .fp-capt:focus-visible { outline: calc(3 * var(--u)) solid var(--accent, #3b82f6); outline-offset: calc(-3 * var(--u)); }
.fp-capx { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; top: calc(300 * var(--u)); display: flex; flex-direction: column; background: #131315; color: #fff;
  border-radius: calc(22 * var(--u)) calc(22 * var(--u)) 0 0; box-shadow: 0 calc(-8 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, .35); -webkit-user-select: text; user-select: text; }
.fp-capx[hidden] { display: none; }
.fp-light .fp-capx { background: #fff; color: #0c0c0d; box-shadow: 0 calc(-8 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, .18); }
.fp-capx-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: calc(60 * var(--u)); padding: 0 calc(8 * var(--u)) 0 calc(20 * var(--u)); }
.fp-capx-t { font-size: calc(15 * var(--u)); font-weight: 700; }
.fp-capless { appearance: none; height: calc(46 * var(--u)); min-width: calc(70 * var(--u)); padding: 0 calc(16 * var(--u)); border: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); color: inherit; font: 600 calc(15 * var(--u)) / 1 -apple-system, system-ui, "SF Pro Text", Helvetica, Arial, sans-serif; cursor: pointer; }
.fp-light .fp-capless { background: rgba(0, 0, 0, .07); }
.fp-capt { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 calc(20 * var(--u)) calc(56 * var(--u)); font-size: calc(15.5 * var(--u)); line-height: calc(22 * var(--u)); white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- 28/10/2026, the T06 review (AL's seven remarks on the tool itself) ----------
   T2/T3 the leave question and the × ; T4 speed in the player bar ; T6 GO feedback / GO posting ; T7 the recording and its Stop. */
.stage .hud .spd { display: none; }   /* the speed pill is gone from the top: it lives in the player bar (T4) */

/* T3: × is round and plain when it closes a layer; with nothing open it says Leave. */
.stage .hud .x { min-width: 40px; min-height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 24px; padding: 0 10px; opacity: 1; flex: none; }
.stage .hud .x.leave::after { content: "Leave"; font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.stage .hud .x:hover { border-color: #fff; }
.stage .hud .x:focus-visible { outline: 2px solid var(--accent, #ff6a00); outline-offset: 2px; }

/* T7: the recording is a red button in the HUD, with the clock and the word Stop, always there while it records. */
.stage .hud .rec { display: inline-flex; align-items: center; gap: 7px; flex: none; font: inherit; font-weight: 700; color: #fff; background: #d92d20; border: 1px solid #ff6b61; border-radius: 999px; padding: 5px 12px 5px 10px; min-height: 36px; cursor: pointer; }
.stage .hud .rec[hidden], .stage .hud .rec:empty { display: none; }
.stage .hud .rec:disabled { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #ffd166; cursor: default; }
.stage .hud .rec u { text-decoration: none; background: #fff; color: #b42318; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.stage .hud .rec .recdot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: talk 1.2s ease-in-out infinite; flex: none; }
.stage.talking { box-shadow: inset 0 0 0 3px #d92d20; }
.stage .bot .bt .ic { display: inline-flex; }
.stage .bot .bt .stp { display: none; }
.stage .bot .bt[aria-pressed="true"] .stp { display: inline-flex; }
.stage .bot .bt[aria-pressed="true"] .ic:not(.stp) { display: none; }
.stage .bot .bt[aria-pressed="true"] .bl { min-width: 5.2em; text-align: left; }

/* T6: two GO buttons. Feedback (G) is the light green, posting (P) the deep one with a ring. */
.stage .bot .bgo { flex: 1; max-width: 200px; flex-direction: row; gap: 6px; line-height: 1.05; }
.stage .bot .bgo b { font-size: 17px; font-weight: 900; }
.stage .bot .bgo .gs { font-size: 12.5px; font-weight: 700; opacity: .85; text-transform: lowercase; }
.stage .bot .bgf { background: var(--ok); border-color: var(--ok); color: #fff; }
.stage .bot .bgp { background: #0f7a45; border-color: #46d68f; color: #fff; }
.stage .bot .bgp kbd { background: rgba(255,255,255,.18); }
.stage .th.g.gp::after { content: "P"; position: absolute; right: 2px; bottom: 2px; font-size: 9px; font-weight: 900; line-height: 1; background: #0f7a45; color: #fff; border-radius: 4px; padding: 2px 3px; }
.stage .th { position: relative; }

/* T4: the speed button in the player bar and its steps. */
.fp-pb-btn.fp-pb-spd { width: auto; min-width: 42px; padding: 0 9px; border-radius: 999px; font: 700 12.5px/1 -apple-system, system-ui, "Helvetica Neue", Arial, sans-serif; font-variant-numeric: tabular-nums; color: #fff; border: 1px solid rgba(255,255,255,.28); height: 32px; }
.stage .fp-pb .fp-pb-btn.fp-pb-spd { width: auto; height: 32px; }
.fp-pb-btn.fp-pb-spd.up { background: #ff6a00; border-color: #ff6a00; animation: pop .5s; }
.fp-pb-btn.fp-pb-spd[aria-expanded="true"] { background: #fff; color: #000; }
.stage .rv-spdm { position: fixed; z-index: 40; width: min(264px, calc(100vw - 16px)); box-sizing: border-box; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; background: #151514; border: 1px solid #3a3a38; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.55); }
.stage .rv-spdm button { font: inherit; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.stage .rv-spdm button.on { background: #fff; color: #000; border-color: #fff; }
.stage .rv-spdm button.auto { grid-column: 1 / -1; min-height: 38px; font-size: 13px; font-weight: 600; background: none; border-style: dashed; color: #cfcec8; }

/* T2/T3: the question when something is at risk. */
.stage .rvdlg { position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.62); }
.stage .rvbox { box-sizing: border-box; width: min(440px, 100%); background: #1b1b1a; color: #fff; border: 1px solid #3a3a38; border-top: 4px solid #ff6a00; border-radius: 16px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.stage .rvbox h3 { margin: 0 0 8px; font-size: 18px; }
.stage .rvbox p { margin: 0 0 10px; font-size: 15px; line-height: 1.45; color: #e6e5df; }
.stage .rvbtns { display: flex; gap: 10px; margin-top: 14px; }
.stage .rvbtns button { flex: 1; font: inherit; font-size: 15px; font-weight: 800; min-height: 50px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.stage .rvbtns .keep { background: #fff; color: #000; border-color: #fff; }
.stage .rvbtns .keep:focus-visible, .stage .rvbtns .out:focus-visible { outline: 3px solid #ff6a00; outline-offset: 2px; }
.stage .rvbtns .out { color: #ffb4a8; }

/* T5: the Resume card at the top of the home. */
.rsm { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line, #e6e5e0); border-left: 5px solid #ff6a00; border-radius: 12px; background: var(--card, #fff); }
.rsm .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rsm .grow b { font-size: 16px; }
.rsm .sub { overflow-wrap: anywhere; }
.rsm .btn { flex: none; text-decoration: none; }
.stat small { font-weight: 500; opacity: .75; }

/* On a phone the bar takes two rows: the three decisions big, then Comment, Pause, Talk / Stop. */
@media (max-width: 640px) {
  .stage .bot { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .stage .bot button { min-width: 0; padding: 6px 8px; }
  .stage .bot .bno { grid-column: span 2; order: 1; max-width: none; }
  .stage .bot .bgf { grid-column: span 2; order: 2; max-width: none; flex-direction: column; gap: 1px; }
  .stage .bot .bgp { grid-column: span 2; order: 3; max-width: none; flex-direction: column; gap: 1px; }
  .stage .bot .bc { grid-column: span 2; order: 4; min-height: 44px; }
  .stage .bot .bp { grid-column: span 2; order: 5; min-height: 44px; }
  .stage .bot .bt { grid-column: span 2; order: 6; min-height: 44px; }
  .stage .bot .bgo kbd { display: none; }
  .stage .bot .bgo .gs { font-size: 11.5px; }
  .stage .cmt { bottom: calc(196px + env(safe-area-inset-bottom)); }
  .stage .hud .x.leave::after { content: none; }
  .stage .hud .rec .rw { display: none; }
  .stage .hud .rec { padding: 4px 9px 4px 8px; }
}

/* A toast while the stage is open sits under the top bar, never over the buttons at the bottom (the Recording toast hid GO posting on a phone). */
.stage ~ .toast { bottom: auto; top: calc(62px + env(safe-area-inset-top)); z-index: 60; }

/* The dossiers of a business (C08, 28/10/2026): one row per batch, the kit colours (--ok --bad --warn --blue), the one in progress outlined. */
.dossiers { display: grid; gap: 6px; }
.dsr { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; border-left: 5px solid var(--warn); min-width: 0; }
.dsr.is-go { border-left-color: var(--ok); } .dsr.is-nogo { border-left-color: var(--bad); } .dsr.is-posted { border-left-color: var(--blue); }
.dsr.is-now { outline: 2px solid var(--fg); outline-offset: -1px; }
.dsr .dsn { flex: none; display: grid; justify-items: center; line-height: 1; min-width: 34px; }
.dsr .dsn b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; } .dsr .dsn small { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dsr .grow b em { font-style: normal; color: var(--accent); }
.dsr .sub { display: block; }
.dsr .dsk { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; } .dsr .dsk i { font-style: normal; }
.dsr .dsa { flex: none; display: flex; gap: 6px; }
@media (max-width: 640px) { .dsr { flex-wrap: wrap; } .dsr .dsa { width: 100%; justify-content: flex-end; } }

/* ---------- 29/10/2026, Review refonte (AL's lines D1 to D11, E6, E7, C17) ----------
   The home is the brands (three groups), a brand opens its dossier, Today's priorities is the second view, the preview grid is the
   second mode. The kit colours only (--ok --bad --warn --blue --accent), never a hex of their own. */
.rv-home, .rv-dos, .pg { max-width: 1120px; margin: 0 auto; }
.rv-h1 { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: 30px; letter-spacing: -.02em; }
.rv-h1 svg { flex: none; }
.rv-back { display: inline-block; margin: 2px 0 10px; }
.rv-views { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.rv-views .pill.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.br-g { margin: 0 0 22px; }
.br-g h2 { margin: 0 0 8px; font-size: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.br-g h2 .sub { font-weight: 400; }
/* The group menu (AL 10/11/2026: « mets un menu déroulant, Our brands, Clients, Others »): the name of the group shown is the button, the list has
   the look of the right click menu (.rv-rmenu), never a native select; the group shown is marked by the hover tint and an orange edge. */
.br-gm { position: relative; display: inline-block; max-width: 100%; margin: 0 0 10px; }
.br-g .br-gh { margin: 0; display: block; font-size: 18px; }
.br-gbtn, .br-glist button { -webkit-tap-highlight-color: transparent; }
.br-gbtn { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 42px; padding: 6px 10px 6px 14px; font: inherit; font-size: 18px; font-weight: 700; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.br-gbtn:hover, .br-gbtn[aria-expanded="true"] { border-color: var(--fg); }
.br-gbtn:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.br-gbtn svg { flex: none; color: var(--muted); transition: transform .15s; }
.br-gbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.br-glist { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 2px; min-width: 230px; max-width: calc(100vw - 32px); padding: 6px; background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.br-glist[hidden] { display: none; }
.br-glist button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.br-glist button:hover, .br-glist button:focus-visible { background: var(--hover); outline: none; }
.br-glist button[aria-checked="true"] { background: var(--hover); box-shadow: inset 3px 0 0 var(--accent); font-weight: 800; }
.br-glist button span { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.brs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.br { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.br:hover, .br:focus-visible { border-color: var(--fg); outline: none; }
.br.zero { background: transparent; border-style: dashed; }
.br .grow { min-width: 0; display: grid; gap: 1px; }
.br .grow > b, .br .br-link { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.br .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-nl { font-size: 12.5px; font-weight: 600; color: var(--fg); }
.br-nl.bad { color: var(--bad); } .br-nl.warn { color: var(--warn); } .br-nl.blue { color: var(--blue); } .br-nl.dim { color: var(--muted); font-weight: 400; }
.br .wn { flex: none; text-align: right; line-height: 1.1; }
.br .wn b { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.br .wn span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.br-k { position: absolute; }  .br { position: relative; } .br .br-k { right: 12px; bottom: 6px; font-size: 11px; color: var(--muted); }
.br-av { --px: 44px; position: relative; flex: none; width: var(--px); height: var(--px); border-radius: 12px; overflow: hidden; background: hsl(var(--h, 20) 55% 88%); display: inline-flex; align-items: center; justify-content: center; }
.br-av b { font-size: calc(var(--px) * .42); font-weight: 800; color: hsl(var(--h, 20) 45% 30%); }
.br-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }
.tofile { border-top: 1px solid var(--line); padding-top: 14px; }
.tofile .wb { cursor: default; }
.tofile .wb .btn { flex: none; }
/* Today's priorities (D3) */
.pr .prs { display: grid; gap: 8px; }
.prc { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.prc.is-bad { border-left-color: var(--bad); } .prc.is-warn { border-left-color: var(--warn); } .prc.is-blue { border-left-color: var(--blue); }
.prc .prn { flex: none; width: 26px; font-size: 18px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.prc .grow { min-width: 0; display: grid; gap: 1px; }
.prc .grow b { overflow-wrap: anywhere; }
.prc .pra { flex: none; display: flex; gap: 6px; }
.pr-rules { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 4px; font-size: 14px; }
.pr-why { margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.pr-why summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
@media (max-width: 640px) { .prc { flex-wrap: wrap; } .prc .pra { width: 100%; justify-content: flex-end; } .prc .prn { display: none; } }
/* The dossier of a brand */
.dsh { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.dsh h1 { margin: 0; font-size: 26px; letter-spacing: -.015em; }
.dsh .sub { margin: 2px 0 0; }
.dsh .dsl { flex: none; display: flex; gap: 6px; }
.rv-mode { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.rv-mode .pill.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.rv-dos .lab { margin: 18px 0 6px; font-size: 15px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.rv-dos .lab .sub { font-weight: 400; }
.wkb { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 12px; padding: 10px 12px; margin: 0 0 8px; }
.wkb.zero { border-left-color: var(--line); }
.wkh { display: flex; align-items: center; gap: 10px; }
.wkh .grow { min-width: 0; display: grid; }
.wkl { display: grid; gap: 4px; margin-top: 8px; }
.wkr { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 13.5px; padding: 4px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.wkr b { font-variant-numeric: tabular-nums; }
.wkr i { font-style: normal; font-size: 12px; color: var(--muted); }
.wke { margin: 6px 0 0; }
.dsr.lot { border-left-color: var(--blue); }
.dsr .dsn b .pv { font-size: 18px; }
.ans { display: grid; gap: 6px; }
.anr { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 13.5px; min-width: 0; flex-wrap: wrap; }
.anr .grow { min-width: 160px; overflow-wrap: anywhere; }
.stks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.stk { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--line); border-radius: 12px; padding: 8px 10px; display: grid; gap: 2px; }
.stk b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stk span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stk.is-ok { border-top-color: var(--ok); } .stk.is-bad { border-top-color: var(--bad); } .stk.is-warn { border-top-color: var(--warn); } .stk.is-blue { border-top-color: var(--blue); } .stk.is-kept { border-top-color: var(--fg); }
/* L12, L13 (AL 30/10/2026): a tile is a button that opens its pieces, with what it holds written under its name. */
.stks { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
button.stk { font: inherit; color: inherit; text-align: left; cursor: pointer; align-content: start; transition: border-color .15s, transform .15s; }
button.stk:hover { border-color: var(--fg); transform: translateY(-1px); }
button.stk:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button.stk.busy { opacity: .7; cursor: progress; }
.stk small { font-size: 12px; line-height: 1.35; color: var(--muted); text-transform: none; letter-spacing: 0; }
.stk span { color: var(--fg); }
/* The contents of a session, grouped by kind (D11) */
.grp { margin: 0 0 12px; }
.grph { display: flex; align-items: center; gap: 10px; padding: 8px 0 6px; border-bottom: 2px solid var(--line); margin-bottom: 4px; }
.grph b { font-size: 16px; }
.grph .btn { margin-left: auto; }
/* The preview grid (D4, D5): sections by kind, rows of variations, the visual summary under each piece */
.pgh { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; justify-content: space-between; margin: 4px 0 8px; }
.pgh h1 { margin: 0; font-size: 24px; letter-spacing: -.015em; }
.pgh .sub { margin: 3px 0 0; }
.pgs { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 0 0 12px; }
.pgs > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 46px; }
.pgs > summary::-webkit-details-marker { display: none; }
.pgs > summary::before { content: "\25B8"; flex: none; width: 14px; font-size: 18px; line-height: 1; transition: transform .12s; }
.pgs[open] > summary::before { transform: rotate(90deg); }
.pgs > summary b { font-size: 17px; }
.pgs > summary .sub { flex: 1; min-width: 0; }
.pgr { padding: 4px 14px 12px; }
.pgr + .pgr { border-top: 1px solid var(--line); padding-top: 12px; }
.pgrh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 8px; }
.pgrh .ok { color: var(--ok); font-weight: 700; }
.pgt { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; }
.pgc { flex: 0 1 auto; min-width: 150px; width: clamp(150px, 30vw, 230px); scroll-snap-align: start; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; outline: none; }
.pgc.is-land { width: clamp(240px, 46vw, 360px); min-width: 240px; }
.pgc:hover, .pgc.is-focus, .pgc:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 55%, transparent); }
.pgc.d-go { border-color: color-mix(in srgb, var(--ok) 60%, var(--line)); } .pgc.d-nogo { border-color: color-mix(in srgb, var(--bad) 60%, var(--line)); }
.pgv { position: relative; aspect-ratio: 9 / 16; background: #111; overflow: hidden; }
.pgc.k-images .pgv { aspect-ratio: 4 / 5; }
.pgc.is-land .pgv { aspect-ratio: 16 / 9; }
.pgc.k-text .pgv { aspect-ratio: auto; min-height: 120px; background: var(--card); border-bottom: 1px solid var(--line); }
.pgv img, .pgv video { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.pgv .pg-tx { display: block; padding: 10px 12px; font-size: 13px; line-height: 1.4; color: var(--fg); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: hidden; }
.pgv .pg-no { display: flex; height: 100%; align-items: center; justify-content: center; color: #aaa; font-size: 12px; }
.pg-pv { position: absolute; left: 8px; top: 8px; font: 700 11px/1 system-ui, sans-serif; letter-spacing: .02em; padding: 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 85%, #000); color: #fff; }
.pgm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 8px 10px 0; }
.pg-code { font-size: 12px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.pgm .badge.cli { border: 1px dashed currentColor; background: transparent; }
.pgl { padding: 4px 10px 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; min-height: 36px; }
/* The visual summary: story beats blue, key choices orange, each at its time (D5) */
.pg-sum { padding: 6px 10px 10px; font-size: 12.5px; }
.pg-sum.none { color: var(--muted); }
.pg-hook { margin: 0 0 6px; padding: 5px 8px; border-radius: 8px; background: color-mix(in srgb, #ffd166 35%, var(--card)); color: var(--fg); font-weight: 600; overflow-wrap: anywhere; }
.pg-hook i { display: block; font-style: normal; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pg-lanes { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 4px 6px; align-items: center; }
.pg-ll { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; }
.pg-ll.s { color: var(--blue); } .pg-ll.c { color: color-mix(in srgb, var(--accent) 62%, var(--fg)); }
.pg-lane { position: relative; height: 16px; border-radius: 8px; background: color-mix(in srgb, var(--fg) 7%, transparent); }
.pg-lane.story { background: color-mix(in srgb, var(--blue) 14%, transparent); } .pg-lane.choice { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.pg-b { position: absolute; top: 2px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; }
.pg-lane.story .pg-b { background: var(--blue); } .pg-lane.choice .pg-b { background: var(--accent); border-radius: 3px; transform: rotate(45deg); }
.pg-b:hover, .pg-b:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
.pg-time { grid-column: 2; text-align: right; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-det { margin-top: 6px; }
.pg-det summary { cursor: pointer; color: var(--muted); min-height: 28px; display: flex; align-items: center; }
.pg-det ol { margin: 4px 0 0; padding-left: 0; list-style: none; display: grid; gap: 3px; }
.pg-det li { display: flex; gap: 6px; align-items: baseline; overflow-wrap: anywhere; }
.pg-story li { border-left: 3px solid var(--blue); padding-left: 6px; } .pg-choice li { border-left: 3px solid var(--accent); padding-left: 6px; }
.pg-choice i { font-style: normal; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pg-t { font: inherit; font-size: 11.5px; font-variant-numeric: tabular-nums; border: 1px solid var(--line); background: var(--card); color: var(--fg); border-radius: 6px; padding: 1px 5px; cursor: pointer; flex: none; }
.pg-t:hover { border-color: var(--fg); }
.pg-rep { margin-top: 6px; padding: 5px 8px; border-radius: 8px; background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--fg); font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .pgs > summary { padding: 9px 10px; } .pgs > summary .btn { display: none; } .pgr { padding: 4px 10px 10px; } .pgc { width: clamp(150px, 42vw, 200px); } .pgc.is-land { width: 78vw; } .dsh { flex-wrap: wrap; } .dsh .dsl { width: 100%; } }
/* The counters of each network in the Caption band (D7) */
.stage .cnts { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; padding-top: 6px; border-top: 1px solid #2c2c2a; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.stage .cnt { display: inline-flex; align-items: center; gap: 5px; color: #cfcec8; }
.stage .cnt i { font-style: normal; color: #9b9a94; }
.stage .cnt.over { color: #ff8a80; font-weight: 700; }
.lg-sk { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 4px; background: #111; color: #f8d000; font: 800 10px/1 system-ui, sans-serif; }
/* The whole video, never cropped (AL 29/10/2026, E1 measured by the Limo session: the player cut 9 % on each side with cover, so the
   subtitles left the screen). TikTok and Instagram fit a 9:16 video to the width of the screen; so does the preview. */
.stage .pn-phone .fp-media > video { object-fit: contain; }
/* WhatsApp: the group chat, the message as the sender sees it */
.fp-wap .fp-feed { background: #efeae2; }
.fp-wa .fp-wah { flex: none; display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(54 * var(--u)); padding: 0 calc(10 * var(--u)) 0 calc(6 * var(--u)); background: #f6f6f6; border-bottom: calc(1 * var(--u)) solid #d9d9d9; color: #0b141a; }
.fp-wa .fp-waback { display: flex; align-items: center; color: #007aff; font-size: calc(17 * var(--u)); }
.fp-wa .fp-waback svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.fp-wa .fp-wagav { flex: none; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%; background: #dfe5e7; color: #8696a0; display: flex; align-items: center; justify-content: center; }
.fp-wa .fp-wagav svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.fp-wa .fp-wagt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.fp-wa .fp-wagt b { font-size: calc(16 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-wa .fp-wagt span { font-size: calc(12 * var(--u)); color: #667781; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-wa .fp-wai { width: calc(24 * var(--u)); height: calc(24 * var(--u)); color: #007aff; }
.fp-wa .fp-wabody { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: flex-end; gap: calc(8 * var(--u)); padding: calc(10 * var(--u)); background: #efeae2; }
.fp-wa .fp-waday { align-self: center; font-size: calc(12.5 * var(--u)); color: #54656f; background: #fff; border-radius: calc(8 * var(--u)); padding: calc(5 * var(--u)) calc(10 * var(--u)); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.fp-wa .fp-wamsg { position: relative; max-width: calc(330 * var(--u)); background: #d9fdd3; border-radius: calc(10 * var(--u)) 0 calc(10 * var(--u)) calc(10 * var(--u)); padding: calc(6 * var(--u)) calc(8 * var(--u)) calc(18 * var(--u)); color: #111b21; box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.fp-wa .fp-wamedia { position: relative; width: calc(314 * var(--u)); aspect-ratio: 4 / 3; border-radius: calc(8 * var(--u)); overflow: hidden; margin-bottom: calc(6 * var(--u)); background: #000; }
.fp-wa .fp-wamedia .fp-media { position: absolute; inset: 0; }
.fp-wa .fp-watx { display: flex; flex-direction: column; }
.fp-wa .fp-watx .fp-ln { font-size: calc(16.5 * var(--u)); line-height: calc(21 * var(--u)); white-space: pre; }
.fp-wa .fp-wamore { color: #027eb5; font-size: calc(15 * var(--u)); margin-top: calc(4 * var(--u)); }
.fp-wa .fp-wat { position: absolute; right: calc(8 * var(--u)); bottom: calc(4 * var(--u)); display: flex; align-items: center; gap: calc(3 * var(--u)); font-size: calc(11 * var(--u)); color: #667781; }
.fp-wa .fp-wat svg { width: calc(18 * var(--u)); height: calc(10 * var(--u)); color: #53bdeb; }
.fp-wa .fp-wabar { flex: none; display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(60 * var(--u)); padding: 0 calc(10 * var(--u)); background: #f6f6f6; color: #007aff; border-top: calc(1 * var(--u)) solid #d9d9d9; }
.fp-wa .fp-wabar svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.fp-wa .fp-wain { flex: 1; height: calc(36 * var(--u)); border-radius: calc(18 * var(--u)); background: #fff; border: calc(1 * var(--u)) solid #d9d9d9; }
.fp-wap .fp-ui { display: none; }
/* Skool: the community page */
.fp-skp .fp-feed { background: #f5f5f3; }
.fp-sk .fp-skh { flex: none; display: flex; align-items: center; gap: calc(10 * var(--u)); height: calc(54 * var(--u)); padding: 0 calc(14 * var(--u)); background: #fff; border-bottom: calc(1 * var(--u)) solid #e5e5e5; color: #202124; }
.fp-sk .fp-skav { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: calc(7 * var(--u)); overflow: hidden; display: block; }
.fp-sk .fp-skav .fp-av { width: 100%; height: 100%; border-radius: calc(7 * var(--u)); }
.fp-sk .fp-skh b { flex: 1; min-width: 0; font-size: calc(17 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-sk .fp-skn { display: flex; gap: calc(14 * var(--u)); color: #5f6368; }
.fp-sk .fp-skn svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.fp-sk .fp-sktabs { flex: none; display: flex; gap: calc(16 * var(--u)); padding: calc(8 * var(--u)) calc(14 * var(--u)) 0; background: #fff; border-bottom: calc(1 * var(--u)) solid #e5e5e5; font-size: calc(14 * var(--u)); color: #5f6368; white-space: nowrap; overflow: hidden; }
.fp-sk .fp-sktabs > * { padding-bottom: calc(8 * var(--u)); }
.fp-sk .fp-sktabs b { color: #202124; border-bottom: calc(3 * var(--u)) solid #f8d000; }
.fp-sk .fp-skpost { margin: calc(12 * var(--u)); background: #fff; border: calc(1 * var(--u)) solid #e5e5e5; border-radius: calc(12 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u)); display: flex; flex-direction: column; gap: calc(6 * var(--u)); color: #202124; overflow: hidden; }
.fp-sk .fp-skph { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.fp-sk .fp-skph .fp-pav { width: calc(40 * var(--u)); height: calc(40 * var(--u)); }
.fp-sk .fp-skpt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.fp-sk .fp-skpt b { font-size: calc(15 * var(--u)); } .fp-sk .fp-skpt span { font-size: calc(12.5 * var(--u)); color: #5f6368; }
.fp-sk .fp-skt { font-size: calc(17 * var(--u)); font-weight: 700; line-height: calc(22 * var(--u)); }
.fp-sk .fp-skb .fp-ln { font-size: calc(15 * var(--u)); line-height: calc(21 * var(--u)); }
.fp-sk .fp-skb .fp-more { color: #5f6368; }
.fp-sk .fp-skmedia { position: relative; aspect-ratio: 16 / 9; border-radius: calc(8 * var(--u)); overflow: hidden; background: #000; }
.fp-sk .fp-skmedia .fp-media { position: absolute; inset: 0; }
.fp-sk .fp-skacts { display: flex; gap: calc(18 * var(--u)); font-size: calc(13.5 * var(--u)); color: #5f6368; padding-top: calc(4 * var(--u)); }
.fp-sk .fp-skacts span { display: flex; align-items: center; gap: calc(6 * var(--u)); }
.fp-sk .fp-skacts svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.fp-skp .fp-ui { display: none; }
/* LinkedIn: the app, its post card, a profile, an invitation */
.fp-lip .fp-feed, .fp-lipost .fp-feed, .fp-lii .fp-feed { background: #f4f2ee; }
.fp-li .fp-lih { flex: none; display: flex; align-items: center; gap: calc(10 * var(--u)); height: calc(54 * var(--u)); padding: 0 calc(12 * var(--u)); background: #fff; border-bottom: calc(1 * var(--u)) solid #e0dfdc; color: #666; }
.fp-li .fp-lih .fp-pav { width: calc(32 * var(--u)); height: calc(32 * var(--u)); }
.fp-li .fp-lisearch { flex: 1; display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(34 * var(--u)); border-radius: calc(6 * var(--u)); background: #edf3f8; padding: 0 calc(10 * var(--u)); font-size: calc(15 * var(--u)); color: #4a4a4a; }
.fp-li .fp-lisearch svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.fp-li .fp-lim { width: calc(26 * var(--u)); height: calc(26 * var(--u)); color: #666; }
.fp-li .fp-licard { margin: calc(8 * var(--u)) 0; background: #fff; border-top: calc(1 * var(--u)) solid #e0dfdc; border-bottom: calc(1 * var(--u)) solid #e0dfdc; display: flex; flex-direction: column; color: #000000e6; }
.fp-li .fp-liph { display: flex; align-items: flex-start; gap: calc(8 * var(--u)); padding: calc(12 * var(--u)) calc(12 * var(--u)) calc(4 * var(--u)); }
.fp-li .fp-liph .fp-pav { width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: 50%; }
.fp-li .fp-liph-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.fp-li .fp-liph-t .fp-name { font-size: calc(14 * var(--u)); }
.fp-li .fp-lisub { display: flex; align-items: center; gap: calc(4 * var(--u)); font-size: calc(12 * var(--u)); color: #00000099; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-li .fp-lisub svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.fp-li .fp-lifol { flex: none; color: #0a66c2; font-size: calc(15 * var(--u)); font-weight: 600; }
.fp-li .fp-litx .fp-ln { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); color: #000000e6; }
.fp-li .fp-litx .fp-more { color: #00000099; }
.fp-li .fp-lisoc { display: flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(8 * var(--u)) calc(12 * var(--u)) 0; font-size: calc(12 * var(--u)); color: #00000099; }
.fp-li .fp-lireac { display: inline-block; width: calc(16 * var(--u)); height: calc(16 * var(--u)); border-radius: 50%; background: #378fe9; box-shadow: calc(10 * var(--u)) 0 0 #df704d; margin-right: calc(10 * var(--u)); }
.fp-li .fp-liacts { height: calc(44 * var(--u)); margin: calc(4 * var(--u)) calc(4 * var(--u)) 0; border-top: calc(1 * var(--u)) solid #e0dfdc; color: #00000099; font-size: calc(12.5 * var(--u)); }
.fp-li .fp-liacts > span { flex-direction: column; gap: calc(2 * var(--u)); }
.fp-li .fp-linav { background: #fff; border-top-color: #e0dfdc; color: #666; }
.fp-li .fp-licov { flex: none; display: block; height: calc(96 * var(--u)); background: linear-gradient(135deg, #a0b4b7, #c9d3d5); }
.fp-li .fp-liav { position: absolute; left: calc(16 * var(--u)); top: calc(102 * var(--u)); width: calc(100 * var(--u)); height: calc(100 * var(--u)); border-radius: 50%; border: calc(3 * var(--u)) solid #fff; overflow: hidden; }
.fp-li .fp-liav .fp-av { width: 100%; height: 100%; border-radius: 50%; }
.fp-li .fp-lipro { padding: calc(56 * var(--u)) calc(16 * var(--u)) calc(12 * var(--u)); background: #fff; display: flex; flex-direction: column; gap: calc(3 * var(--u)); color: #000000e6; }
.fp-li .fp-lipro .fp-name { font-size: calc(22 * var(--u)); }
.fp-li .fp-lihl .fp-ln { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); }
.fp-li .fp-lisub b { color: #0a66c2; }
.fp-li .fp-libtns { display: flex; gap: calc(8 * var(--u)); margin-top: calc(8 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 600; }
.fp-li .fp-libtns > * { display: inline-flex; align-items: center; height: calc(32 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: calc(16 * var(--u)); border: calc(1 * var(--u)) solid #0a66c2; color: #0a66c2; }
.fp-li .fp-libtns > b { background: #0a66c2; color: #fff; }
.fp-li .fp-libtns > span:last-child:not(:first-child) { border-color: #666; color: #666; }
.fp-li .fp-libtns.right { justify-content: flex-end; }
.fp-li .fp-lisec { margin-top: calc(8 * var(--u)); padding: calc(12 * var(--u)) calc(16 * var(--u)); background: #fff; color: #000000e6; }
.fp-li .fp-lisec b { display: block; font-size: calc(18 * var(--u)); margin-bottom: calc(6 * var(--u)); }
.fp-li .fp-liabout .fp-ln { font-size: calc(14.5 * var(--u)); line-height: calc(20 * var(--u)); }
.fp-li .fp-liabout .fp-more { color: #00000099; }
.fp-li .fp-lisheet { margin: calc(40 * var(--u)) calc(12 * var(--u)) 0; background: #fff; border-radius: calc(12 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)); display: flex; flex-direction: column; gap: calc(8 * var(--u)); color: #000000e6; box-shadow: 0 calc(4 * var(--u)) calc(20 * var(--u)) rgba(0,0,0,.18); }
.fp-li .fp-lish { display: flex; align-items: center; justify-content: space-between; font-size: calc(18 * var(--u)); }
.fp-li .fp-lish svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); color: #666; }
.fp-li .fp-linote { display: flex; flex-direction: column; min-height: calc(120 * var(--u)); border: calc(1 * var(--u)) solid #666; border-radius: calc(6 * var(--u)); padding: calc(8 * var(--u)) calc(10 * var(--u)); }
.fp-li .fp-linote.over { border-color: #b24020; }
.fp-li .fp-linote .fp-ln { font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); white-space: pre; }
.fp-li .fp-licnt { align-self: flex-end; font-size: calc(12 * var(--u)); color: #00000099; }
.fp-li .fp-licnt.over { color: #b24020; font-weight: 700; }
.fp-lip .fp-ui .fp-gnav, .fp-lipost .fp-ui .fp-gnav, .fp-lii .fp-ui .fp-gnav { display: flex; }
/* YouTube long form, the watch page under the 16:9 player (E6) */
.stage .rv-plain.rv-ytw { --rowh: 212px; }
.stage .rv-ytl { color: #f1f1f1; display: grid; gap: 8px; padding: 2px 4px 0; font-size: 14px; }
.stage .rv-ytt { font-size: 17px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.stage .rv-ytv { font-size: 12.5px; color: #aaa; } .stage .rv-ytv b { color: #f1f1f1; font-weight: 600; }
.stage .rv-ytc { display: flex; align-items: center; gap: 10px; }
.stage .rv-ytc .fp-av { width: 36px; height: 36px; font-size: 15px; }
.stage .rv-ytn { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.stage .rv-ytn span { font-size: 12px; color: #aaa; }
.stage .rv-ytsub { flex: none; background: #f1f1f1; color: #0f0f0f; font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 18px; }
.stage .rv-yta { display: flex; gap: 8px; overflow: hidden; }
.stage .rv-yta span { display: inline-flex; align-items: center; gap: 6px; background: #272727; border-radius: 18px; padding: 6px 12px; font-size: 13px; white-space: nowrap; }
.stage .rv-yta svg { width: 18px; height: 18px; }
.stage .rv-ytd { background: #272727; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #f1f1f1; overflow-wrap: anywhere; }
@media (max-width: 640px) { .stage .rv-plain.rv-ytw { --rowh: 236px; } .stage .rv-ytt { font-size: 15px; } }

/* The people of the client base with nothing in Review yet: one folded line under their group (AL 29/10/2026, D1). */
.br-more { margin-top: 10px; }
.br-more > summary { cursor: pointer; color: var(--fg); font-weight: 600; font-size: 14px; padding: 8px 2px; list-style: none; }
.br-more > summary::-webkit-details-marker { display: none; }
.br-more > summary::before { content: '▸'; display: inline-block; width: 16px; color: var(--muted); }
.br-more[open] > summary::before { content: '▾'; }
.br-more > summary .sub { font-weight: 400; margin-left: 6px; }

/* Text colours that read on the card and on the page, in both schemes (AL 29/10/2026: « rien de gris sur blanc »): the kit's amber and green are
   fills and borders; as small text they were 3:1 on white. Mixed toward the text colour: darker on white, lighter on the dark page. */
#app { --warn-t: color-mix(in srgb, var(--warn) 62%, var(--fg)); --ok-t: color-mix(in srgb, var(--ok) 66%, var(--fg)); }
#app .br-nl.warn, #app .badge.warn, #app .bad.warn, #app .dsr .warn { color: var(--warn-t); }
#app .badge.ok, #app .dsr .ok { color: var(--ok-t); }
#app .br-nl.bad, #app .badge.bad { color: color-mix(in srgb, var(--bad) 80%, var(--fg)); }

/* The podcast timeline of the preview mode (AL 29/10/2026, E7): the episode on one axis, a row per short, a block per span, overlap in red. */
.pg-pod { display: grid; gap: 14px; margin: 4px 0 14px; }
.pgp { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px 14px 10px; }
.pgp-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.pgp-ax { position: relative; height: 18px; margin-left: 52px; border-bottom: 1px solid var(--line); }
.pgp-ax i { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line); font-style: normal; }
.pgp-ax b { position: absolute; top: 0; left: 4px; font-size: 11px; font-weight: 500; color: var(--fg); white-space: nowrap; }
.pgp-ax i:last-child b { left: auto; right: 4px; }
.pgp-r { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.pgp-c { flex: none; width: 44px; text-align: left; font: inherit; font-size: 12px; font-weight: 700; color: var(--fg); background: none; border: 0; padding: 0; cursor: pointer; }
.pgp-bar { position: relative; flex: 1; height: 14px; border-radius: 7px; background: color-mix(in srgb, var(--fg) 7%, transparent); }
.pgp-b { position: absolute; top: 0; bottom: 0; min-width: 6px; border: 0; border-radius: 7px; background: #0f8b8d; cursor: pointer; padding: 0; }
.pgp-b:hover, .pgp-b:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
.pgp-x { position: absolute; top: -2px; bottom: -2px; border-radius: 3px; background: repeating-linear-gradient(45deg, var(--bad), var(--bad) 3px, transparent 3px, transparent 6px); pointer-events: none; }
.pgp-w { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--bad) 80%, var(--fg)); }
.pgp-ok { margin: 6px 0 0; font-size: 13px; color: var(--fg); }

/* Pieces alone in their row: one wrapping grid (AL 29/10/2026, D5: « passer d'un contenu à l'autre en deux secondes »). */
.pgg { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 186px), 1fr)); padding: 2px 2px 10px; }
.pgg .pgc { width: auto; min-width: 0; }
.pgg .pgc.is-land { grid-column: span 2; }
@media (max-width: 520px) { .pgg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.pgr-flat { padding-top: 6px; }
#app .pgrh .ok { color: var(--ok-t); }
#app .dsr em { color: color-mix(in srgb, var(--accent) 62%, var(--fg)); font-style: normal; }

/* Waiting for the data: three quiet bars, never a word (the HQ's own skeleton). */
.skel { display: grid; gap: 12px; padding: 24px 0; max-width: 720px; }
.skel i { display: block; height: 14px; border-radius: 7px; background: var(--hover); animation: rvskel 1.1s ease-in-out infinite alternate; }
.skel i:nth-child(2) { width: 72%; } .skel i:nth-child(3) { width: 46%; }
@keyframes rvskel { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skel i { animation: none; } }

/* LinkedIn messaging: the invitation messages as the thread the person will read (AL 29/10/2026, D7). */
.fp-lit { background: #f4f2ee; }
.fp-li .fp-lith { flex: none; display: flex; flex-direction: column; gap: calc(2 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)); background: #fff; border-bottom: calc(1 * var(--u)) solid #e0dfdc; }
.fp-li .fp-lith b { font-size: calc(17 * var(--u)); color: #1d1d1b; }
.fp-li .fp-lithread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: calc(6 * var(--u)); padding: calc(12 * var(--u)); }
.fp-li .fp-lilab { font-size: calc(12 * var(--u)); font-weight: 600; color: #56565a; padding-left: calc(4 * var(--u)); }
.fp-li .fp-libub { display: flex; flex-direction: column; max-width: calc(318 * var(--u)); background: #fff; color: #1d1d1b; border: calc(1 * var(--u)) solid #e0dfdc; border-radius: calc(4 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u)); padding: calc(8 * var(--u)) calc(11 * var(--u)); margin-bottom: calc(6 * var(--u)); }
.fp-li .fp-libub .fp-ln { font-size: calc(14.5 * var(--u)); line-height: calc(19 * var(--u)); white-space: pre; }
.stage .nt p.asd { color: #cfcec8; }
#app .pv { color: color-mix(in srgb, var(--blue) 72%, var(--fg)); }   /* the Preview chip: 3.9:1 in the dark scheme before, blue mixed toward the text colour */

/* White text on the GO green read 3.4:1 (the kit's --ok is a fill): the GO buttons of the stage and the stat «go» take a deeper green, same hue. */
.stage .bot .bgo, .stage .bot .bgf { background: color-mix(in srgb, var(--ok) 74%, #000); border-color: color-mix(in srgb, var(--ok) 74%, #000); }
#app .stat.go { color: var(--ok-t); }   /* the count of GOs on the session page only: a .go chip of the client's rows keeps its own colours */
#app .pg-ll.s { color: color-mix(in srgb, var(--blue) 72%, var(--fg)); }   /* Story label: 3.9:1 in the dark scheme before */

/* The Instagram safe zone over a 9:16 video (E1): dashed frame, the rest dimmed; only when asked (Z or the Safe zone button). */
.fp-media > video { object-fit: contain; background: #000; }   /* the whole video, never cropped (AL 29/10/2026, E1) */
.fp-safe { position: absolute; z-index: 6; border: 2px dashed rgba(255,255,255,.92); border-radius: 6px; box-shadow: 0 0 0 200vmax rgba(0,0,0,.38); pointer-events: none; }
.fp-safe::after { content: attr(data-label); position: absolute; left: 6px; top: 6px; font: 700 10px/1 -apple-system, Helvetica, Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.6); padding: 4px 6px; border-radius: 4px; }

/* The chapters of a YouTube long form under its description (E6). */
.rv-ytch { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.rv-ytch b { flex-basis: 100%; font-size: 13px; color: #fff; }
.rv-ytch span { background: rgba(255,255,255,.1); border-radius: 8px; padding: 5px 9px; font-size: 12.5px; color: #f1f1f1; }
.rv-ytch i { color: #6cb8ff; font-style: normal; font-weight: 600; margin-right: 6px; font-variant-numeric: tabular-nums; }

/* ---------- Review v3 (AL 30/10/2026, block I of the register) ---------- */
/* I35: the numbers of a session: a bar of what was reviewed, then only what was given. */
.rvs { margin-top: 12px; display: grid; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.rvs-p { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.rvs-p b { color: var(--fg); font-size: 16px; font-variant-numeric: tabular-nums; }
.rvs-bar { flex: 1 1 180px; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--fg) 9%, transparent); overflow: hidden; min-width: 120px; }
.rvs-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ok); }
.rvs-cs { display: flex; flex-wrap: wrap; gap: 6px; }
.rvs-c { display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.rvs-c b { color: var(--fg); font-size: 14px; font-variant-numeric: tabular-nums; }
#app .rvs-c.go b { color: var(--ok-t); }
.rvs-c.nogo b { color: var(--bad); }
.rvs-c.sc b { color: color-mix(in srgb, var(--accent) 62%, var(--fg)); }   /* the orange of the kit, dark enough to read on white (4.5:1) and light enough on the dark card */
/* I7: Send review */
.btn.rv-send { border-color: var(--ok); color: var(--fg); box-shadow: inset 0 0 0 1px var(--ok); }
.btn.rv-send:hover { background: color-mix(in srgb, var(--ok) 12%, var(--card)); }
/* I30: the keys, folded, in the Review colour */
details.rv-keys { display: block; margin-top: 22px; border: 2px solid #0f8b8d; border-radius: 14px; padding: 0 14px; background: color-mix(in srgb, #0f8b8d 6%, var(--card)); }
details.rv-keys > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-height: 44px; padding: 10px 0; }
details.rv-keys > summary::-webkit-details-marker { display: none; }
details.rv-keys > summary::before { content: "\25B8"; color: #0f8b8d; font-size: 16px; transition: transform .12s; }
details.rv-keys[open] > summary::before { transform: rotate(90deg); }
details.rv-keys > summary b { font-size: 17px; color: var(--fg); }
details.rv-keys .kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 18px; padding: 0 0 12px; }
details.rv-keys .kgrid > div { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; border-top: 1px solid var(--line); font-size: 14px; }
.keys.rv-keys div div { border-top: 1px solid var(--line); }
/* I2: the zeros of the ranking; I52: one line per comment, a double-click changes it */
#rank .item.rk0 { opacity: .72; }
#rank .item.rk0 .badge.scb { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.item .rv-note, .rank .rv-note { display: block; cursor: text; border-radius: 6px; }
#app .badge.scb.z0 { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.item .rv-note:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.item .rv-note i { font-style: normal; color: var(--muted); }
.rv-nbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rv-nbw { width: min(640px, 100%); background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.rv-nbw textarea { width: 100%; min-height: 140px; max-height: 60vh; resize: vertical; font: inherit; font-size: 15px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); box-sizing: border-box; }
.rv-nbb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rv-nbb .rv-nbn { margin-right: auto; font-variant-numeric: tabular-nums; }
/* I17: the offline line */
#rv-off { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1500; background: #1b1b1a; color: #fff; border: 1px solid #ffd166; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; max-width: calc(100vw - 32px); text-align: center; }
/* An unsent comment draft (AL 08/11/2026): a mark under the top bar, a tap opens the box with the text. */
#rv-draft { position: fixed; left: 50%; top: calc(var(--hqbar, 0px) + 62px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 1500; background: #1b1b1a; color: #fff; border: 1px solid #ff6a00; border-radius: 999px; padding: 8px 16px; min-height: 40px; font: inherit; font-size: 13px; font-weight: 700; max-width: calc(100vw - 32px); text-align: center; cursor: pointer; white-space: normal; }
#rv-draft.here { background: #ff6a00; color: #111; }
@media (min-width: 861px) { #rv-draft { left: 16px; transform: none; } }   /* clear of the toasts, which sit in the middle */
#rv-draft:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) { #rv-draft { top: calc(var(--hqbar, 0px) + 56px + env(safe-area-inset-top)); font-size: 12px; padding: 8px 12px; min-height: 44px; } }
.stage .cmt .cmtn { color: #ffb37a; }
/* I31, I37: one button for the mode */
.rv-mode { display: flex; margin: 0 0 14px; }
.rv-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 8px 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; cursor: pointer; }
.rv-toggle > svg { color: var(--accent); flex: none; }
.rv-toggle > b { font-size: 15px; }
.rv-toggle .rv-tg-sw { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--fg) 7%, transparent); color: var(--muted); font-size: 12.5px; }
.rv-toggle:hover { border-color: var(--fg); }
.rv-toggle:hover .rv-tg-sw { color: var(--fg); }
/* I49: the kinds of a talk in boxes */
.kbw { display: grid; gap: 10px; padding: 12px 14px 14px; }
.kbxs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.kbx { display: grid; gap: 2px; text-align: left; min-height: 72px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--fg); font: inherit; cursor: pointer; border-left-width: 4px; }
.kbx b { font-size: 14.5px; overflow-wrap: anywhere; }
.kbx .kbn { font-size: 13px; color: var(--muted); }
.kbx .kbn b { font-size: 18px; color: var(--fg); font-variant-numeric: tabular-nums; }
.kbx .kbs { font-size: 12px; color: var(--muted); }
.kbx.zero { opacity: .7; }
.kbx.on { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.kbx.k-long_form { border-left-color: #ff7a26; } .kbx.k-shorts { border-left-color: #c2410c; } .kbx.k-text { border-left-color: #6b6b66; }
.kbx.k-visual { border-left-color: #2e9e5b; } .kbx.k-edit { border-left-color: #3d7bd9; } .kbx.k-material { border-left-color: #9b9a94; }
.kbl:empty { display: none; }
/* I47: the automation's line; I48: what we deliver */
.dsr.is-auto { border-left: 4px solid #0f8b8d; }
.rv-dlv { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; background: var(--card); }
.rv-dlv > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-height: 44px; padding: 10px 0; }
.rv-dlv > summary::-webkit-details-marker { display: none; }
.rv-dlv > summary::before { content: "\25B8"; transition: transform .12s; }
.rv-dlv[open] > summary::before { transform: rotate(90deg); }
.rv-dlt { width: 100%; border-collapse: collapse; font-size: 14px; margin: 4px 0 8px; }
.rv-dlt th, .rv-dlt td { padding: 7px 8px; border-top: 1px solid var(--line); text-align: left; }
.rv-dlt thead th { font-size: 12px; color: var(--muted); font-weight: 600; border-top: 0; }
.rv-dlt td { width: 30%; }
.rv-dlt input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
/* The stage: the comment box (I52, I53) */
.stage .cmt.on { display: block; }
.stage .cmt .cmtw { max-width: 760px; margin: 0 auto; display: grid; gap: 8px; background: rgba(12,12,11,.96); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 10px; }
.stage .cmt textarea { width: 100%; box-sizing: border-box; resize: none; font: inherit; font-size: 16px; line-height: 1.4; min-height: 48px; max-height: 40vh; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: #151514; color: #fff; }
.stage .cmt textarea:focus { outline: 2px solid #ff6a00; }
.stage .cmt .cmtl { display: grid; gap: 4px; max-height: 22vh; overflow-y: auto; font-size: 13px; color: #cfcec8; }
.stage .cmt .cmtl:empty { display: none; }
.stage .cmt .cmti { padding: 6px 10px; border-radius: 8px; background: #1d1d1c; cursor: text; white-space: pre-wrap; overflow-wrap: anywhere; }
.stage .cmt .cmti.on { outline: 1px solid #ff6a00; }
.stage .cmt .cmti i { font-style: normal; color: #9b9a94; }
.stage .cmt .cmtb { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.stage .cmt .cmtb .cmtn { margin-right: auto; font-size: 12.5px; color: #9b9a94; font-variant-numeric: tabular-nums; }
.stage .cmt .cmtb button { font: inherit; border: 1px solid rgba(255,255,255,.25); background: #1d1d1c; color: #fff; border-radius: 12px; padding: 8px 16px; font-weight: 700; cursor: pointer; min-height: 44px; }
.stage .cmt .cmtb .cmts { background: #ff6a00; border-color: #ff6a00; }
.stage .cmt .cmtb .cmtd { color: #ffb4a6; }
/* The end of a session: a bar over the last content, never a screen of its own (I1, I50) */
.stage .done { inset: auto; left: 50%; top: calc(54px + env(safe-area-inset-top)); transform: translateX(-50%); width: min(980px, calc(100% - 24px)); background: transparent; padding: 0; z-index: 9; }
.stage.over .done { display: block; }
.stage .rv-endb { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 10px 12px 10px 16px; border-radius: 14px; background: rgba(17,17,16,.95); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 12px 34px rgba(0,0,0,.45); color: #fff; text-align: left; }
.stage .rv-endt { flex: 1 1 260px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 14px; color: #cfcec8; }
.stage .rv-endt b { color: #fff; font-size: 16px; }
.stage .rv-endt em { font-style: normal; color: #ffd166; font-weight: 700; }
.stage .rv-enda { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stage .rv-enda .btn { background: #1d1d1c; color: #fff; border-color: #3a3a37; min-height: 44px; }
.stage .rv-enda .btn.accent { background: #ff6a00; border-color: #ff6a00; }
.stage .rv-enda .btn[disabled] { opacity: .7; cursor: default; }
.stage .rv-enda .rv-endx { color: #fff; border-color: #3a3a37; min-width: 44px; min-height: 44px; }
/* The left band: title, story, chapters, description, hashtags, captions (I9, I13, I41) */
.stage .side .rvb { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid #2c2c2a; border-radius: 12px; background: #11110f; }
.stage .side .rvh { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #9b9a94; }
.stage .side .rvb .cp { border: 0; padding: 0; background: transparent; }
.stage .side .rv-ti .rvt1 { margin: 0; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.stage .side .rv-ti .rvt2 { margin: 0; font-size: 14px; color: #ecebe6; overflow-wrap: anywhere; }
.stage .side .rv-ti i, .stage .side .rv-ideas i { font-style: normal; font-size: 11px; font-weight: 700; color: #0b0b0a; background: #9cc3ff; border-radius: 4px; padding: 0 4px; margin-right: 4px; }
.stage .side .rv-ideas { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 3px; font-size: 13px; color: #cfcec8; }
.stage .side .rv-story ol, .stage .side .rv-chap ol { margin: 0; padding-left: 22px; display: grid; gap: 5px; font-size: 13.5px; }
.stage .side .rv-story li, .stage .side .rv-chap li { padding-left: 2px; }
.stage .side .rv-story li::marker, .stage .side .rv-chap li::marker { color: #9b9a94; font-variant-numeric: tabular-nums; }
.stage .side .rv-ts { font: inherit; font-size: 12px; font-weight: 700; color: #ffb27a; background: #24170d; border: 1px solid #5a3311; border-radius: 6px; padding: 1px 6px; margin-right: 6px; cursor: pointer; font-variant-numeric: tabular-nums; min-height: 24px; }
.stage .side .rv-ts:hover { border-color: #ff6a00; color: #fff; }
.stage .side .rv-cmts .rv-n { cursor: text; padding: 4px 6px; margin: 0 -6px; border-radius: 6px; }
.stage .side .rv-cmts .rv-n:hover { background: #1d1d1c; }
.stage .side .rv-cmts .rv-n .dim { color: #9b9a94; }

/* L7 (AL 30/10/2026): a brochure is a document of pages, shown on paper, one page at a time, never as a post in a phone. */
.stage .rv-plain.rv-doc { --rowh: 88px; }
.stage .rv-doc .rv-dochd { display: flex; align-items: baseline; gap: 10px; min-height: 22px; font-size: 13px; color: #aaa; }   /* the stage is black in both schemes */
.stage .rv-doc .rv-dochd b { color: #f1f1f1; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }
.stage .rv-doc .fp-media { background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 34px rgba(0, 0, 0, .38); outline: 1px solid rgba(255, 255, 255, .1); }
.stage .rv-doc .pn-track { background: #fff; }
.stage.fs .rv-doc .rv-dochd { display: none; }
.stage.fs .rv-plain.rv-doc { --rowh: 0px; }
.pgc.is-doc .pgv { aspect-ratio: 210 / 297; background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 20px rgba(0, 0, 0, .28); outline: 1px solid var(--line); }
.pgc.is-doc .pgv img { object-fit: contain; background: #fff; }
.badge.doc { background: color-mix(in srgb, var(--blue) 18%, var(--card)); color: var(--fg); border: 1px solid color-mix(in srgb, var(--blue) 45%, var(--line)); }

/* M1 (AL 30/10/2026, capture 41: « ici on doit pouvoir lire tous les content »): a piece is read in the grid. The card opens to the width of its
   section: the picture on the left, then the pages of a carousel side by side at a size one can read, then the whole text or caption. */
.pgb { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pg-ex { margin: 0; padding: 2px 10px 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pg-rd { align-self: flex-start; margin: 8px 10px 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--fg); font: 600 12.5px/1 inherit; cursor: pointer; }
.pg-rd:hover, .pg-rd:focus-visible { border-color: var(--fg); }
.pg-rd[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 16%, var(--card)); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.pg-full { padding: 4px 12px 14px; display: grid; gap: 12px; min-width: 0; cursor: auto; }
.pg-full[hidden] { display: none; }
.pg-pages { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 2px 0 8px; scrollbar-width: thin; }
.pg-pg { flex: none; margin: 0; scroll-snap-align: start; width: clamp(210px, 26vw, 300px); }
.pg-pages.few .pg-pg { width: clamp(240px, 42vw, 520px); }   /* one or two pages: as large as a page of text needs */
.pg-pg img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.pg-pg figcaption { margin-top: 3px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; }
.pg-cap { min-width: 0; }
.pg-cap > i { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.pg-ct { font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; max-width: 70ch; }
.pgc.is-read { cursor: default; }
.pgg .pgc.is-read { grid-column: 1 / -1; width: auto; flex-direction: row; }
.pgt .pgc.is-read { flex: 0 0 min(100%, 940px); width: min(100%, 940px); flex-direction: row; }
.pgc.is-read > .pgv { flex: none; width: clamp(150px, 20vw, 230px); align-self: flex-start; }
.pgc.is-read.is-land > .pgv { width: clamp(220px, 28vw, 340px); }
.pgc.is-read .pg-ex { display: none; }
@media (max-width: 640px) {
  .pgg .pgc.is-read, .pgt .pgc.is-read { flex-direction: column; width: 100%; }
  .pgc.is-read > .pgv, .pgc.is-read.is-land > .pgv { width: 100%; }
  .pg-pg { width: clamp(180px, 62vw, 260px); }
}
.pgc.is-read.k-text > .pgv, .pgc.is-read.k-images > .pgv { display: none; }   /* what is read below (the text, the pages) is what the card showed the start of */

/* ---------- The review modes tree (AL 31/10/2026, P4 and P5): the mode and its branches, the three views, the two columns, the length and the
   test note of a piece. Shared by the HQ's Review and the client's link. ---------- */
:root { --rvm-final: #1f9d6b; --rvm-tests: #0f8b8d; --rvm-sample: #b0428a; --rvm-new: #2f6fde; --rvm-newt: #2459c0; --rvm-tst: #0b6f71; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rvm-newt: #8fb3ff; --rvm-tst: #6fd3d4; } }
:root[data-theme="dark"] { --rvm-newt: #8fb3ff; --rvm-tst: #6fd3d4; }
.rv-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 8px; padding: 10px 14px; border: 1px solid var(--line); border-left: 4px solid var(--rvm-tests); border-radius: 12px; background: var(--card); }
.rv-plan.is-final { border-left-color: var(--rvm-final); }
.rv-plan.is-sample { border-left-color: var(--rvm-sample); }
.rv-pm { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 320px; }
.rv-pm b { font-size: 15px; }
.rv-pm span { font-size: 13px; color: var(--muted); }
.rv-pb { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-pb i { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.rv-pb i.on { background: var(--hover); color: var(--fg); }
.rv-pb i.on::before { content: "→ "; color: var(--muted); }
.rv-pb i.on:first-child::before { content: ""; }
.rv-pb i.off { color: var(--muted); border-style: dashed; }
.rv-pw { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--bad); }
.rv-views2 { display: inline-flex; gap: 0; margin: 4px 0 6px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.rv-vw { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--fg); border-right: 1px solid var(--line); }
.rv-vw:last-child { border-right: 0; }
.rv-vw:hover { background: var(--hover); }
.rv-vw.on { background: var(--fg); color: var(--bg); }
.rv-vw:focus-visible { outline: 2px solid var(--rvm-tests); outline-offset: -2px; }
.rv-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.rv-col { min-width: 0; }
@media (max-width: 900px) { .rv-cols { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.item .kind .dur { display: block; font-style: normal; font-size: 12px; font-weight: 800; color: var(--fg); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; margin-top: 2px; }
.item .tst, .pg-tst { display: block; font-size: 13px; line-height: 1.35; color: var(--fg); margin-top: 3px; }
.item .tst b, .pg-tst b { display: inline; font-size: inherit; white-space: normal; color: var(--rvm-tst); font-weight: 800; margin-right: 4px; }
.item .tst.none, .pg-tst.none { color: var(--bad); font-weight: 600; }
.pg-tst { margin: 0; padding: 2px 10px 8px; font-size: 12.5px; }
.pg-dur { position: absolute; right: 6px; bottom: 6px; z-index: 2; font-size: 12px; font-weight: 800; line-height: 1; padding: 4px 6px; border-radius: 6px; background: rgba(0, 0, 0, .78); color: #fff; font-variant-numeric: tabular-nums; }
.pgv.own { aspect-ratio: var(--pgar, .75); }
.stage .rv-tst { flex: none; margin: 0 auto; padding: 7px 14px; max-width: 980px; width: 100%; font-size: 14px; line-height: 1.35; color: #e8f6f6; text-align: center; }
.stage .rv-tst b { color: #6fd3d4; margin-right: 6px; }
.stage .rv-tst.none b, .stage .rv-tst.none { color: #ffb4a6; }
/* The comments of the piece, under it (AL 08/11/2026): all of them, the earlier ones marked; scrolls past a third of the screen. */
.stage .rv-cmv { flex: none; margin: 0 auto; padding: 6px 14px; max-width: 980px; width: 100%; max-height: 30vh; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; font-size: 13.5px; line-height: 1.4; color: #f2f1ec; text-align: left; user-select: text; -webkit-user-select: text; }
.stage .rv-cmv[hidden] { display: none; }
.rv-cmvh { font-weight: 800; font-size: 13px; color: #ffb37a; margin-bottom: 4px; } .rv-cmvh span { color: #aaa; font-weight: 600; margin-left: 4px; }
.rv-cmvn { margin: 0 0 6px; padding: 6px 10px; background: rgba(255,255,255,.07); border-left: 3px solid #ff6a00; border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.rv-cmvn i { display: block; font-style: normal; font-size: 12px; color: #aaa; margin-bottom: 2px; }
.rv-cmvn.rv-past { border-left-color: #777; opacity: .9; }
/* AL 19/11/2026 (Limo's 8-slide rewrite filled the screen): a long comment shows 3 lines, a click opens or folds it; the panel stays under a fifth of the screen. */
.stage .rv-cmv { max-height: 20vh; }
.rv-cmvn.rv-long:not(.rv-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; cursor: pointer; }
.rv-cmvn.rv-long::after { content: 'Show all'; display: block; font-size: 12px; color: #ffb37a; margin-top: 2px; }
.rv-cmvn.rv-long:not(.rv-open) { position: relative; }
.rv-cmvn.rv-long.rv-open { cursor: pointer; }
.rv-cmvn.rv-long.rv-open::after { content: 'Fold'; }
.rv-cmve { margin: 0; color: #aaa; font-size: 13px; }
.cmti.rv-past, .c.rv-past { opacity: .85; }
.stage .rv-chk { flex: none; margin: 0 auto; padding: 6px 14px; max-width: 980px; width: 100%; font-size: 13px; line-height: 1.35; color: #e8f6f6; text-align: left; }
.stage .rv-chk b { color: #6fd3d4; margin-right: 4px; }
.stage .rv-chk.bad b { color: #ffb4a6; }
.stage .rv-chk.warn b { color: #ffd98a; }
.stage .rv-chk .g { display: block; padding-left: 10px; border-left: 2px solid #ffd98a; margin-top: 3px; }
.stage .rv-chk .g.fail { border-left-color: #ffb4a6; }
.stage .rv-chk .g i { font-style: normal; font-weight: 600; margin-right: 6px; opacity: .8; }
.stage .rv-chk .g.more { border-left-color: transparent; opacity: .7; }
@media (max-width: 640px) { .rv-vw { padding: 0 12px; font-size: 13px; } .stage .rv-tst { font-size: 13px; padding: 5px 10px; } }
.stage .th.land { width: 96px; height: 54px; }   /* P16: a landscape piece (and every piece of a no-phone review) is never a portrait tile */
/* A long title (nowrap, cut with an ellipsis) never widens the list: the grid's rows may shrink to the page (31/10/2026: Adam's titles at 390 px
   pushed the page 50 px sideways). On a phone the kind column is hidden: the kind and the length go under the title instead (P16). */
.items { grid-template-columns: minmax(0, 1fr); }
.items > .grp, .items > .item { min-width: 0; }
.item .kindm { display: none; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 1px; }
@media (max-width: 640px) { .item .kindm { display: block; } }

/* B9 (AL 29/10/2026): the three doors on every brand card. The name is the link to the dossier, stretched over the whole card; the doors sit above it. */
.br-link { color: inherit; text-decoration: none; }
.br-link::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }
.br-link:focus-visible { outline: none; }
.br-link:focus-visible::after { outline: 2px solid var(--fg); outline-offset: 2px; }
.br-doors, .prc .br-doors { position: relative; z-index: 2; display: block; margin-top: 5px; min-height: 26px; }
.br-doors:empty { min-height: 0; margin: 0; }
.br-doors .psr { display: inline-flex; }

/* The schema beside a test note (AL 02/11/2026, Adam's link: « ces explications doivent être visuelles sous la forme de schémas à côté »):
   an inline SVG (src/tools/review-schema.js cleanSchema) drawn with theme classes, so one drawing reads on paper and in the dark.
   Paper white and rust are the client's brand (Adam's kit); a literal colour inside the SVG is a measured tone or a track's own colour. */
.rv-sch { --sx-bg: #F4F1E5; --sx-ink: #252A22; --sx-mu: #626657; --sx-ln: #8f9282; --sx-ru: #A83E24; --sx-fa: #E1E5D8;
  margin: 0; padding: 10px; border-radius: 10px; background: var(--sx-bg); min-width: 0; box-sizing: border-box; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rv-sch { --sx-bg: #1b1f19; --sx-ink: #F4F1E5; --sx-mu: #a9ad9c; --sx-ln: #7d8273; --sx-ru: #D9764F; --sx-fa: #30372d; } }
:root[data-theme="dark"] .rv-sch, .stage .rv-sch { --sx-bg: #1b1f19; --sx-ink: #F4F1E5; --sx-mu: #a9ad9c; --sx-ln: #7d8273; --sx-ru: #D9764F; --sx-fa: #30372d; }
.rv-sch svg { display: block; width: 100%; height: auto; max-width: 100%; }
.rv-sch .ink { fill: var(--sx-ink); } .rv-sch .mu { fill: var(--sx-mu); } .rv-sch .ln { fill: var(--sx-ln); } .rv-sch .ru { fill: var(--sx-ru); } .rv-sch .fa { fill: var(--sx-fa); }
.rv-sch .s-ink { stroke: var(--sx-ink); } .rv-sch .s-mu { stroke: var(--sx-mu); } .rv-sch .s-ln { stroke: var(--sx-ln); } .rv-sch .s-ru { stroke: var(--sx-ru); }
/* the player: the note on the left, its schema on the right; on a phone the schema under the note, never taller than a third of the screen */
.stage .rv-tst.has-sch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 16px; align-items: center; text-align: left; max-width: 1040px; }
.stage .rv-tst.has-sch .rv-sch { padding: 6px; }
/* IBM Plex Sans (the client's brand kit, SIL OFL), the variable file as it is; loaded only when a schema uses it */
@font-face { font-family: "IBM Plex Sans"; src: url("plex-sans.ttf") format("truetype"); font-weight: 100 700; font-stretch: 85% 100%; font-display: swap; }
.stage .rv-sch-tg { display: none; }
@media (max-width: 640px) {
  .stage .rv-tst.has-sch { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .stage .rv-sch-tg { display: inline-block; margin-left: 4px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #e8f6f6; font-weight: 600; font-size: 12px; line-height: 1.3; font-family: inherit; cursor: pointer; }
  .stage .rv-tst.has-sch .rv-sch { display: none; }
  .stage .rv-tst.has-sch.sch-open .rv-sch { display: block; }
  .stage .rv-tst.has-sch .rv-sch { width: 100%; }
  .stage .rv-tst.has-sch .rv-sch svg { max-height: 30vh; width: 100%; }
}
/* the grid of the Review (Preview): the schema under the note of the card */
.pgc .rv-sch { margin: 6px 0 2px; padding: 6px; }

/* The test as colour cells (AL 02/11/2026, his sketch for Adam): Pace & length top left with its time bar, Cuts under it, the Question
   beside, the Storytelling choice and its parts the large cell on the right; stacked on a phone and in the player's Details band
   (Pace, Question, Storytelling, Cuts). Each cell its own colour of the client's palette, readable in light and in dark. */
.rv-cells { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); grid-template-areas: "a a d" "b c d"; align-items: stretch; }
.rv-cell { --cc: #A83E24; min-width: 0; border-radius: 12px; padding: 9px 11px; background: color-mix(in srgb, var(--cc) 9%, var(--card, #fff)); border: 1px solid color-mix(in srgb, var(--cc) 38%, transparent); color: var(--fg); }
.rv-cell.k1 { grid-area: a; --cc: #A83E24; } .rv-cell.k2 { grid-area: b; --cc: #3d4437; } .rv-cell.k3 { grid-area: c; --cc: #4f7a45; } .rv-cell.k4 { grid-area: d; --cc: #3f6f9e; }
.rv-cell.k5, .rv-cell.k6 { grid-column: 1 / -1; --cc: #7a6a3a; }
.rv-cl { font-weight: 800; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--cc); margin-bottom: 3px; }
.rv-ct { font-size: 13px; line-height: 1.35; }
.rv-cell.k3 .rv-ct { font-size: 15px; font-weight: 700; line-height: 1.3; }
.rv-cp { list-style: none; margin: 7px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rv-cp li { border-radius: 8px; padding: 3px 8px; background: color-mix(in srgb, var(--cc) 13%, transparent); font-size: 12.5px; line-height: 1.3; }
.rv-cp b { color: var(--cc); margin-right: 6px; font-weight: 800; }
.rv-cp .t { font: inherit; font-variant-numeric: tabular-nums; color: var(--muted); margin-right: 6px; padding: 0; border: 0; background: none; }
.rv-cp button.t { cursor: pointer; text-decoration: underline dotted; }
.rv-sch.rv-bar { background: transparent; padding: 0; margin: 6px 0 0; border-radius: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rv-cell.k1 { --cc: #D9764F; } :root:not([data-theme="light"]) .rv-cell.k2 { --cc: #cfc9b4; } :root:not([data-theme="light"]) .rv-cell.k3 { --cc: #93b47f; } :root:not([data-theme="light"]) .rv-cell.k4 { --cc: #8fb6dc; } }
:root[data-theme="dark"] .rv-cell.k1, .stage .rv-cell.k1 { --cc: #D9764F; } :root[data-theme="dark"] .rv-cell.k2, .stage .rv-cell.k2 { --cc: #cfc9b4; }
:root[data-theme="dark"] .rv-cell.k3, .stage .rv-cell.k3 { --cc: #93b47f; } :root[data-theme="dark"] .rv-cell.k4, .stage .rv-cell.k4 { --cc: #8fb6dc; }
.stage .rv-cell { background: color-mix(in srgb, var(--cc) 12%, #161a14); color: #ecebe6; }
.stage .rv-cp .t { color: #b9bcae; }
.stage .side .rv-cells, .pgc .rv-cells { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "c" "d" "b"; }
.pgc .rv-cells { margin: 6px 0 2px; }
@media (max-width: 899px) { .rv-cells { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "c" "d" "b"; } }

/* Mark all read (AL 02/11/2026, R8): the right click menu, what reads « Read », the touch button, the undo toast (hq/undo.js). */
.rv-rmenu { position: fixed; z-index: 3000; min-width: 220px; max-width: min(320px, calc(100vw - 16px)); padding: 6px; border-radius: 12px; background: var(--card); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }
.rv-rmenu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.rv-rmenu button:hover, .rv-rmenu button:focus-visible { background: var(--hover); outline: none; }
.rv-rmenu button span { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.rv-rmenu p { margin: 4px 12px 6px; font-size: 12px; color: var(--muted); line-height: 1.35; }
.badge.rd { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.br-nl.is-read, .anr.is-read, .dsr.is-read, .prc.is-read { opacity: .62; }
.br-nl.is-read { font-style: normal; }
.pr-read { margin: 10px 0 4px; }
.pr-read > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); padding: 6px 0; min-height: 32px; }
.pr-read .prc { padding-top: 6px; padding-bottom: 6px; }
.rv-mrb { display: none; }
@media (hover: none) and (pointer: coarse) {
  body.rv-ours .rv-mrb { display: flex; position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 900; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--fg); font-size: 20px; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
  body.rv-ours:has(.stage) .rv-mrb, body.rv-ours:has(.undo-toast:not([hidden])) .rv-mrb, body.rv-ours:has(.rv-rmenu) .rv-mrb { display: none; }
}
.undo-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2000; display: flex; align-items: center; gap: 10px; max-width: min(580px, calc(100vw - 24px)); padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--fg); color: var(--bg); font-size: 14px; line-height: 1.35; box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }
.undo-toast[hidden] { display: none; }
.undo-toast-t { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
.undo-toast button { flex: none; font: inherit; font-weight: 700; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 99px; min-height: 32px; padding: 3px 14px; cursor: pointer; }
.undo-toast .undo-toast-x { border-color: transparent; padding: 3px 10px; font-size: 18px; line-height: 1; opacity: .75; }
@media (max-width: 700px) { .undo-toast { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: none; max-width: none; } .undo-toast button { min-height: 44px; } .undo-toast .undo-toast-x { min-width: 44px; } }

/* The reading card of a text, and the type of every piece under its platform's logo (AL 08/11/2026, on the V19 review: « la review du contenu
   texte pourrait être plus directe, c'est un peu small pour enchaîner », « Substack c'est des articles ou des pins ? Ça doit être précisé sous
   le logo en orange »). The card is the platform's post, light as the feeds are, the text set big (readSize in review.js); Phone shows the feed. */
.stage .rv-ctype { display: block; margin: 2px 0 0 12px; color: #ff8a2b; font-size: 13px; font-weight: 700; letter-spacing: .01em; line-height: 1.25; }
.stage .rv-tabs .rv-ctype { white-space: normal; overflow-wrap: anywhere; }
.stage .rv-res { display: block; margin: 3px 0 0 12px; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }   /* the resolution of the file (AL 02/12/2026) */
.stage .rv-ph.rv-rph { --pw: auto; width: min(100cqw - 2 * (var(--tw) + var(--tg)), 46rem); height: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.stage .rv-read { display: flex; flex-direction: column; width: 100%; max-height: 100%; min-height: 0; background: #fff; color: #0f1419; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.45); overflow: hidden; }
.stage .rv-rhd { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid #eceae4; flex: none; }
.stage .rv-rlg { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.stage .rv-rlg .lg svg { width: 22px; height: 22px; }
.stage .rv-rhd .rv-ctype { margin: 0; padding: 3px 10px; border-radius: 999px; background: #fff1e6; color: #d4570a; font-size: 13px; }
.stage .rv-rlen { margin-left: auto; color: #6b6b66; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stage .rv-racc { display: flex; align-items: center; gap: 10px; padding: 14px 20px 4px; flex: none; }
.stage .rv-rav { display: block; width: 42px; height: 42px; flex: none; }
.stage .rv-rav .fp-av { background-color: #0f1419; color: #fff; background-image: var(--fp-av); background-size: cover; }
.stage .fp-has-av .rv-rav .fp-av { background-color: #fff; }
.stage .rv-racc-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.stage .rv-racc-t b { font-size: 15.5px; }
.stage .rv-racc-t span { color: #6b6b66; font-size: 13.5px; }
.stage .rv-rtext { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding: 10px 22px 16px; font-size: calc(var(--rfn, 24) * 1px); line-height: 1.4; font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; letter-spacing: -.005em; }
.stage .rv-rtext:focus-visible { outline: 2px solid var(--accent, #ff6a00); outline-offset: -4px; }
.stage .rv-racts { display: flex; justify-content: space-between; gap: 8px; padding: 10px 22px 14px; border-top: 1px solid #eceae4; color: #536471; flex: none; }
.stage .rv-racts span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.stage .rv-racts svg { width: 20px; height: 20px; }
.stage .rv-racts i { font-style: normal; }
.stage.fs .rv-ph.rv-rph { width: min(100cqw, 52rem); }
/* Little room beside the card (the HQ's own Review, its two bands open): the tabs and the view buttons shrink to their icon, the card keeps the width. */
@container (max-width: 760px) {
  .stage.rv-reading .rv-tabs, .stage.rv-reading .rv-ph.rv-rph, .stage.rv-reading .rv-view { --tw: 44px; --tg: 14px; }
  .stage.rv-reading .pn-ptab { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .stage.rv-reading .pn-ptab > span:not(.lg) { display: none; }
  .stage.rv-reading .rv-vb { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .stage.rv-reading .rv-vb > span { display: none; }
  .stage.rv-reading .rv-tabs .rv-ctype { margin: 2px -10px 0; text-align: center; font-size: 11px; }
}
@media (max-width: 1100px) {
  .stage .rv-tabs .rv-ctype { margin: 2px -10px 0; text-align: center; font-size: 11px; }
  .stage .rv-tabs .rv-res { margin: 2px -10px 0; text-align: center; font-size: 10.5px; }
}
@media (max-width: 860px) {
  .stage .rv-tabs .rv-ctype, .stage.rv-reading .rv-tabs .rv-ctype { margin: 3px -3px 0; font-size: 10.5px; line-height: 1.15; }
  .stage .rv-tabs .rv-res { margin: 2px -6px 0; font-size: 9px; letter-spacing: -.01em; }
  .stage .rv-rtext { font-size: min(calc(var(--rfn, 24) * 1px), calc(var(--rfn, 24) * .21vw)); padding: 8px 16px 12px; }
  .stage .rv-rhd { padding: 10px 14px; gap: 8px; }
  .stage .rv-rlg b { display: none; }
  .stage .rv-racc { padding: 10px 16px 2px; }
  .stage .rv-racts { padding: 8px 16px 10px; }
}

/* The long form's window (AL 08/11/2026: « un long format, c'est une fenêtre et dedans il doit y avoir tout »): the player and its bar on the
   left, the panel on the right (title, thumbnails, chapters that play the film from their time, the whole description, the comments), each
   scrolling on its own; on a phone one column, the whole window scrolling. Replaces the E6 watch page under the player (29/10). */
.stage .rv-plain.rv-ytw { --rowh: 0px; width: min(100cqw, 1560px); height: 100cqh; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 32cqw, 440px); gap: 18px; align-items: center; }
.stage .rv-ytw .rv-ytcol { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.stage .rv-ytw .fp-media, .stage .rv-ytw .rv-prow { width: min(100%, (100cqh - 64px) * var(--ar, 1.778)); margin: 0 auto; }
.stage .rv-ytw .rv-ytl { align-self: stretch; max-height: 100cqh; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; user-select: text; -webkit-user-select: text; display: flex; flex-direction: column; gap: 12px; padding: 2px 8px 14px 2px; }
.stage .rv-ytw .rv-ytl:focus-visible { outline: 2px solid #ff6a00; outline-offset: 2px; border-radius: 8px; }
.stage .rv-yts h4 { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: #fff; }
.stage .rv-yts h4 span { color: #aaa; font-weight: 600; margin-left: 4px; background: none; padding: 0; border-radius: 0; font-size: 12px; }
.stage .rv-ytths { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.stage .rv-ytth { margin: 0; min-width: 0; }
.stage .rv-ytth img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #222; }
.stage .rv-ytth figcaption { display: flex; gap: 6px; margin-top: 5px; font-size: 12.5px; line-height: 1.3; color: #e6e6e6; }
.stage .rv-ytth figcaption b { color: #ffb37a; flex: none; }
.stage .rv-ytw .rv-ytd { white-space: pre-wrap; font-size: 13.5px; line-height: 1.45; }
.stage .rv-yts.rv-ytch { display: block; margin-top: 0; }
.stage .rv-ytch ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.stage .rv-ytcp { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 8px; background: rgba(255,255,255,.08); color: #f1f1f1; font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.stage .rv-ytcp:hover { background: rgba(255,255,255,.16); }
.stage .rv-ytcp:focus-visible { outline: 2px solid #ff6a00; }
.stage .rv-ytch .rv-ytcp i { flex: none; margin: 0; color: #6cb8ff; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.stage .rv-ytch .rv-ytcp span { background: none; padding: 0; border-radius: 0; font-size: inherit; color: inherit; }
.stage .rv-ytcm .rv-cmvn { background: #272727; }
@media (max-width: 860px) {
  .stage .rv-plain.rv-ytw { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100cqw; height: 100cqh; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
  .stage .rv-ytw .fp-media, .stage .rv-ytw .rv-prow { width: 100%; }
  .stage .rv-ytw .rv-ytcol { flex: none; }
  .stage .rv-ytw .rv-ytl { flex: none; max-height: none; overflow: visible; padding: 0 2px 14px; }
}
.stage.rv-ytwin .snd { display: none; }   /* the player bar has the sound; the floating button sat on the panel's title */
@media (max-width: 860px) { .stage .rv-plain.rv-ytw { padding-bottom: 110px; } }   /* the last lines scroll clear of the strip of pieces */

.rv-cmvn.rv-voice { border-left-color: #6cb8ff; }   /* what was said with Talk */

/* ---------- Platform previews (AL 18/11/2026, Emilie Chanon's pack, remarks 1 to 5, 9, 10, 32 to 35; previews.js; numbers in hq/data/platform_specs.json) ---------- */
/* Full bleed: a 9:16 Reel fills the 19.5:9 screen as the Instagram and Facebook apps show it on a tall phone (AL's screenshots IMG_5457 and IMG_5458),
   the sides cut; ours can see the whole frame again (Whole video, .rv-whole). The other platforms keep their own boxes. */
.stage .fp-ig.fp-reel:not(.is-wide) .fp-media > video, .stage .fp-fb.fp-reel:not(.is-wide) .fp-media > video { object-fit: cover; }
.stage .rv-feed.rv-whole .fp-ig.fp-reel:not(.is-wide) .fp-media > video, .stage .rv-feed.rv-whole .fp-fb.fp-reel:not(.is-wide) .fp-media > video { object-fit: contain; }
/* A slide or a picture whose ratio is not the post's: shown whole, with a badge, never cut without a word. */
.fp-post .pn-slide.pn-diff img, .fp-post.fp-rdiff .fp-media > img { object-fit: contain; background: #111; }
.fp-post .pn-slide.pn-diff::after, .fp-post.fp-rdiff .fp-media::after { content: "Ratio differs from the post: shown whole"; position: absolute; left: calc(10 * var(--u)); right: calc(10 * var(--u)); bottom: calc(10 * var(--u)); z-index: 2;
  padding: calc(6 * var(--u)) calc(9 * var(--u)); border-radius: calc(8 * var(--u)); background: #d92d20; color: #fff; font: 700 calc(12 * var(--u)) / 1.25 -apple-system, system-ui, sans-serif; text-align: center; pointer-events: none; }
/* The banners of a piece, one column. */
.stage .rv-feed.rv-flat .rv-ph.rv-bnph { width: 100%; height: 100%; min-height: 0; align-items: stretch; }
.rv-bnw { width: min(100%, 1060px); max-height: 100%; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: 2px 4px 20px; color: #fff; outline: none; scrollbar-width: thin; scrollbar-color: #3a3a38 transparent; }
.rv-bnhd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 10px; }
.rv-bnhd b { font-size: 17px; } .rv-bnhd span { color: #b9b8b2; font-size: 13px; }
.rv-bnr { background: #161616; border: 1px solid #2c2c2b; border-radius: 14px; padding: 12px 14px 14px; margin: 0 0 12px; min-width: 0; }
.rv-bnr-load { display: flex; align-items: center; gap: 10px; color: #9a9994; font-size: 13px; } .rv-bnr-load img { width: 120px; height: auto; opacity: .45; }
.rv-bnr-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 10px; } .rv-bnr-h b { font-size: 15px; } .rv-bnr-h .lg { display: inline-flex; }
.rv-bnr-l { color: #b9b8b2; font-size: 13px; } .rv-bnr-px { margin-left: auto; color: #8f8e88; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.rv-bnr-web { font: 800 9px/1 -apple-system, system-ui, sans-serif; background: #3a3a3c; color: #fff; padding: 4px 5px; border-radius: 5px; letter-spacing: .04em; }
.rv-bnr-v { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.rv-bnf { margin: 0; flex: 1 1 440px; min-width: 0; }
.rv-bnf.v-mobile { flex: 0 1 330px; } .rv-bnf.v-tv { flex: 1 1 380px; }
.rv-bnf figcaption { margin: 0 0 6px; font: 700 11px/1 -apple-system, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #a5a49e; }
.rv-bnp { position: relative; background: #fff; color: #111; border-radius: 10px; overflow: hidden; container-type: inline-size; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.rv-bni { position: relative; width: 100%; background: #ddd; overflow: hidden; }
.rv-bni > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.rv-bnsafe, .rv-bnalt { position: absolute; border: 2px dashed rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); pointer-events: none; }
.rv-bnalt { top: 0; bottom: 0; border-color: rgba(255, 196, 0, .95); }
.rv-bnsafe i, .rv-bnalt i { position: absolute; left: 4px; top: 4px; font: 700 10px/1 -apple-system, system-ui, sans-serif; font-style: normal; color: #fff; background: rgba(0, 0, 0, .62); padding: 3px 5px; border-radius: 4px; white-space: nowrap; }
.rv-bnwho { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 0 12px 12px calc(var(--l) * 100cqw); margin-top: calc(var(--s) * var(--o) * -100cqw); }
.rv-bnav { flex: none; position: relative; z-index: 1; display: block; width: calc(var(--s) * 100cqw); height: calc(var(--s) * 100cqw); min-width: 30px; min-height: 30px; border-radius: 50%; border: 3px solid #fff; background: #fff; overflow: hidden; }
.rv-bnwho.sq .rv-bnav, .rv-bnwho.sq .rv-bnav .fp-av { border-radius: 10%; }
.rv-bnav .fp-av { width: 100%; height: 100%; }
.rv-bnt { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: calc(var(--s) * var(--o) * 100cqw + 4px); }
.rv-bnt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rv-bnt span { color: #65676b; font-size: 12px; }
.rv-bnbtn { flex: none; margin-top: calc(var(--s) * var(--o) * 100cqw + 6px); padding: 7px 12px; border-radius: 999px; background: #0a66c2; color: #fff; font: 700 12px/1 -apple-system, system-ui, sans-serif; }
.rv-bnbtn.k-facebook { background: #1877f2; border-radius: 8px; } .rv-bnbtn.k-youtube { background: #0f0f0f; } .rv-bnbtn.k-x { background: #0f1419; }
.rv-bnbar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #f1f1f3; border-bottom: 1px solid #ddd; color: #555; font: 500 11px/1 -apple-system, system-ui, sans-serif; }
.rv-bnbar i { width: 8px; height: 8px; border-radius: 50%; background: #c9c9cf; } .rv-bnbar span { flex: 1; max-width: 260px; margin-left: 8px; padding: 4px 10px; border-radius: 6px; background: #fff; }
@media (max-width: 700px) { .rv-bnr { padding: 10px; } .rv-bnf, .rv-bnf.v-mobile, .rv-bnf.v-tv { flex: 1 1 100%; } }
/* The Instagram profile (highlights, the 3:4 grid), drawn on the phone's 402 x 874 screen. */
.fp-prof .fp-scr { background: #fff; color: #0c0c0d; }
.ig-prof { position: absolute; inset: 0; padding-top: calc(54 * var(--u)); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; background: #fff; color: #0c0c0d; touch-action: pan-y; outline: none; text-shadow: none; }
.ig-prof::-webkit-scrollbar { display: none; }
.ig-prof svg { display: block; width: 100%; height: 100%; }
.ig-top { display: flex; align-items: center; height: calc(44 * var(--u)); padding: 0 calc(16 * var(--u)); }
.ig-top b { flex: 1; font-size: calc(21 * var(--u)); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-ic { display: flex; gap: calc(20 * var(--u)); } .ig-ic svg { width: calc(25 * var(--u)); height: calc(25 * var(--u)); }
.ig-hd { display: flex; align-items: center; gap: calc(22 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u)) calc(10 * var(--u)); }
.ig-av { flex: none; display: block; width: calc(86 * var(--u)); height: calc(86 * var(--u)); border-radius: 50%; }
.ig-cts { flex: 1; display: flex; justify-content: space-between; }
.ig-cts > span { display: flex; flex-direction: column; align-items: center; font-size: calc(13 * var(--u)); }
.ig-cts b { min-height: calc(21 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 700; }
.ig-sk { display: block; width: calc(34 * var(--u)); height: calc(12 * var(--u)); margin: calc(4 * var(--u)) 0 calc(5 * var(--u)); border-radius: calc(4 * var(--u)); background: #e9e9eb; }
.ig-bio { display: flex; flex-direction: column; gap: calc(6 * var(--u)); padding: 0 calc(16 * var(--u)); }
.ig-bio b { font-size: calc(14 * var(--u)); font-weight: 600; } .ig-bio .ig-sk { margin: 0; } .ig-bio .w1 { width: calc(232 * var(--u)); } .ig-bio .w2 { width: calc(160 * var(--u)); }
.ig-btns { display: flex; gap: calc(6 * var(--u)); padding: calc(12 * var(--u)) calc(16 * var(--u)); }
.ig-btns span { flex: 1; display: flex; align-items: center; justify-content: center; height: calc(32 * var(--u)); border-radius: calc(8 * var(--u)); background: #efeff1; font-size: calc(14 * var(--u)); font-weight: 600; }
.ig-btns .on { background: #0095f6; color: #fff; }
.ig-hls { display: flex; gap: calc(14 * var(--u)); padding: calc(4 * var(--u)) calc(16 * var(--u)) calc(14 * var(--u)); overflow-x: auto; scrollbar-width: none; }
.ig-hl { flex: none; display: flex; flex-direction: column; align-items: center; gap: calc(5 * var(--u)); width: calc(68 * var(--u)); }
.ig-hlc { display: block; width: calc(66 * var(--u)); height: calc(66 * var(--u)); padding: calc(3 * var(--u)); border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 calc(1 * var(--u)) #dbdbdb; }
.ig-hlc img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center; }
.ig-hln { max-width: calc(74 * var(--u)); font-size: calc(12 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.ig-tabs { display: flex; border-top: calc(1 * var(--u)) solid #e6e6e8; }
.ig-tabs span { flex: 1; display: flex; justify-content: center; padding: calc(10 * var(--u)) 0; color: #8e8e93; } .ig-tabs span svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.ig-tabs .on { color: #0c0c0d; box-shadow: inset 0 calc(-1.5 * var(--u)) 0 #0c0c0d; }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(2 * var(--u)); padding-bottom: calc(96 * var(--u)); }
.ig-t { position: relative; display: block; aspect-ratio: var(--tr); border: 0; padding: 0; margin: 0; background: #efefef; overflow: hidden; cursor: pointer; }
.ig-t img, .ig-t video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.ig-t.is-cur { outline: calc(3 * var(--u)) solid #ff6a00; outline-offset: calc(-3 * var(--u)); }
.ig-t:focus-visible { outline: calc(3 * var(--u)) solid #0095f6; outline-offset: calc(-3 * var(--u)); }
.ig-tb { position: absolute; right: calc(6 * var(--u)); top: calc(6 * var(--u)); width: calc(18 * var(--u)); height: calc(18 * var(--u)); filter: drop-shadow(0 0 calc(2 * var(--u)) rgba(0, 0, 0, .5)); }
.ig-none { grid-column: 1 / -1; padding: calc(24 * var(--u)); text-align: center; color: #8e8e93; font-size: calc(14 * var(--u)); }
.rv-igpage { display: flex; justify-content: center; margin: 14px 0 40px; }
.rv-igpage .pn-phone { position: relative; width: min(420px, 100%); padding: 6px; }
/* A client's link: the landing that Leave shows (One by one only). */
.rv-one { max-width: 640px; margin: 48px auto 32px; padding: 0 16px; text-align: center; }
.rv-one h1 { margin: 0 0 6px; } .rv-one .row { justify-content: center; margin: 18px 0 10px; flex-wrap: wrap; gap: 10px; }
/* Expected / Returned, bottom right of every page of a client's link, the review included (remark 35). */
.rv-exp { position: fixed; right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(17, 17, 17, .9); color: #fff; font: 600 13px/1.2 -apple-system, system-ui, sans-serif; box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
.rv-exp-n { display: flex; align-items: baseline; gap: 6px; }
.rv-exp-n b { color: #c9c8c2; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.rv-exp-n span { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rv-exp-a { appearance: none; flex: none; width: 30px; height: 30px; margin-left: -4px; padding: 6px 0 0; border: 0; border-radius: 50%; background: #ff6a00; color: #fff; font: 800 18px/1 -apple-system, system-ui, sans-serif; cursor: help; }
.rv-exp-a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rv-exp-t { display: none; position: absolute; right: 0; bottom: calc(100% + 8px); width: min(330px, calc(100vw - 28px)); padding: 10px 12px; border-radius: 10px; background: #fff; color: #111; font: 500 13px/1.45 -apple-system, system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.rv-exp.open .rv-exp-t { display: block; }
@media (hover: hover) { .rv-exp-a:hover + .rv-exp-t { display: block; } }
.rv-exp-a:focus-visible + .rv-exp-t { display: block; }
.rv-exp.rv-exp-v { right: calc(6px + env(safe-area-inset-right)); flex-direction: column; gap: 6px; padding: 8px 6px; border-radius: 12px; }
.rv-exp.rv-exp-v .rv-exp-n { flex-direction: column; align-items: center; gap: 1px; }
.rv-exp.rv-exp-v .rv-exp-n b { font-size: 9.5px; letter-spacing: .04em; }
.rv-exp.rv-exp-v .rv-exp-n span { font-size: 16px; }
.rv-exp.rv-exp-v .rv-exp-a { margin: 0; }
/* A phone with Details open (AL 24/11/2026): the box rises above the band, under Feedback and Copy caption; it steps aside while she reads. */
@media (max-width: 860px) { body:has(.stage.fold-sl) .rv-exp.on-stage, body:has(.stage.fold-sr) .rv-exp.on-stage { display: none; } }
@media (max-width: 699px) { body.rv-has-exp .stage .rv-bnw { padding-right: 70px; } }   /* the box's column keeps clear of the banners */
@media (max-width: 860px) { .stage .rv-tabs .rv-ctype { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; } }   /* « Highlights » breaks as High-lights in the narrow column, never Highligh-ts */
/* Round 2 (AL 19/11/2026, Emilie's review). The Grid option as a checkbox, on or off. */
.stage .rv-vb.rv-gchk .rv-box { flex: none; width: 18px; height: 18px; border-radius: 5px; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; }
.stage .rv-vb.rv-gchk[aria-checked="true"] .rv-box { background: #ff6a00; border-color: #ff6a00; }
.stage .rv-vb.rv-gchk[aria-checked="true"] .rv-box::after { content: ""; width: 5px; height: 9px; margin-top: -2px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
/* Her real profile: category, bio lines, links, her own highlights and posts. */
.ig-bio .ig-cat { color: #737373; font-size: calc(13 * var(--u)); }
.ig-bio > span { font-size: calc(13.5 * var(--u)); line-height: calc(17 * var(--u)); }
.ig-bio .ig-ln { display: flex; align-items: center; gap: calc(5 * var(--u)); color: #0c0c0d; }
.ig-bio .ig-ln svg { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ig-bio .ig-ln b { font-weight: 600; }
.ig-av .ig-avimg { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.ig-avimg img { width: 100%; height: 100%; object-fit: cover; display: block; }   /* the story head too (AL 30/11/2026): its photo was 177 px wide in a 24 px circle, so only a corner showed */
.ig-cts:empty { display: none; }
.ig-t.is-theirs { cursor: default; }
/* The highlights piece: the profile, and the covers big on its right. */
.stage .rv-feed.rv-hlfeed { grid-template-columns: minmax(0, .5fr) auto minmax(0, 1.5fr); }
.stage .rv-hlfeed .rv-ph { --pw: min(44cqw, (100cqh - 68px) * 402 / 874); }
.stage .rv-hlbig { grid-column: 3; justify-self: start; display: flex; flex-wrap: nowrap; gap: 14px; align-items: center; max-height: 100cqh; min-width: 0; }
.stage .rv-hlb { flex: none; margin: 0; width: clamp(90px, 15cqw, 180px); text-align: center; color: #fff; }
.stage .rv-hlb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #222; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); }   /* round, as Instagram shows a cover (AL 24/11/2026) */
/* One highlight's own cover on the right of its stories (a pack link). */
.stage .rv-svfeed > .rv-hlbig { grid-column: 3; grid-row: 1; align-self: center; justify-self: start; width: auto; overflow: visible; }
.stage .rv-svfeed > .rv-hlbig .rv-hlb { flex: none; width: clamp(110px, 16cqw, 190px); max-width: none; }
.stage .rv-svfeed > .rv-hlbig .rv-hlb { color: inherit; }
@media (max-width: 699px) { .stage .rv-feed.rv-svfeed { position: relative; } .stage .rv-svfeed > .rv-hlbig { position: absolute; left: 0; top: calc(50% + 60px); width: 44px; margin: 0; container-type: normal; } .stage .rv-svfeed > .rv-hlbig .rv-hlb { width: 44px; } .stage .rv-svfeed > .rv-hlbig figcaption { font-size: 9px; } }
.stage .rv-hlb figcaption { margin-top: 6px; font: 700 13px/1.2 -apple-system, system-ui, sans-serif; }
@media (max-width: 699px) {   /* a phone: no room on the right, the three covers big in a row under the profile */
  .stage .rv-feed.rv-hlfeed { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 8px; }
  .stage .rv-hlfeed .rv-tabs { grid-column: 1; grid-row: 1; }
  .stage .rv-hlfeed .rv-ph { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; --pw: min(100cqw - 120px, (100cqh - 186px) * 402 / 874); }
  .stage .rv-hlbig { grid-column: 1 / -1; grid-row: 2; justify-self: center; flex-wrap: nowrap; gap: 10px; max-height: none; overflow: visible; }
  .stage .rv-hlb { width: 76px; }
  .stage .rv-hlb figcaption { font-size: 11px; margin-top: 3px; }
}

/* ---------- Highlight stories, the chapter card, the covers as buttons (AL 19/11/2026, round 3) ---------- */
/* The strip: the stories of the highlights grouped at the end under a small label. */
.stage .tl.has-grp { padding-top: 19px; }
.stage .th-grp { position: relative; flex: none; width: 0; margin: 0 8px 0 6px; align-self: stretch; border-left: 2px solid #ff6a00; }
.stage .th-grp i { position: absolute; left: 6px; top: -16px; font: 800 10px/1 -apple-system, system-ui, sans-serif; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #ff8a2b; white-space: nowrap; }
/* The chapter card: « Highlights » over the whole stage for 0.8 s. */
.stage .rv-chapc { position: absolute; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #000; color: #fff; pointer-events: none; animation: rvChap .8s ease both; }
.stage .rv-chapc i { width: 76px; height: 76px; border-radius: 50%; border: 3px solid #ff6a00; box-shadow: inset 0 0 0 7px #000, inset 0 0 0 10px #ff6a00; }
.stage .rv-chapc b { font: 800 clamp(30px, 6vw, 56px) / 1.05 -apple-system, system-ui, sans-serif; letter-spacing: -.01em; }
.stage .rv-chapc.out { opacity: 0; transition: opacity .18s ease; animation: none; }
@keyframes rvChap { 0% { opacity: 0; } 14% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stage .rv-chapc { animation: none; } }
/* The viewer, on the phone's 402 x 874 screen. */
.fp-story .fp-scr { background: #000; color: #fff; }
.sv { position: absolute; inset: 0; overflow: hidden; background: #000; color: #fff; -webkit-touch-callout: none; touch-action: manipulation; text-shadow: none; }
.sv-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #000; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.sv-shade { position: absolute; left: 0; right: 0; top: 0; height: calc(150 * var(--u)); background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); pointer-events: none; z-index: 1; }
.sv-hit { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.sv-top { position: absolute; left: 0; right: 0; top: calc(56 * var(--u)); padding: 0 calc(10 * var(--u)); z-index: 3; pointer-events: none; }
.sv-segs { display: flex; gap: calc(3 * var(--u)); }
.sv-segs i { flex: 1; height: calc(2.6 * var(--u)); border-radius: 2px; background: rgba(255, 255, 255, .38); overflow: hidden; }
.sv-segs b { display: block; height: 100%; width: 0; background: #fff; transition: width .1s linear; }
.sv-hd { display: flex; align-items: center; gap: calc(9 * var(--u)); margin-top: calc(10 * var(--u)); height: calc(36 * var(--u)); }
.sv-av { flex: none; display: block; width: calc(32 * var(--u)); height: calc(32 * var(--u)); border-radius: 50%; overflow: hidden; }
.sv-hd b { font-size: calc(14 * var(--u)); font-weight: 700; white-space: nowrap; }
.sv-nm { font-size: calc(13.5 * var(--u)); opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sv-ago { font-size: calc(13 * var(--u)); opacity: .65; white-space: nowrap; }
.sv-ic { margin-left: auto; width: calc(22 * var(--u)); height: calc(22 * var(--u)); flex: none; }
.sv-ic svg, .sv-x svg { display: block; width: 100%; height: 100%; }
.sv-x { pointer-events: auto; flex: none; appearance: none; background: none; border: 0; padding: 0; margin: 0 0 0 calc(4 * var(--u)); width: calc(26 * var(--u)); height: calc(26 * var(--u)); color: #fff; cursor: pointer; }
.sv-pz { position: absolute; left: 50%; top: 50%; width: calc(64 * var(--u)); height: calc(64 * var(--u)); margin: calc(-32 * var(--u)) 0 0 calc(-32 * var(--u)); padding: calc(18 * var(--u)); box-sizing: border-box; border-radius: 50%; background: rgba(0, 0, 0, .5); opacity: 0; z-index: 3; pointer-events: none; transition: opacity .12s ease; }
.sv-pz svg { display: block; width: 100%; height: 100%; }
.sv.is-paused .sv-pz { opacity: 1; }
.sv-safe { position: absolute; z-index: 3; border: 2px dashed rgba(255, 255, 255, .92); border-radius: 6px; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .38); pointer-events: none; }
.sv-safe::after { content: attr(data-label); position: absolute; left: 6px; bottom: 6px; font: 700 10px/1 -apple-system, system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); padding: 4px 6px; border-radius: 4px; }
.rv-svbar .p-play { display: none; } .rv-svbar .is-on .p-play { display: block; } .rv-svbar .is-on .p-pause { display: none; }
/* The circles and the covers that open a highlight. */
.ig-hl.is-open { cursor: pointer; } .ig-hl.is-open:focus-visible { outline: calc(2 * var(--u)) solid #0095f6; outline-offset: calc(2 * var(--u)); border-radius: 8px; }
.stage .rv-hlb[data-hl] { cursor: pointer; } .stage .rv-hlb[data-hl]:hover img, .stage .rv-hlb[data-hl]:focus-visible img { outline: 3px solid #ff6a00; }
.stage .rv-hlb[data-hl]:focus-visible { outline: none; }
/* Five covers (or more): three to a row while the column is narrow (the Details band takes room on a computer), five when it is wide, one row of
   five on a phone under the profile. */
.stage .rv-hlfeed .rv-ph { --pw: min(34cqw, (100cqh - 68px) * 402 / 874); }
.stage .rv-hlbig { container-type: inline-size; justify-self: stretch; width: 100%; flex-wrap: wrap; align-content: center; align-items: flex-start; gap: 14px 12px; max-height: 100cqh; overflow: auto; }
.stage .rv-hlb { flex: 0 1 calc((100% - 24px) / 3); min-width: 0; width: auto; max-width: 150px; }
@container (min-width: 560px) { .stage .rv-hlb { flex-basis: calc((100% - 48px) / 5); } }
@media (max-width: 699px) { .stage .rv-hlbig { container-type: normal; flex-wrap: nowrap; gap: 6px; justify-content: center; overflow: visible; } .stage .rv-hlb { flex: 1 1 0; max-width: 74px; } .stage .rv-hlb figcaption { font-size: 10px; } }
/* The frames' notes of a story set in the Details band. */
.rv-frames .rvh .dim { font-weight: 500; opacity: .7; }
.rv-fl { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rv-fl li { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); cursor: pointer; font-size: 13px; line-height: 1.35; }
.rv-fl li:hover, .rv-fl li:focus-visible { background: rgba(255, 106, 0, .22); outline: none; }
.rv-fl li b { grid-row: 1 / span 3; width: 20px; height: 20px; border-radius: 50%; background: #ff6a00; color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.rv-fl li .t { grid-column: 2; }
.rv-fl li .stk { grid-column: 2; display: block; margin-top: 3px; padding: 0; border: 0; background: none; font-style: normal; font-size: 11.5px; line-height: 1.35; color: #ffb877; }
.rv-fl li .ln { grid-column: 2; color: #d8d7d1; font-size: 12.5px; }
.rv-fl li .t { font-weight: 700; } .rv-fl li .t small { font-weight: 500; opacity: .6; margin-left: 4px; }
.rv-fl li i, .rv-fi i { font-style: italic; color: #ffd9b3; }
.rv-fi { margin: 8px 0 2px; font-size: 12.5px; line-height: 1.4; color: #cfcec8; }
@media (max-width: 699px) { .stage .rv-hlfeed .rv-ctype, .stage .rv-svfeed .rv-ctype { font-size: 9px; letter-spacing: -.02em; hyphens: none; overflow-wrap: normal; } }   /* « Highlights » on one line in the 44 px column */

/* Live client feedback on a review link (AL 20/11/2026, feedback.js; only a link with feedback: true loads it, body.rv-fbon).
   A floating button on the right with a very light pulse, two choices (Record, Write), a small recording bar that leaves the review usable,
   the sound check before sending, « Received, thank you. ». On a phone the profile grid button goes to the far left, under the platform tabs. */
.rv-fbb { position: fixed; z-index: 60; right: calc(24px + env(safe-area-inset-right)); top: 46%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px;
  border-radius: 999px; border: 1px solid rgba(255, 106, 0, .75); background: #1c130c; color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 0 0 0 rgba(255, 106, 0, .35); animation: rvFbPulse 2.8s ease-out infinite; }
.rv-fbb[hidden] { display: none; }
/* The glow around Feedback is clickable too (AL 24/11/2026: « tout le bouton feedback doit être cliquable »): the hit area covers the halo. */
.rv-fbb::before { content: ''; position: absolute; inset: -12px; border-radius: 999px; }
.rv-fbb:hover { background: #2a1a0e; border-color: #ff8a3d; }
.rv-fbb:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rv-fbb-i { display: flex; color: #ff8a3d; }
.rv-fbb.is-rec { display: none; }
.rv-fbb.is-sent { border-color: #30a46c; }
@keyframes rvFbPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 0, .32); } 70% { box-shadow: 0 0 0 10px rgba(255, 106, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .rv-fbb { animation: none; } .rv-fbdot { animation: none !important; } }
.rv-fbs { position: fixed; z-index: 70; right: calc(24px + env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto;
  padding: 14px 16px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .18); background: #161615; color: #f2f1ec; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); font-size: 14.5px; line-height: 1.4; }
.rv-fbs[hidden] { display: none; }
.rv-fbhd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.rv-fbhd b { font-size: 16px; }
.rv-fbx, .rv-fbcan { appearance: none; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; font: 700 20px/1 -apple-system, system-ui, sans-serif; cursor: pointer; }
.rv-fbon-l { margin: 0 0 12px; color: #c9c8c2; font-size: 13.5px; }
.rv-fbon-l b { color: #fff; font-weight: 700; }
.rv-fbch { display: grid; gap: 10px; }
.rv-fbc { appearance: none; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; text-align: left; cursor: pointer; }
.rv-fbc:hover { border-color: #ff8a3d; background: rgba(255, 106, 0, .1); }
.rv-fbc svg { flex: none; color: #ff8a3d; }
.rv-fbc span { display: flex; flex-direction: column; gap: 2px; }
.rv-fbc b { font-size: 15px; }
.rv-fbc small { color: #b9b8b2; font-size: 12.5px; }
.rv-fbl { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #c9c8c2; }
.rv-fbt { display: block; box-sizing: border-box; width: 100%; min-height: 104px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: #0d0d0c; color: #fff; font: inherit; font-size: 16px; line-height: 1.4; resize: vertical; }
.rv-fbt:focus { outline: 2px solid #ff8a3d; outline-offset: 1px; }
.rv-fbh { margin: 8px 0 0; color: #b9b8b2; font-size: 12.5px; }
.rv-fbact { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }
.rv-fbgo, .rv-fbsec { appearance: none; min-height: 44px; padding: 0 18px; border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer; }
.rv-fbgo { border: 0; background: #ff6a00; color: #fff; }
.rv-fbgo:disabled { opacity: .45; cursor: default; }
.rv-fbsec { border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; }
.rv-fbdel { appearance: none; display: block; margin: 10px 0 0 auto; padding: 4px 0; border: 0; background: none; color: #b9b8b2; font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.rv-fbdur { margin: 0 0 6px; }
.rv-fbgood { margin: 0; color: #6fd59a; font-weight: 700; }
.rv-fbbad { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(229, 72, 77, .14); border: 1px solid rgba(229, 72, 77, .5); color: #ffd0d1; font-weight: 600; }
.rv-fbmsg { margin: 8px 0 0; min-height: 1em; color: #c9c8c2; font-size: 13px; text-align: right; }
.rv-fbmsg.is-bad { color: #ff9ea1; }
.rv-fbok { margin: 10px 0 6px; font-size: 17px; font-weight: 800; color: #6fd59a; text-align: center; }
.rv-fbrec { position: fixed; z-index: 70; right: calc(24px + env(safe-area-inset-right)); top: 46%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px;
  border: 1px solid rgba(229, 72, 77, .7); background: #1a0f0f; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-size: 14px; font-weight: 700; }
.rv-fbrec[hidden] { display: none; }
.rv-fbdot { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; animation: rvFbDot 1.2s ease-in-out infinite; }
@keyframes rvFbDot { 50% { opacity: .35; } }
.rv-fbtm { min-width: 38px; font-variant-numeric: tabular-nums; }
.rv-fblv { position: relative; width: 64px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.rv-fblv i { position: absolute; inset: 0; background: #6fd59a; transform-origin: left center; transform: scaleX(0); transition: transform .1s linear; }
.rv-fbrec.is-quiet .rv-fblv i { background: #e5a84d; }
.rv-fbbt { color: #c9c8c2; font-weight: 600; font-size: 12.5px; }
.rv-fbstop { appearance: none; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: #e5484d; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 860px) {
  .rv-fbb { right: calc(10px + env(safe-area-inset-right)); top: 36%; width: 54px; height: 54px; min-height: 0; padding: 0; justify-content: center; flex-direction: column; gap: 0; border-radius: 50%; }
  .rv-fbb-t { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 800; color: #ffb877; white-space: nowrap; }
  .rv-fbs { left: 8px; right: 8px; top: auto; bottom: calc(8px + var(--kb, 0px) + env(safe-area-inset-bottom)); transform: none; width: auto; max-height: calc(100dvh - 24px - var(--kb, 0px)); border-radius: 18px; }
  .rv-fbrec { left: 8px; right: 8px; top: auto; bottom: calc(184px + env(safe-area-inset-bottom)); transform: none; justify-content: space-between; }
  .rv-fbbt { flex: 1; }
  /* The profile grid button at the far left, under the platform tabs (AL 20/11/2026: « le bouton pour voir le feed est mal placé, il devrait être tout à gauche ») */
  .rv-fbon .stage .rv-feed:not(.rv-hlfeed):not(.rv-svfeed) > .rv-tabs, .rv-fbon .stage .rv-feed:not(.rv-hlfeed):not(.rv-svfeed) > .rv-ph { grid-row: 1; }
  .rv-fbon .stage .rv-feed:not(.rv-hlfeed):not(.rv-svfeed) > .rv-view { grid-row: 1; grid-column: 1; justify-self: end; align-self: end; margin-bottom: 8px; }
}
/* HQ: the client's feedback per piece (#fb/<pc>) */
.rv-fbp h1 { margin: 8px 0 4px; }
.rv-fbg { display: grid; gap: 10px; margin-bottom: 18px; }
.rv-fbe { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line, rgba(127, 127, 127, .25)); background: var(--card, transparent); }
.rv-fbe-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rv-fbe-t { margin: 8px 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.45; }
.rv-fbe-s { margin: 0 0 6px; }
.rv-fbe audio { display: block; width: 100%; max-width: 480px; margin-top: 6px; }
.rv-fbm { margin-top: 6px; font-size: 13px; }
.rv-fbm ol { margin: 6px 0 0; padding-left: 20px; }

/* DA sorting (AL 26/11/2026: « GO NOGO suffisent pas, faut une sélection aussi à chaque fois ; DA oui non ; variation DA oui non ; [...] note de 0 à 5
   chaque pièce »): on a session that says da: true or scale: 5 (ours, or an internal link), a bar above GO / NOGO: Rate 0 to 5, Select, DA yes / no,
   DA variation yes / no, Why (the comment; Talk stays in the bottom bar). The 1 to 10 strip goes on a session rated 0 to 5. */
.stage .rv-da { position: relative; z-index: 3; flex: none; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; padding: 6px 14px 0; }
.stage .rv-da[hidden], .stage .rv-da [hidden] { display: none; }
.stage.rv-r5 .score { display: none; }
.stage .rv-dar, .stage .rv-dtri { display: flex; gap: 4px; align-items: center; }
.stage .rv-dat { display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.stage .rv-da .scl { font-size: 12px; font-weight: 700; opacity: .75; margin-right: 4px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.stage .rv-da button { font: inherit; min-width: 40px; min-height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.stage .rv-da button:hover { background: rgba(255,255,255,.18); }
.stage .rv-da button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.stage .rv-da button.on { background: #ff6a00; border-color: #ff6a00; outline: 2px solid #fff; }
.stage .rv-da .rv-dsel.on, .stage .rv-da [data-v="yes"].on { background: var(--ok); border-color: var(--ok); }
.stage .rv-da [data-v="no"].on { background: var(--bad); border-color: var(--bad); }
.stage .rv-da kbd { border-color: rgba(255,255,255,.3); background: rgba(0,0,0,.3); color: #fff; font-size: 11px; }
.badge.rv-dab { font-weight: 700; }
.rv-dopts .sub { margin-right: 4px; }
@media (max-width: 640px) {
  .stage .rv-da { gap: 5px 8px; padding: 5px 8px 0; }
  .stage .rv-da kbd { display: none; }
  .stage .rv-da button { min-height: 38px; min-width: 38px; padding: 0 8px; font-size: 13px; }
  .stage .rv-dar { width: 100%; justify-content: center; }
  .stage .rv-dar button { flex: 1 1 0; max-width: 52px; }
  .stage .rv-dat { gap: 6px 10px; }
  .stage .rv-da .scl { font-size: 11px; margin-right: 2px; }
}
@media (hover: none) { .stage .rv-da kbd { display: none; } }
