#view .accounting-tabs { gap:2px; padding:5px; overflow:visible; scrollbar-width:none; }
#view .accounting-tabs .tab { flex:1 1 auto; min-width:0; white-space:nowrap; font-size:var(--finance-tab-size,13px); line-height:20px; padding:8px 6px; text-align:center; }
[data-balance-tree] { overflow-anchor:none; }
[data-balance-tree] th:nth-child(n+2):nth-child(-n+5),
[data-balance-tree] td.number { text-align:center; }

.export-ring{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);transform:rotate(-90deg);fill:none;stroke-width:3.4;stroke-linecap:round}.export-ring .track{stroke:#dfe6ff}.export-ring .arc{stroke:#4b66e5}.export-ring.spinning{animation:export-spin 1.2s linear infinite}.export-indicator,#refresh-button.exporting,#refresh-button.export-result{position:relative;display:grid;place-items:center}.export-indicator{width:45px;height:45px;flex-shrink:0}.export-indicator>span,#refresh-button.exporting>span,#refresh-button.export-result>span{font-size:10px;color:#243662;font-weight:650}.export-indicator.done .arc{stroke:#268553}.export-indicator.error .arc{stroke:#c44343}.export-count{position:absolute;right:-5px;top:-5px;font-size:10px;background:#4d63e4;color:white;border-radius:50%;padding:3px 5px}.export-tasks{position:fixed;z-index:11000;background:white;box-shadow:0 10px 36px #202d4f26;border-radius:12px;padding:20px;width:390px;max-width:calc(100vw - 32px);max-height:70vh;overflow:auto}.export-tasks header{display:flex;justify-content:space-between;align-items:center}.export-tasks header h3{margin:0}.export-tasks header button{border:0;background:transparent;font-size:24px;color:#57657b}.export-task{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid #edf0f8}.export-task strong{font-size:13px;overflow-wrap:anywhere}.export-task small{display:block;font-size:12px;color:#66728b;margin-top:6px}.export-task small.error{color:#af3333}.export-tasks footer{font-size:11px;color:#65718a;padding-top:16px}.export-tasks[hidden]{display:none}
@keyframes export-spin{to{transform:rotate(270deg)}}
@media(prefers-reduced-motion:reduce){.export-ring.spinning{animation:none}}
