/* T-0231 account analysis details and inline SVG. */
.account-analysis .aa-cards {grid-template-columns:repeat(4,minmax(0,1fr));}
.aa-trend {margin:14px 0;padding:12px 16px;background:var(--card);border:1px solid var(--border);border-radius:8px;}
.aa-trend figcaption {font-weight:600;margin-bottom:6px;}.aa-trend svg {display:block;width:100%;height:auto;max-height:210px;}.aa-trend svg text {font-size:14px;fill:var(--text-2);}.aa-debit{color:var(--brand-strong)}.aa-credit{color:var(--amount-ink)}
.aa-trend summary {cursor:pointer;color:var(--text-2);}.aa-trend details[open] table {margin-top:10px;}
.account-analysis table th:first-child {width:27%;}.aa-drill-row{cursor:pointer;}.aa-drill-row:hover{background:var(--brand-soft)}
.aa-drill-row:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.aa-drill-row button {border:0;background:transparent;color:var(--brand-strong);padding:0;min-height:0;text-align:left;}
.aa-dialog {width:min(1080px,94vw);max-width:94vw;max-height:88vh;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:20px;color:var(--text);}
.aa-dialog::backdrop {background:var(--scrim);}.aa-dialog header {display:flex;gap:12px;align-items:center;justify-content:space-between;}.aa-dialog h2{margin:0;}.aa-dialog header button{flex-shrink:0;}.aa-dialog .aa-vouchers{max-height:55vh;overflow-y:auto;}.aa-dialog th:nth-child(1){width:21%}.aa-dialog th:nth-child(2){width:12%}.aa-dialog th:nth-child(3){width:31%}.aa-dialog th:nth-child(n+4){width:12%}
@media(max-width:760px){.account-analysis .aa-cards {grid-template-columns:repeat(2,minmax(0,1fr));}}
