/* EvoluiQ v6.9.201: somente a janela de novo paciente */
#eq201Modal{position:fixed;inset:0;z-index:200001;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,24,28,.68);backdrop-filter:blur(3px);box-sizing:border-box}
#eq201Modal *{box-sizing:border-box}
#eq201Modal .eq201-card{width:min(900px,100%);height:min(92dvh,960px);max-height:92dvh;display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#123c41;border-radius:19px;border:1px solid #c7e1da;box-shadow:0 28px 100px #001d2480;font-family:Inter,system-ui,-apple-system,sans-serif}
#eq201Modal .eq201-head{flex:none;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#087e70;color:#fff;padding:18px 22px}
#eq201Modal .eq201-head h2{font-size:23px;color:#fff!important;margin:0;letter-spacing:-.4px}
#eq201Modal .eq201-close{border:0;background:transparent;color:#fff;font-size:29px;cursor:pointer;line-height:1;padding:0 5px}
#eq201Modal .eq201-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:19px 24px 24px}
#eq201Modal .eq201-section{margin-top:20px;border-top:1px solid #dae8e4;padding-top:19px}
#eq201Modal .eq201-section h3{font-size:18px;margin:0 0 15px;color:#183f45;font-weight:750}
#eq201Modal .eq201-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#eq201Modal .eq201-wide{grid-column:1/-1}
#eq201Modal label{display:block;font-size:13px;line-height:1.3;font-weight:650;color:#24484a;margin:0}
#eq201Modal input,#eq201Modal select{display:block;width:100%;min-width:0;min-height:45px;margin:6px 0 0;padding:11px 12px;border:1px solid #c5d9d7;border-radius:10px;background:white;color:#173d40;font-size:15px;font-family:inherit;font-weight:450}
#eq201Modal input:focus,#eq201Modal select:focus{outline:2px solid #10aa91;outline-offset:1px}
#eq201Modal .eq201-photo{display:flex;gap:16px;align-items:center}
#eq201Modal .eq201-photo-preview{width:90px;height:90px;flex:none;background:#e2f4ee;display:grid;place-items:center;border-radius:17px;color:#078674;overflow:hidden;font-size:45px}
#eq201Modal .eq201-photo-preview img{height:100%;width:100%;object-fit:cover}
#eq201Modal .eq201-photo-label{padding:10px;border:1px dashed #9accc2;border-radius:10px;cursor:pointer;color:#147c6e}
#eq201Modal .eq201-photo-label input{font-size:12px;border:0;padding:5px;min-height:0}
#eq201Modal .eq201-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #d6e7e2;padding:15px 22px;background:#f5faf8}
#eq201Modal .eq201-error{color:#b32626;font-size:13px;line-height:1.35;max-width:420px}
#eq201Modal .eq201-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
#eq201Modal .eq201-btn{cursor:pointer;min-height:43px;width:auto!important;padding:10px 18px!important;border-radius:10px!important;border:1px solid #a7c9c1!important;background:#fff!important;color:#214f48!important;font-size:14px;font-weight:750}
#eq201Modal .eq201-btn.primary{background:#078c77!important;border-color:#078c77!important;color:#fff!important}
#eq201Modal .eq201-btn:disabled{opacity:.58;cursor:wait}
#eq201Modal .eq201-cep-status{color:#9f4e22;font-size:12px;min-height:0;margin:5px 0 0}
#eq201Modal input[readonly]{background:#edf3f1;color:#6b8982}
@media(max-width:640px){#eq201Modal{padding:8px}#eq201Modal .eq201-card{height:min(96dvh,1200px);max-height:96dvh;border-radius:13px}#eq201Modal .eq201-body{padding:12px 14px}#eq201Modal .eq201-head{padding:14px 16px}#eq201Modal .eq201-head h2{font-size:20px}#eq201Modal .eq201-grid{grid-template-columns:1fr;gap:10px}#eq201Modal .eq201-wide{grid-column:1}#eq201Modal .eq201-footer{padding:11px 12px;flex-wrap:wrap}#eq201Modal .eq201-error{width:100%;flex-basis:100%}#eq201Modal .eq201-actions{margin-left:auto}}

/* v6.9.202 — blindagem de contraste: o tema escuro legado não atravessa a janela B. */
#eq201Modal .eq201-card,#eq201Modal .eq201-body,#eq201Modal .eq201-section {background-color:#fff!important;color:#173e3b!important;}
#eq201Modal .eq201-section h3,#eq201Modal .eq201-card label,#eq201Modal .eq201-card legend {color:#214b49!important;-webkit-text-fill-color:#214b49!important;opacity:1!important;}
#eq201Modal .eq201-card input:not([type=checkbox]):not([type=radio]),#eq201Modal .eq201-card select {background:#fff!important;background-color:#fff!important;color:#173e3b!important;-webkit-text-fill-color:#173e3b!important;border:1px solid #bcd8d0!important;box-shadow:none!important;opacity:1!important;color-scheme:light;}
#eq201Modal .eq201-card input::placeholder {color:#758e88!important;-webkit-text-fill-color:#758e88!important;opacity:1!important;}
#eq201Modal .eq201-card input:focus-visible,#eq201Modal .eq201-card select:focus-visible {outline:2px solid #0c9e89!important;outline-offset:1px!important;border-color:#0c9e89!important;}
#eq201Modal .eq201-card input[readonly] {background:#edf4f1!important;background-color:#edf4f1!important;color:#466d64!important;-webkit-text-fill-color:#466d64!important;}
#eq201Modal .eq201-photo-label{background:#f6fbf9!important;color:#1b675b!important;-webkit-text-fill-color:#1b675b!important;}
#eq201Modal .eq201-photo-label input[type=file]{padding:6px!important;font-size:12px!important;max-width:100%;}
#eq201Modal .eq201-photo-label input[type=file]::file-selector-button{background:#e4f2ed;color:#1d5149;border:1px solid #b8d7ca;border-radius:6px;padding:5px 9px;margin-right:9px;}
#eq201Modal .eq201-card .eq201-error{color:#ae2b2b!important;-webkit-text-fill-color:#ae2b2b!important;}
#eq201Modal .eq201-card .eq201-cep-status{color:#915018!important;-webkit-text-fill-color:#915018!important;}
#eq201Modal .eq201-card .eq201-head h2{color:#fff!important;-webkit-text-fill-color:#fff!important;}
#eq201Modal .eq201-card .eq201-close{color:#fff!important;-webkit-text-fill-color:#fff!important;}
#eq201Modal .eq201-card .eq201-btn {background:#fff!important;color:#214f48!important;-webkit-text-fill-color:#214f48!important;}
#eq201Modal .eq201-card .eq201-btn.primary {background:#078c77!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}

/* v6.9.223 — ícones consistentes em todas as seções do cadastro. */
#eq201Modal .eq201-head h2,#eq201Modal .eq201-section h3{display:flex;align-items:center;gap:9px}
#eq201Modal .eq223-patient-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle;stroke:currentColor}
#eq201Modal .eq201-head .eq223-patient-icon{width:24px;height:24px;flex-basis:24px;color:#fff}
#eq201Modal .eq201-section .eq223-patient-icon{color:#087e70}
#eq201Modal .eq201-photo-preview .eq223-patient-icon{width:43px;height:43px;color:#087e70;flex-basis:43px}
