/* Formularios y contenido interno sobre el marco visual común de YO SÉ QUIÉN. */
.app-content { width:100%; flex:1; min-width:0; margin:0; padding:clamp(18px,3vw,40px); border:1px solid var(--line-soft); border-radius:14px; background:linear-gradient(125deg,var(--surface),transparent 75%); }
.page-intro { margin:0 0 24px; border-bottom:1px solid var(--line-soft); padding-bottom:20px; }
.section-brand { display:inline-block; font-size:11px; font-weight:700; letter-spacing:.22em; text-decoration:none; color:var(--muted); }
.app-content :is(h1,h2,legend,summary) { color:var(--accent); overflow-wrap:anywhere; }
.app-content h3 { overflow-wrap:anywhere; }
.app-content h1 { font-family:Georgia,serif; margin:12px 0 0; font-size:clamp(28px,4vw,42px); }
.app-content p { line-height:1.65; overflow-wrap:anywhere; }
.app-content .panel { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:clamp(16px,3vw,28px); box-shadow:0 8px 24px #00000016,inset 0 1px #ffe8ad0a; margin:16px 0; }
.app-content .fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.profile-locality-field { position:relative; min-width:0; }
.profile-locality-field > label { margin:0; }
.profile-locality-options { position:absolute; z-index:5; inset-inline:0; top:100%; max-height:15rem; overflow:auto;
    list-style:none; margin:4px 0 0; padding:4px; border:1px solid var(--line-soft); border-radius:8px;
    background-color:var(--surface); color:var(--text); box-shadow:0 8px 20px rgb(0 0 0 / 12%); }
.profile-locality-options li { padding:9px 10px; line-height:1.4; border-radius:5px; cursor:pointer; overflow-wrap:anywhere; }
.profile-locality-options li:hover,.profile-locality-options li[aria-selected="true"] { background:var(--line-soft); }
.app-content label { display:flex; flex-direction:column; gap:8px; margin:0 0 16px; line-height:1.5; min-width:0; }
.app-content :is(input,select,textarea) { display:block; width:100%; min-width:0; min-height:46px; background:var(--field); border:1px solid var(--line); border-radius:7px; color:var(--text); padding:10px 12px; font:inherit; }
.app-content input[type="hidden"] { display:none; }
.app-content select { text-overflow:ellipsis; }
.app-content option { background:var(--field); color:var(--text); }
.app-content textarea { resize:vertical; }
.app-content .check { flex-direction:row; align-items:flex-start; gap:12px; overflow-wrap:anywhere; }
.app-content .check input { width:22px; min-width:22px; min-height:22px; margin-top:3px; accent-color:var(--accent); }
.app-content fieldset { border:1px solid var(--line); padding:20px; border-radius:9px; margin:20px 0; min-width:0; }
.app-content legend { padding:0 8px; font-weight:600; }
.app-content :is(button,.button) { cursor:pointer; display:inline-flex; justify-content:center; align-items:center; min-height:44px; padding:11px 20px; border-radius:8px; border:1px solid var(--line); background:var(--bar); color:var(--text); font:inherit; text-decoration:none; }
.app-content .primary { background:linear-gradient(#e8ca8f,#bd9451); color:var(--ink); font-weight:700; }
.app-content :is(button,.button):hover { filter:brightness(1.08); }
.app-content :is(button,input,select):disabled { opacity:.55; cursor:default; }
.app-content :focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.app-content :is(.error,.success) { padding:16px; border:1px solid #ad7d5a; background:#713e2629; border-radius:8px; }
.app-content .success { background:#426b3f25; border-color:#7b986d; }
.app-content .narrow { max-width:540px; }
.app-content .search { display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.app-content .search label { flex:1; min-width:min(240px,100%); }
.app-content .catalog summary { cursor:pointer; font-weight:600; padding:6px 0; line-height:1.5; }
.app-content .catalog li { margin:10px 0; }
.app-content .catalog li a { display:inline-block; padding:6px 0; }
.app-content .people { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.app-content .description { white-space:pre-wrap; }
.app-content nav[aria-label="Páginas de profesionales"] { display:flex; flex-wrap:wrap; gap:12px; }
#options-status:empty { display:none; }
.app-content .specialties-title { font-size:1.15rem; margin:18px 0 8px; }
.app-content .specialties-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:360px; overflow-y:auto; overscroll-behavior:contain; padding:6px; border:1px solid var(--line-soft); border-radius:8px; }
.app-content .specialties-options:empty { display:none; }
.app-content .specialty-option { align-items:center; min-height:48px; margin:0; padding:8px; border:1px solid var(--line-soft); border-radius:7px; overflow-wrap:anywhere; }
.app-content .specialty-option:has(input:checked) { background:var(--field); border-color:var(--accent); }
.app-content .all-specialties { align-items:center; min-height:48px; }
.app-content .specialties-count { font-weight:600; color:var(--accent); }
.app-content .specialties-message { color:var(--accent); font-weight:600; }
.app-content .specialties-message:empty { display:none; }
@media(max-width:650px) { .app-content .specialties-options { grid-template-columns:1fr; } }
#professional-map { width:100%; height:clamp(300px,55vh,520px); border:1px solid var(--line); border-radius:12px; background:#b3b1a4; color:#211306; z-index:0; }
#professional-map a { color:#235092; }
#professional-map .leaflet-control a { min-height:30px; }
#professional-map .leaflet-popup-content { max-width:240px; overflow-wrap:anywhere; }
#professional-map .leaflet-popup-content p { line-height:1.4; }
@media(max-width:650px) { .app-content .fields,.app-content .people { grid-template-columns:1fr; } .app-content fieldset { padding:12px; } }
@media(prefers-reduced-motion:no-preference) { .app-content :is(button,.button) { transition:filter 200ms ease; } }
