:root {
  --bg: #f5f4ef; --surface: #fff; --ink: #1d2729; --muted: #647275; --line: #e2e0d8;
  --accent: #17695d; --accent-ink: #fff; --accent-soft: #e3f1ee;
  --bad: #c2410c; --bad-soft: #fdebe2; --warn: #a16207; --warn-soft: #fbf1d5; --imp: #6b7280; --good: #2c7a4b; --good-soft: #e4f3e9;
  --sq-l: #ece7d6; --sq-d: #7f9f8b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg: #14191a; --surface: #1d2526; --ink: #e8ecec; --muted: #94a3a5; --line: #2e3a3c;
    --accent: #4fb3a2; --accent-ink: #08201c; --accent-soft: #1d3632;
    --bad: #f08a5d; --bad-soft: #3a2218; --warn: #e0b34a; --warn-soft: #352c14; --good: #6cc48d; --good-soft: #193123; --imp: #9ca3af; }
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #14191a; --surface: #1d2526; --ink: #e8ecec; --muted: #94a3a5; --line: #2e3a3c;
  --accent: #4fb3a2; --accent-ink: #08201c; --accent-soft: #1d3632;
  --bad: #f08a5d; --bad-soft: #3a2218; --warn: #e0b34a; --warn-soft: #352c14; --good: #6cc48d; --good-soft: #193123; --imp: #9ca3af; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
h1 { font-size: 1.6rem; margin: 1.2rem 0 .8rem; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 1.4rem 0 .6rem; }
h3 { font-size: 1.02rem; margin: .2rem 0 .4rem; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
p { margin: .5rem 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
.muted { color: var(--muted); } .sm { font-size: .86rem; } .center { text-align: center; } .nowrap { white-space: nowrap; }
.big { font-size: 1.9rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }

#nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; padding: .55rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--ink); letter-spacing: -.02em; }
.brand span { font-weight: 500; color: var(--accent); margin-left: .3rem; font-size: .85rem; }
#nav nav { display: flex; gap: .2rem; flex: 1; flex-wrap: wrap; }
#nav nav a { text-decoration: none; color: var(--muted); padding: .3rem .65rem; border-radius: 6px; font-size: .95rem; }
#nav nav a.on { color: var(--ink); background: var(--accent-soft); font-weight: 600; }
.who { text-decoration: none; color: var(--muted); font-size: .9rem; }
.pill { font-size: .8rem; background: var(--accent-soft); color: var(--accent); padding: .2rem .6rem; border-radius: 99px; font-variant-numeric: tabular-nums; }
.pill.err { background: var(--bad-soft); color: var(--bad); }

main { max-width: 1120px; margin: 0 auto; padding: 0 1rem 4rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; margin: .7rem 0; }
.card.hl { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .8rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; }
.grid2 > .card, .grid3 > .card { margin: 0; }
.row { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; margin-top: .7rem; } .row.between { justify-content: space-between; margin-top: 0; }
.col { display: flex; flex-direction: column; gap: .45rem; align-items: stretch; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 8px; padding: .5rem .95rem; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.btn.ghost { background: transparent; color: var(--accent); font-weight: 500; }
.btn:disabled { opacity: .6; cursor: default; }
.lnk { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; }
.lnk.del { color: var(--muted); text-decoration: none; }
label { display: block; margin: .6rem 0; font-size: .92rem; }
input:not([type=checkbox]):not([type=file]), select, textarea { display: block; width: 100%; margin-top: .25rem; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--ink); font: inherit; }
.row label { margin: 0; flex: 1; min-width: 120px; }
.chk { display: flex; gap: .5rem; align-items: center; margin: .2rem 0; }
textarea { resize: vertical; }

.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .6rem; }
.chip { font-size: .82rem; padding: .18rem .6rem; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); }
.chip.gaffe, .badge.gaffe, .km.gaffe { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.chip.erreur, .badge.erreur, .km.erreur { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip.imprecision, .badge.imprecision, .km.imprecision { color: var(--imp); }
.badge { font-size: .78rem; font-weight: 700; padding: .12rem .5rem; border-radius: 5px; text-transform: uppercase; letter-spacing: .03em; }
.badge.bon, .km.bon { background: var(--good-soft); color: var(--good); }
.me { font-size: .72rem; background: var(--accent-soft); color: var(--accent); padding: .05rem .4rem; border-radius: 4px; font-weight: 600; }
.conf { font-size: .76rem; padding: .1rem .5rem; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.conf.solide { border-color: var(--good); color: var(--good); } .conf.tendance { border-color: var(--warn); color: var(--warn); }
.chipb { display: inline-block; font: inherit; font-size: .86rem; padding: .3rem .7rem; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; text-decoration: none; }
.chipb.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.reasons { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }

.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: .8rem; padding: .3rem .4rem; }
.tbl td { padding: .4rem; border-top: 1px solid var(--line); vertical-align: middle; }
.res { font-weight: 700; width: 1.6rem; } .res.gagnée { color: var(--good); } .res.perdue { color: var(--bad); }
.card { overflow-x: auto; }

/* Game view */
.gv { display: grid; grid-template-columns: minmax(280px, 520px) minmax(300px, 1fr); gap: 1.2rem; align-items: start; margin-top: 1rem; }
@media (max-width: 820px) { .gv { grid-template-columns: 1fr; } }
.gv-l { position: sticky; top: 3.6rem; }
@media (max-width: 820px) { .gv-l { position: static; } }
.players { display: flex; justify-content: space-between; gap: .6rem; align-items: center; font-size: .93rem; flex-wrap: wrap; }
.dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; border: 1px solid #555; margin-right: .35rem; }
.dot.w { background: #fff; } .dot.b { background: #222; }
.navb { display: flex; gap: .35rem; margin: .5rem 0; align-items: center; }
.navb button { flex: 1; max-width: 3.4rem; padding: .4rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 7px; cursor: pointer; font-size: 1rem; }
.evl { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.graph { width: 100%; height: 64px; background: #3b4446; border-radius: 6px; cursor: pointer; display: block; }
.graph .ga { fill: #f2f0e8; } .graph .gm { stroke: #8a9; stroke-width: .5; vector-effect: non-scaling-stroke; stroke-dasharray: 2 2; }
.gc { stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.graph circle.gaffe { fill: #e25822; } .graph circle.erreur { fill: #d9a21b; }
.kms { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.km { font: inherit; font-size: .85rem; border: 1px solid var(--line); border-radius: 6px; padding: .2rem .5rem; cursor: pointer; background: var(--bg); color: var(--ink); }
.moves { margin-top: .8rem; max-height: 260px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .6rem; line-height: 1.9; }
.moves .no { color: var(--muted); font-size: .82rem; margin: 0 .15rem 0 .4rem; }
.mvb { font: inherit; border: 0; background: none; color: var(--ink); padding: .1rem .3rem; border-radius: 4px; cursor: pointer; }
.mvb.cur { background: var(--accent); color: var(--accent-ink); }
.mvb.gaffe { color: var(--bad); font-weight: 700; } .mvb.erreur { color: var(--warn); font-weight: 700; } .mvb.imprecision { color: var(--imp); } .mvb.bon { color: var(--good); font-weight: 700; }
.mvb.cur.gaffe, .mvb.cur.erreur, .mvb.cur.bon, .mvb.cur.imprecision { color: var(--accent-ink); }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: .5rem 0; flex: 1; } .bar i { display: block; height: 100%; background: var(--accent); }
.pbar { display: grid; grid-template-columns: 8rem 1fr 3.2rem 5rem; gap: .6rem; align-items: center; font-size: .92rem; }

.exp { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--good); border-radius: 10px; padding: .9rem 1rem; margin: .7rem 0; }
.exp.gaffe { border-left-color: var(--bad); } .exp.erreur { border-left-color: var(--warn); } .exp.imprecision { border-left-color: var(--imp); }
.exp-h { display: flex; gap: .6rem; align-items: center; margin-bottom: .3rem; }
.opts { margin: .8rem 0 .4rem; } .opts-h { font-size: .82rem; font-weight: 600; margin-bottom: .3rem; }
.opt { display: grid; grid-template-columns: 1fr; gap: .1rem; width: 100%; text-align: left; font: inherit; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: .45rem .65rem; margin: .3rem 0; cursor: pointer; }
.opt:hover { border-color: var(--accent); }
.opt.best { border-left: 4px solid var(--good); } .opt.played { border-left: 4px solid var(--bad); } .opt.guess { border-left: 4px solid #7c3aed; }
.opt-l { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.opt-m { display: flex; gap: .6rem; align-items: baseline; } .ev { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .88rem; }
.opt-c { font-size: .86rem; color: var(--muted); }
.w { font-size: .8rem; padding: .05rem .45rem; border-radius: 4px; }
.w0 { background: var(--bad-soft); color: var(--bad); } .w1 { background: var(--warn-soft); color: var(--warn); } .w2 { background: var(--line); } .w3, .w4 { background: var(--good-soft); color: var(--good); }
.hypo { background: var(--warn-soft); border-radius: 7px; padding: .45rem .7rem; font-size: .9rem; }
.lesson { background: var(--accent-soft); border-radius: 7px; padding: .45rem .7rem; font-size: .92rem; }
.note { font-size: .92rem; }
.verdict { font-size: 1.05rem; padding: .5rem .7rem; border-radius: 8px; background: var(--bg); margin: .4rem 0; }
.verdict.ok { background: var(--good-soft); color: var(--good); } .verdict.ko { background: var(--bad-soft); color: var(--bad); }
.steps { display: flex; gap: .3rem; margin-bottom: .6rem; } .steps i { flex: 1; height: 5px; border-radius: 9px; background: var(--line); max-width: 3rem; }
.steps i.on { background: var(--accent); } .steps i.ok { background: var(--good); } .steps i.ko { background: var(--bad); }
.pvbar { display: flex; gap: .5rem; align-items: center; background: var(--accent-soft); border-radius: 8px; padding: .35rem .5rem; margin-top: .4rem; font-size: .9rem; flex-wrap: wrap; }
.pvbar button:not(.lnk) { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; padding: .15rem .55rem; cursor: pointer; }
.pvline { flex: 1; } .pvline .on { background: var(--accent); color: var(--accent-ink); border-radius: 4px; padding: 0 .25rem; }

/* Profile */
.find-h { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.find { border-left: 4px solid var(--warn); } .find.good { border-left-color: var(--good); }
.evi { display: flex; gap: .8rem; flex-wrap: wrap; margin: .7rem 0; }
.ev1 { width: 150px; text-decoration: none; color: var(--ink); font-size: .85rem; display: flex; flex-direction: column; gap: .15rem; }
.ev1 small { color: var(--muted); } .mini { width: 150px; pointer-events: none; }
.goalb { display: block; width: 100%; text-align: left; font: inherit; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; margin: .4rem 0; cursor: pointer; }
.goalb small { display: block; color: var(--muted); } .goalb:hover { border-color: var(--accent); }
.chart { width: 100%; height: 110px; background: var(--bg); border-radius: 6px; display: block; } .cl { fill: none; stroke: var(--accent); stroke-width: 2; }
.strip { display: flex; gap: 2px; flex-wrap: wrap; } .strip i { width: 12px; height: 16px; border-radius: 2px; background: var(--line); }
.strip .s1 { background: #e9b872; } .strip .s2 { background: #e07b39; } .strip .s3 { background: #b83a14; }
.tabs { display: flex; gap: .3rem; margin-bottom: .6rem; flex-wrap: wrap; } .tab { font: inherit; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 7px; padding: .3rem .7rem; cursor: pointer; } .tab.on { background: var(--accent-soft); border-color: var(--accent); font-weight: 600; }
.welcome { max-width: 860px; margin: 0 auto; } .lead { font-size: 1.08rem; color: var(--muted); }

/* Board */
.board { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); aspect-ratio: 1; width: 100%; container-type: inline-size; border-radius: 6px; overflow: hidden; user-select: none; -webkit-user-select: none; }
.board.inter { touch-action: none; cursor: pointer; }
.sq { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sq.lt { background: var(--sq-l); } .sq.dk { background: var(--sq-d); }
.sq.last::before { content: ''; position: absolute; inset: 0; background: rgba(255, 206, 60, .5); }
.sq.sel::before { content: ''; position: absolute; inset: 0; background: rgba(255, 235, 59, .75); }
.sq.tg::after { content: ''; position: absolute; width: 28%; height: 28%; border-radius: 50%; background: rgba(0, 0, 0, .25); }
.sq.tgc::after { content: ''; position: absolute; inset: 5%; border-radius: 50%; border: .7cqw solid rgba(0, 0, 0, .3); }
.sq i { position: absolute; font-style: normal; font-size: 2.3cqw; font-weight: 700; opacity: .6; color: #223; } .rk { top: 2%; left: 4%; } .fl { bottom: 1%; right: 5%; }
.pc { font-size: 10.2cqw; line-height: 1; position: relative; z-index: 1; pointer-events: none; font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", "DejaVu Sans", "Arial Unicode MS", sans-serif; paint-order: stroke fill; }
.pc.w { color: #fdfdfb; -webkit-text-stroke: .5cqw #1b1b1b; }
.pc.b { color: #1b1b1b; -webkit-text-stroke: .22cqw #f4f4f0; }
.arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.ar line { stroke-width: .17; stroke-linecap: round; } .ar polygon { stroke: none; } .ar { opacity: .8; }
.ar.best { stroke: #2f9e62; fill: #2f9e62; } .ar.bad { stroke: #de541e; fill: #de541e; } .ar.ok { stroke: #3b82f6; fill: #3b82f6; } .ar.guess { stroke: #7c3aed; fill: #7c3aed; }
.promo { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; gap: 2cqw; z-index: 3; }
.promo button { font-size: 13cqw; background: #cfd8d2; border: 0; border-radius: 8px; padding: 1cqw 2cqw; cursor: pointer; pointer-events: auto; }

.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 1rem; }
.modal-box { background: var(--surface); border-radius: 12px; padding: 1.3rem; max-width: 460px; width: 100%; max-height: 90vh; overflow: auto; }
#toasts { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: .4rem; z-index: 60; width: min(92vw, 440px); }
.toast { background: var(--ink); color: var(--bg); padding: .6rem .9rem; border-radius: 8px; font-size: .92rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }

/* ---- Review screen: eval bar, coach bubble, quality colours ---- */
:root { --q-top: #1f8f7a; --q-best: #3f9d4f; --q-excellent: #5aa85f; --q-good: #7d9484; --q-imprecision: #d1a21b; --q-erreur: #dd7a22; --q-gaffe: #cf3b2b; }
.q-top { --qc: var(--q-top); } .q-best { --qc: var(--q-best); } .q-excellent { --qc: var(--q-excellent); } .q-good { --qc: var(--q-good); }
.q-imprecision { --qc: var(--q-imprecision); } .q-erreur { --qc: var(--q-erreur); } .q-gaffe { --qc: var(--q-gaffe); }
.qb { display: inline-flex; align-items: center; justify-content: center; min-width: 1.7rem; height: 1.7rem; padding: 0 .3rem; border-radius: 99px; background: var(--qc, var(--muted)); color: #fff; font-weight: 800; font-size: .85rem; flex: none; }
.qb.xpb { background: #7c3aed; }
.bdwrap { display: flex; gap: .4rem; align-items: stretch; margin-top: .4rem; }
.bdwrap #bd { flex: 1; min-width: 0; }
.evbar { position: relative; width: 22px; flex: none; background: #2b3133; border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.evbar i { display: block; width: 100%; background: #f3f1ea; transition: height .35s ease; }
.evbar.flip { justify-content: flex-start; }
.evbar span { position: absolute; left: 0; right: 0; text-align: center; font-size: .62rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.evbar span.onw { bottom: 3px; color: #222; } .evbar span.onb { top: 3px; color: #eee; }
.evbar.flip span.onw { bottom: auto; top: 3px; } .evbar.flip span.onb { top: auto; bottom: 3px; }
.evbar.wait i { opacity: .5; }
.coach { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--qc, var(--accent)); border-radius: 10px; padding: .9rem 1rem; }
.coach.xp { border-left-color: #7c3aed; }
.coach-h { display: flex; gap: .6rem; align-items: center; font-size: 1.05rem; margin-bottom: .3rem; }
.coach details, details.card { margin-top: .7rem; } summary { cursor: pointer; color: var(--accent); font-size: .92rem; }
.exp { border-left-color: var(--qc, var(--good)); }
.bdg { position: absolute; top: -2%; right: -2%; z-index: 3; min-width: 3.6cqw; height: 3.6cqw; padding: 0 .6cqw; border-radius: 99px; background: var(--qc); color: #fff; font-size: 2.3cqw; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 .3cqw rgba(0,0,0,.25); }
.sq { overflow: visible; }
.km { border-color: var(--qc, var(--line)); } .km[class*="q-"] { color: var(--qc); font-weight: 600; }
.mvb[class*="q-"] { color: var(--qc); font-weight: 700; } .mvb.cur[class*="q-"] { color: var(--accent-ink); }
.sumt td, .sumt th { text-align: center; } .sumt td:first-child { text-align: left; } .sumt .qb { min-width: 1.4rem; height: 1.4rem; font-size: .72rem; margin-right: .3rem; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.langs button { font: inherit; font-size: .78rem; font-weight: 700; border: 0; background: transparent; color: var(--muted); padding: .2rem .5rem; cursor: pointer; }
.langs button.on { background: var(--accent); color: var(--accent-ink); }
a.tab { text-decoration: none; }
.btn.sm { padding: .25rem .6rem; font-size: .85rem; }
.games td { vertical-align: middle; } .pbar { grid-template-columns: 8rem 1fr 3.2rem; }
.xp .pvline { line-height: 1.9; }

/* ---- Accounts, sync and import states ---- */
.pill { border: 0; font: inherit; font-size: .78rem; cursor: default; text-decoration: none; white-space: nowrap; }
button.pill { cursor: pointer; }
.pill.ok { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.guest { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.formerr { background: var(--bad-soft); color: var(--bad); border-radius: 7px; padding: .5rem .7rem; font-size: .92rem; margin: .6rem 0 0; }
.code { font: 700 1.25rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; background: var(--bg); border: 1px dashed var(--accent); border-radius: 8px; padding: .7rem; text-align: center; user-select: all; }
.tcchip { display: inline-block; font-size: .72rem; font-weight: 600; padding: 0 .4rem; border-radius: 4px; background: var(--accent-soft); color: var(--accent); }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.lnk.err { color: var(--bad); }
label.inline { display: inline-flex; gap: .4rem; align-items: center; margin: 0; font-size: .9rem; }
label.inline select { width: auto; margin: 0; }
.welcome .tabs { margin-bottom: .2rem; }
.note.row { margin-top: 0; }

/* ---- Phone width ---- */
@media (max-width: 600px) {
  #nav { gap: .5rem; padding: .45rem .7rem; }
  #nav nav { order: 5; flex-basis: 100%; justify-content: space-between; }
  #nav nav a { padding: .3rem .45rem; font-size: .9rem; }
  .who { margin-left: auto; }
  h1 { font-size: 1.35rem; }
  .games td:nth-child(3) { font-size: .85rem; }
  .games .btn.sm { padding: .2rem .45rem; }
  .navb button { max-width: none; padding: .55rem; }
  .coach .row .btn { flex: 1 1 auto; }
  .tbl { font-size: .86rem; }
  .pbar { grid-template-columns: 6.5rem 1fr 3rem; }
}
