/* DGSP Reportes: selección por ventana y estado de compresión */
.dgsp-report.dgsp-submodal-ready .dgsp-wiz-subtype{display:none}
.dgsp-report .dgsp-subchoice{margin-top:18px;padding:17px;border:1px solid #c9dde8;background:#f0f7fa;border-radius:14px;display:flex;align-items:center;gap:13px}
.dgsp-report .dgsp-subchoice[hidden]{display:none}
.dgsp-report .dgsp-subchoice-mark{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#dceee3;color:#286d54;font-weight:900;font-size:18px}
.dgsp-report .dgsp-subchoice>div{flex:1;min-width:0}
.dgsp-report .dgsp-subchoice small{display:block;font-size:10px;font-weight:850;color:#688599;letter-spacing:.09em}
.dgsp-report .dgsp-subchoice strong{font-size:13px;color:#204c69;display:block;margin-top:4px;line-height:1.4}
.dgsp-report .dgsp-subchoice button{background:#fff;border:1px solid #c6dce8;border-radius:9px;color:#315b78;font-size:12px;font-weight:850;padding:10px 13px;cursor:pointer}
.dgsp-report .dgsp-subtype-dialog{position:fixed;inset:0;margin:auto;width:min(750px,calc(100vw - 28px));max-height:min(90dvh,850px);padding:0;border:1px solid #dbe7ed;border-radius:21px;background:#fff;color:#17324d;overflow:auto;box-shadow:0 30px 105px rgba(10,33,54,.34)}
.dgsp-report .dgsp-subtype-dialog::backdrop{background:rgba(11,34,55,.62);backdrop-filter:blur(4px)}
.dgsp-report .dgsp-subtype-dialog:not([open]){display:none}
.dgsp-report .dgsp-subtype-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:16px;padding:25px 30px 20px;background:linear-gradient(120deg,#f4f8fa,#fff);border-bottom:1px solid #e0e8ee}
.dgsp-report .dgsp-subtype-dialog-header span{font-size:10px;font-weight:850;letter-spacing:.14em;color:#a98751}
.dgsp-report .dgsp-subtype-dialog-header h3{font-size:clamp(20px,3vw,27px);color:#17324d;margin:8px 0;font-weight:850}
.dgsp-report .dgsp-subtype-dialog-header p{color:#6b8294;font-size:12px;margin:0;line-height:1.6}
.dgsp-report .dgsp-subtype-close{flex:0 0 38px;width:38px;height:38px;border-radius:10px;border:1px solid #cfdde7;background:#fff;color:#315b78;font-size:24px;line-height:1;cursor:pointer}
.dgsp-report .dgsp-subtype-dialog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:23px 30px}
.dgsp-report .dgsp-subtype-option{display:flex;align-items:center;gap:13px;text-align:left;min-height:62px;padding:14px;background:#fff;border:1px solid #d9e5ec;border-radius:12px;color:#31546f;font-family:inherit;font-weight:750;font-size:12px;cursor:pointer;line-height:1.4}
.dgsp-report .dgsp-subtype-option:hover,.dgsp-report .dgsp-subtype-option:focus-visible{border-color:#315b78;background:#f0f6f9;outline-offset:2px}
.dgsp-report .dgsp-subtype-option.is-selected{background:#eff6f9;border-color:#315b78}
.dgsp-report .dgsp-subtype-dot{display:grid;place-items:center;flex:0 0 30px;height:30px;border:1px solid #dce7ed;border-radius:9px;background:#f3f8fa;color:#88a0af;font-size:14px}
.dgsp-report .dgsp-subtype-option.is-selected .dgsp-subtype-dot{background:#315b78;color:#fff;border-color:#315b78}
.dgsp-report .dgsp-subtype-dialog-footer{padding:16px 30px;border-top:1px solid #e1e9ef;background:#f8fbfd;font-size:11px;color:#758b9c}
.dgsp-report .dgsp-photo-opt-status{font-size:11px;line-height:1.65;color:#486f88;background:#eff6fa;border:1px solid #d8e7ef;border-radius:9px;padding:11px 13px;margin:12px 0}
.dgsp-report .dgsp-wiz-actions button:disabled{opacity:.55;cursor:progress}
@media(max-width:650px){.dgsp-report .dgsp-subtype-dialog-header{padding:19px}.dgsp-report .dgsp-subtype-dialog-grid{grid-template-columns:1fr;gap:9px;padding:17px}.dgsp-report .dgsp-subtype-dialog-footer{padding:14px 19px}.dgsp-report .dgsp-subtype-dialog{max-height:89dvh}.dgsp-report .dgsp-subchoice{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.dgsp-report .dgsp-subtype-dialog::backdrop{backdrop-filter:none}}


/* Iconos SVG locales y semánticos para los 43 subtipos */
.dgsp-report .dgsp-subtype-option{min-height:76px;gap:14px;padding:14px 16px;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.dgsp-report .dgsp-subtype-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:13px;border:1px solid #d9e5ee;background:#edf4f8;color:#315b78;transition:background .15s ease,color .15s ease}
.dgsp-report .dgsp-subtype-icon svg{width:26px;height:26px;display:block;stroke:currentColor;fill:none;flex-shrink:0}
.dgsp-report .dgsp-subtype-text{display:block;flex:1;min-width:0;font-weight:780;line-height:1.4}
.dgsp-report .dgsp-subtype-selected{display:none;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:#315b78;color:#fff;align-items:center;justify-content:center;font-size:13px;font-weight:800;margin-left:auto}
.dgsp-report .dgsp-subtype-option.is-selected .dgsp-subtype-selected{display:flex}
.dgsp-report .dgsp-subtype-option.is-selected .dgsp-subtype-icon{border-color:#315b78;background:#315b78;color:#fff}
.dgsp-report .dgsp-subtype-option:hover .dgsp-subtype-icon{border-color:#a1bbc9;background:#dfeef6}
.dgsp-report .dgsp-subtype-option.is-selected:hover .dgsp-subtype-icon{background:#315b78;color:#fff}
.dgsp-report .dgsp-subtype-option:focus-visible{outline:3px solid #bb9c67;outline-offset:3px}
.dgsp-report .dgsp-wiz-cat-icon svg{width:27px;height:27px;stroke:currentColor}
.dgsp-report .dgsp-wiz-category>input:checked+.dgsp-wiz-cat-inner .dgsp-wiz-cat-icon{background:#315b78;color:#fff}
.dgsp-report .dgsp-wiz-category>input:checked+.dgsp-wiz-cat-inner .dgsp-wiz-cat-check{background:#315b78;color:#fff}
@media(max-width:650px){.dgsp-report .dgsp-subtype-option{min-height:72px;padding:12px 13px}.dgsp-report .dgsp-subtype-icon{width:43px;height:43px;flex-basis:43px}.dgsp-report .dgsp-subtype-icon svg{width:24px;height:24px}.dgsp-report .dgsp-subtype-text{font-size:12px}}
@media(prefers-reduced-motion:reduce){.dgsp-report .dgsp-subtype-option,.dgsp-report .dgsp-subtype-icon{transition:none}}

/* Reportes 1.4.0: tres pasos, ubicación con GPS como acción principal, barra de acciones fija en el teléfono */
.dgsp-report .dgsp-wiz-step .dgsp-wiz-subhead{margin:26px 0 4px;padding-top:22px;border-top:1px solid #e3ebf0;font-size:18px;font-weight:850;line-height:1.3;color:#17324d}
.dgsp-report .dgsp-wiz-more{margin-top:14px}
.dgsp-report .dgsp-wiz-more>summary{cursor:pointer;padding:12px 0;font-size:12px;font-weight:850;color:#315b78}
.dgsp-report .dgsp-wiz-more>summary:focus-visible{outline:3px solid #b99a55;outline-offset:2px;border-radius:6px}
.dgsp-report .dgsp-wiz-more[open]>summary{padding-bottom:4px}
.dgsp-report .dgsp-wiz-map-title>span,.dgsp-report .dgsp-wiz-upload-head>span{white-space:nowrap;flex:0 0 auto}
.dgsp-report .dgsp-wiz-map-title>div,.dgsp-report .dgsp-wiz-upload-head>div{min-width:0}
.dgsp-report .dgsp-wiz-map-buttons button{min-height:46px;font-size:12px}
.dgsp-report .dgsp-wiz-map-buttons .dgsp-wiz-primary-action{flex:1 1 230px;justify-content:center;background:#17324d;border-color:#17324d;color:#fff}
.dgsp-report .dgsp-wiz-map-buttons .dgsp-wiz-primary-action:hover{background:#315b78}
.dgsp-report .dgsp-wiz-map-buttons #inc-map-open{flex:1 1 170px;justify-content:center}
.dgsp-report .dgsp-wiz-map-buttons button:disabled{opacity:.6;cursor:progress}
.dgsp-report .dgsp-wiz-map-buttons button:focus-visible,.dgsp-report .dgsp-wiz-linkbtn:focus-visible{outline:3px solid #b99a55;outline-offset:2px}
.dgsp-report .dgsp-wiz-map-warning{font-size:11.5px}
.dgsp-report .dgsp-wiz-map-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;margin:2px 0 10px;padding:10px 13px;border:1px solid #cfe1d8;border-radius:10px;background:#eef7f2;color:#24593f;font-size:12px;font-weight:750;line-height:1.5}
.dgsp-report .dgsp-wiz-map-status[hidden]{display:none}
.dgsp-report .dgsp-wiz-map-status[data-tone=warn]{border-color:#ecd9b6;background:#fff8ec;color:#7a5a24}
.dgsp-report .dgsp-wiz-map-status[data-tone=wait]{border-color:#d6e3ec;background:#f1f6fa;color:#43667f}
.dgsp-report .dgsp-wiz-linkbtn{min-height:34px;padding:6px 2px;border:0;background:none;font:inherit;font-size:12px;font-weight:850;color:#315b78;text-decoration:underline;cursor:pointer}
.dgsp-report .dgsp-wiz-file-drop{position:relative;min-height:112px}
.dgsp-report .dgsp-wiz-file-drop #inc-fotos{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;font-size:0;cursor:pointer}
.dgsp-report .dgsp-wiz-file-drop #inc-fotos:focus-visible{outline:none}
.dgsp-report .dgsp-wiz-file-drop:focus-within{outline:3px solid #b99a55;outline-offset:3px}
.dgsp-report .dgsp-photo-opt-status:empty{display:none}
.dgsp-report .dgsp-report-steps ol{grid-template-columns:repeat(3,minmax(0,1fr))}
.dgsp-report .dgsp-wiz-actions .dgsp-wiz-error{flex:1 0 100%;order:-1;margin:0 0 4px;font-size:12px}
.dgsp-report .dgsp-report-lookup-details{margin-top:18px}
.dgsp-report .dgsp-report-lookup-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:12px 18px;border:1px solid #dce6ec;border-radius:14px;background:#fff;font-size:13px;font-weight:850;color:#315b78;list-style:none;cursor:pointer}
.dgsp-report .dgsp-report-lookup-details>summary::-webkit-details-marker{display:none}
.dgsp-report .dgsp-report-lookup-details>summary::after{content:"+";font-size:20px;font-weight:700;line-height:1;color:#9a8156}
.dgsp-report .dgsp-report-lookup-details[open]>summary::after{content:"\2212"}
.dgsp-report .dgsp-report-lookup-details>summary:focus-visible{outline:3px solid #b99a55;outline-offset:3px}
body.page-id-1330 .dgsp-report .dgsp-report-lookup-details{width:min(1160px,calc(100% - 60px));max-width:100%;margin-left:auto;margin-right:auto}
body.page-id-1330 .dgsp-report .dgsp-report-lookup-details .dgsp-report-bottom{width:100%;margin:10px 0 0}
@media(max-width:850px){body.page-id-1330 .dgsp-report .dgsp-report-lookup-details{width:calc(100% - 38px)}}
@media(max-width:760px){
 .dgsp-report .dgsp-report-steps{display:none}
 .dgsp-report .dgsp-wiz-more~.dgsp-wiz-tip{display:none}
 .dgsp-report .dgsp-wiz-step .dgsp-wiz-subhead{margin-top:22px;padding-top:18px;font-size:17px}
 .dgsp-report .dgsp-report-panel{overflow:clip}
 .dgsp-report .dgsp-wiz-actions{position:sticky;bottom:0;z-index:20;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #dfe8ee;background:#fff;box-shadow:0 -8px 20px rgba(23,50,77,.1)}
 .dgsp-report .dgsp-wiz-actions button{min-height:50px;justify-content:center;line-height:1.25;text-align:center}
 .dgsp-report .dgsp-wiz-actions .dgsp-wiz-back{flex:0 0 34%}
 .dgsp-report .dgsp-wiz-actions .dgsp-wiz-next,.dgsp-report .dgsp-wiz-actions .dgsp-wiz-submit{flex:1 1 0}
 .dgsp-report .dgsp-wiz-action-spacer{display:none}
}
@media(max-width:600px){
 body.page-id-1330 .dgsp-report .dgsp-report-hero{padding:14px 16px 16px}
 body.page-id-1330 .dgsp-report .dgsp-report-hero-inner{padding:8px 0 0}
 body.page-id-1330 .dgsp-report .dgsp-report-eyebrow{display:none}
 body.page-id-1330 .dgsp-report .dgsp-report-hero h1{margin:6px 0 4px;font-size:clamp(26px,7.4vw,32px)}
 body.page-id-1330 .dgsp-report .dgsp-report-hero-inner p{margin:4px 0 0;font-size:12.5px}
 body.page-id-1330 .dgsp-report .dgsp-report-notices{margin-top:8px;margin-bottom:8px}
 body.page-id-1330 .dgsp-report .dgsp-report-lookup-details{width:calc(100% - 24px)}
}

