body { font-family: "Segoe UI", Calibri, sans-serif; background: #f4f5f7; color: #1c1c1c; margin: 0; }
.sheet { max-width: none; margin: 1rem; background: #fff; border: 1px solid #e1e1e1; padding: 1.5rem 1.75rem; }
.split { display: flex; gap: 1.5rem; align-items: flex-start; }
.split form { flex: 0 0 25%; }
.split .list { flex: 1; min-width: 0; }
textarea { width: 100%; box-sizing: border-box; padding: 0.45rem 0.5rem; margin-top: 0.25rem; }
.account-card { border: 1px solid #e1e1e1; padding: 0.6rem 0.8rem; margin: 0.5rem 0; background: #fff; }
.account-card h2 { font-size: 1rem; margin: 0 0 0.3rem; }
.time-bar__flag { font-size: 0.8rem; font-weight: 600; color: #8a5a00; }
h1 { font-size: 1.4rem; margin: 0 0 0.75rem; }
label { display: block; margin-top: 0.8rem; font-size: 0.9rem; }
input, select { width: 100%; box-sizing: border-box; padding: 0.45rem 0.5rem; margin-top: 0.25rem; }
button { margin-top: 1rem; padding: 0.45rem 0.8rem; }
.error { color: #8a1f1f; }
.mark { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; color: #666; }
.trap { position: absolute; left: -9999px; height: 0; width: 0; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 0.4rem 0.3rem; border-bottom: 1px solid #eee; vertical-align: top; }
.time-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; padding: 0.6rem 0.8rem; background: #fff; border-bottom: 1px solid #e1e1e1; }
.time-bar label { font-size: 0.8rem; }
.time-bar input, .time-bar select { display: block; }
.pager { display: flex; gap: 0.35rem; align-items: center; justify-content: flex-end; margin: 0.8rem 0; }
.pager a, .pager span { min-width: 2rem; height: 2rem; padding: 0 0.55rem; border: 1px solid #d0d5dd; border-radius: 0.4rem; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #344054; background: #fff; }
.pager .is-current { background: #1d4e89; color: #fff; border-color: #1d4e89; }
.pager .is-disabled { color: #98a2b3; pointer-events: none; background: #f8f9fb; }
.split > .form { flex: 0 0 25%; }   /* change package 27: read-only note in place of a form */

/* Change package 29: tie-out checks and certified footer */
.tie-out .does-not-tie { background: #fde2e1; border: 2px solid #b3261e; color: #5c0f0b; padding: 0.6rem 0.8rem; margin: 1rem 0; }
.tie-out tr.alert td { background: #fff3b0; }
.tie-out .certified { margin-top: 0.8rem; padding-top: 0.5rem; border-top: 1px solid #999; font-size: 0.85rem; color: #333; }
.tb-layout { display: flex; gap: 1.5rem; align-items: flex-start; }
.tb-layout > form { flex: 0 0 16rem; display: flex; flex-direction: column; gap: 0.6rem; }
.tb-layout > .tb-table { flex: 1 1 auto; min-width: 0; }
.tb-table td.num, .tb-table th.num { text-align: right; }
.tb-table tr.section td { font-weight: 700; background: #f1f1f1; }
