/* Module 07: treasury, ledger, settlement, reconciliation and periods. */
.tr-tabs { margin-bottom: 2px; }
.tr-scroll, .ct-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tr-level { display: inline-flex; align-items: center; gap: 6px; }
.tr-bar { height: 6px; border-radius: 3px; background: #e6edf3; overflow: hidden; min-width: 70px; }
.tr-bar > span { display: block; height: 100%; border-radius: 3px; background: #1a7fe0; }
.tr-bar.warn > span { background: #d99a06; } .tr-bar.bad > span { background: #d64545; } .tr-bar.ok > span { background: #12a079; }
.tr-legs { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.tr-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tr-check li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; }
.tr-check li i { font-size: 15px; line-height: 1.1; }
.tr-check .ok { color: var(--okFg); } .tr-check .bad { color: var(--badFg); } .tr-check .warn { color: var(--warnFg); }
.tr-check small { display: block; color: var(--muted); }
.tr-form { display: grid; gap: 10px; }
.tr-lines td { vertical-align: top; }
.tr-lines input, .tr-lines select { width: 100%; min-width: 90px; }
.tr-num-r { text-align: right; white-space: nowrap; }
.tr-neg { color: var(--badFg); }
.tr-pos { color: var(--okFg); }
.tr-evidence { display: grid; gap: 8px; }
.tr-evidence .item { border-left: 3px solid #c7d2dd; padding: 4px 0 4px 10px; font-size: 12.5px; }
.tr-evidence .item.system { border-left-color: #8a9bb0; color: var(--muted); }
.tr-evidence .item.file { border-left-color: #1a7fe0; }
.tr-sandbox { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; font-weight: 700; color: #8a5a00; background: #fff4d6; border: 1px solid #f0d58f; border-radius: 3px; padding: 1px 6px; }
.tr-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tr-day { border: 1px solid #dde5ed; border-radius: 4px; padding: 8px 10px; background: #fff; display: grid; gap: 4px; font-size: 12.5px; }
.tr-day b { font-size: 13px; }
.tr-day.closed { background: var(--okBg); border-color: #b9dfce; }
.tr-day.reopen_requested { background: var(--infoBg); border-color: #c2d9f5; }
.tr-statement { max-width: 980px; margin: 0 auto; background: #fff; padding: 28px; }
.tr-statement h1 { font-size: 20px; margin: 0 0 4px; }
.tr-statement table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tr-statement th, .tr-statement td { border-bottom: 1px solid #e3e9ef; padding: 5px 6px; text-align: left; }
.tr-statement .r { text-align: right; }
@media print { .ct-sidebar, .ct-top, .ct-modbar, .ct-toolbar, .ct-health, .no-print { display: none !important; } .tr-statement { padding: 0; } }
@media (max-width: 720px) { .tr-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ct-steps.tr-vsteps { flex-direction: column; margin: 0 0 12px; padding: 0; }
.ct-steps.tr-vsteps li { border-right: 0; border-bottom: 1px solid #dde5ed; font-weight: 600; }
.ct-steps.tr-vsteps li:last-child { border-bottom: 0; }
