/* Courriel MCP · Informatique Connect : une console sombre, des LED, des touches en relief. Polices du système, rien de chargé ailleurs. */
:root {
  --bg: #060809; --panel: #101315; --panel-2: #161a1c; --ink: #edf2f2; --muted: #95a2a4; --faint: #677476; --line: #222a2d;
  --accent: #25b4c2; --lcd: #061214; --lcd-ink: #66e3ef; --good: #4bc97d; --edit: #ffa64d; --bad: #ff6b6b;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--ink); font: 15.5px/1.55 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: radial-gradient(1200px 600px at 15% -10%, rgba(37, 180, 194, .1), transparent 60%), var(--bg); }
a { color: var(--lcd-ink); }
code { font: 600 13.5px/1.4 var(--mono); color: var(--lcd-ink); background: var(--lcd); padding: 2px 7px; border-radius: 6px; overflow-wrap: anywhere; }
.haut { position: sticky; top: 0; z-index: 2; padding: 14px 20px; background: rgba(6, 8, 9, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: 13px; }
.marque small { color: var(--muted); font-weight: 700; letter-spacing: .14em; }
main { max-width: 1080px; margin: 0 auto; padding: 34px 20px 60px; }
h1 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
.sur { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: var(--lcd-ink); }
.chapo { margin: 0 0 26px; max-width: 64ch; color: var(--muted); font-size: 17px; }
.note { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }
.erreur { color: var(--bad); font-weight: 700; }
.led { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2a3236; }
.led.ok { background: var(--good); box-shadow: 0 0 8px var(--good); }
.led.orange { background: var(--edit); box-shadow: 0 0 8px var(--edit); }
.led.rouge { background: var(--bad); box-shadow: 0 0 8px var(--bad); }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; margin-bottom: 18px; }
.baie { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden; margin: 0 0 18px; }
.baie-titre { display: flex; align-items: center; gap: 9px; margin: 0; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.corps { padding: 16px 20px 20px; }
.lignes, .journal { list-style: none; margin: 0; padding: 6px 0; }
.lignes li { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.lignes li > span { display: grid; flex: 1; min-width: 0; }
.lignes small { color: var(--muted); font-size: 12.5px; }
.lignes b { overflow-wrap: anywhere; }
.vide { color: var(--faint); padding: 18px 20px !important; }
.journal li { display: grid; grid-template-columns: 92px 110px 1fr; gap: 12px; padding: 9px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.journal .quand { font: 600 12.5px/1.6 var(--mono); color: var(--faint); }
.outil { justify-self: start; padding: 2px 9px 1px; border-radius: 3px; background: #ecebe6; color: #0d0f10; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-1.4deg); }
.outil-envoyer { background: var(--edit); }
.outil-corbeille, .outil-coupure { background: var(--bad); color: #1c0505; }
.formulaire { display: grid; gap: 14px; max-width: 520px; }
.formulaire label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
input:not([type="checkbox"]) { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #343a3e; background: #0b0d0f; color: var(--ink); font: 500 16px/1.3 inherit; letter-spacing: 0; text-transform: none; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
details summary { cursor: pointer; color: var(--muted); font-size: 13.5px; }
details label { margin-top: 10px; }
.lcd { position: relative; margin: 10px 0; padding: 14px 16px; border-radius: 14px; background: var(--lcd); color: var(--lcd-ink); font: 700 20px/1.4 var(--mono); letter-spacing: .08em; box-shadow: inset 0 3px 12px rgba(0, 0, 0, .7); overflow-wrap: anywhere; }
.touches { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 20px 20px; }
.cases { display: grid; gap: 10px; padding: 16px 20px; }
.coche { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); cursor: pointer; }
.coche input { appearance: none; flex: none; position: relative; width: 40px; height: 24px; margin: 0; border-radius: 12px; border: 1px solid #3b4247; background: #14171a; cursor: pointer; }
.coche input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #9aa2a6; transition: transform .2s, background .2s; }
.coche input:checked { border-color: var(--good); }
.coche input:checked::after { transform: translateX(16px); background: var(--good); box-shadow: 0 0 8px var(--good); }
.baie .note { padding: 0 20px 16px; margin: 0; }
.bouton { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 13px;
  border: 1px solid #0a0c0d; color: var(--ink); background: linear-gradient(180deg, #343c41 0%, #262c30 100%); font: 800 15px/1 inherit; cursor: pointer; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 3px 0 #050607, 0 8px 18px -10px rgba(0, 0, 0, .9); --lampe: #dfe7ea; }
.bouton::before { content: ""; position: absolute; top: 5px; left: 50%; width: 18px; height: 3px; margin-left: -9px; border-radius: 2px; background: var(--lampe); box-shadow: 0 0 8px var(--lampe); }
.bouton:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 0 #050607; }
.bouton.vert { --lampe: var(--good); }
.bouton.rouge { --lampe: var(--bad); }
.bouton.petit { min-height: 36px; padding: 0 14px; font-size: 13px; }
@media (max-width: 600px) { .journal li { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .coche input::after { transition: none; } }
