.exports-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.data-subtitle { font-size: 1rem; margin: 1.4rem 0 .8rem; }
.data-filter-note { font-size: .8rem; line-height: 1.65; }
.data-filters .form-grid { gap: .2rem 1rem; }
.data-filters label { min-width: 0; }
.export-field-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.export-field-option { display: flex; align-items: flex-start; gap: .65rem; padding: .65rem; border: 1px solid var(--border); border-radius: .3rem; margin: 0; font-size: .85rem; font-weight: 500; line-height: 1.35; background: #f8fafb; }
.export-field-option input { flex: 0 0 auto; margin-top: .1rem; }
.export-field-option span { min-width: 0; }
.export-field-option small { display: block; color: var(--ink-muted); font-size: .72rem; margin-top: .25rem; overflow-wrap: anywhere; }
.export-field-option:has(input:checked) { border-color: #78b5ac; background: #edf7f3; }
.export-column-order { padding-left: 1.3rem; margin: 1rem 0; }
.export-column-order li { padding: .65rem .3rem; border-bottom: 1px solid var(--border); font-size: .85rem; }
.export-column-order li > span { display: inline-block; vertical-align: middle; }
.export-column-order small { display: block; color: var(--ink-muted); margin-top: .15rem; }
.export-column-order li > div { display: flex; gap: .9rem; flex-wrap: wrap; }
.export-column-order button { font-size: .77rem; min-height: 2rem; padding-block: .2rem; }
.export-download-ready { margin-top: 1.3rem; padding: 1rem; background: #eff7f3; border: 1px solid #c9dfd4; border-radius: .35rem; }
.export-download-ready p { line-height: 1.6; font-size: .87rem; }
.export-download-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.export-download-actions .button { flex: 1 1 11rem; font-size: .83rem; }
.export-jobs { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border, #d8dfdc); }
.export-job-list { display: grid; gap: .65rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.export-job-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .8rem; align-items: center; padding: .8rem; border: 1px solid #d8e2de; border-radius: .35rem; background: #fff; }
.export-job-list li div { display: grid; gap: .2rem; min-width: 0; }
.export-job-list small { color: var(--text-muted, #53645d); }
.data-guidance { display: flex; align-items: flex-start; gap: .8rem; border-top: 1px solid var(--border); padding-top: 1.3rem; margin-top: 1.5rem; color: var(--ink-muted); }
.data-guidance img { flex: 0 0 auto; margin-top: .2rem; opacity: .75; }
.data-guidance p { font-size: .85rem; line-height: 1.6; margin: 0; }
.data-confirmation, .data-stale { background: #fff4df; border-color: #e6cc9f; color: #654615; }
.report-filters form { display: flex; align-items: flex-end; gap: 1.3rem; }
.report-filters fieldset { flex: 1; }
.report-filters .form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-filters label { margin-bottom: .5rem; }
.report-filters .button { margin-bottom: .8rem; white-space: nowrap; }
.report-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 1.6rem 0 1rem; }
.report-summary h2 { font-size: 1.45rem; margin: .5rem 0 .8rem; }
.report-summary p { margin: .4rem 0; line-height: 1.55; }
.report-generated { font-size: .78rem; color: var(--ink-muted); }
.report-basis { color: var(--ink-muted); font-size: .85rem; line-height: 1.6; max-width: 65rem; }
.report-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); border-block: 1px solid var(--border); padding: 1.25rem 0; margin: 1.4rem 0; }
.report-kpis section { min-width: 0; padding: .4rem 1.3rem; border-right: 1px solid var(--border); }
.report-kpis section:first-child { padding-left: 0; }
.report-kpis section:last-child { border: 0; }
.report-kpis p { color: var(--ink-muted); font-size: .85rem; margin: .8rem 0 .5rem; }
.report-kpis strong { font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.report-kpis small { display: block; font-size: .74rem; color: var(--ink-muted); line-height: 1.55; margin-top: .65rem; }
.report-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 1.4rem; }
.report-tables .receptions-table td:last-child, .report-tables .receptions-table th:last-child { text-align: right; }
.report-tables code { overflow-wrap: anywhere; white-space: normal; }
.report-presets { margin-top: 1rem; }
.report-preset-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.report-preset-list .button { display: grid; justify-items: start; gap: .2rem; text-align: left; }
.report-preset-list small { color: var(--ink-muted); font-weight: 400; }
.report-admin { margin-top: 2rem; }
.report-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; align-items: start; }
.report-admin-grid fieldset { display: grid; gap: .8rem; }
.report-admin-grid label { margin: 0; }
.report-automation-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 1.3rem; }
.report-automation-lists ul, .report-notifications ul { display: grid; gap: .65rem; padding: 0; list-style: none; }
.report-automation-lists li, .report-notifications li { display: grid; gap: .2rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.report-automation-lists li span, .report-notifications li span, .report-notifications time { color: var(--ink-muted); font-size: .8rem; line-height: 1.45; }
.report-notifications { margin-top: 1.3rem; }
@media (max-width: 82rem) {
    .report-filters form { display: block; }
    .report-filters .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-filters .button { margin: .4rem 0 0; }
}
@media (max-width: 66rem) { .exports-layout { grid-template-columns: 1fr; } }
@media (max-width: 70rem) { .report-admin-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .export-job-list li { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 60rem) {
    .form-card .documents-table-scroll { overflow: visible; }
    .form-card .documents-table { display: block; min-width: 0; width: 100%; padding: 0; background: transparent; }
    .form-card .documents-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .form-card .documents-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .form-card .documents-table tbody tr { display: block; min-width: 0; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: .4rem; box-shadow: none; }
    .form-card .documents-table td { display: block; min-width: 0; padding: .7rem 0; margin: 0; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; white-space: normal; }
    .form-card .documents-table td::before { content: attr(data-label); display: block; margin-bottom: .3rem; color: var(--ink-muted); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
    .form-card .documents-table td:first-child { padding-top: 0; }
    .form-card .documents-table td:last-child { border-bottom: 0; padding-bottom: 0; }
    .form-card .documents-table td small { line-height: 1.6; }
    .form-card .documents-table .document-file-actions .button { display: flex; width: 100%; justify-content: center; white-space: normal; }
    .form-card .documents-table .document-file-actions .button-link { display: block; min-height: 2.75rem; padding-top: .8rem; }
}
@media (max-width: 42rem) {
    .form-card .documents-table tbody { grid-template-columns: 1fr; }
    .export-field-picker, .report-filters .form-grid, .report-tables, .report-admin-grid, .report-automation-lists { grid-template-columns: 1fr; }
    .report-kpis { grid-template-columns: 1fr 1fr; gap: 1.4rem 0; }
    .report-kpis section { padding: .4rem .8rem; }
    .report-kpis section:nth-child(odd) { padding-left: 0; }
    .report-kpis section:nth-child(even) { border: 0; }
    .report-summary { display: block; }
    .report-tables .receptions-table { display: table; }
    .report-tables .receptions-table thead { position: static; display: table-header-group; width: auto; height: auto; clip: auto; overflow: visible; white-space: normal; }
    .report-tables .receptions-table tbody { display: table-row-group; }
    .report-tables .receptions-table tr { display: table-row; border: 0; padding: 0; box-shadow: none; }
    .report-tables .receptions-table td { display: table-cell; }
    .report-tables .receptions-table td::before { content: none; }
}
@media print {
    .app-shell:has(.reports-page) { display: block; min-height: auto; }
    .app-shell:has(.reports-page) .app-workspace { display: block; }
    .app-shell:has(.reports-page) .app-sidebar, .app-shell:has(.reports-page) .app-header, .app-shell:has(.reports-page) .app-footer,
    .reports-page .no-print, .reports-page ~ .no-print { display: none !important; }
    .app-shell:has(.reports-page) .main-content { width: 100%; max-width: none; padding: 0; margin: 0; }
    .reports-page { color: #000; background: #fff; font-size: 10pt; }
    .reports-page .page-heading h1 { font-size: 22pt; }
    .reports-page .page-introduction { font-size: 10pt; }
    .report-result { break-inside: auto; }
    .report-kpis, .report-tables > section { break-inside: avoid; }
    .report-tables { display: block; }
    .report-tables > section { margin-top: 1rem; }
    .report-tables thead { display: table-header-group; }
    .report-tables .receptions-table { display: table; }
    .report-tables .receptions-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
    .report-tables .receptions-table tbody { display: table-row-group; }
    .report-tables .receptions-table tr { display: table-row; break-inside: avoid; box-shadow: none; }
    .report-tables .receptions-table td { display: table-cell; }
    .report-tables .receptions-table td::before { content: none; }
}
