/* KAN : feuille de style unique, légère (pas de police externe, pour les connexions lentes). */
:root {
  --orange: #F77F00; --orange-d: #D96F00; --vert: #009E60; --vert-d: #007A4A;
  --ink: #1d2320; --muted: #66706b; --line: #e3e6e4; --bg: #f6f5f2; --card: #fff;
  --rouge: #C62828; --jaune: #FFF4D6; --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--vert-d); }
h1 { font-size: 1.6rem; line-height: 1.2; letter-spacing: -.01em; margin: .1rem 0 .8rem; }
.eyebrow { margin: 0 0 .25rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #B85E00; }
.lead { margin: -.3rem 0 1rem; color: var(--muted); max-width: 70ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h2 { font-size: 1.1rem; margin: 0 0 .8rem; }
code { background: #eef1ef; padding: .1em .35em; border-radius: 4px; word-break: break-all; }
kbd { font: 12px monospace; border: 1px solid #ccc; border-bottom-width: 2px; border-radius: 4px; padding: 0 4px; background: #fff; color: var(--ink); }

.flag { display: flex; height: 5px; }
.flag span { flex: 1; } .flag span:nth-child(1) { background: var(--orange); } .flag span:nth-child(2) { background: #fff; } .flag span:nth-child(3) { background: var(--vert); }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .6rem 16px 0; background: #fff; border-bottom: 1px solid var(--line); }
.top > .brand { padding-bottom: .5rem; }
.top-right { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding-bottom: .5rem; }
.who { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.who b { font-size: .92rem; } .who span { font-size: .75rem; color: var(--muted); }
.lang-switch select { margin: 0; min-height: 36px; padding: .25rem 2rem .25rem .7rem; border-radius: 999px; background-color: #FFF4E6; border-color: #FFD3A3; font-weight: 600; width: auto; }
.lang-pill { background: #FFF4E6; border: 1px solid #FFD3A3; border-radius: 999px; padding: .3rem .8rem; font-weight: 600; font-size: .9rem; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-txt .sub { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); min-width: 0; }
.logo { font-weight: 800; letter-spacing: .08em; background: var(--orange); color: #fff; padding: .15rem .55rem; border-radius: 8px; }
.proj { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.nav { display: flex; gap: .15rem; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--ink); padding: .55rem .8rem; font-size: .93rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: #8a4500; }
.nav a.on { border-bottom-color: var(--orange); color: #8a4500; font-weight: 600; }
.nav a.out { color: var(--muted); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 16px; }
.wrap.narrow { max-width: 560px; }
.foot { text-align: center; color: var(--muted); font-size: .8rem; padding: 2rem 16px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 860px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin: .4rem 0 .6rem; }
.head-actions { padding-bottom: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--vert); border-color: var(--vert); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--vert-d); }
.btn.danger { background: #fff; border-color: var(--rouge); color: var(--rouge); }
.btn.ghost { background: transparent; }
.btn.block { width: 100%; }
.btn.small { min-height: 34px; padding: .25rem .7rem; font-size: .88rem; }
.row-btns { display: flex; gap: .6rem; justify-content: center; }
.row-btns.wrap { flex-wrap: wrap; justify-content: flex-start; }
.row-btns > .btn { flex: 1; }
.row-btns.wrap > .btn { flex: 0 0 auto; }
form.inline { display: inline; }

.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .8rem; }
.form input:not([type=checkbox]), .form select, .form textarea, .filters input, .filters select, select, textarea {
  display: block; width: 100%; margin-top: .3rem; min-height: 44px; padding: .55rem .7rem; font: inherit; font-weight: 400;
  border: 1px solid #cfd5d2; border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { resize: vertical; }
.form input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.form label.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; background: #f3f8f5; padding: .7rem; border-radius: 10px; }
.form label.check input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: .1rem; accent-color: var(--vert); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; }
.filters > * { flex: 1 1 160px; margin: 0; }
.filters label { font-size: .85rem; font-weight: 600; }
.filters .btn { flex: 0 0 auto; }

.alert { padding: .7rem .9rem; border-radius: 10px; margin-bottom: 1rem; background: #E6F5EE; color: #0b5a3a; border: 1px solid #bfe5d3; }
.alert.err { background: #FDECEC; color: #8e1c1c; border-color: #f5c2c2; }
.alert.warn { background: var(--jaune); color: #6b4a00; border-color: #f1d98f; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .nowrap { white-space: nowrap; }
.big { font-size: 1.5rem; letter-spacing: .1em; }

/* Tableaux */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .5rem .55rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.off td { opacity: .5; }
.tag { display: inline-block; font-size: .78rem; padding: .1rem .5rem; border-radius: 999px; background: #eee; white-space: nowrap; }
.tag.valide { background: #DDF3E8; color: #0b5a3a; } .tag.rejete { background: #FDECEC; color: #8e1c1c; } .tag.en_attente { background: #FFF1DE; color: #8a4500; }
.pager { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: 1rem; }
.pager a, .pager span { padding: .3rem .65rem; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager a.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.inline-edit { display: flex; gap: .4rem; align-items: flex-start; }
.inline-edit textarea { margin: 0; min-height: 0; font-size: .9rem; padding: .35rem .5rem; }

/* Indicateurs */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; }
.kpi b { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: .85rem; }
.kpi.ok { border-color: #9fd9bd; background: #F1FAF5; } .kpi.bad { border-color: #f1b0b0; background: #FFF6F6; }
.progress-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.progress { position: relative; height: 16px; background: #eef0ee; border-radius: 999px; overflow: hidden; }
.progress i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.progress i.rec { background: #FFD3A3; } .progress i.ok { background: var(--vert); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 170px; padding-top: 1.2rem; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.bar i { display: block; width: 100%; max-width: 34px; background: var(--orange); border-radius: 5px 5px 0 0; min-height: 2px; }
.bar small { font-size: .72rem; color: var(--muted); margin-top: 3px; }
.bar em { font-style: normal; font-size: .68rem; color: var(--muted); margin-bottom: 2px; }

/* Page d'enregistrement */
.stats-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .4rem; margin-bottom: .8rem; }
.stats-strip div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .45rem .3rem; text-align: center; }
.stats-strip b { display: block; font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats-strip span { font-size: .72rem; color: var(--muted); }
.netbar { padding: .6rem .8rem; border-radius: 10px; margin-bottom: .8rem; background: var(--jaune); color: #6b4a00; font-size: .92rem; }
.netbar.err { background: #FDECEC; color: #8e1c1c; }
.recorder { max-width: 640px; margin: 0 auto 1rem; }
.rec-page .wrap { max-width: 680px; }
.rec-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.rec-filters select { margin: 0; flex: 1 1 180px; }
.seg { display: flex; flex: 1 1 260px; background: #f0f1ef; border-radius: 10px; padding: 3px; }
.seg button { flex: 1; border: 0; background: transparent; font: inherit; font-size: .92rem; font-weight: 600; padding: .5rem; border-radius: 8px; color: var(--muted); cursor: pointer; min-height: 40px; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.prompt { background: #FFF8EF; border: 1px solid #FFE0BC; border-radius: 12px; padding: 1rem; min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.prompt-meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #8a4500; font-weight: 700; margin-bottom: .4rem; }
.prompt-text { font-size: 1.45rem; line-height: 1.45; margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.prompt-text.small-text { font-size: 1.2rem; margin-bottom: 1rem; }
.prompt-help { margin: .6rem 0 0; color: var(--muted); font-size: .88rem; }
.meter { height: 8px; background: #eef0ee; border-radius: 999px; overflow: hidden; margin: 1rem 0 .3rem; }
.meter i { display: block; height: 100%; width: 0; background: var(--vert); transition: width .08s linear; }
.meter i.clip { background: var(--rouge); }
.timer { text-align: center; font-variant-numeric: tabular-nums; font-size: 1.1rem; color: var(--muted); }
.controls { text-align: center; }
.controls .row-btns { margin-top: .9rem; }
.rec-btn { width: 92px; height: 92px; margin: .6rem auto; border-radius: 50%; border: 6px solid #fde0e0; background: #E53935; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(229,57,53,.35); }
.rec-btn span { width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.rec-btn.on span { border-radius: 6px; }
.rec-btn.on { animation: pulse 1.2s infinite; }
.rec-btn:disabled { background: #bbb; box-shadow: none; border-color: #eee; cursor: not-allowed; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,57,53,.45); } 50% { box-shadow: 0 0 0 14px rgba(229,57,53,0); } }
audio { width: 100%; margin: .8rem 0 .4rem; }
.queue-info { text-align: center; margin: -.4rem 0 1rem; }
.tips summary { cursor: pointer; font-weight: 600; }
.tips ul { margin: .6rem 0 0; padding-left: 1.2rem; }

/* Validation */
.val-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.val-filters { display: flex; gap: .5rem; flex: 1 1 320px; }
.val-filters select { margin: 0; }
.val-count { color: var(--muted); }
.validator { max-width: 820px; margin: 0 auto; }
.v-analysis { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.v-analysis.warn { color: #8e1c1c; font-weight: 600; }
.block-label { display: block; font-weight: 600; margin-bottom: 1rem; }
.block-label textarea { font-size: 1.1rem; }
.decision { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.decision .reject { display: flex; gap: .4rem; flex: 1 1 300px; }
.decision .reject select { margin: 0; }
.decision > .btn.primary { flex: 1 1 160px; }
@media (max-width: 420px) { .prompt-text { font-size: 1.25rem; } .row2 { grid-template-columns: 1fr; } }

/* v2 : multilingue, rôles, paiements */
.kpis.compact { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); margin: 0; }
.kpis.compact .kpi b { font-size: 1.05rem; }
.lieu summary { cursor: pointer; display: flex; gap: .4rem; flex-wrap: wrap; align-items: baseline; }
.lieu summary .link { color: var(--vert-d); text-decoration: underline; font-size: .9rem; margin-left: auto; }
.lieu-form { margin-top: .8rem; }
.lang-edit { display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.lang-edit input:not([type=checkbox]) { margin: 0; min-height: 34px; padding: .25rem .5rem; width: 9rem; border: 1px solid #cfd5d2; border-radius: 8px; font: inherit; }
.lang-edit input.short { width: 5rem; }
.mini { display: inline-flex; gap: .3rem; align-items: center; font-size: .85rem; font-weight: 400; white-space: nowrap; }
.filters .mini { flex: 0 0 auto; }
.narrow-form { max-width: 620px; }
.langs-box { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .9rem .2rem; margin: 0 0 1rem; }
.langs-box legend { font-weight: 600; font-size: .92rem; padding: 0 .3rem; }
.form label.check.slim { background: transparent; padding: .25rem 0; margin-bottom: .2rem; }
.pay-form { display: flex; gap: .3rem; flex-wrap: wrap; align-items: center; min-width: 260px; }
.pay-form input, .pay-form select { margin: 0; min-height: 34px; padding: .25rem .5rem; font-size: .88rem; width: 7.5rem; }
.pay-form input[type=date] { width: 9.5rem; }
.pay-form select { width: 9rem; }
.tag.role-super_admin { background: #1d2320; color: #fff; } .tag.role-admin { background: #FFE9D1; color: #8a4500; }
.tag.role-linguiste { background: #E3F1FB; color: #0d4a75; } .tag.role-contributeur { background: #eef1ef; }

/* v2.1 : connexion, classement, carte, FAQ, contrats, signalements */
.netbar.ok { background: #E6F5EE; color: #0b5a3a; }
.foot a { color: inherit; }
.wrap.narrow-wide { max-width: 860px; }
.wrap.auth { max-width: 1180px; }
.auth-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; min-height: calc(100vh - 210px); }
@media (min-width: 900px) { .auth-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.hero { padding: 1rem 0; }
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: .3rem 0 1rem; }
.hero .lead { font-size: 1.1rem; margin-bottom: 2rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.hero-stats b { display: block; font-size: 1.6rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 520px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
.auth-card { padding: 1.6rem; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.auth-card hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0 .6rem; }
.login-page { background: linear-gradient(110deg, #FFF3E4 0%, #F6F5F2 45%); }
.stats-strip .pts { background: #FFF4E6; border: 1px solid #FFD3A3; border-radius: 12px; padding: .45rem .3rem; text-align: center; text-decoration: none; color: var(--ink); }
.stats-strip .pts span { font-size: .72rem; color: #8a4500; }
.report-box { margin-top: .8rem; padding: .8rem; border: 1px dashed #f1d98f; border-radius: 12px; background: #FFFCF2; text-align: left; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .6rem; }
.chip { border: 1px solid #e5c67a; background: #fff; border-radius: 999px; padding: .45rem .8rem; font: inherit; font-size: .88rem; cursor: pointer; min-height: 40px; }
.chip:hover { background: #FFF1D0; }
.v-report { margin: .4rem 0 .8rem; font-size: .9rem; }
.v-report summary { cursor: pointer; color: var(--muted); }
.v-report-body { display: flex; gap: .4rem; margin-top: .5rem; flex-wrap: wrap; }
.v-report-body input { flex: 1 1 240px; margin: 0; min-height: 36px; padding: .3rem .6rem; border: 1px solid #cfd5d2; border-radius: 8px; font: inherit; }
.seg.period { flex: 1 1 auto; }
.seg.period a { flex: 1; text-align: center; text-decoration: none; padding: .5rem; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.seg.period a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.me-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: #FFF8EF; border-color: #FFE0BC; }
.me-card .lvl { display: block; font-size: 1.4rem; }
.me-rank { text-align: right; }
.me-rank b { font-size: 2.2rem; display: block; line-height: 1; color: #B85E00; }
.me-rank span { font-size: .8rem; color: var(--muted); }
.grid2.wide-left { grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid2.wide-left { grid-template-columns: 1.4fr 1fr; } }
.board { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: center; gap: .8rem; padding: .55rem .3rem; border-bottom: 1px solid var(--line); }
.board li.me { background: #FFF4E6; border-radius: 8px; }
.board .rk { width: 2rem; height: 2rem; flex: 0 0 2rem; border-radius: 50%; background: #eef1ef; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.board .podium.p1 .rk { background: #F7B500; color: #fff; } .board .podium.p2 .rk { background: #A0AEC0; color: #fff; } .board .podium.p3 .rk { background: #C27C4A; color: #fff; }
.board .nm { flex: 1; min-width: 0; font-weight: 600; }
.board small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.board .pt { text-align: right; white-space: nowrap; }
.map-card { padding: 0; overflow: hidden; }
#map { height: 520px; width: 100%; background: #e9eef0; }
@media (max-width: 600px) { #map { height: 380px; } }
.legend { display: flex; flex-wrap: wrap; gap: .8rem; padding: .7rem 1rem; font-size: .88rem; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .35rem; vertical-align: -1px; }
.faq details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq-r { padding: .5rem 0 0; color: #3b4440; }
.faq-edit.off { opacity: .6; }
.faq-top { display: flex; gap: .5rem; }
.faq-top input { margin: 0 0 .5rem; }
.form input.short, input.short { width: 6rem; flex: 0 0 6rem; }
.row-btns.left { justify-content: flex-start; align-items: center; }
.row-btns.left > .btn { flex: 0 0 auto; }
.contrat-scroll { max-height: 45vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: .9rem; background: #fbfbfa; font-size: .93rem; margin-bottom: 1rem; }
.contrat-doc { font-size: .98rem; line-height: 1.6; }
.signature { margin-top: 1.5rem; padding: 1rem; border: 1px solid #9fd9bd; background: #F1FAF5; border-radius: 10px; }
.print-page { background: #fff; }
@media print { .no-print, .flag, .top, .foot { display: none !important; } .card { border: 0; padding: 0; } body { background: #fff; } }
.sig { padding-bottom: .9rem; }
.card .sig, div.sig + div.sig { border-top: 1px solid var(--line); padding-top: .8rem; }
.sig-head { display: flex; flex-wrap: wrap; gap: .4rem; align-items: baseline; margin-bottom: .4rem; }
.sig-rep { background: #F1FAF5; border-radius: 8px; padding: .6rem .8rem; }
.tag.sig-ouvert { background: #FFF1DE; color: #8a4500; } .tag.sig-traite { background: #DDF3E8; color: #0b5a3a; } .tag.sig-rejete { background: #eee; }

/* v2.2 */
.help summary { cursor: pointer; font-weight: 600; }
.help ol { margin: .8rem 0; padding-left: 1.3rem; }
.help li { margin-bottom: .3rem; }
.kpi b.small-b { font-size: .95rem; }
.chars { display: flex; flex-wrap: wrap; gap: .4rem; }
.chars span { border: 1px solid var(--line); border-radius: 8px; padding: .15rem .5rem; font-size: .85rem; color: var(--muted); }
.chars b { font-size: 1.15rem; color: var(--ink); margin-right: .2rem; }
.phrase-cell, .prompt-text { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans NKo", "Ebrima", sans-serif; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .7rem 1rem; }
.btn.danger-text { color: var(--rouge); }
.mode-choice { max-width: 640px; margin: 0 auto; }
.mode-title { font-size: 1.35rem; margin: .4rem 0 1rem; }
.mode-card { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); border-width: 2px; transition: border-color .15s; }
.mode-card:hover, .mode-card:focus { border-color: var(--orange); }
.mode-card.disabled { opacity: .55; }
.mode-icon { flex: 0 0 52px; height: 52px; border-radius: 14px; background: #FFF1DE; color: #B85E00; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; }
.mode-body { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.mode-body b { font-size: 1.1rem; }
.mode-body span { color: var(--muted); font-size: .92rem; }
.mode-go { flex: 0 0 auto; background: var(--vert); color: #fff; font-weight: 600; border-radius: 10px; padding: .55rem .9rem; font-size: .92rem; }
@media (max-width: 480px) { .mode-card { flex-wrap: wrap; } .mode-go { width: 100%; text-align: center; } }
.mode-bar { display: flex; justify-content: space-between; align-items: center; max-width: 640px; margin: 0 auto .6rem; }
.dom-label { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; width: 100%; }
.dom-label select { margin: 0; flex: 1; }
.slim-check { display: flex; gap: .5rem; align-items: flex-start; width: 100%; font-size: .92rem; }
.slim-check input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--vert); }
.prompt-trad { margin: .5rem 0 0; font-size: 1rem; font-style: italic; color: #5b4630; }
