.ehr-app{--orange:#f57c00;--orange-dark:#d96300;--ink:#171717;--muted:#626262;--line:#e8e3dc;--cream:#fffaf4;--green:#137a43;--red:#b42318;max-width:1080px;margin:24px auto;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);box-sizing:border-box}.ehr-app *{box-sizing:border-box}.ehr-privacy{display:flex;gap:12px;align-items:flex-start;background:#effbf3;border:1px solid #bce5ca;border-radius:14px;padding:14px 16px;margin-bottom:14px;color:#14532d}.ehr-privacy__icon{font-size:22px}.ehr-privacy strong,.ehr-privacy span{display:block}.ehr-privacy span{font-size:13px;margin-top:2px;line-height:1.45}.ehr-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 34px rgba(40,29,17,.08);overflow:hidden}.ehr-header{text-align:center;background:linear-gradient(135deg,#fff8ee,#fff);padding:28px 20px 20px;border-bottom:1px solid var(--line)}.ehr-kicker{display:inline-block;color:var(--orange-dark);font-weight:800;font-size:12px;letter-spacing:.03em;text-transform:uppercase}.ehr-header h2{font-size:clamp(25px,4vw,38px);margin:7px 0 6px;line-height:1.15}.ehr-header p{margin:0;color:var(--muted);font-size:15px}.ehr-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;background:#fafafa;border-bottom:1px solid var(--line);padding:12px 18px}.ehr-steps span{text-align:center;color:#888;font-size:12px;font-weight:700;padding:7px;border-radius:20px}.ehr-steps span.is-active{background:#fff0df;color:var(--orange-dark)}.ehr-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}.ehr-controls,.ehr-preview-panel{padding:24px}.ehr-controls{border-right:1px solid var(--line)}.ehr-type{border:0;margin:0 0 18px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.ehr-type legend,.ehr-label{font-weight:800;font-size:14px;margin-bottom:8px}.ehr-type legend{grid-column:1/-1}.ehr-type input{position:absolute;opacity:0;pointer-events:none}.ehr-type span{display:block;text-align:center;border:1.5px solid var(--line);border-radius:12px;padding:13px 8px;font-weight:750;cursor:pointer;background:#fff}.ehr-type input:checked+span{border-color:var(--orange);background:#fff4e8;color:#9a4800;box-shadow:0 0 0 2px rgba(245,124,0,.08)}.ehr-label{display:block}.ehr-input{width:100%;min-height:46px;border:1.5px solid #d9d4cc;border-radius:10px;background:#fff;padding:10px 12px;font-size:16px;color:var(--ink)}.ehr-input:focus{outline:0;border-color:var(--orange);box-shadow:0 0 0 3px rgba(245,124,0,.13)}.ehr-preset-note{font-size:12.5px;line-height:1.45;color:var(--muted);margin:7px 2px 15px;min-height:18px}.ehr-upload{display:flex;min-height:145px;border:2px dashed #f1ad67;background:var(--cream);border-radius:14px;align-items:center;justify-content:center;text-align:center;flex-direction:column;padding:18px;cursor:pointer}.ehr-upload.is-dragging{background:#fff0df;border-color:var(--orange)}.ehr-upload input{position:absolute;width:1px;height:1px;opacity:0}.ehr-upload__icon{font-size:28px;margin-bottom:5px}.ehr-upload strong{font-size:16px}.ehr-upload small{color:var(--muted);margin-top:4px}.ehr-advanced-toggle,.ehr-link-button{width:100%;border:0;background:transparent;color:#4b4b4b;font-weight:750;padding:15px 2px;text-align:left;cursor:pointer}.ehr-advanced-toggle{display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.ehr-advanced{background:#fafafa;border:1px solid var(--line);border-radius:12px;padding:14px;margin-top:10px}.ehr-mode-row{display:flex;gap:18px;margin-bottom:14px;font-weight:700}.ehr-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.ehr-fields label,.ehr-advanced>label{font-size:12px;font-weight:700;color:#525252}.ehr-fields .ehr-input{margin-top:5px}.ehr-check{display:flex!important;gap:8px;align-items:center;margin:3px 0 13px}.ehr-range-line{display:flex;align-items:center;gap:12px;margin-top:7px}.ehr-range-line input{width:100%;accent-color:var(--orange)}.ehr-range-line output{min-width:46px;font-size:14px}.ehr-primary,.ehr-download{display:block;width:100%;border:0;border-radius:11px;background:var(--orange);color:#fff!important;text-align:center;text-decoration:none;font-weight:850;font-size:16px;padding:14px 18px;margin-top:16px;cursor:pointer;box-shadow:0 5px 13px rgba(245,124,0,.22)}.ehr-primary:hover,.ehr-download:hover{background:var(--orange-dark)}.ehr-primary:disabled{background:#c7c2bc;box-shadow:none;cursor:not-allowed}.ehr-link-button{text-align:center;color:var(--orange-dark);padding-bottom:0}.ehr-preview-panel{background:#fdfdfd;min-height:430px}.ehr-empty{height:100%;min-height:330px;border:1px dashed #ddd4c9;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#858585;text-align:center}.ehr-empty>span{font-size:42px;filter:grayscale(1);opacity:.55}.ehr-empty strong{margin-top:7px}.ehr-empty small{margin-top:4px}.ehr-image-wrap{background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 50%/18px 18px;border:1px solid var(--line);border-radius:13px;padding:10px;display:flex;align-items:center;justify-content:center;min-height:250px;overflow:hidden}.ehr-image-wrap img{display:block;max-width:100%;max-height:330px;object-fit:contain}.ehr-stats{display:grid;grid-template-columns:1fr 1fr;margin:12px 0 0;gap:8px}.ehr-stats div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px}.ehr-stats dt{font-size:11px;color:#777;text-transform:uppercase;font-weight:800}.ehr-stats dd{font-size:12px;font-weight:750;margin:3px 0 0;overflow-wrap:anywhere}.ehr-status{border-radius:10px;padding:12px;margin-top:12px;font-size:13px;font-weight:700;background:#fff7e8;color:#814500}.ehr-status.is-error{background:#fff0ef;color:var(--red)}.ehr-result{border-top:1px solid var(--line);margin-top:15px;padding-top:14px}.ehr-result h3{font-size:16px;margin:0 0 8px}.ehr-result ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}.ehr-result li{font-size:13px;padding:7px 9px;background:#f5f5f5;border-radius:8px}.ehr-result li.is-pass{color:var(--green);background:#effbf3}.ehr-result li.is-warn{color:#914f00;background:#fff7e8}.ehr-disclaimer{border-top:1px solid var(--line);color:#696969;font-size:12px;line-height:1.5;padding:13px 20px;margin:0;background:#fafafa;text-align:center}@media(max-width:760px){.ehr-app{margin:14px 0}.ehr-card{border-radius:15px}.ehr-header{padding:22px 15px 17px}.ehr-header h2{font-size:27px}.ehr-grid{grid-template-columns:1fr}.ehr-controls,.ehr-preview-panel{padding:17px}.ehr-controls{border-right:0;border-bottom:1px solid var(--line)}.ehr-preview-panel{min-height:0}.ehr-empty{min-height:245px}.ehr-image-wrap{min-height:220px}.ehr-steps{padding:9px}.ehr-steps span{font-size:11px;padding:6px 2px}.ehr-fields{gap:8px}.ehr-privacy{border-radius:12px;margin:0 0 10px}.ehr-primary,.ehr-download{min-height:50px}.ehr-input{font-size:16px}}@media(max-width:380px){.ehr-fields{grid-template-columns:1fr}.ehr-stats{grid-template-columns:1fr}.ehr-type span{padding:11px 5px;font-size:14px}}

