#accountingDashboard [hidden] { display: none !important; }
.dash-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.dash-actions button { display: flex; gap: 14px; padding: 16px; justify-content: flex-start; text-align: left; min-height: 82px; white-space: normal; }
.dash-actions button > span:first-child { font-size: 26px; line-height: 1; }
.dash-actions button small { display: block; font-size: 12px; font-weight: 500; opacity: .85; margin-top: 5px; }
.dash-update { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0; }
.dash-update > p { min-width: 0; }
.dash-update button { min-height: 44px; }
.dash-grid { display: grid; grid-template-columns: minmax(250px,1fr) minmax(210px,.85fr) minmax(320px,1.4fr); gap: 16px; align-items: start; }
.dash-grid > .panel { margin: 0; min-width: 0; padding: 18px; }
.dash-grid h3 { margin-top: 0; font-size: 19px; }
.dash-task-group { border-top: 1px solid var(--line); padding: 14px 0 8px; }
.dash-task-group h4 { margin: 0 0 7px; color: #617789; font-size: 12px; }
.dash-task { display: grid; grid-template-columns: minmax(0,1fr) auto 12px; width: 100%; gap: 8px; min-height: 44px; padding: 10px 0; background: transparent; color: var(--text); text-align: left; }
.dash-task strong { padding: 3px 9px; border-radius: 7px; background: #e8f3fb; align-self: center; min-width: 30px; text-align: center; }
.dash-task:hover:not(:disabled) { color: #007db6; }
.dash-task:disabled { opacity: .55; cursor: default; }
.dash-task > span:last-child { align-self: center; font-size: 22px; color: #7790a4; }
.dash-account { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; min-width: 0; }
.dash-account > div { display: flex; justify-content: space-between; gap: 8px; }
.dash-account > div > span { font-size: 11px; color: var(--muted); }
.dash-account strong { min-width: 0; overflow-wrap: anywhere; }
.dash-iban { overflow-wrap: anywhere; color: var(--muted); font-size: 11px; line-height: 1.5; }
.dash-balance { font-size: 21px; font-weight: 800; margin: 12px 0 8px; overflow-wrap: anywhere; }
.dash-account button { min-height: 44px; padding: 0; color: #007db6; }
.dash-section-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dash-section-heading label { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.dash-section-heading select { min-height: 38px; width: auto; padding: 7px; }
.dash-basis { color: #647e91; margin: 0 0 14px; font-size: 12px; }
.dash-amounts { display: grid; gap: 10px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.dash-amounts span { display: block; color: var(--muted); font-size: 11px; }
.dash-amounts strong { display: block; font-size: 16px; overflow-wrap: anywhere; margin-top: 5px; }
.dash-chart { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.dash-chart-months { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); padding: 0 1.5625% 0 2.8125%; margin-bottom: 12px; color: #566d80; font-size: 11px; text-align: center; }
.dash-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; }
.dash-legend span { display: flex; align-items: center; gap: 5px; }
.dash-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.dash-legend .income { background: #078374; }.dash-legend .expense { background: #284c70; }.dash-legend .difference { background: #b86a1c; height: 3px; }
.dash-exclusions, .dash-months { margin-top: 14px; }
.dash-exclusions summary, .dash-months summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 650; }
.dash-exclusions ul { padding-left: 20px; line-height: 1.6; }
.dash-worklist h3 { margin: 16px 0; }
.dash-search { display: grid; gap: 6px; max-width: 650px; }
.dash-record { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.4fr); width: 100%; padding: 18px 0; gap: 20px; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); text-align: left; }
.dash-record:hover { background: #f4f9fc; }
.dash-record-main, .dash-record-meta { display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.dash-record-main small { color: var(--muted); }.dash-record-meta { font-size: 12px; }.dash-record-meta strong { font-size: 17px; }.dash-record-open { color: #007db6; font-weight: 700; padding-top: 5px; }
.dash-pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; }
#accountingDashboard button:focus-visible, #accountingDashboard summary:focus-visible { outline: 3px solid #eaa351; outline-offset: 2px; }
@media (max-width: 1180px) { .dash-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }.dash-finances { grid-column: 1 / -1; } }
@media (max-width: 740px) { .dash-grid { grid-template-columns: minmax(0,1fr); }.dash-actions { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }.dash-actions button:first-child { grid-column: 1 / -1; }.dash-actions button { padding: 14px; min-height: 76px; gap: 10px; }.dash-grid > .panel { padding: 16px; }.dash-record { grid-template-columns: minmax(0,1fr); gap: 10px; }.dash-record-meta { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }.dash-update { align-items: flex-start; }.dash-pager button { min-height: 44px; } }
@media (max-width: 360px) { .dash-actions { grid-template-columns: minmax(0,1fr); }.dash-amounts strong { font-size: 14px; } }
