/* Nos écoles · Marseille — feuille de style de l'application */
:root {
  --bg: #f4f5f7; --card: #ffffff; --text: #15202b; --muted: #5b6673; --line: #e3e6ea;
  --primary: #1b5fb3; --primary-ink: #ffffff; --primary-soft: #e4eefb;
  --accent: #f2a900; --accent-ink: #2b2000;
  --mat: #d9680b; --ele: #1b5fb3; --pri: #0f766e;
  --rep: #b45309; --repp: #8b1e5a; --ok: #1a7f4b; --warn: #b42318;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.1);
  --radius: 14px; --tab-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1b2d; --card: #172538; --text: #eef2f7; --muted: #9fb0c3; --line: #263a55;
    --primary-soft: #1d3457; --accent: #ffc233; --accent-ink: #2b2000;
    --mat: #f59e4b; --ele: #7cb3f7; --pri: #34c2b0; --rep: #f0a04b; --repp: #e879b9;
    --ok: #4ade80; --warn: #fb7185; --shadow: 0 1px 2px rgba(0,0,0,.4);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
}
a { color: var(--primary); }
h1 { font-size: 1.5rem; margin: .4rem 0 .5rem; line-height: 1.2; }
h2.h-sec { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.4rem 0 .6rem; }
.lead { color: var(--muted); margin: 0 0 1rem; }
[hidden] { display: none !important; }
.kbd { font-family: inherit; border: 1px solid var(--line); border-radius: 4px; padding: 0 .3em; }

/* ── barre du haut ── */
.topbar {
  position: sticky; top: 0; z-index: 1000; background: var(--card); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: .5rem 1rem; padding-top: calc(.5rem + env(safe-area-inset-top));
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.brand img { border-radius: 9px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.05rem; }
.brand small { color: var(--muted); font-size: .72rem; }
.topbar-actions { display: flex; gap: .4rem; }
.iconbtn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; font-weight: 700;
}
.iconbtn:active { transform: scale(.96); }
.iconbtn.is-on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

/* ── contenu ── */
#main { max-width: 720px; margin: 0 auto; padding: .75rem 1rem 1.5rem; }
.view { animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.hero { background: linear-gradient(135deg, var(--primary), #0e3f7d); color: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; margin: .25rem 0 1rem; box-shadow: var(--shadow); }
.hero h1 { margin: 0 0 .3rem; color: #fff; }
.hero p { margin: 0; opacity: .92; font-size: .95rem; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem; margin: 0 0 .8rem; }
.card p:first-child { margin-top: 0; } .card p:last-child { margin-bottom: 0; }
.list { display: flex; flex-direction: column; gap: .6rem; }
.item { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: .8rem 1rem; display: flex; gap: .8rem; align-items: flex-start; }
.item .body { flex: 1; min-width: 0; }
.item .title { font-weight: 700; margin: 0; }
.item .sub { color: var(--muted); font-size: .88rem; margin: .1rem 0 0; }
.item .sub a { color: inherit; }
.item.link { text-decoration: none; color: inherit; cursor: pointer; }
.item.link:active { background: var(--primary-soft); }
.item .ico { font-size: 1.4rem; line-height: 1; padding-top: .15rem; }
.item .chev { color: var(--muted); align-self: center; }
.item.today { background: var(--primary-soft); }
.item .actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.note-src, .src { color: var(--muted); font-size: .78rem; margin: 1rem 0 0; }
.src { margin-top: .6rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }

/* ── boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--primary); color: var(--primary-ink); border: 0; border-radius: 999px;
  padding: .55rem 1rem; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:active { filter: brightness(.92); }
.btn-ghost { background: var(--card); color: var(--primary); border: 1px solid var(--line); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-sm { padding: .35rem .75rem; font-size: .82rem; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ── recherche ── */
.searchbox { display: flex; gap: .5rem; margin: .5rem 0 .6rem; }
.searchbox input {
  flex: 1; min-width: 0; font: inherit; padding: .7rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text);
}
.searchbox input:focus { outline: 2px solid var(--primary); border-color: transparent; }
.chips { display: flex; gap: .4rem; overflow-x: auto; padding: .1rem 0 .5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: .38rem .8rem;
  font: inherit; font-size: .85rem; cursor: pointer;
}
.chip.is-on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.chip-select { appearance: none; -webkit-appearance: none; padding-right: 1.6rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.result-count { color: var(--muted); font-size: .85rem; margin: .2rem 0 .5rem; }
.results { display: flex; flex-direction: column; gap: .5rem; }
.eco { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: .75rem .9rem; display: flex; gap: .7rem; align-items: center; text-decoration: none; color: inherit; }
.eco:active { background: var(--primary-soft); }
.eco .dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; }
.eco .body { flex: 1; min-width: 0; }
.eco .name { font-weight: 700; margin: 0; }
.eco .sub { color: var(--muted); font-size: .84rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eco .dist { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.eco .star { font-size: 1.1rem; color: var(--accent); }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; color: #fff; vertical-align: middle; margin-right: .25rem; letter-spacing: .02em; }
.b-M { background: var(--mat); } .b-E { background: var(--ele); } .b-P { background: var(--pri); }
.b-REP { background: var(--rep); } .b-REPP { background: var(--repp); } .b-ULIS { background: #475569; } .b-APP { background: #6b7280; }
.dot.M { background: var(--mat); } .dot.E { background: var(--ele); } .dot.P { background: var(--pri); }

/* ── favoris ── */
.fav-list { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
.fav-list::-webkit-scrollbar { display: none; }
.fav { flex: 0 0 82%; max-width: 300px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: .8rem .9rem; border-top: 4px solid var(--primary); }
.fav.M { border-top-color: var(--mat); } .fav.E { border-top-color: var(--ele); } .fav.P { border-top-color: var(--pri); }
.fav .name { font-weight: 700; margin: 0; }
.fav .sub { color: var(--muted); font-size: .84rem; margin: 0 0 .5rem; }
.fav .acts { display: flex; gap: .4rem; flex-wrap: wrap; }
.fav .acts .btn { padding: .35rem .7rem; font-size: .8rem; }

/* ── carte ── */
.map-wrap { margin: 0 -1rem .8rem; }
.map { height: min(60vh, 460px); background: #dfe6ee; }
.leaflet-container { font: inherit; }
.leaflet-popup-content { margin: .6rem .8rem; font-size: .9rem; }
.leaflet-popup-content .name { font-weight: 700; }
.leaflet-popup-content a { display: inline-block; margin-top: .3rem; }
.tuiles-claires { filter: saturate(.55) contrast(.95); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tuiles-claires { filter: saturate(.4) brightness(.85) contrast(1.05); } }

/* ── fiche école ── */
.fiche-head { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem; margin-bottom: .8rem; border-top: 5px solid var(--primary); }
.fiche-head.M { border-top-color: var(--mat); } .fiche-head.E { border-top-color: var(--ele); } .fiche-head.P { border-top-color: var(--pri); }
.fiche-head h1 { margin: .2rem 0 .2rem; }
.fiche-head .addr { color: var(--muted); margin: 0; }
.fiche-head .badges { margin-top: .5rem; }
.back { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); text-decoration: none; font-size: .9rem; margin-bottom: .4rem; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .8rem 0; }
.quick a, .quick button {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .2rem; text-align: center; text-decoration: none; color: var(--text);
  font: inherit; font-size: .78rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .2rem;
}
.quick .qi { font-size: 1.3rem; }
.quick .is-fav { color: var(--accent); }
.kv { display: grid; grid-template-columns: minmax(90px, 32%) 1fr; gap: .35rem .8rem; margin: 0; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.stat-row { display: flex; gap: .8rem; flex-wrap: wrap; margin: .3rem 0 .6rem; }
.stat { flex: 1 1 100px; background: var(--primary-soft); border-radius: 10px; padding: .5rem .7rem; }
.stat b { display: block; font-size: 1.35rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .78rem; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 90px; margin: .4rem 0 .1rem; }
.bars .bar { flex: 1; background: var(--primary); border-radius: 3px 3px 0 0; position: relative; min-height: 2px; }
.bars .bar.last { background: var(--accent); }
.bars .bar i { position: absolute; top: -1.15rem; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .62rem; color: var(--muted); }
.bars-x { display: flex; gap: 4px; }
.bars-x span { flex: 1; text-align: center; font-size: .62rem; color: var(--muted); }
.ips-scale { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #c2410c, #f59e0b 35%, #86efac 60%, #0f766e); margin: 1.2rem 0 .3rem; }
.ips-scale .mk { position: absolute; top: -6px; width: 4px; height: 22px; background: var(--text); border-radius: 2px; transform: translateX(-50%); }
.ips-scale .mk.dep { background: var(--muted); height: 16px; top: -3px; opacity: .8; }
.ips-scale .lab { position: absolute; top: 20px; transform: translateX(-50%); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.pill { display: inline-block; border-radius: 999px; padding: .12rem .55rem; font-size: .78rem; background: var(--primary-soft); color: var(--text); }
.pill.ok { background: #d9f3e3; color: #0b5a34; } .pill.warn { background: #fde4e1; color: #8a1c14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.ok { background: #144d31; color: #b8f0cf; } :root:not([data-theme="light"]) .pill.warn { background: #5a1f1c; color: #ffd0cc; } }
.small { font-size: .85rem; color: var(--muted); }

/* ── calendrier ── */
.card.today { border-left: 5px solid var(--accent); }
.card.today .big { font-size: 1.2rem; font-weight: 700; margin: 0 0 .2rem; }
.card.today .count { color: var(--muted); margin: 0; }
.item .when { font-size: .8rem; color: var(--muted); }
.item.past { opacity: .55; }
.item.now { border-left: 4px solid var(--accent); }

/* ── actus ── */
.actu { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; display: block; }
.actu img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.actu .ab { padding: .75rem .95rem; }
.actu .meta { color: var(--muted); font-size: .78rem; display: flex; gap: .5rem; align-items: center; }
.actu .cat { background: var(--primary-soft); border-radius: 6px; padding: 0 .4rem; }
.actu .cat.x { background: #111; color: #fff; }
.actu h3 { margin: .25rem 0 .3rem; font-size: 1rem; line-height: 1.3; }
.actu p { margin: 0; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty { color: var(--muted); text-align: center; padding: 1.5rem 0; }

/* ── guides ── */
.guide { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: .6rem; }
.guide summary { list-style: none; cursor: pointer; padding: .9rem 1rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 1.3rem; transform: rotate(90deg); transition: transform .15s; }
.guide[open] summary::after { transform: rotate(-90deg); }
.g-ico { font-size: 1.2rem; }
.g-body { padding: 0 1rem 1rem; font-size: .95rem; }
.g-body p, .g-body ul, .g-body ol { margin: .5rem 0; }
.g-body li { margin-bottom: .3rem; }
.g-contact { background: var(--primary-soft); border-radius: 10px; padding: .5rem .7rem; }
.tbl { width: 100%; border-collapse: collapse; margin: .4rem 0; font-size: .92rem; }
.tbl th, .tbl td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--muted); font-weight: 600; font-size: .8rem; }

/* ── agir ── */
.mine { background: linear-gradient(135deg, var(--primary-soft), transparent); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: .8rem; }
.mine h3 { margin: 0 0 .4rem; font-size: 1rem; }
.ia-bas { font-size: .8rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: .7rem; }

/* ── barre d'onglets ── */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--card); border-top: 1px solid var(--line);
  display: flex; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 600; }
.tabbar a .t-ico { font-size: 1.35rem; line-height: 1; filter: grayscale(1); opacity: .75; }
.tabbar a.is-on { color: var(--primary); }
.tabbar a.is-on .t-ico { filter: none; opacity: 1; }

/* ── toast ── */
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 12px); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 999px; font-size: .88rem; z-index: 1100; box-shadow: var(--shadow); max-width: 92vw; display: flex; gap: .8rem; align-items: center; }
.toast button { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: .3rem .7rem; font-weight: 700; cursor: pointer; }

@media (min-width: 720px) {
  .quick a, .quick button { font-size: .85rem; }
  .fav { flex-basis: 48%; }
}

/* ═══════════ comptes, salons, assistance (social.js) ═══════════ */
.tabbar a { font-size: .64rem; position: relative; }
.badge-n { position: absolute; top: 4px; right: calc(50% - 22px); background: var(--warn); color: #fff; font-size: .62rem; font-weight: 700; border-radius: 999px; padding: 0 .35rem; min-width: 16px; text-align: center; line-height: 16px; }
#btn-compte.is-auth { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); font-size: .78rem; letter-spacing: .02em; }

.form { display: flex; flex-direction: column; gap: .7rem; }
.field { display: flex; flex-direction: column; gap: .25rem; }
.field label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.input, .select, .textarea { font: inherit; padding: .65rem .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); width: 100%; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: .25rem; }
.form-err { background: #fde4e1; color: #8a1c14; border-radius: 10px; padding: .5rem .7rem; font-size: .88rem; }
.form-ok { background: #d9f3e3; color: #0b5a34; border-radius: 10px; padding: .5rem .7rem; font-size: .88rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-err { background: #5a1f1c; color: #ffd0cc; } :root:not([data-theme="light"]) .form-ok { background: #144d31; color: #b8f0cf; } }
.seg { display: flex; background: var(--primary-soft); border-radius: 999px; padding: 3px; margin-bottom: .8rem; }
.seg button { flex: 1; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; padding: .45rem; border-radius: 999px; cursor: pointer; }
.seg button.is-on { background: var(--card); box-shadow: var(--shadow); color: var(--primary); }
.code-input { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.role-badge { display: inline-block; font-size: .68rem; font-weight: 700; padding: .1rem .4rem; border-radius: 6px; background: var(--accent); color: var(--accent-ink); vertical-align: middle; }
.role-badge.admin { background: var(--repp); color: #fff; }
.pill.st-ouvert { background: #fde4e1; color: #8a1c14; } .pill.st-en_cours { background: #fff3c4; color: #6b4b00; } .pill.st-resolu { background: #d9f3e3; color: #0b5a34; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.st-ouvert { background: #5a1f1c; color: #ffd0cc; } :root:not([data-theme="light"]) .pill.st-en_cours { background: #5a4300; color: #ffe08a; } :root:not([data-theme="light"]) .pill.st-resolu { background: #144d31; color: #b8f0cf; } }
.room { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: .7rem .9rem; display: flex; gap: .7rem; align-items: center; text-decoration: none; color: inherit; }
.room:active { background: var(--primary-soft); }
.room .ico { font-size: 1.3rem; }
.room .body { flex: 1; min-width: 0; }
.room .title { font-weight: 700; margin: 0; }
.room .sub { color: var(--muted); font-size: .82rem; margin: 0; }
.room .on { font-size: .75rem; color: var(--ok); white-space: nowrap; }
.rooms { display: flex; flex-direction: column; gap: .5rem; }
details.more > summary { cursor: pointer; color: var(--primary); font-size: .9rem; padding: .4rem 0; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }

/* salon */
.chat-head { position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 5; background: var(--bg); padding: .3rem 0 .5rem; }
.chat-head .title { font-weight: 700; font-size: 1.05rem; margin: 0; }
.chat-head .sub { color: var(--muted); font-size: .82rem; margin: 0; }
.chat-head .actions { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }
.chat { display: flex; flex-direction: column; gap: .45rem; padding-bottom: 96px; }
.msg { max-width: 86%; align-self: flex-start; background: var(--card); border-radius: 16px 16px 16px 4px; padding: .5rem .75rem; box-shadow: var(--shadow); position: relative; }
.msg.mine { align-self: flex-end; background: var(--primary); color: var(--primary-ink); border-radius: 16px 16px 4px 16px; }
.msg.mine a { color: inherit; }
.msg .who { font-size: .72rem; font-weight: 700; opacity: .85; margin: 0 0 .1rem; display: flex; gap: .4rem; align-items: center; }
.msg .txt { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.msg .when { font-size: .66rem; opacity: .7; margin: .15rem 0 0; text-align: right; }
.msg.sys { align-self: center; background: transparent; box-shadow: none; color: var(--muted); font-size: .8rem; font-style: italic; }
.msg.del .txt { font-style: italic; opacity: .7; }
.msg .more { position: absolute; top: 2px; right: 4px; background: transparent; border: 0; color: inherit; opacity: .5; font-size: 1rem; cursor: pointer; padding: 0 .2rem; }
.msg .menu { position: absolute; right: 4px; top: 24px; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); z-index: 6; display: flex; flex-direction: column; min-width: 150px; }
.msg .menu button { background: transparent; border: 0; text-align: left; padding: .5rem .8rem; font: inherit; cursor: pointer; color: inherit; }
.msg .menu button:active { background: var(--primary-soft); }
.day-sep { align-self: center; font-size: .72rem; color: var(--muted); background: var(--primary-soft); border-radius: 999px; padding: .1rem .6rem; margin: .3rem 0; }
.composer { position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); padding: .5rem .75rem; z-index: 900; }
.composer .in { max-width: 720px; margin: 0 auto; display: flex; gap: .5rem; align-items: flex-end; }
.composer textarea { flex: 1; font: inherit; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: .55rem .8rem; min-height: 40px; max-height: 120px; resize: none; }
.composer button { width: 44px; height: 40px; border-radius: 50%; border: 0; background: var(--primary); color: var(--primary-ink); font-size: 1.1rem; cursor: pointer; flex: 0 0 44px; }
.composer button:disabled { opacity: .5; }
.composer .hint { max-width: 720px; margin: .25rem auto 0; font-size: .7rem; color: var(--muted); text-align: center; }
.mine-card { border-left: 4px solid var(--accent); }
.tbl-admin { width: 100%; border-collapse: collapse; font-size: .82rem; }
.tbl-admin td { padding: .35rem .3rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl-admin select, .tbl-admin button { font: inherit; font-size: .78rem; }

/* combats du Collectif */
ol.combats { padding-left: 1.3rem; margin: .6rem 0 .8rem; }
ol.combats li { margin-bottom: .55rem; font-size: .95rem; }
ol.combats li::marker { color: var(--primary); font-weight: 700; }
