/* Dictaphone — palette et polices de World (InnovLia Entreprise). */
:root{color-scheme:dark;--bg:#111827;--panel:#1a2435;--panel2:#202c40;--ink:#f7f4ec;--muted:#c3cdd9;--line:rgba(232,240,255,.13);--accent:#f9bd66;--aqua:#69ded7;--red:#ef5a4f}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;background:radial-gradient(circle at 80% 8%,#1b2b42 0,#111827 34%,#101724 100%);color:var(--ink);font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
main{max-width:1180px;margin:0 auto;padding:14px clamp(16px,4vw,56px) 60px}
h1,h2{font-family:Fraunces,Georgia,serif;letter-spacing:-.02em;margin:0}
button,input{font:inherit}
a{color:var(--aqua)}
.loading{color:var(--muted);text-align:center;padding:80px 0}
.eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.2em;color:var(--aqua);margin:0 0 10px}
.hint{color:var(--muted);font-size:14px;line-height:1.5}
.card{background:linear-gradient(160deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:20px;padding:22px}
.card.center{max-width:560px;margin:40px auto;text-align:center}
.hero{padding:30px 0 10px}.hero h1{font-size:clamp(36px,6vw,62px);line-height:1.05;font-weight:700}.hero h1 em{font-style:normal;color:var(--accent)}
.hero p{max-width:660px;color:var(--muted);font-size:17px;line-height:1.55;margin:18px 0 0}
.create{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;max-width:680px}
input{background:#111c2b;border:1px solid #34455b;border-radius:12px;color:var(--ink);padding:0 14px;min-height:50px}
input:focus{outline:2px solid var(--aqua);border-color:transparent}
.create input{flex:1;min-width:220px}
.primary,.ghost,.danger{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;font-weight:800;cursor:pointer;text-decoration:none;min-height:46px;padding:0 18px}
.primary{border:0;background:var(--accent);color:#172132;font-size:16px}.primary:hover{background:#ffcf85}.primary.small{min-height:40px;font-size:14px;padding:0 14px}
.ghost{border:1px solid rgba(232,240,255,.25);background:#1f2b3f;color:var(--ink);font-size:14px}.ghost:hover{border-color:var(--aqua)}
.danger{border:1px solid #764758;background:#3a2229;color:#ffd4d9;font-size:14px}
.big{min-height:60px;font-size:18px;width:100%}
.row{display:flex;flex-wrap:wrap;gap:8px}
.mine{margin-top:40px}.mine h2{font-size:24px;margin-bottom:12px}.mine-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.mine-item{display:flex;justify-content:space-between;gap:10px;padding:16px;border-radius:14px;background:linear-gradient(160deg,var(--panel2),var(--panel));border:1px solid var(--line);color:var(--ink);text-decoration:none}.mine-item span{color:var(--aqua);font-weight:700}
.head{display:flex;justify-content:space-between;align-items:end;gap:14px;flex-wrap:wrap;margin:10px 0 18px}.head h1{font-size:clamp(28px,4vw,42px)}
.grid{display:grid;grid-template-columns:380px minmax(0,1fr);gap:20px;align-items:start}
.liste-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.liste-head h2{font-size:24px}
.live{font-size:13px;font-weight:800;color:var(--muted)}.live.on{color:var(--aqua)}
.vide{color:var(--muted);text-align:center;padding:40px 10px;line-height:1.7}
.rec{border:1px solid var(--line);background:#111c2b;border-radius:14px;padding:14px;margin-bottom:10px;display:grid;gap:10px}
.rec.nouveau{border-color:var(--accent);box-shadow:0 0 0 3px #f9bd6640;animation:arrive 1.2s ease}
@keyframes arrive{0%{transform:translateY(-8px);opacity:0}100%{transform:none;opacity:1}}
.rec-head{display:grid;gap:4px}.rec-head small{color:var(--muted)}
.titre{min-height:40px;background:transparent;border-color:transparent;font-weight:800;font-size:16px;padding:0 6px}.titre:hover{border-color:#34455b}
audio{width:100%}
/* le téléphone */
body.phone-page .jx-top{padding-top:12px;padding-bottom:12px}
.phone{max-width:460px;margin:0 auto;padding:18px 4px 40px;display:grid;gap:16px;text-align:center;justify-items:center}
.phone h1{font-size:32px}
.timer{font:700 64px/1 Fraunces,Georgia,serif;font-variant-numeric:tabular-nums;margin-top:10px}
.niveau{width:100%;max-width:360px;height:60px}
.rec-btn,.stop-btn{width:132px;height:132px;border-radius:50%;border:6px solid #f7f4ec33;background:#1f2b3f;display:grid;place-items:center;cursor:pointer;box-shadow:0 12px 30px #0006}
.rec-btn span{width:84px;height:84px;border-radius:50%;background:var(--red)}
.rec-btn:active span{transform:scale(.94)}.rec-btn:disabled{opacity:.3}
.stop-btn{width:96px;height:96px}.stop-btn span{width:36px;height:36px;border-radius:8px;background:var(--red)}
.ctrl{display:grid;grid-template-columns:1fr 96px;gap:14px;align-items:center;width:100%}
.progress{width:100%;height:14px;border-radius:99px;background:#111c2b;overflow:hidden}.progress i{display:block;height:100%;width:0;background:var(--aqua);transition:width .2s}
.sent{width:110px;height:110px;border-radius:50%;background:var(--aqua);color:#10202c;display:grid;place-items:center;font-size:64px;font-weight:800;margin-top:20px}
.phone input{width:100%}
.file{display:block;color:var(--muted);font-size:14px;cursor:pointer;margin-top:10px}.file input{display:block;margin:8px auto 0;min-height:0;padding:10px;width:auto;max-width:100%}
.error{color:#ffd4d9;background:#3a2229;border:1px solid #764758;border-radius:10px;padding:10px 12px;font-size:14px;width:100%}
@media(max-width:900px){.grid{grid-template-columns:1fr}}
/* la transcription */
.reglages{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;background:#111c2b;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin-bottom:12px;font-size:14px}
.reglages label{display:flex;align-items:center;gap:8px;font-weight:700}.reglages select{background:#1f2b3f;color:var(--ink);border:1px solid #34455b;border-radius:8px;padding:6px 8px}
.check input{width:18px;height:18px;min-height:0;accent-color:var(--aqua)}
.tr:empty{display:none}.tr-prog{display:grid;gap:6px;font-size:14px;color:var(--muted)}
.texte{background:#0e1622;border:1px solid var(--line);border-radius:12px;padding:10px 14px}.texte summary{cursor:pointer;font-weight:800;color:var(--aqua)}
.texte-corps{max-height:320px;overflow:auto;margin:8px 0;line-height:1.6;font-size:15px;color:#e8edf3}.texte-corps p{margin:0 0 10px}
.texte .row{margin-top:6px}
/* l'enregistreur dans la page de session */
.enreg-card{padding:18px}.enreg-card h2{font-size:22px;margin-bottom:4px}
.enreg-card .phone{padding:4px 0 0;gap:12px}.enreg-card .timer{font-size:48px;margin-top:4px}
.enreg-card .rec-btn{width:110px;height:110px}.enreg-card .rec-btn span{width:70px;height:70px}
.enreg-card .check{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px}
.autre{margin-top:14px;padding:16px}.autre summary{cursor:pointer;font-weight:800;color:var(--aqua)}.autre[open] summary{margin-bottom:12px}
.autre .jx-invite{box-shadow:none;padding:0;background:none;border:0}
