/* App styles on top of the Edmate theme (wwwroot/edmate). Colours come from the theme's --main-* palette. */
:root { --lms-accent: #4f46e5; }

.lms-brand-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.sidebar-menu__link .icon .bi { font-size: 1.15rem; }
.sidebar-submenu__link.text-gray-200 { cursor: not-allowed; }

/* Bootstrap-flavoured pieces the views use, aligned with the theme palette */
.btn-primary, .btn-primary:focus { --bs-btn-bg: var(--main-600); --bs-btn-border-color: var(--main-600); --bs-btn-hover-bg: var(--main-700); --bs-btn-hover-border-color: var(--main-700); --bs-btn-active-bg: var(--main-700); --bs-btn-active-border-color: var(--main-700); }
.btn-outline-primary { --bs-btn-color: var(--main-600); --bs-btn-border-color: var(--main-600); --bs-btn-hover-bg: var(--main-600); --bs-btn-hover-border-color: var(--main-600); --bs-btn-active-bg: var(--main-600); }
.text-primary, .page-link { color: var(--main-600) !important; }
.bg-primary, .progress-bar, .page-item.active .page-link { background-color: var(--main-600) !important; border-color: var(--main-600) !important; }
.nav-pills .nav-link.active { background-color: var(--main-600); }
.form-check-input:checked, .btn-check:checked + .btn-outline-primary { background-color: var(--main-600); border-color: var(--main-600); }

.card { border: 1px solid var(--gray-100); border-radius: 12px; box-shadow: none; }
.card-header { background: transparent; font-weight: 600; border-bottom: 1px solid var(--gray-100); padding: 14px 20px; }
.card-body { padding: 20px; }
.table > :not(caption) > * > * { vertical-align: middle; }
.table thead th { font-size: .8125rem; color: var(--gray-300); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.list-group-item { border-color: var(--gray-100); }

.kpi-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; }
.settings-logo { width: 96px; height: 96px; object-fit: contain; border: 1px dashed var(--gray-100); border-radius: 12px; background: #fff; }
.color-swatch { width: 18px; height: 18px; border-radius: 4px; display: inline-block; border: 1px solid var(--gray-100); vertical-align: middle; }

.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: inline-grid; place-items: center; background: var(--main-600); color: #fff; font-size: .8rem; font-weight: 600; }
.avatar-lg { width: 64px; height: 64px; }

/* Keep print layouts readable without the dashboard chrome */
.print-body .dashboard-body { padding: 0; }

/* The theme draws these arrows with the Phosphor font, which is not loaded; use Bootstrap Icons instead. */
.sidebar-menu__item.has-dropdown .sidebar-menu__link::before,
.arrow-down-icon::before,
.select-has-icon::before { font-family: "bootstrap-icons" !important; font-weight: 400 !important; content: "\f282" !important; }
.sidebar-menu__item.has-dropdown .sidebar-menu__link::before { content: "\f285" !important; }
.sidebar-menu__item.has-dropdown.active .sidebar-menu__link::before,
.sidebar-menu__item.has-dropdown.activePage .sidebar-menu__link::before { content: "\f282" !important; }

/* Tables inside cards: comfortable cell padding and a soft header band */
.card > .table, .card > .table-responsive > .table { margin-bottom: 0; }
.card .table > :not(caption) > * > * { padding: .7rem 1.25rem; }
.card .table thead th { background: var(--gray-50, #f8f9fb); border-bottom: 1px solid var(--gray-100); white-space: nowrap; }
.card .table tbody tr:last-child td { border-bottom: 0; }
.card .list-group-item { padding-left: 1.25rem; padding-right: 1.25rem; }

/* Report card */
.report-hero { background: linear-gradient(135deg, var(--main-50) 0%, #fff 60%); }
.stat-tile { background: #fff; border: 1px solid var(--gray-100); border-radius: 12px; padding: 12px 8px; }
.stat-value { font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: var(--main-600); }
.stat-sub { font-size: .85rem; font-weight: 500; color: var(--gray-300); margin-left: 2px; }
.stat-label { font-size: .75rem; color: var(--gray-300); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.section-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--main-600); color: #fff; font-size: .75rem; font-weight: 700; }
.rating-badge { min-width: 78px; text-align: center; font-weight: 500; }
.print-body .stat-value { color: #000; } .print-body .section-no { background: #000; } .print-body .report-hero { background: none; }

/* The theme leaves outline-secondary buttons without colour; give them a neutral grey outline */
.btn-outline-secondary { --bs-btn-color: var(--gray-500, #495057); --bs-btn-border-color: var(--gray-200, #ced4da); --bs-btn-hover-bg: var(--gray-50, #f1f3f5); --bs-btn-hover-color: var(--gray-500, #495057); --bs-btn-hover-border-color: var(--gray-200, #ced4da); --bs-btn-active-bg: var(--gray-100, #e9ecef); --bs-btn-active-color: var(--gray-500, #495057); color: var(--bs-btn-color); border: 1px solid var(--bs-btn-border-color); background: transparent; }
.btn-outline-secondary:hover { background: var(--bs-btn-hover-bg); }
/* main.css paints every .btn white (!important); outline buttons need their own colour until hovered */
.btn-outline-secondary, .btn-outline-primary, .btn-outline-danger, .btn-outline-success, .btn-outline-dark, .btn-link { color: var(--bs-btn-color) !important; }
.btn-outline-secondary:hover, .btn-outline-primary:hover, .btn-outline-danger:hover, .btn-outline-success:hover, .btn-outline-dark:hover,
.btn-check:checked + .btn-outline-primary, .btn-check:checked + .btn-outline-secondary { color: var(--bs-btn-hover-color, #fff) !important; }
.btn-outline-secondary:hover { color: var(--gray-500, #495057) !important; }
.btn-light, .btn-outline-light:hover { color: var(--bs-btn-color) !important; }

/* Timetable: week grid on wide screens, day selector + timeline on phones */
.tt-days { display: none; }
@media (max-width: 991.98px) { .tt-grid { display: none; } .tt-days { display: block; } }
.tt-today { background: var(--main-50) !important; }
.tt-daybar { display: flex; gap: 6px; padding: 12px 16px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); background: var(--gray-50, #f8f9fb); }
.tt-daybar::-webkit-scrollbar { display: none; }
.tt-daybtn { flex: 1 0 auto; min-width: 52px; border: 1px solid var(--gray-100); background: #fff; border-radius: 10px; padding: 6px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--gray-500); font-weight: 600; font-size: .8rem; }
.tt-daybtn.active { background: var(--main-600); border-color: var(--main-600); color: #fff; }
.tt-daybtn__count { font-size: .7rem; font-weight: 600; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--main-50); color: var(--main-600); }
.tt-daybtn.active .tt-daybtn__count { background: rgba(255,255,255,.25); color: #fff; }
.tt-daybtn__count.is-empty { background: var(--gray-50, #f1f3f5); color: var(--gray-300); }
.tt-daypanel { display: none; padding: 4px 16px 16px; }
.tt-daypanel.active { display: block; }
.tt-daypanel__head { display: flex; align-items: center; padding: 12px 0 8px; }
.tt-empty { text-align: center; color: var(--gray-300); padding: 28px 0; } .tt-empty .bi { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.tt-timeline { position: relative; }
.tt-item { display: flex; gap: 12px; align-items: stretch; padding: 5px 0; }
.tt-item__time { width: 3.1rem; flex-shrink: 0; font-size: .8rem; font-weight: 700; color: var(--gray-500); line-height: 1.2; padding-top: 10px; display: flex; flex-direction: column; }
.tt-item__time small { font-weight: 500; color: var(--gray-300); font-size: .72rem; }
.tt-item__card { flex: 1; border: 1px solid var(--gray-100); border-left: 4px solid var(--main-600); border-radius: 10px; padding: 10px 12px; background: #fff; }
.tt-item__title { font-weight: 600; }
.tt-item__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--gray-300); margin-top: 2px; }
.tt-item__meta .bi { margin-right: 2px; }
.tt-item__card--free { border-style: dashed; border-left: 4px dashed var(--gray-200); color: var(--gray-300); font-size: .85rem; background: transparent; padding: 8px 12px; }
.tt-item--free .tt-item__time { padding-top: 8px; }
.tt-item--break { align-items: center; padding: 2px 0; }
.tt-item--break .tt-item__time { padding-top: 0; }
.tt-item__break { flex: 1; font-size: .75rem; color: #9a6b00; background: #fff8e1; border-radius: 6px; padding: 3px 10px; text-align: center; }

/* Stacked tables on phones (site.js adds .table-stack and data-label) */
@media (max-width: 767.98px) {
    .table-stack { border-collapse: separate; }
    .table-stack thead { display: none; }
    .table-stack, .table-stack tbody, .table-stack tfoot, .table-stack tr { display: block; width: 100%; }
    .table-stack tr { background: #fff; border: 1px solid var(--gray-100); border-radius: 10px; margin: 0 12px 10px; width: auto; padding: 4px 0; }
    .table-stack tbody tr:first-child { margin-top: 12px; }
    .table-stack tfoot tr { background: var(--main-50); font-weight: 600; }
    .table-stack tr.table-danger { background: #fdf2f2; }
    .table-stack td, .table-stack th { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 14px !important; border: 0 !important; text-align: end !important; white-space: normal; }
    .table-stack td::before, .table-stack tbody th::before { content: attr(data-label); flex-shrink: 0; max-width: 45%; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--gray-300); text-align: start; }
    .table-stack td[data-nolabel] { justify-content: flex-end; }
    .table-stack td[data-nolabel]::before { display: none; }
    .table-stack td[data-full] { display: block; text-align: start !important; }
    .table-stack td[data-full]::before { display: none; }
    .table-stack td > .d-flex { flex: 1; justify-content: flex-end; }
    .table-stack td .progress { min-width: 90px; }
    .table-stack td:first-child { font-weight: 600; border-bottom: 1px dashed var(--gray-100) !important; margin-bottom: 2px; padding-bottom: 8px !important; }
    .table-responsive:has(> .table-stack) { overflow: visible; }
    .table-stack .btn-sm { padding: .25rem .6rem; }
}
@media (max-width: 767.98px) { .table-stack { min-width: 0 !important; max-width: 100%; } .table-stack td { min-width: 0; overflow-wrap: anywhere; } .table-stack td > a.d-flex { flex: 1; justify-content: flex-end; min-width: 0; } }
/* main.css also clears .btn borders; outline buttons need theirs */
.btn-outline-secondary, .btn-outline-primary, .btn-outline-danger, .btn-outline-success, .btn-outline-dark { border-color: var(--bs-btn-border-color) !important; }
.btn-outline-primary:hover, .btn-check:checked + .btn-outline-primary { background-color: var(--main-600) !important; }
@media (min-width: 768px) { .print-modal .modal-dialog { max-width: min(96vw, 1000px); width: auto; margin-left: auto; margin-right: auto; } }

/* Live class portal */
.lc-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-radius: 16px; padding: 28px 28px; color: #fff; background: linear-gradient(120deg, var(--main-700) 0%, var(--main-600) 55%, var(--main-500) 100%); position: relative; overflow: hidden; }
.lc-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.lc-hero__title { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.lc-hero__text { max-width: 560px; opacity: .9; }
.lc-hero__clock { flex-shrink: 0; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .9rem; white-space: nowrap; position: relative; }
.lc-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.lc-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border: 1px solid var(--gray-100); border-radius: 10px; text-decoration: none; color: var(--gray-500); position: relative; }
.lc-day__name { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-300); }
.lc-day__num { font-size: 1.15rem; font-weight: 700; }
.lc-day__dot { position: absolute; top: 6px; right: 6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--main-600); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.lc-day.is-today { border-color: var(--main-600); }
.lc-day.is-today .lc-day__name { color: var(--main-600); }
.lc-day.active { background: var(--main-600); border-color: var(--main-600); color: #fff; }
.lc-day.active .lc-day__name { color: rgba(255,255,255,.8); }
.lc-day.active .lc-day__dot { background: #fff; color: var(--main-600); }
.lc-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid var(--gray-100); border-radius: 12px; padding: 4px; max-width: 100%; }
.lc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--gray-500); text-decoration: none; white-space: nowrap; }
.lc-tab .bi { color: var(--main-600); }
.lc-tab__count { font-size: .7rem; background: var(--gray-50, #f1f3f5); color: var(--gray-300); border-radius: 9px; padding: 1px 7px; }
.lc-tab.active { background: var(--main-600); color: #fff; }
.lc-tab.active .bi { color: #fff; }
.lc-tab.active .lc-tab__count { background: rgba(255,255,255,.25); color: #fff; }
.lc-empty-icon { font-size: 3rem; color: var(--gray-200); }
.lc-item { display: flex; gap: 16px; align-items: center; padding: 14px 20px; }
.lc-item.is-live { background: #fff5f5; }
.lc-item__date { width: 52px; flex-shrink: 0; text-align: center; border: 1px solid var(--gray-100); border-radius: 10px; padding: 6px 0; line-height: 1.1; }
.lc-item__day { display: block; font-size: 1.2rem; font-weight: 700; }
.lc-item__mon { display: block; font-size: .7rem; text-transform: uppercase; color: var(--gray-300); font-weight: 600; }
.min-w-0 { min-width: 0; }
@media (max-width: 575.98px) { .lc-hero { padding: 20px; flex-direction: column; } .lc-hero__title { font-size: 1.3rem; } .lc-week { gap: 4px; } .lc-day { padding: 8px 2px; } .lc-day__num { font-size: 1rem; } .lc-item { flex-wrap: wrap; } .lc-item .btn { width: 100%; } }

/* Built-in live room */
.live-room { display: flex; flex-direction: column; height: calc(100vh - 150px); min-height: 480px; }
.live-room__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--gray-100); border-radius: 12px 12px 0 0; }
.live-room__frame { flex: 1; background: #111; border-radius: 0 0 12px 12px; overflow: hidden; }
.live-room__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-room__note { padding: 6px 2px; }

/* SMS gateway setup */
.sms-hero__phone { width: 72px; height: 110px; margin: 0 auto; border-radius: 14px; background: linear-gradient(180deg, var(--main-600), var(--main-700)); color: #fff; display: grid; place-items: center; font-size: 2rem; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.gw-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--gray-100); border-radius: 10px; cursor: pointer; height: 100%; margin: 0; }
.gw-card.active { border-color: var(--main-600); background: var(--main-50); }
.gw-card__radio { accent-color: var(--main-600); }
.gw-card__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--main-50); color: var(--main-600); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }

/* Messaging */
.chat { display: grid; grid-template-columns: 340px 1fr; height: calc(100vh - 150px); min-height: 520px; background: #fff; border: 1px solid var(--gray-100); border-radius: 12px; overflow: hidden; }
.chat__list { display: flex; flex-direction: column; border-right: 1px solid var(--gray-100); min-width: 0; }
.chat__list-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px; }
.chat__search { position: relative; padding: 0 16px 12px; }
.chat__search .bi { position: absolute; left: 30px; top: 50%; transform: translate(0, -70%); color: var(--gray-300); }
.chat__search .form-control { padding-left: 38px; border-radius: 999px; }
.chat__items { flex: 1; overflow-y: auto; }
.chat__item { display: flex; gap: 12px; align-items: center; padding: 10px 16px; color: inherit; text-decoration: none; border-top: 1px solid var(--gray-50, #f3f4f6); }
.chat__item:hover { background: var(--gray-50, #f8f9fb); }
.chat__item.active { background: var(--main-50); }
.chat__item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chat__preview { font-size: .85rem; color: var(--gray-300); }
.chat__time { font-size: .72rem; color: var(--gray-300); flex-shrink: 0; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--main-600); color: #fff; font-weight: 600; font-size: .85rem; display: grid; place-items: center; flex-shrink: 0; }
.chat__avatar--sm { width: 30px; height: 30px; font-size: .7rem; }
.chat__empty { text-align: center; color: var(--gray-300); padding: 40px 16px; } .chat__empty .bi { font-size: 2rem; display: block; margin-bottom: 8px; }
.chat__pane { display: flex; flex-direction: column; min-width: 0; background: var(--main-50); }
.chat__welcome { margin: auto; text-align: center; max-width: 560px; padding: 32px 24px; }
.chat__welcome-art { position: relative; margin: 0 auto 28px; max-width: 420px; display: flex; flex-direction: column; gap: 10px; }
.chat__demo { display: flex; align-items: flex-end; gap: 8px; max-width: 85%; font-size: .85rem; text-align: left; }
.chat__demo > span:not(.chat__avatar) { background: #fff; border: 1px solid var(--gray-100); border-radius: 14px; padding: 8px 12px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.chat__demo--me { margin-left: auto; flex-direction: row; }
.chat__demo--me > span:not(.chat__avatar) { background: var(--main-600); color: #fff; border-color: var(--main-600); }
.chat__welcome-icon { position: absolute; right: -10px; top: -14px; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--main-600); display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--gray-100); }
.chat__back { display: none; }
.chat__thread { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; }
.chat__day { text-align: center; margin: 6px 0 10px; } .chat__day span { font-size: .72rem; background: #fff; border: 1px solid var(--gray-100); border-radius: 999px; padding: 2px 10px; color: var(--gray-300); }
.bubble { max-width: 75%; padding: 8px 12px; border-radius: 16px; margin-bottom: 6px; white-space: pre-wrap; word-break: break-word; font-size: .95rem; }
.bubble.me { background: var(--main-600); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.them { background: #fff; border: 1px solid var(--gray-100); border-bottom-left-radius: 4px; margin-right: auto; }
.bubble time { display: block; font-size: .68rem; opacity: .7; margin-top: 2px; text-align: right; }
.chat__compose { display: flex; gap: 8px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--gray-100); }
.chat__compose .form-control { border-radius: 999px; }
.chat__compose .btn { border-radius: 50%; width: 42px; height: 42px; padding: 0; flex-shrink: 0; }
@media (max-width: 991.98px) {
    .chat { grid-template-columns: 1fr; height: calc(100vh - 130px); }
    .chat__pane { display: none; } .chat--open .chat__pane { display: flex; } .chat--open .chat__list { display: none; }
    .chat__back { display: inline-flex; }
}

/* Reports → find student report card */
.rc-find { max-width: 640px; }
.rc-find__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--main-50); color: var(--main-600); display: inline-grid; place-items: center; font-size: 1.8rem; }
.rc-find__form { display: flex; gap: 8px; max-width: 460px; }
.rc-find__form .form-control { border-radius: 999px; padding-left: 20px; }
.rc-find__form .btn { border-radius: 12px; width: 48px; flex-shrink: 0; }

/* Scan attendance kiosk */
.scan { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.scan__panel { grid-column: 1; }
.scan__result { grid-column: 2; grid-row: 1 / span 2; }
.scan__log { grid-column: 1; }
.scan__result.is-bad { border-color: #f87171; }
.scan__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto; display: block; border: 4px solid var(--main-50); }
.scan__photo--mono { display: grid; place-items: center; background: var(--main-50); color: var(--main-600); font-size: 2.2rem; font-weight: 700; }
.scan__badge { display: inline-block; color: #fff; font-weight: 700; letter-spacing: .05em; padding: 8px 20px; border-radius: 999px; font-size: 1.1rem; }
@media (max-width: 991.98px) { .scan { grid-template-columns: 1fr; } .scan__result, .scan__log { grid-column: 1; grid-row: auto; } }

/* Accounts */
.acc-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid var(--gray-100); border-radius: 12px; padding: 4px; }
.acc-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--gray-500); text-decoration: none; }
.acc-tab .bi { color: var(--main-600); }
.acc-tab.active { background: var(--main-600); color: #fff; } .acc-tab.active .bi { color: #fff; }
.acc-form-card .card-header { font-weight: 600; }
.acc-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acc-type__opt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--gray-100); border-radius: 10px; cursor: pointer; margin: 0; font-weight: 600; }
.acc-type__opt input { accent-color: var(--main-600); }
.acc-type__opt--income .bi { color: #15803d; } .acc-type__opt--expense .bi { color: #b91c1c; }
.acc-type__opt:has(input:checked) { border-color: var(--main-600); background: var(--main-50); }
.acc-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.acc-head-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-size: 1.05rem; }
.acc-chip { display: inline-block; background: var(--gray-50, #f1f3f5); border: 1px solid var(--gray-100); border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.acc-amount .form-control { font-size: 1.6rem; }
.acc-row-opening td { background: var(--main-50); font-weight: 600; }
.acc-row-total td { background: var(--gray-50, #f8f9fb); border-top: 2px solid var(--gray-100); }
.btn-xs { padding: .15rem .55rem; font-size: .75rem; border-radius: 6px; }
