/* The reporting flow stays a single-column, touch-first surface at every width. */
.mobile-report-page{background:#f3f6f8;color:#163442;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mobile-report-page .report-header{height:68px;padding:10px 18px;max-width:760px;margin:auto;background:#fff;border:0}
.mobile-report-page .report-brand img{width:34px;height:34px}.mobile-report-page .report-brand strong{font-size:18px}.mobile-report-page .report-brand small{font-size:9px}
.report-exit{width:44px;height:44px;display:grid;place-items:center;border:1px solid #dce6ea;border-radius:8px;color:#526974;font-size:20px}
.mobile-report-page .report-shell{max-width:760px;margin:0 auto;padding:20px 20px 32px;background:#fff;min-height:calc(100dvh - 68px)}
.mobile-report-page .report-title{display:block;margin:0 0 14px}.mobile-report-page .report-title h1{font-size:26px;margin:10px 0 8px;line-height:1.25}
.report-mode{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#087f70;background:#e8f7f2;padding:5px 9px;border-radius:5px}.report-mode.offline{color:#986016;background:#fff3d7}
.report-intro{font-size:14px;color:#657a85;margin:0;line-height:1.6}.mobile-report-page .notice{font-size:12px;line-height:1.5;margin:8px 0;color:#526a76}
.mobile-report-page[data-step-current]:not([data-step-current="0"]) .report-intro{display:none}
.mobile-report-page[data-step-current]:not([data-step-current="0"]) .report-title h1{font-size:21px}
.report-utility{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e5ecef;padding-bottom:12px}.report-utility a{font-size:12px;display:inline-flex;gap:6px;align-items:center;color:#376674;min-height:34px}.mobile-report-page .draft-status{font-size:11px;min-height:16px;margin:4px 0}
.mobile-report-page .offline-warning{font-size:12px;padding:12px;margin:12px 0;background:#fff9eb;border-color:#f0dcad}.offline-warning p{line-height:1.5}
.mobile-report-page .report-progress ol{gap:6px;margin:20px 0 8px}.mobile-report-page .report-progress li{display:flex;flex-direction:column;align-items:center;min-height:62px;gap:6px;border:0;font-size:11px;padding:0;color:#70848d}
.mobile-report-page .report-progress li>span{width:30px;height:30px;border-color:#dee7eb;background:#f5f8fa;color:#71828b;font-size:12px}.mobile-report-page .report-progress li.active{color:#087e72;font-weight:700}.mobile-report-page .report-progress li.active>span{background:#087e72;color:#fff;border-color:#087e72}.mobile-report-page .report-progress li.complete>span{background:#e5f6ef;color:#087e72;border-color:#bfdfd3}
.mobile-report-page .report-progress-meter{height:4px;accent-color:#0d9488;margin:0 0 24px}
.mobile-report-page #incidentForm{border:0;padding:0;background:transparent}.mobile-report-page [data-report-step] h2{font-size:21px;margin:0 0 8px;line-height:1.35}.step-caption{font-size:13px;color:#687e89;margin:0 0 20px;line-height:1.6}
.mobile-report-page label{font-size:13px;margin-top:20px;color:#264752}.mobile-report-page input:not([type=checkbox]),.mobile-report-page select,.mobile-report-page textarea{font-size:16px;border:1px solid #ccdce1;border-radius:8px;padding:13px;background:#fafcfd;min-height:50px;color:#163442}
.mobile-report-page :is(input,select,textarea):focus{border-color:#0d9488;background:#fff;outline:2px solid #0d94882b;outline-offset:1px}
.mobile-report-page .field-pair{gap:16px}.mobile-report-page .field-note{font-size:12px;color:#647e89;line-height:1.6}
.mobile-report-page .type-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.mobile-report-page .type-picker button{min-height:126px;justify-content:center;border:1px solid #dce6ea;border-radius:8px;background:#fff;padding:16px 10px;gap:10px;font-size:14px;font-weight:650;color:#23414d;transition:background .16s,border-color .16s,transform .16s}
.mobile-report-page .type-picker .type-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--type-bg,#e8f1fa);color:var(--type-color,#246caf);font-size:23px}.mobile-report-page .type-picker .type-icon i{color:inherit;font-size:23px}.mobile-report-page .type-picker button[aria-pressed=true]{border:2px solid #0d9488;background:#effaf7;padding:15px 9px}.mobile-report-page .type-picker .choice-check{color:#087e72}.mobile-report-page .type-picker button:hover{background:#f2f8f8;border-color:#70b8aa;transform:translateY(-2px)}.mobile-report-page .type-picker button:active{transform:none}
.selected-incident{display:flex;align-items:center;gap:9px;padding:11px 0 14px;font-size:13px;color:#087e72;border-bottom:1px solid #e5ecef;margin-bottom:20px}.selected-incident>i{font-size:18px}.selected-incident strong{font-weight:650}
.mobile-report-page button{border-radius:8px;min-height:48px}.mobile-report-page .location-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-report-page .location-actions button{font-size:12px;padding:10px 8px;background:#f4f9fb;border-color:#d7e4e8}.mobile-report-page #manualLocation{grid-column:1/-1;background:transparent;border:0;color:#526c79;min-height:36px;font-size:12px;padding:4px}.mobile-report-page #useLocation{color:#087e72;background:#eef9f5;border-color:#c2e5da}
.mobile-report-page #locationMap{height:300px;border:1px solid #d8e5e8;border-radius:8px;background:#e6f0f3;margin:16px 0 10px}.report-map-pin{color:#c43b54;font-size:30px}.mobile-report-page #confirmPoint{width:100%;background:#087e72;color:white;border-color:#087e72;margin:0 0 10px}.mobile-report-page #locationSummary{padding:10px 12px;background:#f1f7fa;border-left:3px solid #6294b0;border-radius:0 5px 5px 0}
.incident-context{border-top:1px solid #e3ecef;padding-top:6px;margin-top:16px}.details-subheading{font-size:15px;font-weight:650;margin:24px 0 8px}.mobile-report-page .checkbox-label{justify-content:space-between;background:#f5f9fa;padding:10px 12px;border-radius:6px;font-size:13px}.mobile-report-page .checkbox-label input{accent-color:#0d9488}
.photo-capture{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;min-height:170px!important;background:#f0f9f6!important;border:1px dashed #73b8a4!important;color:#087e72!important;padding:24px!important}.photo-capture>i{width:52px;height:52px;display:grid;place-items:center;background:#ddf1e9;border-radius:50%;font-size:26px}.photo-capture strong{font-size:16px}.photo-capture span{font-size:12px;font-weight:400;color:#5b7a76}
.photo-gallery{display:flex;align-items:center;justify-content:center;width:100%;gap:8px;margin:10px 0;background:#fff}.mobile-report-page .photo-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mobile-report-page .photo-preview{width:auto;min-width:0}.mobile-report-page .photo-preview img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.mobile-report-page .photo-preview small{font-size:11px}.photo-stamp-note{display:flex;align-items:flex-start;gap:8px;color:#647d85;font-size:12px;line-height:1.6;margin:16px 0}.photo-stamp-note i{color:#0d9488;font-size:17px;flex:none;margin-top:2px}
.report-review{border-top:1px solid #dfe9ec;margin:22px 0 0;padding-top:16px}.report-review summary{font-size:14px;font-weight:650;cursor:pointer;min-height:44px}.mobile-report-page #reviewSummary{font-size:13px;grid-template-columns:110px minmax(0,1fr);gap:9px 12px}.mobile-report-page #reviewSummary dd{margin:0;white-space:pre-line}.mobile-report-page .review-warning{font-size:12px;background:#f0f8f5;border-color:#6dab96;color:#456e62;line-height:1.6}
.mobile-report-page .form-actions{position:sticky;bottom:0;background:#fff;display:grid;grid-template-columns:auto 1fr;gap:10px;border-top:1px solid #e1eaee;padding:14px 0 max(14px,env(safe-area-inset-bottom));margin-top:24px;z-index:500}.mobile-report-page .form-actions .primary{background:#087e72;border-color:#087e72;font-size:14px;min-height:50px}.mobile-report-page .form-actions .primary:hover{background:#05685e}.mobile-report-page #previousStep{margin:0;width:50px;padding:0;font-size:18px}.mobile-report-page .form-actions:has(#previousStep[hidden]){grid-template-columns:1fr}.mobile-report-page #saveDraft{background:none;border:0;min-height:34px;padding:0;font-size:12px;color:#476875}.mobile-report-page .form-message{font-size:13px;line-height:1.6}.mobile-report-page .storage-note{font-size:11px;line-height:1.6}.mobile-report-page .report-receipt{margin-top:20px}.mobile-report-page .report-receipt h2{font-size:24px}
@media(min-width:600px){.mobile-report-page .report-shell{padding:28px 36px 36px}.mobile-report-page .report-header{padding-inline:36px}.mobile-report-page .type-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-report-page #locationMap{height:360px}.mobile-report-page .photo-previews{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.mobile-report-page .field-pair{grid-template-columns:1fr;gap:0}.mobile-report-page .report-shell{padding-inline:18px}.mobile-report-page .report-title h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.mobile-report-page .type-picker button{transition:none;transform:none}}
.mobile-report-page .photo-capture{border-radius:8px}.mobile-report-page .photo-preview img{aspect-ratio:3/4;object-fit:contain;background:#edf5f4;cursor:zoom-in}
.mobile-report-page .photo-capture:has(+ #cameraInput:focus-visible){outline:3px solid #0d9488;outline-offset:3px}
.mobile-report-page #photoPreviewDialog{width:680px;max-width:calc(100vw - 24px);max-height:90dvh;border:1px solid #d6e4e8;border-radius:8px;padding:12px;background:white;color:#163442}
.mobile-report-page #photoPreviewDialog::backdrop{background:#102a43b3}.photo-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.photo-dialog-header h2{font-size:16px;margin:0}.photo-dialog-header button{width:44px;padding:0}
#photoPreviewImage{display:block;width:100%;max-height:calc(90dvh - 90px);object-fit:contain}
.mobile-report-page #barangayName[readonly]{background:#eef6f4;color:#216457;cursor:default}
.mobile-report-page #lookupBarangay{font-size:12px;margin-bottom:4px}
/* One-screen quick intake; optional sections never block a valid pin report. */
.mobile-report-page .report-header{position:sticky;top:0;z-index:600;height:auto;min-height:76px;display:flex;gap:10px;flex-wrap:wrap;box-shadow:0 1px 8px #12334a12}
.mobile-report-page .report-header .report-brand{margin-right:auto}
.mobile-report-page .report-header .call-action{display:inline-flex;align-items:center;gap:6px;margin:0;padding:10px 12px;min-height:48px;background:#b72337;border-color:#b72337;color:#fff;border-radius:6px;font-size:13px;text-decoration:none}
.mobile-report-page .report-header .call-action[hidden]{display:none}
.mobile-report-page [data-report-step]{padding:24px 0;border-bottom:1px solid #e1eaee}
.mobile-report-page [data-report-step="0"]{padding-top:8px}
.quick-optional{border-top:1px solid #e1eaee;padding:10px 0;margin-top:10px}
.quick-optional>summary{display:flex;align-items:center;gap:10px;min-height:50px;cursor:pointer;font-size:14px;font-weight:650;color:#173d63;list-style:none}
.quick-optional>summary::before{content:'+';font-size:22px;font-weight:400}.quick-optional[open]>summary::before{content:'-'}
.mobile-report-page .type-picker button{min-height:84px;font-size:.875rem;overflow-wrap:anywhere}
.mobile-report-page .field-note,.mobile-report-page .step-caption,.mobile-report-page .quick-optional>summary{font-size:.875rem}
.mobile-report-page [data-report-step] h2{font-size:1.25rem}.mobile-report-page .report-title h1{font-size:1.625rem}
.mobile-report-page .type-picker button[aria-pressed=true]{outline:2px solid #087e72;background:#edf8f4}
.mobile-report-page .form-actions{display:block;z-index:550}.mobile-report-page .form-actions .primary{width:100%;min-height:56px;background:#173d63;border-color:#173d63;font-size:1rem}
.mobile-report-page .form-actions .primary:hover{background:#102c49}
.mobile-report-page #locationMap{height:260px}.mobile-report-page #barangayName{font-size:17px;font-weight:600}
.mobile-report-page .photo-capture{min-height:64px!important;padding:12px!important;flex-direction:row}.mobile-report-page .photo-capture>i{width:36px;height:36px;font-size:22px}.mobile-report-page .photo-capture span{display:none}
.mobile-report-page .selected-incident{margin:0;padding:12px;background:#edf8f4;border-radius:6px}
.mobile-report-page #reviewSummary[hidden]{display:none}.mobile-report-page .form-message:not(:empty){padding:12px;background:#fff5e8;color:#71431c;border-left:3px solid #c2812d}
.mobile-report-page #sendWithoutPhoto{width:100%;margin:10px 0;border:1px solid #173d63;color:#173d63;background:#fff}
@media(max-width:380px){.mobile-report-page .report-header{padding-inline:12px}.mobile-report-page .report-header .report-brand small{font-size:8px}.mobile-report-page .report-header .call-action{font-size:12px;padding:8px}.mobile-report-page .report-exit{width:36px}}
@media(prefers-reduced-motion:no-preference){.quick-optional[open]>*:not(summary){animation:quick-reveal .15s ease-out}@keyframes quick-reveal{from{opacity:.4}to{opacity:1}}}
