/* QA in the redesign (Hallmark: Rami approved the mockup on 2 November 2026, review/hallmark/qa-rethink.html; built 3 November 2026).
   public/qa.js (the header shared by the five tabs, and Copy, Design and Video), public/langcheck.js (Language), public/livecheck.js
   (Live). Everything is under the three pages' boxes, so Publishing's By client view, which borrows QA's month section and row of
   posts (.qa-m, .qa-strip in app.css), is not touched. Cadence tokens only, so light and dark follow by themselves; a phone of 400px
   has no sideways scroll (the table's rows become cards); Arabic mirrors (logical properties). */

/* ---------- the header: QA, the tabs underlined with their numbers, the ⋯; under it To check / Sent back / Done ---------- */
html body :is(#qaPage,#langPage,#livePage) .qa-hd:not(#_):not(#_){display:flex;align-items:flex-end;gap:8px 30px;margin:0 0 18px;padding:4px 0 0;border-bottom:1px solid var(--border);min-width:0}
html body :is(#qaPage,#langPage,#livePage) .qa-hd .h1:not(#_):not(#_){margin:0 0 12px;font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.1;white-space:nowrap}
html body :is(#qaPage,#langPage,#livePage) .qa-tabs:not(#_):not(#_){display:flex;gap:4px 24px;padding:0;margin:0;border-radius:0;background:transparent;overflow-x:auto;scrollbar-width:none;min-width:0;flex:0 1 auto}
html body :is(#qaPage,#langPage,#livePage) .qa-tabs a:not(#_):not(#_){display:inline-flex;align-items:center;gap:8px;padding:6px 2px 13px;margin:0 0 -1px;border-radius:0;border-bottom:3px solid transparent;background:transparent;box-shadow:none;font-size:16px;font-weight:600;color:var(--ink-muted);white-space:nowrap;text-decoration:none}
html body :is(#qaPage,#langPage,#livePage) .qa-tabs a:hover:not(#_):not(#_){color:var(--c-ink)}
html body :is(#qaPage,#langPage,#livePage) .qa-tabs a.on:not(#_):not(#_){color:var(--c-ink);border-bottom-color:var(--c-ink);font-weight:700}
html body :is(#qaPage,#langPage,#livePage) .qa-tabs a i:not(#_):not(#_){display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;margin:0;box-sizing:border-box;border-radius:999px;background:var(--status-idle-bg,var(--surface-sunken));color:var(--ink-muted);font:600 12px/1 var(--font-sans);font-style:normal}
html body :is(#qaPage,#langPage,#livePage) .qa-tabs a.on i:not(#_):not(#_){background:var(--c-ink);color:var(--surface)}
html body :is(#qaPage,#langPage,#livePage) .qa-hd .qa-sp:not(#_){flex:1}
html body :is(#qaPage,#langPage,#livePage) .qa-hd .qa-more:not(#_):not(#_){margin:0 0 10px;flex:none}
html body :is(#qaPage,#langPage,#livePage) .qa-hd .qa-more>summary:not(#_):not(#_):not(#_){width:38px;height:38px;min-height:38px;padding:0;display:inline-grid;place-items:center;font-size:18px}
html body :is(#qaPage,#langPage,#livePage) .qa-t4:not(#_){display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin:0 0 16px;min-width:0}
html body :is(#qaPage,#langPage,#livePage) .qa-seg:not(#_):not(#_){display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--surface-sunken);max-width:100%;overflow-x:auto;scrollbar-width:none;flex:none}
html body :is(#qaPage,#langPage,#livePage) .qa-seg button:not(#_):not(#_){display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:var(--ink-muted);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;white-space:nowrap}
html body :is(#qaPage,#langPage,#livePage) .qa-seg button:hover:not(#_):not(#_){color:var(--c-ink)}
html body :is(#qaPage,#langPage,#livePage) .qa-seg button.on:not(#_):not(#_){background:var(--surface);color:var(--c-ink);box-shadow:var(--shadow-raised,0 1px 2px rgba(0,0,0,.08))}
html body :is(#qaPage,#langPage,#livePage) .qa-seg button i:not(#_):not(#_){font-style:normal;font-weight:500;color:var(--ink-subtle)}
html body :is(#qaPage,#langPage,#livePage) .qa-t4 .qa-say:not(#_){font-size:13px;color:var(--ink-muted);min-width:0;flex:1 1 260px}
html body :is(#qaPage,#langPage,#livePage) .qa-t4 .qa-say b:not(#_){color:var(--c-ink);font-weight:600}

/* ---------- the tables: small column titles that sort, a thin line between rows, no box ---------- */
html body :is(#qaPage,#langPage,#livePage) .qa-tw:not(#_){position:relative;max-width:100%;min-width:0}
html body :is(#qaPage,#langPage,#livePage) .qa-tbl:not(#_):not(#_){width:100%;border-collapse:collapse;font-size:14px;background:transparent}
html body :is(#qaPage,#langPage,#livePage) .qa-tbl th:not(#_):not(#_){text-align:start;font-size:12.5px;font-weight:600;color:var(--ink-muted);padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap;background:transparent;vertical-align:bottom}
html body :is(#qaPage,#langPage,#livePage) .qa-tbl td:not(#_):not(#_){padding:12px;border-bottom:1px solid var(--border);vertical-align:middle;color:var(--c-ink)}
html body :is(#qaPage,#langPage,#livePage) .qa-sth button:not(#_):not(#_){display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;font:inherit;color:inherit;cursor:pointer;white-space:nowrap}
html body :is(#qaPage,#langPage,#livePage) .qa-sth button:hover:not(#_):not(#_),html body :is(#qaPage,#langPage,#livePage) .qa-sth.on button:not(#_):not(#_){color:var(--c-ink)}
html body :is(#qaPage,#langPage,#livePage) .qa-sar:not(#_){font-size:10.5px;opacity:0;transition:opacity var(--dur-fast,.12s)}
html body :is(#qaPage,#langPage,#livePage) .qa-sth:is(:hover,:focus-within,.on) .qa-sar:not(#_){opacity:.8}
@media (hover:none){html body :is(#qaPage,#langPage,#livePage) .qa-sar:not(#_){opacity:.5}}
html body :is(#qaPage,#langPage,#livePage) .qa-tbl tbody tr:hover>td:not(#_):not(#_){background:color-mix(in srgb,var(--surface-sunken) 55%,transparent)}
html body :is(#qaPage,#langPage,#livePage) .qa-tbl tbody tr.qa-exp:hover>td:not(#_):not(#_){background:transparent}
html body :is(#qaPage,#langPage,#livePage) .qa-pl:not(#_){display:none}
html body :is(#qaPage,#langPage,#livePage) .qa-ib:not(#_):not(#_):not(#_){width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:8px;background:transparent;display:inline-grid;place-items:center;font-size:17px;color:var(--ink-muted);cursor:pointer;box-shadow:none}
html body :is(#qaPage,#langPage,#livePage) .qa-ib:hover:not(#_):not(#_):not(#_){background:var(--surface-sunken);color:var(--c-ink)}
html body :is(#qaPage,#langPage,#livePage) .qa-mo:not(#_):not(#_),html body :is(#qaPage,#langPage,#livePage) .qa-moh:not(#_):not(#_){width:40px;padding-inline:4px;text-align:end}
html body :is(#qaPage,#langPage,#livePage) .qa-flag:not(#_){display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:5px;font:600 12px/1 var(--font-sans);font-style:normal;white-space:nowrap}
html body :is(#qaPage,#langPage,#livePage) .qa-flag.pink:not(#_){background:var(--accent-rose-soft,var(--status-stuck-bg));color:var(--accent-rose,var(--status-stuck-fg))}
html body :is(#qaPage,#langPage,#livePage) .qa-flag.lav:not(#_){background:var(--accent-violet-soft);color:var(--accent-violet)}
html body :is(#qaPage,#langPage,#livePage) .qa-flag.grey:not(#_){background:var(--surface-sunken);color:var(--ink-muted)}
html body :is(#qaPage,#langPage,#livePage) .qa-flags:not(#_){display:flex;flex-wrap:wrap;gap:6px}
html body :is(#qaPage,#langPage,#livePage) .qa-by:not(#_){display:block;margin-top:3px;font-size:12.5px;color:var(--ink-muted)}
html body :is(#qaPage,#langPage,#livePage) .qa-who:not(#_){font-size:13px;color:var(--ink-muted)}
html body :is(#qaPage,#langPage,#livePage) .qa-okmsg:not(#_){display:block;margin-top:4px;font-size:12.5px;font-weight:600;color:var(--accent-green)}
html body :is(#qaPage,#langPage,#livePage) .qa-do .wk-err:not(#_){display:block;margin-top:4px}
html body :is(#qaPage,#langPage,#livePage) .qa-acts:not(#_):not(#_){display:inline-flex;align-items:center;gap:8px;flex-wrap:nowrap}
html body :is(#qaPage,#langPage,#livePage) .qa-acts .btn-s:not(#_):not(#_){height:36px;min-height:36px;padding:0 14px;font-weight:600;white-space:nowrap}
html body :is(#qaPage,#langPage,#livePage) .qa-do:not(#_):not(#_){position:relative;white-space:nowrap;text-align:end;width:1%}
/* a small box under a button (Send back, Problem): what needs changing */
html body :is(#qaPage,#langPage,#livePage) .qa-pop:not(#_):not(#_){position:absolute;inset-inline-end:8px;top:calc(100% - 6px);z-index:30;width:320px;max-width:calc(100vw - 32px);box-sizing:border-box;display:grid;gap:8px;padding:14px;border-radius:12px;background:var(--surface);box-shadow:var(--shadow-pop,0 8px 28px rgba(0,0,0,.18));text-align:start;white-space:normal}
html body :is(#qaPage,#langPage,#livePage) .qa-pop .qa-pq:not(#_){font-size:14px;font-weight:600;color:var(--c-ink)}
html body :is(#qaPage,#langPage,#livePage) .qa-pop textarea:not(#_):not(#_){width:100%;box-sizing:border-box;min-height:76px}
html body :is(#qaPage,#langPage,#livePage) .qa-pop .wk-do:not(#_){display:flex;gap:8px;flex-wrap:wrap}
/* a client's dot and name, its month under it; a person's initials */
html body :is(#qaPage,#langPage,#livePage) .qa-dot:not(#_):not(#_){display:inline-block;width:9px;height:9px;border-radius:50%;flex:none;box-shadow:none}
html body :is(#qaPage,#langPage,#livePage) .qa-cl:not(#_){display:flex;flex-direction:column;gap:2px;min-width:0}
html body :is(#qaPage,#langPage,#livePage) .qa-cn:not(#_){display:inline-flex;align-items:center;gap:7px;min-width:0}
html body :is(#qaPage,#langPage,#livePage) .qa-cn b:not(#_){font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body :is(#qaPage,#langPage,#livePage) .qa-cl small:not(#_){font-size:12.5px;color:var(--ink-muted);padding-inline-start:16px}
html body :is(#qaPage,#langPage,#livePage) .qa-av:not(#_){display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;flex:none;background:var(--accent-sky-soft,var(--surface-sunken));color:var(--accent-sky,var(--c-ink));font:700 9.5px/1 var(--font-sans)}
html body :is(#qaPage,#langPage,#livePage) .qa-pp:not(#_){display:inline-flex;align-items:center;gap:8px;white-space:nowrap}

/* ---------- Copy, Design and Video: one line per month ---------- */
/* app.css styles QA's old month section (.qa-m, .qa-mt, .qa-do, still used by Publishing's By client view): the table's rows undo it */
html body #qaPage .qa2 tr.qa-m:not(#_):not(#_){display:table-row;background:transparent;border-radius:0;padding:0;margin:0;gap:0}
html body :is(#qaPage,#langPage,#livePage) td.qa-do:not(#_):not(#_){display:table-cell}
html body #qaPage .qa2 .qa-mt:not(#_):not(#_){flex:none}
html body #qaPage .qa2 .qa-rw:not(#_):not(#_){width:0;min-width:100%;box-sizing:border-box} /* the row of posts scrolls inside the table's width, never widens it */
html body :is(#qaPage,#langPage,#livePage) .lc:not(#_):not(#_){max-width:none}
html body #livePage .qa-what:not(#_){margin:-6px 0 12px;font-size:13px;color:var(--ink-muted)}
html body #livePage .qa-what span:not(#_){color:var(--c-ink)}
html body #qaPage .qa2 .qa-tg:not(#_):not(#_){width:34px;padding-inline:4px 0}
html body #qaPage .qa2 .qa-tgl:not(#_){display:inline-grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:var(--ink-muted);cursor:pointer}
html body #qaPage .qa2 .qa-tgl:hover:not(#_){background:var(--surface-sunken);color:var(--c-ink)}
html body #qaPage .qa2 .qa-chev:not(#_){width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-90deg);transition:transform var(--dur-fast,.12s)}
html body[dir=rtl] #qaPage .qa2 .qa-chev:not(#_),html[dir=rtl] body #qaPage .qa2 .qa-chev:not(#_){transform:rotate(90deg)}
html body #qaPage .qa2 tr.open .qa-chev:not(#_):not(#_){transform:none}
html body #qaPage .qa2 .qa-mc:not(#_):not(#_){min-width:240px}
html body #qaPage .qa2 .qa-mt:not(#_){display:flex;align-items:center;gap:9px;min-width:0}
html body #qaPage .qa2 .qa-open:not(#_):not(#_){display:inline;padding:0;border:0;background:none;font:inherit;font-size:15px;color:var(--c-ink);cursor:pointer;text-align:start}
html body #qaPage .qa2 .qa-open b:not(#_){font-weight:700}
html body #qaPage .qa2 .qa-open span:not(#_){font-weight:500;color:var(--ink-2,var(--c-ink));margin-inline-start:4px}
html body #qaPage .qa2 .qa-open:hover b:not(#_){text-decoration:underline;text-underline-offset:3px}
html body #qaPage .qa2 .qa-ms:not(#_):not(#_){display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:6px 0 0;padding-inline-start:18px;font-size:13px;color:var(--ink-muted)}
html body #qaPage .qa2 .qa-ask:not(#_),html body #qaPage .qa2 .qa-sbn:not(#_){display:block;margin:5px 0 0;padding-inline-start:18px;font-size:13px;color:var(--ink-2,var(--c-ink))}
html body #qaPage .qa2 .qa-sbn b:not(#_){font-weight:600}
html body #qaPage .qa2 .qa-day:not(#_):not(#_){white-space:nowrap}
html body #qaPage .qa2 .qa-day .late:not(#_){color:var(--status-stuck-fg);font-weight:600}
html body #qaPage .qa2 .qa-num:not(#_):not(#_){font-variant-numeric:tabular-nums}
html body #qaPage .qa2 .qa-lg:not(#_){display:inline-flex;flex-direction:column;gap:5px;min-width:96px}
html body #qaPage .qa2 .qa-lg b:not(#_){font-size:13.5px;font-weight:700}
html body #qaPage .qa2 .qa-bar:not(#_){display:block;height:5px;border-radius:9px;background:var(--surface-sunken);overflow:hidden}
html body #qaPage .qa2 .qa-bar i:not(#_){display:block;height:100%;border-radius:9px;background:var(--accent-green)}
html body #qaPage .qa2 .qa-chip:not(#_):not(#_){display:inline-flex;align-items:center;height:26px;padding:0 10px;border:0;border-radius:999px;background:var(--status-working-bg);color:var(--status-working-fg);font:600 12.5px/1 var(--font-sans);white-space:nowrap;cursor:pointer}
html body #qaPage .qa2 .qa-none0:not(#_){color:var(--ink-muted)}
html body #qaPage .qa2 tr.qa-m.open>td:not(#_):not(#_){border-bottom:0}
/* the open month: its posts in one row under it */
html body #qaPage .qa2 tr.qa-exp>td:not(#_):not(#_){padding:2px 0 26px;border-bottom:1px solid var(--border)}
html body #qaPage .qa2 .qa-lines:not(#_):not(#_){display:grid;gap:4px;padding:0 0 10px 46px}
html body #qaPage .qa2 .qa-line:not(#_){margin:0;font-size:13px;color:var(--ink-muted)}
html body #qaPage .qa2 .qa-none:not(#_):not(#_){padding:0 0 0 46px;margin:0}
html body #qaPage .qa2 .qa-rw:not(#_){position:relative;padding-inline-start:46px}
html body #qaPage .qa2 .qa-rw::after{background:linear-gradient(to right,transparent,var(--bg,var(--surface)))}
html body #qaPage .qa2 .qa-strip:not(#_):not(#_){gap:14px;padding:4px 4px 6px 0;align-items:stretch}
html body #qaPage .qa2 .qa-arrow:not(#_):not(#_){top:140px;inset-inline-end:10px;background:var(--c-ink);color:var(--surface);width:40px;height:40px;font-size:18px}
html body #qaPage .qa2 .qa-cols+.qa-arrow:not(#_):not(#_){top:90px}
/* a post's card: the picture, its line, its flags, then Looks good, Caption and Add a note */
html body #qaPage .qa2 .qa-c:not(#_):not(#_){gap:8px;padding:8px 8px 10px;border-radius:14px;background:var(--surface-sunken);box-sizing:border-box}
html body #qaPage .qa2 .qa-c.noted:not(#_):not(#_),html body #qaPage .qa2 .qa-cc.noted:not(#_):not(#_){box-shadow:inset 0 0 0 2px var(--status-working-fill,#f5b84a)}
html body #qaPage .qa2 .qa-c.noted .qa-img:not(#_):not(#_){box-shadow:none}
html body #qaPage .qa2 :is(.qa-c,.qa-cc).chgd:not(#_):not(#_){box-shadow:inset 0 0 0 2px var(--accent-rose,#d0436b)}
html body #qaPage .qa2 .qa-img:not(#_):not(#_){border-radius:10px}
html body #qaPage .qa2 .qa-lab:not(#_):not(#_){font-size:13px;color:var(--ink-muted);padding:0 2px}
html body #qaPage .qa2 .qa-lab b:not(#_){color:var(--c-ink);font-weight:600}
html body #qaPage .qa2 .qa-lk:not(#_):not(#_){display:flex;align-items:center;gap:12px;padding:0 2px;margin-top:auto}
html body #qaPage .qa2 .qa-lk .qa-sp:not(#_){flex:1}
html body #qaPage .qa2 .qa-lk>button:not(.qa-good):not(#_):not(#_),html body #qaPage .qa2 .qa-lk1:not(#_):not(#_){background:none;border:0;padding:0;font:inherit;font-size:13px;font-weight:600;color:var(--c-ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
/* Looks good: a round tick with its word under it; green once marked */
html body :is(#qaPage,#qaView) .qa-good:not(#_):not(#_){display:inline-flex;flex-direction:column;align-items:center;gap:3px;padding:0;border:0;background:none;font:600 11.5px/1.1 var(--font-sans);color:var(--ink-muted);cursor:pointer;white-space:nowrap;text-decoration:none}
html body :is(#qaPage,#qaView) .qa-good i:not(#_){display:grid;place-items:center;width:22px;height:22px;border-radius:50%;box-sizing:border-box;border:1.5px solid var(--border-strong,var(--ink-muted));color:transparent;font:700 12px/1 var(--font-sans);font-style:normal}
html body :is(#qaPage,#qaView) .qa-good.on i:not(#_){background:var(--accent-green);border-color:var(--accent-green);color:var(--surface)}
html body :is(#qaPage,#qaView) .qa-good.on:not(#_):not(#_){color:var(--c-ink)}
html body :is(#qaPage,#qaView) .qa-good.ro:not(#_):not(#_){cursor:default}
html body :is(#qaPage,#qaView) .qa-good:hover:not(.ro) i:not(#_){border-color:var(--accent-green)}
html body #qaPage .qa2 .qa-cc:not(#_):not(#_){background:var(--surface-sunken);border-radius:14px}
html body #qaPage .qa2 .qa-nbox:not(#_){padding:0 2px}

/* the full-screen view's side: the client, the post, its flags and Looks good, the caption under a label */
html body #qaView .qa-vt:not(#_){display:flex;align-items:center;gap:7px;margin:0;font-size:13px;font-weight:600;color:var(--c-ink)}
html body #qaView .qa-vt .qa-dot:not(#_){width:9px;height:9px;border-radius:50%;flex:none}
html body #qaView .qa-vh:not(#_){font-size:17px;color:var(--c-ink)}
html body #qaView .qa-vl:not(#_){margin:6px 0 -4px;font-size:12px;font-weight:600;color:var(--ink-muted)}
html body #qaView .qa-flags:not(#_){display:flex;flex-wrap:wrap;gap:6px}
html body #qaView .qa-flag:not(#_){display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:5px;font:600 12px/1 var(--font-sans);font-style:normal}
html body #qaView .qa-flag.pink:not(#_){background:var(--accent-rose-soft,var(--status-stuck-bg));color:var(--accent-rose,var(--status-stuck-fg))}
html body #qaView .qa-flag.lav:not(#_){background:var(--accent-violet-soft);color:var(--accent-violet)}
html body #qaView .qa-lk:not(#_){display:flex}
html body #qaView .qa-vnote:not(#_):not(#_){align-self:flex-start}

/* ---------- Language and Live: one line per post; a ticked line is pale blue; Pass N in a bar at the bottom ---------- */
html body :is(#langPage,#livePage) .qa-chk:not(#_):not(#_){width:36px;padding-inline:8px 0}
html body :is(#langPage,#livePage) .qa-chk input:not(#_):not(#_){width:16px;height:16px;margin:0;accent-color:var(--c-ink);cursor:pointer}
html body :is(#langPage,#livePage) tr.qa-pr:not(#_){cursor:pointer}
html body :is(#langPage,#livePage) tr.qa-pr.sel>td:not(#_):not(#_){background:var(--accent-sky-soft,var(--surface-sunken))}
html body :is(#langPage,#livePage) .qa-pc:not(#_){display:flex;align-items:center;gap:12px;min-width:0}
html body :is(#langPage,#livePage) .qa-th2:not(#_){width:40px;height:40px;border-radius:8px;flex:none;overflow:hidden;background:var(--surface-sunken);display:grid;place-items:center;color:var(--ink-subtle);font-size:11px}
html body :is(#langPage,#livePage) .qa-th2 img:not(#_){width:100%;height:100%;object-fit:cover;display:block}
html body :is(#langPage,#livePage) .qa-ptx:not(#_){display:flex;flex-direction:column;gap:3px;min-width:0}
html body :is(#langPage,#livePage) .qa-pt:not(#_){display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font-weight:600;font-size:14.5px;color:var(--c-ink)}
html body :is(#langPage,#livePage) .qa-ps:not(#_){font-size:13px;color:var(--ink-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46ch}
html body :is(#langPage,#livePage) .qa-pn:not(#_){font-size:13px;color:var(--ink-2,var(--c-ink));max-width:56ch;white-space:normal}
html body :is(#langPage,#livePage) .qa-pn b:not(#_){font-weight:600}
html body :is(#langPage,#livePage) .qa-pd:not(#_){white-space:nowrap}
html body :is(#langPage,#livePage) .qa-selbar:not(#_){position:fixed;inset-inline:0;bottom:22px;margin:0 auto;z-index:40;width:max-content;max-width:calc(100vw - 32px);display:flex;align-items:center;gap:14px;padding:8px 8px 8px 18px;border-radius:999px;background:var(--c-ink);color:var(--surface);box-shadow:0 10px 30px rgba(0,0,0,.25)}
html body :is(#langPage,#livePage) .qa-selbar b:not(#_){font-weight:600;font-size:14px}
html body :is(#langPage,#livePage) .qa-selbar button:not(#_):not(#_){height:34px;padding:0 16px;border:0;border-radius:999px;background:var(--surface);color:var(--c-ink);font:600 13.5px/1 var(--font-sans);cursor:pointer}
html body :is(#langPage,#livePage) .qa-selbar button.x:not(#_):not(#_){width:34px;padding:0;background:transparent;color:var(--surface);font-size:18px}
html body :is(#langPage,#livePage) .lc-empty:not(#_){margin-top:6px}
/* the post's side panel (Language and Live): what is decided on top, the picture, the words */
html body .qa-sheet .qa-decide:not(#_){display:grid;gap:10px;padding:16px;border-radius:14px;background:var(--accent-sky-soft,var(--surface-sunken))}
html body .qa-sheet .qa-decide.good:not(#_){background:var(--status-done-bg)}
html body .qa-sheet .qa-decide.bad:not(#_){background:var(--status-stuck-bg)}
html body .qa-sheet .qa-decide>b:not(#_){font-size:13px;font-weight:600;color:var(--ink-2,var(--c-ink))}
html body .qa-sheet .qa-decide p:not(#_){margin:0;font-size:14px}
html body .qa-sheet .qa-decide .qa-acts:not(#_){display:flex;flex-wrap:wrap;gap:8px}
html body .qa-sheet .qa-sbody:not(#_){display:flex;flex-direction:column;gap:16px}
html body .qa-sheet .qa-big:not(#_){width:200px;max-width:100%;border-radius:12px;overflow:hidden;background:var(--surface-sunken)}
html body .qa-sheet .qa-big img:not(#_){width:100%;display:block}
html body .qa-sheet .lc-f label:not(#_),html body .qa-sheet .qa-sl:not(#_){display:block;font-size:12.5px;font-weight:600;color:var(--ink-muted);margin-bottom:6px}
html body .qa-sheet .lc-in:not(#_):not(#_){width:100%;box-sizing:border-box}
html body .qa-sheet .qa-ck:not(#_){display:flex;align-items:center;gap:10px;font-size:14px}
html body .qa-sheet .qa-ck i:not(#_){width:18px;height:18px;border-radius:50%;flex:none;border:1.5px solid var(--border-strong,var(--ink-muted))}
html body .qa-sheet .qa-sl2:not(#_){display:flex;gap:8px;flex-wrap:wrap}

/* ---------- a phone: each line a card, nothing scrolls sideways but a row of posts ---------- */
@media (max-width:760px){
  html body :is(#qaPage,#langPage,#livePage) .qa-hd:not(#_):not(#_){flex-wrap:wrap;gap:4px 12px}
  html body :is(#qaPage,#langPage,#livePage) .qa-hd .h1:not(#_):not(#_){font-size:26px;margin:0}
  html body :is(#qaPage,#langPage,#livePage) .qa-hd .qa-sp:not(#_){display:block}
  html body :is(#qaPage,#langPage,#livePage) .qa-hd .qa-more:not(#_):not(#_){margin:0}
  html body :is(#qaPage,#langPage,#livePage) .qa-tabs:not(#_):not(#_){order:3;flex:1 1 100%;gap:18px}
  html body :is(#qaPage,#langPage,#livePage) .qa-tabs a:not(#_):not(#_){font-size:15px;padding-bottom:10px}
  html body :is(#qaPage,#langPage,#livePage) .qa-t4 .qa-seg:not(#_):not(#_){order:0}
  html body :is(#qaPage,#langPage,#livePage) .qa-t4 .qa-say:not(#_){order:2;flex:1 1 100%}
  html body :is(#qaPage,#langPage,#livePage) .qa-tbl:not(#_):not(#_),html body :is(#qaPage,#langPage,#livePage) .qa-tbl tbody:not(#_){display:block;width:100%}
  html body :is(#qaPage,#langPage,#livePage) .qa-tbl thead:not(#_){display:none}
  html body :is(#qaPage,#langPage,#livePage) .qa-tbl tr:not(.qa-exp):not(#_):not(#_){display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:14px 0;border-bottom:1px solid var(--border);position:relative}
  html body :is(#qaPage,#langPage,#livePage) .qa-tbl td:not(#_):not(#_){display:block;padding:0;border:0;min-width:0;width:auto;text-align:start}
  html body :is(#qaPage,#langPage,#livePage) .qa-tbl tbody tr:hover>td:not(#_):not(#_){background:transparent}
  html body :is(#qaPage,#langPage,#livePage) .qa-pl:not(#_){display:inline;margin-inline-end:5px;color:var(--ink-muted);font-size:12.5px}
  html body #qaPage .qa2 tr.qa-m:not(#_):not(#_):not(#_){display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}
  html body :is(#qaPage,#langPage,#livePage) .qa-tbl:not(#_):not(#_) td{text-align:start}
  html body #qaPage .qa2 .qa-tg:not(#_):not(#_){order:0;width:30px}
  html body #qaPage .qa2 .qa-mc:not(#_):not(#_){order:1;flex:1 1 calc(100% - 110px);min-width:0}
  html body #qaPage .qa2 .qa-mo:not(#_):not(#_),html body :is(#langPage,#livePage) .qa-mo:not(#_):not(#_){order:2;width:34px}
  html body #qaPage .qa2 :is(.qa-day,.qa-num,.qa-lgc,.qa-nc):not(#_):not(#_){order:3;font-size:13px;padding-inline-start:44px}
  html body #qaPage .qa2 :is(.qa-num,.qa-lgc,.qa-nc):not(#_):not(#_){padding-inline-start:0}
  html body #qaPage .qa2 .qa-lg:not(#_){flex-direction:row;align-items:center;min-width:0}
  html body #qaPage .qa2 .qa-bar:not(#_){width:60px}
  html body #qaPage .qa2 .qa-do:not(#_):not(#_),html body :is(#langPage,#livePage) .qa-do:not(#_):not(#_){order:4;flex:1 1 100%;padding-inline-start:44px;white-space:normal}
  html body :is(#langPage,#livePage) .qa-do:not(#_):not(#_){padding-inline-start:0}
  html body :is(#qaPage,#langPage,#livePage) .qa-pop:not(#_):not(#_){position:static;width:auto;margin-top:8px;box-shadow:0 0 0 1px var(--border)}
  html body #qaPage .qa2 .qa-ms:not(#_):not(#_),html body #qaPage .qa2 :is(.qa-ask,.qa-sbn):not(#_){padding-inline-start:0}
  html body #qaPage .qa2 .qa-mc:not(#_):not(#_){min-width:0}
  html body #qaPage .qa2 tr.qa-exp:not(#_):not(#_){display:block}
  html body #qaPage .qa2 tr.qa-exp>td:not(#_):not(#_){display:block;padding:0 0 18px}
  html body #qaPage .qa2 .qa-rw:not(#_):not(#_),html body #qaPage .qa2 .qa-lines:not(#_):not(#_),html body #qaPage .qa2 .qa-none:not(#_):not(#_){padding-inline-start:0}
  html body #qaPage .qa2 .qa-img:not(#_):not(#_){max-width:70vw}
  html body :is(#langPage,#livePage) .qa-chk:not(#_):not(#_){order:0;width:22px;padding:0}
  html body :is(#langPage,#livePage) .qa-pcol:not(#_):not(#_){order:1;flex:1 1 calc(100% - 110px);min-width:0}
  html body :is(#langPage,#livePage) :is(.qa-ccol,.qa-wcol,.qa-pd):not(#_):not(#_){order:3;font-size:13px}
  html body :is(#langPage,#livePage) .qa-ps:not(#_){max-width:100%;white-space:normal}
  html body :is(#langPage,#livePage) .qa-cl:not(#_){flex-direction:row;gap:6px;align-items:center}
  html body :is(#langPage,#livePage) .qa-cl small:not(#_){padding:0}
}
/* the Designs tab (lib/langdesign.js, 3 November 2026): the design large, then its facts */
html body .qa-sheet .ld-big:not(#_){display:block;width:100%;margin:10px 0}
html body .ld-facts:not(#_){display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:14px 0}
html body .ld-facts dt:not(#_){color:var(--ink-muted);font-size:12px}
html body .ld-facts dd:not(#_){margin:2px 0 0;font-size:14px;overflow-wrap:anywhere}
html body .lc-dh:not(#_){margin:22px 0 8px}
@media (max-width:600px){html body .ld-facts:not(#_){grid-template-columns:1fr}}

/* The language check is a check on the words: the caption leads each row, larger and darker, up to three lines; the post's name
   steps back to a small label (Rami, 3 November 2026: "the text needs to be larger so the checker can see the content quicker") */
html body #langPage .lc-tbl .qa-ps.lc-cap:not(#_):not(#_){font-size:17px;line-height:1.5;color:var(--ink);font-weight:500;white-space:normal;max-width:72ch;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html body #langPage .lc-tbl .qa-pt:not(#_):not(#_){font-size:12px;color:var(--ink-muted);font-weight:500}
html body #langPage .lc-tbl .qa-ptx:not(#_){gap:4px}
