/* Report wizard: scoped controls and spacing, shared by site/PWA/WebView. */
.reports-page .reports-hero > .container {
    display: grid;
    gap: 16px;
}
.reports-page .reports-hero .eyebrow {
    justify-self: start;
}
.reports-page .reports-hero h1 {
    margin: 0;
    line-height: 1.1;
}
.reports-page .reports-hero-actions {
    margin: 4px 0 0;
    align-items: stretch;
}
.reports-page .reports-hero-actions .btn {
    min-height: 48px;
    text-align: center;
    white-space: normal;
}
.reports-page .reports-board-head {
    align-items: center;
    flex-wrap: wrap;
}
.reports-page .report-feature-card {
    max-height: none;
    overflow: hidden;
}
.reports-page .report-feature-media {
    min-height: 230px;
    aspect-ratio: 4 / 3;
}
.reports-page .report-feature-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}
.reports-page .report-feature-media > span {
    min-height: 0;
}
.reports-page .report-feature-body {
    min-width: 0;
    gap: 16px;
}
.reports-page .report-feature-body h3 {
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.reports-page .report-feature-meta span {
    max-width: 100%;
    overflow-wrap: anywhere;
}
.reports-page .report-login-card {
    scroll-margin-top: 110px;
    gap: 16px;
}
.reports-page .report-login-card h2 {
    line-height: 1.2;
}
.reports-page .report-login-actions .btn {
    min-height: 48px;
}
.reports-page .reports-submit-layout > * {
    min-width: 0;
}
.reports-page .report-submit-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    scroll-margin-top: 110px;
}
.reports-page .report-submit-card [data-report-step] {
    display: grid;
    gap: 20px;
    min-width: 0;
}
.reports-page .report-submit-card [data-report-step] > * {
    min-width: 0;
}
.reports-page .report-submit-card [data-report-step] > h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.35;
}
.reports-page .report-form-head h2 {
    line-height: 1.2;
}
.reports-page .report-submit-card label:not(.report-photo-drop):not(.report-check-label):not(.check-field) {
    display: block;
    line-height: 1.45;
}
.reports-page .report-submit-card label:not(.report-photo-drop) > input:not([type="checkbox"]):not([type="hidden"]),
.reports-page .report-submit-card label > select {
    display: block;
    margin-top: 8px;
}
.reports-page .report-submit-card input:not([type="checkbox"]):not([type="hidden"]):not(.report-photo-input),
.reports-page .report-submit-card select,
.reports-page .report-submit-card textarea {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    font-size: 16px;
}
.reports-page .report-submit-card textarea {
    min-height: 160px;
    resize: vertical;
}
.reports-page .report-submit-card .form-row.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.reports-page .report-submit-card .form-row > label {
    min-width: 0;
}
.reports-page .report-submit-card .phase2-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}
.reports-page .report-submit-card .phase2-flow li {
    display: grid;
    align-content: center;
    min-width: 0;
    min-height: 56px;
    padding: 10px 8px;
    text-align: center;
    font-size: .88rem;
    line-height: 1.35;
}
.reports-page .report-submit-card .phase2-draft {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 16px;
}
.reports-page .report-submit-card .phase2-draft p {
    margin: 0;
    line-height: 1.5;
}
.reports-page .report-submit-card .phase2-draft .btn {
    justify-self: start;
}
.reports-page .report-submit-card label.report-check-label,
.reports-page .report-submit-card label.check-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft);
    line-height: 1.5;
    font-weight: 650;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.reports-page .report-submit-card input[type="checkbox"] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    min-height: 0;
    margin: 2px 0 0;
    padding: 0;
    border-radius: 4px;
    accent-color: var(--primary);
}
.reports-page .report-submit-card .phase2-draft .report-check-label {
    padding: 0;
    border: 0;
    background: transparent;
}
.reports-page .report-submit-card fieldset {
    display: grid;
    gap: 16px;
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
}
.reports-page .report-submit-card legend {
    padding-inline: 6px;
    font-weight: 850;
}
.reports-page .report-submit-card fieldset p {
    margin: 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.reports-page .report-submit-card .report-description-help {
    flex-wrap: wrap;
    align-items: flex-start;
    line-height: 1.4;
}
.reports-page .report-submit-card .location-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
}
.reports-page .report-submit-card .location-toolbar .btn {
    justify-self: start;
}
.reports-page .report-submit-card .report-map {
    height: 320px;
    min-height: 320px;
}
.reports-page .report-submit-card .report-photo-drop {
    position: relative;
}
.reports-page .report-submit-card .report-photo-drop:focus-within {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}
.reports-page .report-submit-card .report-photo-input {
    padding: 0;
    margin: 0;
    border: 0;
}
.reports-page .report-submit-card .report-photo-preview {
    grid-template-columns: 60px minmax(0, 1fr) 44px;
    gap: 10px;
}
.reports-page .report-submit-card .report-photo-preview img {
    width: 60px;
}
.reports-page .report-submit-card .report-photo-remove {
    grid-column: auto;
    width: 44px;
    height: 44px;
}
.reports-page .report-submit-card .report-photo-preview > div {
    min-width: 0;
    overflow-wrap: anywhere;
}
.reports-page .report-submit-card input[type="file"]:not(.report-photo-input) {
    overflow: hidden;
    text-overflow: ellipsis;
}
.reports-page .report-submit-card [data-report-navigation] {
    gap: 12px;
    margin: 0;
}
.reports-page .report-submit-card .btn {
    min-height: 48px;
}
.reports-page .report-submit-card [data-draft-status]:empty,
.reports-page .report-submit-card [data-report-feedback]:empty {
    display: none;
}
@media (max-width: 1024px) {
    .reports-page .reports-submit-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 600px) {
    .reports-page .report-feature-media {
        aspect-ratio: 16 / 10;
    }
    .reports-page .report-feature-body,
    .reports-page .report-login-card,
    .reports-page .reports-rules-panel {
        padding: 20px 16px;
    }
    .reports-page .report-login-actions {
        display: grid;
        gap: 12px;
    }
    .reports-page .report-feature-kicker {
        line-height: 1.45;
    }
    .reports-page .report-submit-card {
        padding: 20px 16px;
    }
    .reports-page .report-submit-card .form-row.two,
    .reports-page .report-submit-card .location-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }
    .reports-page .report-submit-card [data-report-navigation] .btn {
        flex: 1;
    }
    .reports-page .report-submit-card .report-map {
        height: 300px;
        min-height: 300px;
    }
}
