:root { font-family: system-ui, sans-serif; color: #183b39; background: #f4f7f8; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px max(20px, calc((100% - 960px) / 2)); background: #135e54; color: white; }
.brand { font-size: 1.2rem; font-weight: 700; }
.container { max-width: 960px; margin: 48px auto; padding: 0 20px; }
.eyebrow { font-size: .75rem; letter-spacing: .12em; font-weight: 700; color: #536d70; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: 8px 0 20px; }
.notice { padding: 16px 20px; border-radius: 12px; }
.success { color: #145c3f; background: #e6f4ec; }
.warning { color: #7c4812; background: #fff1d8; }
.card { background: white; border: 1px solid #dce6e5; border-radius: 12px; overflow: hidden; }
table { border-collapse: collapse; width: 100%; text-align: left; overflow-wrap: anywhere; }
th, td { padding: 14px 18px; border-bottom: 1px solid #e9efef; }
th { background: #eef4f3; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 8px; font-size: .85rem; }
.button { display: inline-block; padding: 10px 20px; border-radius: 8px; color: white; background: #135e54; text-decoration: none; font-weight: 600; }
.button:hover, .button:focus-visible { color: #fff; background: #0a483f; }
a:focus-visible { outline: 3px solid #bd731c; outline-offset: 3px; }
.muted { color: #536d70; font-size: .9rem; }
@media (max-width: 480px) { .container { margin-top: 28px; } th, td { padding: 12px 10px; } }
.brand small { display: block; font-size: .72rem; font-weight: 400; opacity: .85; }
.navigation { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.navigation a { color: white; text-decoration: none; }
.navigation a[aria-current] { border-bottom: 2px solid #b9e9d8; }
.navigation form { margin: 0; }
.logout { background: transparent; color: white; border: 1px solid #80aaa4; padding: 7px 14px; border-radius: 8px; cursor: pointer; }
button, input { font: inherit; }
button.button { border: 0; cursor: pointer; }
.narrow { max-width: 500px; }
.form-card { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.form-card label { font-weight: 600; margin-top: 8px; }
.form-card input { width: 100%; min-height: 46px; border: 1px solid #9cb4b0; border-radius: 8px; padding: 10px 12px; }
.form-card button { margin-top: 16px; }
input:focus-visible, button:focus-visible { outline: 3px solid #bd731c; outline-offset: 3px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 36px; }
.stat { padding: 22px; }
.stat span, .channel span { color: #536d70; font-size: .9rem; }
.stat strong { display: block; font-size: 2.3rem; margin-top: 8px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }
.channel { padding: 18px; }
.channel strong { display: block; font-size: 1.5rem; }
h2 { font-size: 1.2rem; margin-bottom: 8px; }
.empty { text-align: center; padding: 36px 20px; }
.empty h3 { margin: 0; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 560px; }
.footer { text-align: center; padding: 28px 20px; font-size: .8rem; color: #536d70; }
@media (max-width: 640px) { .navigation { gap: 14px; font-size: .9rem; } .stats { gap: 8px; } .stat { padding: 14px; } .stat strong { font-size: 1.8rem; } .platforms { grid-template-columns: repeat(2, 1fr); } }
textarea, select { font: inherit; }
.form-card textarea, .form-card select { width: 100%; border: 1px solid #9cb4b0; border-radius: 8px; padding: 10px 12px; background: white; color: #183b39; }
.form-card textarea { resize: vertical; }
textarea:focus-visible, select:focus-visible { outline: 3px solid #bd731c; outline-offset: 3px; }
.report-form { max-width: 760px; }
.report-form fieldset { min-width: 0; margin: 20px 0 0; padding: 16px; border: 1px solid #dce6e5; border-radius: 8px; }
.report-form legend { font-weight: 700; padding: 0 8px; }
.report-form fieldset label { display: block; margin: 14px 0 6px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 12px; }
.form-actions .button { margin-top: 0; }
.form-actions a:not(.button) { color: #135e54; }
.detail-actions { margin-bottom: 24px; }
.detail-card { padding: 24px; }
.detail-card h2, .detail-card h3 { margin-top: 0; }
.report-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.report-meta { display: flex; flex-wrap: wrap; gap: 20px 48px; border-top: 1px solid #dce6e5; padding-top: 20px; }
.report-meta dt { font-size: .85rem; color: #536d70; }
.report-meta dd { margin: 0; }
.publication-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.publication-links { padding-left: 20px; overflow-wrap: anywhere; }
.publication-links li { margin: 8px 0; }
.publication-links a, .table-scroll a { color: #135e54; }
@media (max-width: 640px) { .publication-details { grid-template-columns: 1fr; } }
.filter-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.filter-form label { display: block; margin: 0 0 6px; }
.filter-form .form-actions { grid-column: 1 / -1; }
@media (max-width: 640px) { .filter-form { grid-template-columns: 1fr; } }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.account-action { margin-top: 16px; border-top: 1px solid #dce6e5; padding-top: 12px; }
.account-action summary { cursor: pointer; color: #135e54; font-weight: 600; }
.temporary-password { font-size: 1.15rem; overflow-wrap: anywhere; }
@media (max-width: 640px) { .account-grid { grid-template-columns: 1fr; } }
.month-filter { max-width: 460px; }
.monthly-table table { min-width: 780px; }
.monthly-table td { text-align: right; }
.monthly-table tfoot { background: #eef4f3; font-weight: 700; }
@media print {
    @page { size: A4 landscape; margin: 12mm; }
    :root, body { background: white; color: black; }
    .topbar, .footer, .no-print { display: none !important; }
    .container { max-width: none; margin: 0; padding: 0; }
    .monthly-table { overflow: visible; }
    .monthly-table table { min-width: 0; width: 100%; font-size: 10pt; }
    .monthly-table th, .monthly-table td { padding: 8px; color: black; }
    .monthly-table a { color: black; text-decoration: none; }
    tr { break-inside: avoid; }
    thead { display: table-header-group; }
}

.help-sections { display: grid; gap: 18px; max-width: 800px; }
.help-sections li { margin-bottom: 8px; }
.help-sections a { color: #135e54; }

.master-form { max-width: 600px; }
