:root {color-scheme:light; --navy:#0e2437;--navy2:#18354a;--teal:#4dd4bd;--ink:#192f3f;--muted:#637584;--line:#dce5ea;--back:#f6f9fa;--white:#fff;--shadow:0 16px 52px rgba(13,41,57,.07);font-synthesis:none}
*{box-sizing:border-box}html{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;-webkit-text-size-adjust:100%;background:var(--back)}body{margin:0;color:var(--ink)}button,textarea{font:inherit}.shell{width:min(1060px,calc(100% - 44px));margin-inline:auto}.masthead{background:radial-gradient(ellipse at 88% -30%,#295b68 0%,transparent 42%),linear-gradient(124deg,#0e2437 2%,#173448 88%);color:white;padding-bottom:101px}.topnav{display:flex;align-items:center;justify-content:space-between;padding-top:26px}.identity{display:flex;align-items:center;gap:12px}.mark{height:42px;width:42px;border:1px solid #5db9a6;border-radius:12px;display:grid;place-items:center;background:#22555d;color:#a5f4e2;font-size:32px;line-height:1;font-weight:300}.mark span{transform:translateY(-1px)}.identity strong{display:block;font-size:17px;letter-spacing:.2px}.identity small{color:#aec9d0;font-size:11px;letter-spacing:.65px}.privacy-tag{display:inline-flex;align-items:center;gap:9px;border:1px solid #3d6672;padding:9px 13px;border-radius:24px;color:#c9e3e4;font-size:12px}.privacy-dot{width:7px;height:7px;background:var(--teal);border-radius:50%;box-shadow:0 0 10px #3bbaa0}.intro{padding-top:69px}.eyebrow{font-size:11px;letter-spacing:2.5px;color:#86d6c9;font-weight:700}.intro h1{font-size:clamp(38px,5.6vw,57px);line-height:1.13;font-weight:720;letter-spacing:-2.2px;margin:16px 0 16px}.intro h1 span{color:#9eeadb}.intro p{max-width:620px;line-height:1.72;color:#cfdee3;font-size:15px;margin:0}.workspace{margin-top:-66px;position:relative}.step-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 14px}.step-title{display:flex;align-items:center;gap:12px}.number{color:#3ca892;font-size:12px;font-weight:800;letter-spacing:.5px;border:1px solid #bfded8;border-radius:8px;width:34px;height:34px;display:grid;place-items:center;background:#f0faf8}.step-head h2{font-size:19px;letter-spacing:-.45px;margin:0 0 2px}.step-head p{font-size:12px;color:#9bb1b6;margin:0}.step-head:first-child h2{color:#fff}.step-head:first-child p{color:#c9d8dc}.hint{font-size:12px;color:#cce3e2}.entry-card,.result-card{border-radius:16px;background:#fff;box-shadow:var(--shadow);border:1px solid #dce5e8;overflow:hidden}.entry-card textarea,.result-card textarea{display:block;resize:vertical;border:0;background:#fff;outline:0;width:100%;color:#1c3341;font-size:13px;line-height:1.55;padding:25px;tab-size:2}.entry-card textarea{min-height:222px}.result-card textarea{min-height:272px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,'Liberation Mono',monospace;font-size:12.7px;line-height:1.7}.entry-card textarea:focus,.result-card textarea:focus{box-shadow:inset 0 0 0 2px #6ccdbb}.entry-card textarea::placeholder,.result-card textarea::placeholder{color:#8a9da5}.entry-footer,.result-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;border-top:1px solid #edf1f3;background:#fcfdfd}.entry-footer>span,.result-footer>span{font-size:11px;color:#778b96;max-width:430px;line-height:1.6}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn{border:0;cursor:pointer;border-radius:9px;padding:12px 15px;font-size:12px;font-weight:650;white-space:nowrap;transition:background .15s,transform .15s}.btn:active{transform:scale(.98)}.btn:focus-visible{outline:3px solid #57b7a7;outline-offset:2px}.btn.quiet{background:#f0f4f6;color:#436172}.btn.quiet:hover{background:#e4edf0}.btn.primary{background:#146a68;color:white;padding-inline:19px}.btn.primary:hover{background:#0e5756}.btn.copy{background:#0e2437;color:white;padding:13px 19px}.btn.copy:hover{background:#244153}.btn:disabled{cursor:not-allowed;background:#a9bac1}.result-section{margin-top:37px}.result-section .step-head h2{color:var(--ink)}.result-section .step-head p{color:var(--muted)}.result-count{color:#58717b;font-size:12px}.alerts{padding:14px 17px;margin-top:12px;border:1px solid #eed6a6;background:#fffcf1;color:#785a25;border-radius:10px;font-size:12px;line-height:1.65;white-space:pre-line}.note{display:flex;gap:14px;margin:24px 0 48px;padding:19px 20px;background:#eef6f6;border:1px solid #d5e6e4;border-radius:12px}.note-icon{border:1px solid #96c5bd;color:#207d73;min-width:24px;width:24px;height:24px;border-radius:100px;text-align:center;line-height:22px;font-size:13px;font-weight:bold}.note strong{font-size:13px}.note p{font-size:12px;color:#4f6c72;line-height:1.65;margin:7px 0 0}.footer{display:flex;align-items:center;justify-content:space-between;padding-bottom:25px;gap:15px;font-size:11px;color:#8195a0}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.entry-footer{align-items:stretch;flex-direction:column}.actions{justify-content:flex-end}}
@media(max-width:600px){.shell{width:calc(100% - 28px)}.masthead{padding-bottom:86px}.topnav{padding-top:19px}.identity strong{font-size:15px}.privacy-tag{font-size:0;gap:0;padding:9px}.privacy-dot{width:9px;height:9px}.intro{padding-top:52px}.intro h1{letter-spacing:-1.4px;margin:13px 0}.intro p{font-size:13px}.workspace{margin-top:-57px}.step-head{gap:6px;align-items:flex-end}.hint{display:none}.step-title{gap:8px}.step-head h2{font-size:17px}.number{width:30px;height:30px;flex-shrink:0}.entry-card textarea,.result-card textarea{padding:16px;font-size:12px}.entry-card textarea{min-height:206px}.result-card textarea{min-height:270px;font-size:11.5px}.entry-footer,.result-footer{padding:13px;flex-direction:column;align-items:stretch}.actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.actions .primary{grid-column:1/3}.btn{padding:13px 8px}.result-footer .copy{width:100%}.result-count{font-size:10px;text-align:right;max-width:110px}.note{margin-bottom:33px;padding:15px}.footer{flex-direction:column;gap:6px;align-items:flex-start}}

/* 1.1: sorties ASCII compatibles logiciels de dossier patient */
.output-mode-bar{padding:17px 20px 10px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;flex-wrap:wrap}
.output-mode-label{display:flex;flex-direction:column;gap:3px}
.output-mode-label strong{font-size:13px;color:#203d4e}
.output-mode-label span{font-size:11px;color:#6d818c}
.output-mode-switch{display:flex;align-items:center;gap:4px;background:#f0f4f6;border:1px solid #dfe8eb;border-radius:11px;padding:4px}
.output-mode-btn{font:inherit;font-size:12px;font-weight:650;border:0;border-radius:8px;padding:10px 13px;color:#59717d;background:transparent;cursor:pointer}
.output-mode-btn.selected{background:#145e60;color:#fff;box-shadow:0 1px 4px #0001}
.output-mode-btn:focus-visible{outline:3px solid #57b7a7;outline-offset:2px}
.mode-help{font-size:11px;line-height:1.5;color:#54707b;background:#f7fafb;margin:0;padding:8px 20px;border-bottom:1px solid #e9eff1}
@media(max-width:600px){.output-mode-bar{padding:13px;align-items:stretch;flex-direction:column;gap:11px}.output-mode-switch{width:100%}.output-mode-btn{flex:1;padding:11px 6px;font-size:11px}.mode-help{padding:9px 13px}}
