.brand .brandmark{flex-shrink:0;overflow:hidden}.brand .brandmark img{display:block;width:100%;height:100%;object-fit:contain;background:white}.brand>div:last-child{min-width:0}.brand strong,.brand small{overflow-wrap:anywhere}.clinic-fields{margin:20px 0 12px;padding:16px;border:1px solid var(--border,#cdd8d0);border-radius:12px}.clinic-fields legend{padding:0 5px;font-weight:750}.clinic-brand-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.clinic-logo-tools,.portal-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0}.clinic-logo-tools img{width:55px;height:55px;object-fit:contain;border:1px solid #dae2dc;border-radius:6px}.clinic-lock{max-width:560px;padding:2rem;margin:12vh auto}.portal-detail>summary{cursor:pointer;font-weight:700}.portal-body{margin-top:14px}.portal-choice{display:flex;align-items:baseline;gap:.5rem;margin:.45rem 0}.portal-choice input{width:auto}.portal-preview{white-space:pre-wrap;max-height:220px;overflow:auto;font:inherit;font-size:.9rem;background:#f5f7f5;padding:.8rem;border-radius:6px}.portal-body label{font-weight:600}.portal-body select,.portal-link{width:100%;max-width:560px}.portal-body details{margin:.7rem 0}.portal-body button:disabled{opacity:.6}.portal-messages{padding-left:1.25rem}.portal-notice{color:#7d341d}.portal-body fieldset{margin:12px 0;border:1px solid #d2ddd5;border-radius:8px;padding:12px}.portal-body legend{font-weight:650}.portal-code{letter-spacing:.09em}.clinic-logo-tools img[hidden]{display:none}@media(max-width:650px){.clinic-brand-grid{grid-template-columns:1fr}}

body[data-clinic-hold] #app,body[data-clinic-hold] dialog{visibility:hidden!important}#clinicSessionCover{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:2rem;background:#f5f7f4;color:#173d32;font-weight:650;text-align:center}

.clinic-images{margin-top:14px}.clinic-image-field{min-width:0}.clinic-image-field input{max-width:100%}.clinic-image-field .clinic-logo-tools{margin:4px 0}.clinic-image-field button[hidden]{display:none}.clinic-image-field #clinicStampPreview{width:146px;height:68px;padding:4px;background:#fff}

/* espaçamento portal */
.portal-body{line-height:1.7}
.portal-body p,.portal-body .help-text{margin:0 0 .85rem;line-height:1.7}
.portal-body fieldset{margin:1.1rem 0;padding:1rem 1.1rem}
.portal-body legend{padding:0 .4rem;margin-bottom:.4rem}
.portal-body h3,.portal-body h4{margin:1.3rem 0 .6rem;line-height:1.4}
.portal-body details{margin:1rem 0}
.portal-body details>summary{padding:.35rem 0;line-height:1.6}
.portal-body label{display:block;margin:.9rem 0 .35rem;line-height:1.5}
.portal-body .portal-choice{margin:.7rem 0;line-height:1.6}
.portal-body ul,.portal-body ol{margin:.5rem 0 1rem}
.portal-body li{margin:.4rem 0;line-height:1.65}
.portal-body .portal-actions{gap:12px;margin:1rem 0 .4rem}
.portal-body .portal-link{margin:.3rem 0 .8rem}
.portal-body .portal-preview{line-height:1.65;margin:.6rem 0 1rem}
