﻿#appScreen .declarations-compact {gap:12px;}
#appScreen .declarations-compact>header {padding:12px 0;}
.declaration-year-actions{margin:16px 0;padding:16px;border:1px solid var(--ui-border,#dce3ed);border-radius:8px;background:var(--ui-subtle,#f7f8fa);min-width:0}
.declaration-year-actions header p,.declaration-year-note{font-size:12px;line-height:1.5;color:var(--muted,#58677c);margin:8px 0}
.declaration-year-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.declaration-year-buttons button{padding:9px 12px;border:1px solid var(--ui-border,#dce3ed);border-radius:6px;background:var(--surface,#fff);color:var(--text,#22324a);font:inherit;font-size:12px;cursor:pointer}
.declaration-year-buttons [data-year-download]{background:#195dd5;border-color:#195dd5;color:#fff}
.declaration-year-buttons button:disabled{opacity:.6;cursor:wait}
.declaration-year-actions [data-year-status]{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.declaration-year-actions progress{width:100%;height:10px;margin:12px 0;accent-color:#195dd5}
.declaration-year-actions ul{padding-left:20px;margin:8px 0;max-height:240px;overflow:auto;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.declaration-year-actions [data-state=error]{color:#b8263d}
@media(max-width:600px){.declaration-year-buttons{flex-direction:column}.declaration-year-buttons button{width:100%}}
#appScreen .declaration-summary-fold {border:1px solid var(--ui-border,#dce3ed);border-radius:6px;margin-bottom:12px;}
#appScreen .declaration-summary-fold summary {padding:10px 14px;cursor:pointer;font-size:13px;}
#appScreen .declaration-summary-fold .declaration-kpis {padding:12px;margin:0;}
#appScreen .declarations-compact .declaration-tab-panel {padding:0;border-radius:8px;box-shadow:none;overflow:hidden;}
#appScreen .declarations-compact .declaration-tab-panel[hidden] {display:none!important;}
#appScreen .declarations-compact .declaration-calendar-head {padding:12px 16px;margin:0;}
#appScreen .declaration-month-table {overflow:auto;}
#appScreen .declaration-month-table table {width:100%;min-width:600px;border-collapse:collapse;}
#appScreen .declaration-month-table :is(th,td) {padding:10px 16px;border-bottom:1px solid var(--ui-border,#dce3ed);text-align:left;font-size:13px;}
#appScreen .declaration-month-table th {background:var(--ui-subtle,#f7f8fa);font-size:12px;font-weight:500;}
#appScreen .declaration-month-row td:first-child {font-weight:600;border-left:3px solid transparent;}
#appScreen .declaration-month-row.presented td:first-child {border-left-color:#20a565;}
#appScreen .declaration-month-row.missing td:first-child {border-left-color:#e13950;}
#appScreen .declaration-month-row.current td:first-child {border-left-color:#e99b18;}
#appScreen .declaration-state-badge {display:inline-block;padding:4px 8px;border-radius:5px;font-size:12px;}
#appScreen .declaration-state-badge.presented {background:#e7f6ee;color:#087544;}
#appScreen .declaration-state-badge.missing {background:#fff0f2;color:#b8263d;}
#appScreen .declaration-state-badge.current {background:#fff5df;color:#926000;}
#appScreen .declaration-state-badge.future {background:#f1f3f6;color:#687386;}
#appScreen .declarations-compact .declaration-card-actions {display:flex;align-items:center;gap:8px;justify-content:flex-start;}
#appScreen .declarations-compact .declaration-card-actions :is(a,button) {display:inline-flex!important;align-items:center;justify-content:center;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important;border:1px solid var(--ui-border,#dce3ed);border-radius:5px;}
#appScreen .declarations-compact .declaration-card-actions svg {width:16px;height:16px;flex-shrink:0;}
#appScreen .declarations-compact .declaration-tab-panel>footer {padding:12px 16px;}
#appScreen .declarations-compact-form :is(.form-grid,.form-row) {gap:12px;}
#appScreen .declarations-compact-form select {height:36px!important;min-height:36px!important;padding:6px 10px!important;}
#appScreen .shell-main .declarations-compact .declaration-card-actions :is(a,button) {width:32px!important;min-width:32px!important;max-width:32px!important;flex:0 0 32px!important;height:32px!important;min-height:32px!important;padding:6px!important;}
