:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #202428; background: #f4f5f6; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #075a9c; }
header { background: #fff; border-bottom: 1px solid #d8dcdf; }
.bar { max-width: 1180px; margin: auto; min-height: 58px; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.brand { font-weight: 700; font-size: 18px; color: #202428; text-decoration: none; }
nav { display: flex; gap: 14px; margin-left: auto; align-items: center; }
main { max-width: 1180px; margin: 24px auto; padding: 0 20px 40px; }
h1 { font-size: 24px; margin: 0 0 18px; }
h2 { font-size: 17px; margin: 0 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.card, .panel { background: #fff; border: 1px solid #d8dcdf; border-radius: 6px; padding: 16px; }
.panel { margin-bottom: 14px; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 3px; background: #eceff1; }
.status.ok { background: #dcefe2; color: #185c2e; }
.status.pending { background: #fff0c2; color: #6d4d00; }
.status.bad { background: #f8dddd; color: #832222; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
button, .button { border: 1px solid #28638f; background: #28638f; color: #fff; border-radius: 4px; padding: 8px 12px; font: inherit; cursor: pointer; text-decoration: none; }
.secondary { background: #fff; color: #28638f; }
label { display: block; font-weight: 700; font-size: 13px; margin: 12px 0 5px; }
input, select, textarea { width: 100%; border: 1px solid #aeb5ba; border-radius: 4px; padding: 9px; font: inherit; background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.login { max-width: 390px; margin: 9vh auto; }
.password-wrap { display: flex; gap: 6px; }
.password-wrap button { width: 42px; padding: 6px; }
.notice { padding: 10px 12px; border-left: 4px solid #28638f; background: #eaf2f8; margin-bottom: 14px; }
.error { border-color: #a72d2d; background: #fbeaea; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 13px; }
th, td { text-align: left; border-bottom: 1px solid #dfe2e4; padding: 8px; vertical-align: top; }
th { background: #eef0f2; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }
.muted { color: #687078; font-size: 13px; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 10px; align-items: end; }
.year-tabs { display: flex; gap: 6px; margin: 0 0 22px; }
.year-tab { border: 1px solid #aeb5ba; border-radius: 4px; color: #202428; padding: 7px 12px; text-decoration: none; }
.year-tab.active { background: #202428; border-color: #202428; color: #fff; }
.report-section { margin: 0 0 26px; }
.report-section table th:last-child, .report-section table td:last-child { text-align: right; width: 130px; }
.compact { display: inline-block; padding: 6px 9px; }
.report-home { max-width: 920px; margin: 4vh auto 0; }
.report-intro { max-width: 760px; line-height: 1.45; margin-bottom: 18px; }
.report-years { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.report-year { min-height: 176px; padding: 18px; border: 1px solid #aeb5ba; border-radius: 6px; background: #fff; color: #202428; display: flex; flex-direction: column; }
.report-year:hover { border-color: #28638f; box-shadow: 0 2px 8px rgba(32, 36, 40, .08); }
.report-year h2 { font-size: 19px; }
.report-year p { margin: 0 0 8px; }
.report-year .actions { margin-top: auto; }
.admin-link { display: inline-block; margin-top: 22px; font-size: 13px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 20px; clear: both; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.page-heading h1 { margin-bottom: 6px; }
.page-heading p { margin: 0; }
.page-heading form { flex: 0 0 auto; margin: 0; }
.page-heading button { white-space: nowrap; }
.raw-meta th { width: 180px; }
.raw-json { margin: 0; padding: 12px; overflow: auto; max-height: 65vh; background: #f4f5f6; border: 1px solid #d8dcdf; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.sort-link { color: inherit; text-decoration: none; white-space: nowrap; }
.sort-link:hover { text-decoration: underline; }
.transaction-filters { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
.review-table td { min-width: 118px; }
.review-table td:first-child { min-width: 155px; }
.review-table td:first-child small, .metric small { display: block; margin-top: 4px; color: #687078; font-size: 11px; line-height: 1.35; }
.metric { color: #202428; text-decoration: none; }
.metric:hover strong { text-decoration: underline; }
.issue-link { display: inline-block; padding: 3px 7px; border-radius: 3px; background: #fff0c2; color: #6d4d00; font-weight: 700; }
.issue-cell { background: #fff7da; }
.review-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.setup-key, .setup-uri { display: block; max-width: 100%; overflow-wrap: anywhere; padding: 10px; border: 1px solid #d8dcdf; background: #f4f5f6; font-size: 13px; }
details { margin-top: 12px; }
@media (max-width: 680px) { .bar { flex-wrap: wrap; gap: 8px 14px; } nav { width: 100%; margin-left: 0; justify-content: flex-start; flex-wrap: wrap; gap: 10px 14px; } nav a { font-size: 13px; } nav a[href="/account/security"] { display: none; } nav form { margin-left: auto; } nav button { padding: 6px 8px; font-size: 13px; } .filters, .transaction-filters, .review-form { grid-template-columns: 1fr; } main { padding-inline: 12px; } .report-home { margin-top: 3vh; } .raw-meta th { width: 110px; } .page-heading { display: block; } .page-heading form { margin-top: 12px; } }
@media print { header, .actions, .filters { display: none !important; } main { max-width: none; margin: 0; padding: 0; } body { background: #fff; } }
