/* SPL workspace. Quiet surfaces, fixed navigation, compact data and clear focus. */
[data-theme="alpine"] {
  --bg:#ffffff; --bg-deep:#f6f6f7; --surface:#ffffff; --surface-2:#f1f2f4;
  --ink:#202124; --ink-2:#51545b; --muted:#72757d;
  --rule:#e7e8eb; --rule-strong:#c9cbd1; --accent:#3e5aca; --accent-ink:#ffffff;
  --ok:#26734d; --ko:#b23b41; --warn:#886718;
  --banner-bg:#f6f6f7; --banner-fg:#202124; --banner-fg-soft:#51545b;
  --banner-fg-dim:#72757d; --banner-rule:#e7e8eb;
}
[data-theme="midnight"] {
  --bg:#18191b; --bg-deep:#131416; --surface:#1d1e21; --surface-2:#26282d;
  --ink:#ececef; --ink-2:#b8bbc3; --muted:#979ba5;
  --rule:#2b2d32; --rule-strong:#464951; --accent:#9baeff; --accent-ink:#171a27;
  --ok:#7cc49c; --ko:#f08d91; --warn:#d1b771;
  --banner-bg:#202226; --banner-fg:#ececef; --banner-fg-soft:#b8bbc3;
  --banner-fg-dim:#979ba5; --banner-rule:#2b2d32;
}
html { scroll-padding-top:80px; }
html,body { font-size:14px; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
main:focus { outline:none; }
.skip-link { position:fixed; top:-80px; left:240px; z-index:100; background:var(--ink); color:var(--bg); padding:10px 16px; border-radius:4px; }
.skip-link:focus { top:12px; }
.app { padding-left:224px; }
.shell { max-width:1224px; padding-inline:44px; }
.shell--narrow { max-width:1100px; }
.sidebar { position:fixed; inset:0 auto 0 0; width:224px; display:flex; flex-direction:column; padding:24px 14px 18px; background:var(--bg-deep); border-right:1px solid var(--rule); z-index:50; overflow-y:auto; }
.brand { display:flex; align-items:center; gap:9px; padding:0 10px; margin-bottom:30px; font-family:'Geist',sans-serif; letter-spacing:-.035em; text-transform:none; }
.brand__mark { width:30px; height:30px; border-radius:6px; overflow:hidden; flex-shrink:0; background:#202124; transform:none; }
.brand__mark img { width:30px; height:30px; filter:grayscale(1); }
.brand__name { font-size:16px; font-weight:650; white-space:nowrap; }
.brand__name > span { font-weight:450; }
.navlinks { flex-direction:column; gap:3px; }
.navlinks a { display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:5px; color:var(--ink-2); font-family:'Geist',sans-serif; font-size:13px; font-weight:450; text-transform:none; letter-spacing:0; min-height:39px; }
.navlinks a.is-active { color:var(--ink); background:var(--surface); box-shadow:0 1px 3px #00000009,inset 0 0 0 1px var(--rule); font-weight:550; }
.navlinks a:hover { background:var(--surface-2); }
.navlinks svg { flex-shrink:0; color:var(--muted); }
.navlinks .is-active svg { color:var(--accent); }
.subject-nav { margin-top:30px; }
.sidebar-label { display:flex; justify-content:space-between; padding:0 12px 9px; font-size:11px; color:var(--muted); font-weight:500; }
.sidebar-label > span { font-family:'Geist Mono',monospace; font-size:10px; }
.subject-nav a { display:flex; align-items:center; gap:10px; min-height:35px; padding:7px 10px; font-size:11px; color:var(--ink-2); border-radius:4px; line-height:1.4; }
.subject-nav a > span { font:10px 'Geist Mono',monospace; color:var(--muted); }
.subject-nav a:hover,.subject-nav a.is-active { background:var(--surface-2); color:var(--ink); }
.subject-nav a.is-active > span { color:var(--accent); }
.sidebar-bottom { margin-top:auto; padding:32px 10px 0; color:var(--muted); font-size:10px; line-height:1.8; }
.local-indicator { display:inline-block; width:5px; height:5px; background:var(--ok); border-radius:50%; margin-right:5px; }
.sidebar-caption { display:block; padding-left:14px; }
.topbar { background:var(--bg); backdrop-filter:none; -webkit-backdrop-filter:none; }
.topbar__inner { display:flex; justify-content:space-between; height:57px; gap:16px; }
.breadcrumb { display:flex; gap:12px; font-size:12px; }
.breadcrumb > span:not(:last-child) { color:var(--muted); }
.topbar__right { gap:16px; }
.topbar__right .time { font-size:10px; }
.theme-toggle { display:grid; place-items:center; width:30px; height:30px; border-radius:5px; color:var(--muted); }
.theme-toggle:hover { background:var(--surface-2); color:var(--ink); }
.display,.h-xl,.h-lg { font-family:'Geist',sans-serif; font-weight:600; letter-spacing:-.045em; line-height:1.2; }
.h-xl { font-size:32px; }
.serif-em,.serif { font-family:inherit; font-style:normal; font-weight:inherit; color:inherit; letter-spacing:inherit; }
.lead { font-size:14px; line-height:1.65; color:var(--muted); }
.eyebrow { font-size:10px; letter-spacing:.05em; }
.hero__meta { margin-bottom:14px; }
.workspace-home { padding-top:36px; }
.page-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:30px; }
.page-heading h1 { font-size:30px; font-weight:600; letter-spacing:-.045em; line-height:1.25; margin-bottom:8px; }
.page-heading p { font-size:13px; color:var(--muted); }
.overview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid var(--rule); padding-bottom:30px; margin-bottom:30px; gap:16px; }
.overview-label { display:block; color:var(--muted); font-size:11px; margin-bottom:9px; }
.overview strong { font-size:26px; font-weight:500; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
.overview-unit { color:var(--muted); font-size:11px; font-weight:400; letter-spacing:0; margin-left:7px; }
.list-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.list-toolbar h2 { font-size:14px; font-weight:550; display:flex; align-items:center; gap:9px; }
.count-label { font:10px 'Geist Mono',monospace; color:var(--muted); padding:2px 6px; background:var(--bg-deep); border:1px solid var(--rule); border-radius:4px; }
.subject-search { display:flex; align-items:center; gap:8px; border:1px solid var(--rule); padding:8px 10px; border-radius:5px; color:var(--muted); width:235px; }
.subject-search:focus-within { border-color:var(--accent); }
.subject-search input { width:100%; min-width:0; background:none; border:0; outline:none; font-size:11px; }
.subject-search input::placeholder { color:var(--muted); }
.subject-table-head,.matiere { display:grid; grid-template-columns:56px minmax(0,1fr) 66px 110px 62px 18px; gap:16px; align-items:center; }
.subject-table-head { padding:10px 12px; font-size:10px; color:var(--muted); background:var(--bg-deep); border-block:1px solid var(--rule); border-radius:5px 5px 0 0; }
.subject-table-head > span:nth-child(3),.subject-table-head > span:nth-child(5) { text-align:right; }
.matieres { display:flex; flex-direction:column; border:0; gap:0; }
.matiere { min-height:78px; padding:15px 12px; border:0; border-bottom:1px solid var(--rule); border-radius:0; background:var(--bg); text-align:left; overflow:visible; transition:background .12s; }
.matiere:hover { background:var(--bg-deep); }
.matiere::before { display:none; }
.matiere__code { font:500 15px 'Geist Mono',monospace; color:var(--ink-2); letter-spacing:-.04em; }
.matiere__identity { min-width:0; }
.matiere__name { display:block; font-size:13px; line-height:1.4; font-weight:500; margin:0; letter-spacing:-.01em; }
.matiere__desc { display:block; font-size:10px; color:var(--muted); line-height:1.4; margin-top:4px; }
.matiere__total,.matiere__rate { font-size:11px; color:var(--muted); text-align:right; }
.matiere__progress { display:flex; gap:8px; align-items:center; font-size:10px; color:var(--muted); }
.matiere__bar { width:65px; height:4px; background:var(--rule); border-radius:2px; overflow:hidden; flex-shrink:0; }
.matiere__bar > span { height:100%; display:block; background:var(--accent); }
.matiere__cta { color:var(--muted); font-size:15px; font-weight:400; }
.matiere:hover .matiere__code,.matiere:hover .matiere__cta { color:var(--accent); }
.table-note { font-size:10px; color:var(--muted); margin-top:14px; line-height:1.6; }
.search-empty { padding:30px 12px; color:var(--muted); font-size:13px; border-bottom:1px solid var(--rule); }
.exam-strip { display:flex; gap:20px; align-items:center; border:1px solid var(--rule); border-radius:6px; padding:20px; margin-top:32px; }
.exam-strip-title { display:flex; align-items:center; gap:14px; flex:1; }
.exam-symbol { font-size:21px; color:var(--muted); }
.exam-strip h2 { font-size:13px; font-weight:550; margin-bottom:4px; }
.exam-strip p { color:var(--muted); font-size:11px; line-height:1.5; }
.exam-strip-details { display:flex; flex-direction:column; gap:4px; color:var(--muted); font-size:10px; }
.exam-strip-details strong { font-weight:400; }
.workspace-footer { display:flex; justify-content:space-between; gap:20px; padding:26px 0; color:var(--muted); font-size:10px; line-height:1.6; }
.workspace-footer > span:last-child { display:flex; gap:16px; }
.workspace-footer a:hover { color:var(--ink); }
.btn { min-height:36px; padding:9px 14px; border-radius:5px; font-family:'Geist',sans-serif; font-size:12px; font-weight:500; letter-spacing:0; text-transform:none; justify-content:center; gap:10px; }
.btn--lg { font-size:12px; padding:11px 16px; }
.btn--sm { font-size:11px; padding:7px 10px; min-height:32px; }
.btn--ghost { border-color:var(--rule); background:var(--surface); }
.btn--ghost:hover { border-color:var(--rule-strong); background:var(--surface-2); }
.btn--ink { background:var(--ink); color:var(--bg); }
.horizon { gap:10px; margin-bottom:18px; }
.horizon__label { font-size:9px; letter-spacing:.05em; }
.horizon__tick { display:none; }
.quiz { padding-block:26px 60px; }
.quiz__context { grid-template-columns:minmax(0,1fr) auto; gap:20px; padding:0 0 24px; margin-bottom:36px; }
.quiz__ctx-id { gap:14px; align-items:center; }
.quiz__ctx-id .big { font:500 24px 'Geist Mono',monospace; letter-spacing:-.04em; }
.quiz__ctx-meta { font-size:13px; color:var(--ink-2); }
.quiz__progress { grid-row:2; grid-column:1 / -1; gap:16px; }
.quiz__progress .bar { flex:1; height:3px; border-radius:2px; }
.quiz__progress .bar > div { width:100%; }
.quiz__progress .txt { font-size:10px; }
.question { max-width:780px; padding:0; border:0; border-radius:0; background:var(--bg); }
.question__meta { gap:8px; margin-bottom:20px; }
.tag { border-color:var(--rule); border-radius:4px; font-size:9px; letter-spacing:.04em; padding:4px 7px; }
.tag--ok { color:var(--ok); border-color:var(--ok); }
.tag--ko { color:var(--ko); border-color:var(--ko); }
.question__text { font-size:clamp(21px,2vw,27px); line-height:1.45; font-weight:500; letter-spacing:-.03em; text-wrap:pretty; margin-bottom:26px; }
.choices { gap:9px; }
.choice { padding:16px; gap:14px; border-radius:5px; background:var(--surface); }
.choice__letter { border-radius:4px; width:26px; height:26px; font-size:10px; border-color:var(--rule-strong); }
.choice__text { font-size:14px; line-height:1.6; }
.choice__hint { font-size:9px; letter-spacing:0; text-transform:none; }
.choice.is-selected { border-color:var(--accent); background:var(--surface-2); }
.choice.is-selected .choice__letter { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.feedback { border-radius:0 5px 5px 0; padding:18px; }
.feedback__head { font:550 13px 'Geist',sans-serif; text-transform:none; letter-spacing:0; }
.feedback__body { font-size:13px; line-height:1.7; }
.question-sources { font-size:11px; }
.question__actions { margin-top:28px; padding-top:20px; }
.session-bar { max-width:780px; margin:32px auto 0; font-size:9px; letter-spacing:.03em; }
#exam-setup,#main-content:has(.stats__overview) { padding-block:36px 60px !important; }
#exam-setup .h-xl { margin-bottom:10px !important; max-width:none !important; }
#exam-setup .lead { margin-bottom:28px !important; max-width:66ch !important; font-size:13px; }
.exam-grid { border:1px solid var(--rule); border-radius:5px; gap:0; overflow:hidden; grid-template-columns:repeat(3,minmax(0,1fr)); }
.exam-card { border:0; border-right:1px solid var(--rule); border-bottom:1px solid var(--rule); background:var(--surface); border-radius:0; min-height:170px; padding:20px; }
.exam-card:nth-child(3n) { border-right:0; }
.exam-card:nth-last-child(-n+3) { border-bottom:0; }
.exam-card__code { font-size:11px; letter-spacing:.02em; }
.exam-card__name { font-size:14px; line-height:1.45; font-weight:500; }
.exam-card__metrics { padding-top:12px; border-top:0; gap:24px; }
.exam-card__metric .v { font-size:18px; }
.exam-card__metric .k { font-size:8px; letter-spacing:.04em; }
.allexam-banner { background:var(--bg-deep); border:1px solid var(--rule); border-radius:5px; padding:24px; gap:24px; }
.allexam-banner h3 { font-size:16px; line-height:1.6; max-width:none; }
.allexam-banner h3 .small { display:block; font-size:12px; font-weight:400; }
.allexam-banner__metric .v { font-size:22px; }
.allexam-banner__metric .k { font-size:9px; letter-spacing:0; }
.allexam-banner .btn--inverse { background:var(--ink); color:var(--bg); }
.allexam-banner__metrics { gap:24px; }
details.custom-exam { font-size:12px; }
.custom-form { gap:18px; }
.field label { font-size:10px; text-transform:none; letter-spacing:0; }
.field input[type="number"] { font-size:13px; padding:10px 12px; }
.matiere-picker label { font-size:12px; padding:10px; }
.exam-bar { padding:18px 0; margin-bottom:32px; border-top:0; }
.exam-bar__timer .v { font-size:32px; }
.exam-bar__timer .label,.exam-bar__progress .lbl { font-size:9px; letter-spacing:.04em; }
.results__score { padding:28px 0; margin-bottom:32px; }
.results__big { font-size:96px; }
.results__score .lead { font-size:12px; }
.results__stamp { transform:none; border-width:1px; border-radius:4px; font-size:15px; padding:10px 18px; letter-spacing:.04em; font-weight:500; }
.breakdown-row { grid-template-columns:65px minmax(0,1fr) 120px 60px; }
.breakdown-row .name { font-size:13px; }
.breakdown-row .pct { font-size:14px; }
.review-item { padding:18px; border-radius:0 4px 4px 0; }
.review-item__q { min-width:0; overflow-wrap:anywhere; font-size:13px; }
.review-item__idx { font-size:11px; }
.stats__overview { border-top:0; border-bottom:1px solid var(--rule); margin:24px 0 32px; }
.stats__cell,.stats__cell:not(:first-child) { padding:20px 16px 24px 0; border:0; }
.stats__cell .k { font:11px 'Geist',sans-serif; text-transform:none; letter-spacing:0; margin-bottom:10px; }
.stats__cell .v { font-size:28px; }
.stats-row { grid-template-columns:48px minmax(0,1fr) 110px 65px 50px; gap:16px; padding:18px 12px; }
.stats-row .name { font-size:13px; }
.stats-row .name .small { font-size:10px; }
.stats-row .ratio,.stats-row .pct { font-size:11px; }
.empty { border-radius:5px; }
@media (min-width:1600px) { .shell { padding-inline:54px; } }
@media (max-width:1200px) {
  .app { padding-left:204px; }
  .sidebar { width:204px; padding-inline:10px; }
  .shell { padding-inline:28px; }
  .subject-nav a { font-size:10px; gap:8px; }
  .subject-table-head,.matiere { grid-template-columns:44px minmax(0,1fr) 52px 85px 54px 16px; gap:12px; }
  .matiere__bar { width:43px; }
  .matiere__desc { display:none; }
  .matiere { min-height:64px; }
  .exam-strip-details { display:none; }
}
@media (max-width:900px) {
  .app { padding-left:0; }
  .sidebar { position:static; width:100%; padding:14px 22px 0; border-right:0; border-bottom:1px solid var(--rule); overflow:visible; }
  .brand { padding:0; margin-bottom:14px; }
  .brand__mark,.brand__mark img { width:26px; height:26px; }
  .navlinks { flex-direction:row; gap:20px; justify-content:flex-start; }
  .navlinks a { border-radius:0; min-height:40px; padding:9px 0 12px; border-bottom:2px solid transparent; font-size:12px; gap:7px; }
  .navlinks a.is-active { box-shadow:none; background:transparent; border-bottom-color:var(--ink); }
  .subject-nav,.sidebar-bottom { display:none; }
  .topbar { position:relative; }
  .topbar__inner { height:45px; }
  .shell { padding-inline:24px; }
  .workspace-home { padding-top:28px; }
  .skip-link { left:16px; }
  .h-xl { font-size:28px; }
}
@media (max-width:600px) {
  .shell { padding-inline:18px; }
  .sidebar { padding-inline:18px; }
  .navlinks { gap:18px; }
  .navlinks a { font-size:11px; gap:6px; }
  .navlinks svg { width:15px; }
  /* Four sections must fit a 320px screen. */
  @media (max-width:420px) { .navlinks { gap:14px; } .navlinks svg { display:none; } }
  .breadcrumb { font-size:11px; }
  .page-heading { align-items:flex-start; gap:16px; margin-bottom:24px; }
  .page-heading h1 { font-size:27px; }
  .page-heading p { font-size:12px; max-width:25ch; }
  .page-heading .btn { font-size:10px; padding:8px 10px; margin-top:3px; }
  .overview { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; padding-bottom:24px; margin-bottom:24px; }
  .overview-label { font-size:10px; margin-bottom:5px; }
  .overview strong { font-size:25px; }
  .overview-unit { font-size:10px; }
  .list-toolbar { align-items:stretch; flex-direction:column; gap:14px; }
  .subject-search { width:100%; }
  .subject-search input { font-size:12px; min-height:21px; }
  .subject-table-head,.matiere { grid-template-columns:39px minmax(0,1fr) 42px 16px; gap:10px; padding-inline:8px; }
  .subject-table-head > span:nth-child(4),.subject-table-head > span:nth-child(5) { display:none; }
  .subject-table-head > span:nth-child(3) { font-size:9px; }
  .matiere { min-height:66px; padding-block:17px; }
  .matiere__name { font-size:12px; line-height:1.45; }
  .matiere__code { font-size:13px; }
  .matiere__progress,.matiere__rate { display:none; }
  .matiere__total { font-size:10px; }
  .exam-strip { padding:16px; flex-wrap:wrap; gap:16px; margin-top:24px; }
  .exam-strip-title { flex-basis:100%; gap:12px; }
  .exam-strip h2 { font-size:12px; }
  .exam-strip .btn { margin-left:28px; }
  .workspace-footer { flex-direction:column; gap:10px; padding-block:22px; }
  .quiz { padding-top:22px; }
  .quiz__context { grid-template-columns:1fr; gap:16px; margin-bottom:28px; }
  .quiz__ctx-id .big { font-size:23px; }
  .quiz__ctx-meta { font-size:12px; }
  .quiz__progress { grid-row:auto; grid-column:1; }
  .question__text { font-size:21px; }
  .question__meta { gap:6px; }
  .tag { font-size:8px; }
  .choice { grid-template-columns:auto minmax(0,1fr); padding:14px 12px; gap:12px; }
  .choice__text { font-size:13px; }
  .choice__hint { display:none; }
  .question__actions .btn { font-size:11px; padding:9px 11px; }
  .question__actions { gap:10px; }
  .question__actions .right { flex:1; justify-content:flex-end; }
  .session-bar { font-size:8px; }
  .exam-grid { grid-template-columns:1fr; }
  .exam-card { min-height:0; display:grid; grid-template-columns:44px minmax(0,1fr) 76px; padding:17px 14px; gap:12px; align-items:center; border-right:0; border-bottom:1px solid var(--rule); }
  .exam-card:nth-last-child(-n+3) { border-bottom:1px solid var(--rule); }
  .exam-card:last-child { border-bottom:0; }
  .exam-card::after { display:none; }
  .exam-card__code { font-size:9px; letter-spacing:0; }
  .exam-card__name { font-size:12px; margin:0; }
  .exam-card__metrics { padding:0; margin:0; gap:10px; }
  .exam-card__metric .v { font-size:14px; }
  .exam-card__metric .v > span { font-size:9px !important; margin-left:2px !important; }
  .exam-card__metric .k { font-size:7px; letter-spacing:0; }
  .allexam-banner { padding:20px; }
  .allexam-banner__metrics { gap:20px; flex-wrap:wrap; }
  .exam-bar { grid-template-columns:minmax(0,1fr) auto; gap:18px 12px; }
  .exam-bar__timer { gap:8px; }
  .exam-bar__timer .v { font-size:28px; }
  .exam-bar__progress { grid-column:1 / -1; grid-row:2; }
  #ex-abort { grid-column:2; grid-row:1; }
  .results__score { grid-template-columns:minmax(0,1fr); gap:20px; }
  .results__stamp { justify-self:start; }
  .breakdown-row { grid-template-columns:48px minmax(0,1fr) 45px; gap:10px; }
  .breakdown-row .barwrap { grid-column:2; grid-row:2; }
  .breakdown-row .pct { grid-column:3; grid-row:1; }
  .review-item { padding:14px 10px; gap:10px; grid-template-columns:auto minmax(0,1fr); }
  .review-item > .tag { grid-column:1; grid-row:2; }
  .stats__cell,.stats__cell:not(:first-child) { padding:14px 8px 14px 0; }
  .stats-row { grid-template-columns:34px minmax(0,1fr) 42px; gap:10px; padding-inline:6px; }
  .stats-row .name { font-size:12px; }
  .stats-row .bar,.stats-row .ratio { display:none; }
  .custom-form-foot .btn { white-space:normal; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none !important; transition:none !important; }
}
/* Guest info bubble next to « Se connecter ». */
.sync-hint { position:relative; display:inline-flex; margin-left:-8px; }
.sync-hint__button { width:18px; height:18px; border-radius:50%; border:1px solid var(--rule-strong); color:var(--muted); font:600 11px/1 'Geist',sans-serif; display:grid; place-items:center; }
.sync-hint__button:hover,.sync-hint__button[aria-expanded="true"] { color:var(--accent); border-color:var(--accent); }
.sync-hint__bubble { position:absolute; top:calc(100% + 10px); right:-8px; z-index:60; width:min(280px,calc(100vw - 32px)); display:flex; gap:10px; align-items:flex-start; padding:12px 12px 12px 14px; background:var(--surface); color:var(--ink-2); border:1px solid var(--rule-strong); border-radius:6px; box-shadow:0 6px 20px #0000001f; font-size:12px; line-height:1.55; text-align:left; }
.sync-hint__bubble[hidden] { display:none; }
.sync-hint__bubble::before { content:''; position:absolute; top:-6px; right:12px; width:10px; height:10px; background:var(--surface); border-left:1px solid var(--rule-strong); border-top:1px solid var(--rule-strong); transform:rotate(45deg); }
.sync-hint__close { flex-shrink:0; color:var(--muted); font-size:16px; line-height:1; padding:0 2px; }
.sync-hint__close:hover { color:var(--ink); }
/* Question error reports. */
.report-link { margin-top:12px; font-size:11px; color:var(--muted); text-decoration:underline; text-decoration-color:var(--rule-strong); text-underline-offset:2px; }
.report-link:hover { color:var(--ink); }
.review-item .report-link { display:block; margin-top:8px; }
.report-dialog { margin:auto; max-height:calc(100vh - 32px); overflow:auto; width:min(520px,calc(100vw - 32px)); border:1px solid var(--rule-strong); border-radius:8px; padding:0; background:var(--surface); color:var(--ink); box-shadow:0 20px 50px #00000040; }
.report-dialog::backdrop { background:#0000004d; }
.report-form { display:flex; flex-direction:column; gap:14px; padding:22px; }
.report-form h2 { font-size:17px; font-weight:600; }
.report-q { font-size:12px; color:var(--muted); line-height:1.5; max-height:4.5em; overflow:hidden; }
.report-form label { display:flex; flex-direction:column; gap:6px; font-size:12px; font-weight:500; }
.report-form select,.report-form textarea,.report-form input { font:inherit; font-size:13px; font-weight:400; color:var(--ink); background:var(--bg); border:1px solid var(--rule-strong); border-radius:5px; padding:8px 10px; }
.report-form textarea { resize:vertical; min-height:110px; }
.report-form label[hidden] { display:none; }
.report-hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.report-message { font-size:12px; color:var(--ok); }
.report-message:empty { display:none; }
.report-actions { display:flex; justify-content:flex-end; gap:8px; }

