.reports-page { background: #f7f6ee; color: var(--ink); }
.reports-page .contact-main { padding-top: 20px; padding-bottom: 32px; }
.reports-page .contact-heading { padding: 20px 0 12px; }
.reports-page .contact-heading h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 32px); line-height: 1.4; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 500; letter-spacing: .08em; }
.reports-page .contact-heading p, #reports-status { margin: 8px 0; font-size: 13px; }
#reports-list { border: 1px solid var(--line); border-radius: 3px; margin: 12px 0 16px; overflow: hidden; }
.report-row:last-child { border-bottom: 0; }
#reports-list:empty { display: none; }
.report-row { border-bottom: 1px solid var(--line); background: #fffef8; }
.report-summary { display: grid; grid-template-columns: 48px minmax(0, 1fr) 120px 150px 42px; gap: 12px; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; font-size: 13px; }
.report-summary::-webkit-details-marker { display: none; }
.report-summary:hover, .report-row[open] > .report-summary { background: #e9efdf; }
.report-summary:focus-visible { outline: 2px solid #577546; outline-offset: -2px; }
.report-id, .report-date, .report-name { color: var(--muted); }
.report-subject, .report-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-subject { font-weight: 600; }
.report-toggle { font-size: 12px; }
.report-toggle::after { content: ' ＋'; }
.report-row[open] .report-toggle::after { content: ' −'; }
.report-row dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 16px; margin: 0; padding: 16px; font-size: 13px; line-height: 1.6; }
.report-row dt { font-weight: 600; }
.report-row dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#reports-pagination:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 13px; }
#reports-pagination button { cursor: pointer; padding: 8px 14px; min-height: 36px; }
#reports-pagination button:disabled { opacity: .45; cursor: default; }
@media (max-width: 720px) {
    .report-summary { grid-template-columns: 40px minmax(0, 1fr) 42px; gap: 4px 8px; padding: 10px 12px; }
    .report-subject { grid-column: 2; }
    .report-toggle { grid-column: 3; grid-row: 1; }
    .report-name { grid-column: 2; font-size: 12px; }
    .report-date { grid-column: 2; font-size: 12px; }
    .report-row dl { grid-template-columns: 1fr; gap: 4px; padding: 12px; }
    .report-row dd + dt { margin-top: 8px; }
}

.reports-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.reports-breadcrumb a, .reports-footer a { text-decoration: underline; text-underline-offset: 4px; }
.reports-page .contact-heading .eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.reports-page .contact-heading > p:last-child { color: var(--muted); }
.reports-save-note { margin: 8px 0; color: var(--muted); font-size: 12px; }
.reports-footer { border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 12px; }
.reports-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
@media (max-width: 720px) {
    .reports-page .wrap { width: calc(100% - 40px); }
    .reports-page .site-header { height: 88px; gap: 16px; }
    .reports-page .brand-logo { width: 150px; }
    .reports-page .nav-login { padding: 10px 12px; gap: 8px; font-size: 13px; white-space: nowrap; }
}

.report-item { display: grid; grid-template-columns: 118px minmax(0, 1fr); border-bottom: 1px solid var(--line); background: #fffef8; }
.report-item:last-child { border-bottom: 0; }
.report-item .report-row { border-bottom: 0; background: transparent; }
.report-fix { display: flex; align-items: center; align-self: start; gap: 6px; min-height: 44px; padding: 10px 0 10px 12px; font-size: 12px; cursor: pointer; }
.report-fix input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.report-item.needs-fix { background: #eef2e5; }
.report-item.needs-fix .report-fix { color: var(--green); font-weight: 600; }
@media (max-width: 720px) {
    .report-item { grid-template-columns: 100px minmax(0, 1fr); }
    .report-fix { padding-left: 8px; font-size: 11px; }
    .report-item .report-summary { grid-template-columns: 28px minmax(0, 1fr) 38px; gap: 4px; padding-inline: 6px; }
}

.reports-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 3px; background: #fffef8; }
.reports-filters label { display: grid; gap: 5px; font-size: 12px; color: var(--muted); min-width: 0; }
.reports-search { flex: 1 1 230px; }
.reports-filters input, .reports-filters select { min-width: 0; width: 100%; padding: 8px; min-height: 36px; border: 1px solid var(--line); border-radius: 3px; background: white; color: var(--ink); font: inherit; }
.reports-filter-actions { display: flex; gap: 8px; }
.reports-filter-actions .button { padding: 8px 14px; min-height: 36px; font-size: 12px; cursor: pointer; }
@media (max-width: 720px) { .reports-filters label { flex: 1 1 130px; } .reports-filters .reports-search { flex-basis: 100%; } }
