.maternal-panel,.emergency-form,.emergency-preview,.emergency-sources{padding:22px}.maternal-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.maternal-head h2,.emergency-form h2,.emergency-preview h2{margin:0 0 10px}.maternal-head p,.maternal-help,.emergency-note,.emergency-preview p{color:#60766f;line-height:1.5}.maternal-head label,.emergency-grid label{display:grid;gap:6px;font-weight:700;color:#33544c}.maternal-head select,.emergency-grid input,.emergency-preview textarea{width:100%;padding:10px;border:1px solid #c8dad4;border-radius:9px;font:inherit;background:#fff;color:#213b34}.maternal-links,.emergency-sources{display:flex;gap:18px;flex-wrap:wrap}.maternal-links a,.emergency-sources a{color:#147965;font-weight:700}#lactationManual{width:100%;height:75vh;min-height:520px;border:1px solid #d2e1dc;border-radius:10px;background:#f3f7f5}.emergency-tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.emergency-tabs button{border:1px solid #c8dad4;border-radius:10px;padding:10px 16px;background:white;color:#355b50;font:inherit;font-weight:700;cursor:pointer}.emergency-tabs button.active{background:#daf1e9;border-color:#187b66;color:#126551}.emergency-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:16px;align-items:start}.emergency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.emergency-form fieldset{border:1px solid #d5e3de;border-radius:10px;margin:20px 0;padding:14px}.emergency-form legend{font-weight:700}.emergency-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.emergency-checks label{display:flex;gap:8px;align-items:center}.emergency-checks input{accent-color:#187b66}.emergency-preview textarea{min-height:350px;resize:vertical;line-height:1.5}.emergency-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.emergency-sources{margin-top:16px}.emergency-form [hidden]{display:none!important}@media(max-width:800px){.emergency-layout{grid-template-columns:1fr}.maternal-head{display:block}.maternal-head label{margin-top:12px}.emergency-grid,.emergency-checks{grid-template-columns:1fr}#lactationManual{min-height:400px}}
#orthopedicsCodeDialog .ophthalmology-modal-scroll{display:grid;grid-template-columns:minmax(310px,1fr) minmax(280px,1fr);gap:12px;align-items:start}#orthopedicsCodeDialog .ortho-map-layout{grid-row:span 2}#orthopedicsCodeDialog .ophthalmology-code-grid{grid-template-columns:1fr}#orthopedicsCodeDialog .ophthalmology-procedure-list[hidden]{display:none}#orthopedicsCodeDialog .ophthalmology-procedure-list{margin-top:0}.ortho-map{position:relative;height:480px;border:1px solid #dbe8e3;border-radius:14px;background:linear-gradient(#fff,#f5faf8);overflow:hidden}.ortho-map img{position:absolute;left:50%;top:3%;height:94%;max-width:60%;transform:translateX(-50%);object-fit:contain}.ortho-region{position:absolute;z-index:1;width:112px;padding:7px 4px;border:1px solid #c5d9d2;border-radius:9px;background:#fff;color:#315c50;font:inherit;font-size:11px;font-weight:750;cursor:pointer;box-shadow:0 2px 6px #29483815}.ortho-region:after{content:'';position:absolute;top:50%;width:22px;height:1px;background:#84a69c}.ortho-region:nth-of-type(odd){left:2%}.ortho-region:nth-of-type(odd):after{left:100%}.ortho-region:nth-of-type(even){right:2%}.ortho-region:nth-of-type(even):after{right:100%}.ortho-region.active{background:#def3ea;border-color:#177c66;color:#0c604d}.ortho-region:focus-visible{outline:3px solid #a8d9c9}.ortho-region.clavicula,.ortho-region.ombro{top:17%}.ortho-region.cotovelo{top:33%}.ortho-region.punho{top:43%}.ortho-region.mao{top:51%}.ortho-region.femur{top:57%}.ortho-region.joelho{top:68%}.ortho-region.perna{top:76%}.ortho-region.tornozelo{top:87%}.ortho-region.pe{top:93%}.ortho-map-help{font-size:11px;color:#617970;line-height:1.4}.ortho-show-all{border:1px solid #bdd4cb;border-radius:8px;background:#fff;padding:7px 10px;color:#136956;font-weight:700;cursor:pointer}@media(max-width:700px){#orthopedicsCodeDialog .ophthalmology-modal-scroll{display:block}.ortho-map{height:430px}.ortho-map-layout{margin-bottom:16px}.ortho-region{width:105px}}
.record-mode-switch{float:right;display:flex;gap:5px;margin-top:-5px}.record-mode-switch button{border:1px solid #c7ddd5;border-radius:9px;background:#fff;color:#43665b;font:inherit;font-size:12px;font-weight:750;padding:7px 10px;cursor:pointer}.record-mode-switch button.active{background:#e0f3eb;border-color:#19816a;color:#0d6753}@media(max-width:560px){.record-mode-switch{float:none;justify-content:flex-end;margin:4px 0 9px}}
#prontuario[data-record-context="routine"] #recordForm .flow-step:first-child .step-card>.choice-block,#prontuario[data-record-context="routine"] #recordForm .flow-step:first-child .step-card>.choice-pair{display:none}.routine-visit[hidden]{display:none}.routine-visit{clear:both;padding-top:10px}.routine-visit p,.routine-visit small{color:#60756d;line-height:1.45}.routine-visit fieldset{border:1px solid #d5e5df;border-radius:12px;margin:12px 0;padding:12px}.routine-visit legend{font-weight:750;color:#315d50}.routine-checks,.routine-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.routine-checks label{display:flex;gap:8px;align-items:center;padding:8px;border:1px solid #d9e8e3;border-radius:9px;background:#fbfdfc;font-size:12px}.routine-checks input{accent-color:#177b65}.routine-selects label{display:grid;gap:5px;font-size:12px;font-weight:700;color:#41675b}.routine-selects select{width:100%;padding:8px;border:1px solid #c8dad4;border-radius:8px;background:#fff;color:#304f46;font:inherit}.record-mode-switch{flex-wrap:wrap}@media(max-width:560px){.routine-checks,.routine-selects{grid-template-columns:1fr}}
