:root {
  --ink: #132c2a; --deep: #073a34; --deep-2: #052c28; --green: #128067;
  --mint: #dff4df; --lime: #bce47a; --cream: #f4f3ec; --paper: #fff;
  --gold: #e4b154; --coral: #e8795d; --blue: #77a8d8; --muted: #6b7d79;
  --line: #dde5df; --pale: #f7f9f6; --danger: #b9533c;
  --shadow: 0 18px 48px rgba(10, 54, 48, .08); --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.startup-shell { position:fixed; inset:0; z-index:1000; display:grid; place-content:center; justify-items:center; padding:28px; color:#fff; background:radial-gradient(circle at 50% 75%,rgba(18,128,103,.5),transparent 35%),linear-gradient(145deg,#052c28,#073a34 62%,#0a5147); text-align:center; }
.startup-shell img { width:min(270px,72vw); height:auto; margin-bottom:28px; border:1px solid rgba(255,211,72,.3); border-radius:20px; box-shadow:0 24px 55px rgba(0,0,0,.28); }
.startup-spinner { width:34px; height:34px; margin-bottom:18px; border:3px solid rgba(255,255,255,.2); border-top-color:var(--lime); border-radius:50%; animation:spin .8s linear infinite; }
.startup-shell b,.startup-shell small { display:block; }.startup-shell b { color:#fff; font-family:Georgia,"Times New Roman",serif; font-size:24px; font-weight:500; }.startup-shell small { margin-top:8px; color:#bfd3cd; font-size:11px; }
.auth-shell { min-height:100vh; display:grid; grid-template-columns:minmax(320px,.9fr) minmax(430px,1.1fr); background:#fff; }
.auth-brand-panel { display:flex; flex-direction:column; justify-content:center; min-height:100vh; padding:clamp(42px,7vw,105px); color:#fff; background:radial-gradient(circle at 15% 85%,rgba(18,128,103,.55),transparent 32%),linear-gradient(145deg,#052c28,#073a34 62%,#0a5147); }
.auth-brand-panel img { width:min(310px,82%); height:auto; margin-bottom:42px; border:1px solid rgba(255,211,72,.3); border-radius:22px; box-shadow:0 25px 55px rgba(0,0,0,.26); }
.auth-brand-panel .eyebrow { color:var(--lime); }
.auth-brand-panel h1 { max-width:540px; margin:0; font-family:Georgia,"Times New Roman",serif; font-size:clamp(40px,5.5vw,76px); font-weight:500; line-height:.98; letter-spacing:-.045em; }
.auth-brand-panel > p:not(.eyebrow) { max-width:480px; margin:22px 0 0; color:#bfd3cd; font-size:15px; line-height:1.7; }
.auth-security-note { display:flex; gap:13px; max-width:470px; margin-top:45px; padding:18px 20px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius:15px; }
.auth-security-note::before { content:'⚿'; display:grid; place-items:center; flex:0 0 38px; height:38px; color:var(--deep); background:var(--lime); border-radius:11px; font-weight:900; }
.auth-security-note b,.auth-security-note span { display:block; }.auth-security-note b { color:#fff; font-size:12px; }.auth-security-note span { margin-top:4px; color:#b9cec8; font-size:10px; line-height:1.5; }
.auth-form-panel { display:grid; place-items:center; min-height:100vh; padding:40px; background:linear-gradient(135deg,#f5f4ee,#eef4ef); }
.auth-card { width:min(100%,460px); padding:clamp(28px,5vw,48px); background:#fff; border:1px solid rgba(15,96,82,.12); border-radius:24px; box-shadow:0 30px 80px rgba(7,58,52,.12); }
.auth-card h2 { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:34px; font-weight:500; letter-spacing:-.035em; }
.auth-card > p:not(.eyebrow) { margin:12px 0 26px; color:var(--muted); font-size:12px; line-height:1.65; }
.auth-card label { display:block; margin-top:14px; }.auth-card label span { display:block; margin-bottom:7px; color:var(--muted); font-size:9px; font-weight:850; text-transform:uppercase; letter-spacing:.06em; }
.auth-card input { width:100%; height:48px; padding:0 14px; color:var(--ink); background:#fbfcfa; border:1px solid #d8e2db; border-radius:11px; outline:0; }.auth-card input:focus { border-color:var(--green); box-shadow:0 0 0 4px rgba(18,128,103,.08); }
.auth-card .button { width:100%; min-height:48px; margin-top:21px; }.auth-card > small { display:block; margin-top:15px; color:var(--muted); font-size:9px; line-height:1.55; text-align:center; }
.auth-error { margin-top:14px; padding:11px 13px; color:#8f3f2e; background:#fff0eb; border:1px solid #f0cfc5; border-radius:10px; font-size:10px; line-height:1.5; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; flex-direction: column; width: 236px; padding: 27px 20px 21px; overflow-y: auto; color: #fff; background: radial-gradient(circle at 10% 90%, rgba(18,128,103,.45), transparent 28%), var(--deep-2); }
.brand { display: flex; justify-content:center; padding: 0 2px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-logo { display:block; width:100%; max-width:192px; height:auto; border:1px solid rgba(255,211,72,.28); border-radius:16px; box-shadow:0 14px 30px rgba(0,0,0,.24); }
.main-nav { display: grid; gap: 6px; margin-top: 23px; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; height: 47px; padding: 0 14px; color: rgba(255,255,255,.63); background: transparent; border: 0; border-radius: 12px; cursor: pointer; font-size: 12px; font-weight: 750; text-align: left; transition: .18s ease; }
.nav-item span { display: grid; place-items: center; width: 22px; height: 22px; font-size: 16px; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.active { color: var(--deep); background: var(--lime); box-shadow: 0 12px 25px rgba(0,0,0,.16); }
.sidebar-foot { margin-top: auto; }
.sync-card { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.055); }
.sync-icon { display: grid; place-items: center; width: 29px; height: 29px; color: var(--lime); background: rgba(188,228,122,.1); border-radius: 9px; }
.sync-card b, .sync-card small { display: block; }
.sync-card b { font-size: 10px; }
.sync-card small { margin-top: 3px; color: rgba(255,255,255,.48); font-size: 9px; }
.sync-card small.ready { color: var(--lime); }
.sidebar-foot > p { margin: 13px 0 0; color: rgba(255,255,255,.3); font-size: 8px; text-align: center; text-transform: uppercase; letter-spacing: .14em; }
.app-main { min-height: 100vh; margin-left: 236px; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 17px 34px; background: rgba(244,243,236,.93); border-bottom: 1px solid rgba(9,61,54,.08); backdrop-filter: blur(15px); }
.topbar p { margin: 0 0 4px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.topbar h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; letter-spacing: -.025em; }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.as-of { padding-right: 17px; margin-right: 5px; border-right: 1px solid var(--line); }
.as-of span, .as-of b { display: block; }
.as-of span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.as-of b { margin-top: 3px; font-size: 10px; }
.account-chip { max-width: 210px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.account-chip span,.account-chip b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.account-chip span { color:var(--muted); font-size:8px; }.account-chip b { margin-top:2px; font-size:9px; }
.signout-link { padding:5px 3px; color:var(--muted); background:transparent; border:0; cursor:pointer; font-size:9px; font-weight:800; text-decoration:none; }.signout-link:hover { color:var(--danger); }.password-link:hover { color:var(--green); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
main { padding: 33px 34px 80px; }
.view { display: none; animation: viewIn .22s ease; }
.view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.loading-state { position: fixed; inset: 92px 0 0 236px; z-index: 18; display: grid; place-content: center; justify-items: center; color: var(--muted); background: var(--cream); }
.loading-state.hidden { display: none; }
.loading-state span { width: 38px; height: 38px; border: 3px solid #d7dfd9; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
.loading-state p { font-size: 11px; }
@keyframes spin { to { transform: rotate(360deg); } }
.view-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.eyebrow { margin: 0 0 7px; color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.view-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(29px, 3.3vw, 42px); font-weight: 500; letter-spacing: -.035em; }
.view-heading > div > p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.heading-actions { display: flex; align-items: center; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer; font-size: 10px; font-weight: 850; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .55; transform: none; }
.button.primary { color: var(--deep); background: var(--lime); box-shadow: 0 10px 24px rgba(153,197,82,.16); }
.button.primary:hover { background: #c9eb91; }
.button.secondary { color: #fff; background: var(--green); }
.button.ghost-dark { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.button.small { min-height: 37px; padding: 0 12px; font-size: 9px; }
.button.full { width: 100%; min-height: 48px; margin-top: 20px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: 18px; }
.icon-button.spinning { animation: spin .7s linear infinite; }
.card { background: var(--paper); border: 1px solid rgba(15,96,82,.1); border-radius: var(--radius); box-shadow: var(--shadow); }
.kpi-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 15px; }
.kpi { min-height: 150px; padding: 21px; background: #fff; border: 1px solid rgba(15,96,82,.09); border-radius: 18px; box-shadow: var(--shadow); }
.kpi.feature { color: #fff; background: radial-gradient(circle at 90% 5%, rgba(188,228,122,.2), transparent 29%), var(--deep); }
.kpi.warning { background: #fff9f6; border-color: #f1d6cc; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; }
.kpi-top span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.kpi.feature .kpi-top span { color: rgba(255,255,255,.55); }
.kpi i { display: grid; place-items: center; width: 29px; height: 29px; color: #fff; background: var(--coral); border-radius: 9px; font-style: normal; font-weight: 900; }
.kpi i.mint { color: var(--deep); background: var(--mint); }
.kpi i.blue { color: var(--deep); background: #e4eff9; }
.kpi.feature i { color: var(--deep); background: var(--lime); }
.kpi strong { display: block; margin: 16px 0 4px; font-family: Georgia, serif; font-size: clamp(25px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.03em; }
.kpi.feature strong { color: var(--lime); }
.kpi small { color: var(--muted); font-size: 9px; }
.kpi.feature small { color: rgba(255,255,255,.46); }
.mini-track { height: 3px; margin-top: 16px; background: rgba(255,255,255,.1); border-radius: 4px; }
.mini-track span { display: block; height: 100%; background: var(--lime); border-radius: 4px; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 15px; margin-top: 15px; }
.due-card, .activity-card { min-height: 340px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 23px; border-bottom: 1px solid var(--line); }
.card-head h3 { margin: 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.text-button { padding: 0; color: var(--green); background: transparent; border: 0; cursor: pointer; font-size: 9px; font-weight: 850; }
.empty-box { min-height: 245px; display: grid; place-content: center; justify-items: center; padding: 25px; color: var(--muted); text-align: center; }
.empty-box > span { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 10px; color: var(--green); background: var(--mint); border-radius: 50%; font-size: 17px; }
.empty-box b { color: var(--ink); font-size: 11px; }
.empty-box small { max-width: 250px; margin-top: 5px; font-size: 9px; line-height: 1.5; }
.due-item, .activity-item { display: grid; align-items: center; padding: 14px 22px; border-bottom: 1px solid #edf1ed; }
.due-item { grid-template-columns: 45px 1fr auto auto; gap: 13px; }
.due-date { padding: 7px 3px; color: var(--green); background: #eef7ef; border-radius: 9px; text-align: center; }
.due-date b, .due-date small { display: block; }
.due-date b { font-family: Georgia, serif; font-size: 16px; }
.due-date small { font-size: 7px; text-transform: uppercase; }
.due-info b, .due-info small, .activity-info b, .activity-info small { display: block; }
.due-info b, .activity-info b { font-size: 10px; }
.due-info small, .activity-info small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.due-amount { font-size: 11px; font-weight: 850; font-variant-numeric: tabular-nums; }
.late-tag { margin-left: 10px; padding: 6px 8px; color: var(--danger); background: #fff0eb; border-radius: 999px; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.activity-item { grid-template-columns: 32px 1fr auto; gap: 11px; }
.activity-icon { display: grid; place-items: center; width: 31px; height: 31px; color: var(--deep); background: var(--mint); border-radius: 10px; font-size: 11px; }
.activity-amount { color: var(--green); font-size: 10px; font-weight: 900; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 15px; }
.quick-actions button { display: grid; grid-template-columns: 37px 1fr; gap: 0 12px; padding: 15px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 15px; cursor: pointer; transition: .18s ease; }
.quick-actions button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.qa-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 37px; height: 37px; color: var(--deep); background: var(--mint); border-radius: 11px; font-size: 17px; font-weight: 900; }
.qa-icon.green { color: #fff; background: var(--green); }.qa-icon.gold { background: #f5dfae; }.qa-icon.coral { color: #fff; background: var(--coral); }
.quick-actions b { align-self: end; font-size: 10px; }.quick-actions small { align-self: start; margin-top: 3px; color: var(--muted); font-size: 8px; }
.executive-heading { align-items: center; }
.executive-filters { grid-template-columns: repeat(3,minmax(125px,1fr)) repeat(3,minmax(145px,1fr)) auto; }
.executive-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 15px; }
.executive-kpis .kpi { min-height: 140px; }
.executive-trend-card { margin-bottom: 15px; overflow: hidden; }
.executive-trend { display: grid; grid-template-columns: repeat(6,minmax(155px,1fr)); gap: 1px; background: var(--line); overflow-x: auto; }
.executive-trend article { min-width: 155px; padding: 17px 15px; background: #fff; }
.exec-trend-line { display: grid; grid-template-columns: 47px minmax(35px,1fr) 43px; align-items: center; gap: 6px; margin-top: 10px; }
.exec-trend-line > span { color: var(--muted); font-size: 7px; font-weight: 850; }
.exec-trend-line > div { height: 5px; overflow: hidden; background: #edf1ed; border-radius: 999px; }
.exec-trend-line i { display: block; min-width: 2px; height: 100%; background: var(--green); border-radius: inherit; }
.exec-trend-line.interest i { background: var(--gold); }
.exec-trend-line.cost i { background: var(--coral); }
.exec-trend-line.disbursed i { background: var(--blue); }
.exec-trend-line > b { font-size: 7px; text-align: right; }
.executive-branch-table { min-width: 1450px; }
.forecast-assumptions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 620px; }
.forecast-assumptions span { padding: 7px 9px; color: #365b54; background: #edf4ef; border-radius: 999px; font-size: 7px; font-weight: 850; white-space: nowrap; }
.forecast-bars { display: grid; grid-template-columns: repeat(13,minmax(48px,1fr)); align-items: end; gap: 8px; min-height: 145px; padding: 22px 23px 17px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.forecast-bars article { display: grid; grid-template-rows: auto 92px auto; align-items: end; min-width: 48px; text-align: center; }
.forecast-bars article > span { color: var(--muted); font-size: 7px; font-weight: 850; }
.forecast-bars div { display: flex; align-items: end; justify-content: center; height: 92px; }
.forecast-bars i { display: block; width: 58%; min-height: 4px; background: linear-gradient(180deg,var(--lime),var(--green)); border-radius: 7px 7px 2px 2px; }
.forecast-bars i.negative { background: linear-gradient(180deg,#f0c46d,var(--coral)); }
.forecast-bars article.warning i { background: linear-gradient(180deg,#ed9a83,var(--danger)); }
.forecast-bars b,.forecast-bars small { display: block; }
.forecast-bars b { margin-top: 8px; font-size: 8px; }
.forecast-bars small { margin-top: 3px; color: var(--muted); font-size: 6px; white-space: nowrap; }
.forecast-table { min-width: 1570px; }
.forecast-warning { color: var(--danger)!important; font-weight: 850; }
.command-heading { align-items:center; }
.command-filters { grid-template-columns:repeat(4,minmax(155px,1fr)); margin-bottom:15px; }
.command-summary { grid-template-columns:repeat(7,1fr); }
.command-alert { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:15px; padding:17px 20px; color:#dce9e4; background:linear-gradient(115deg,var(--deep),#0d6255); border-radius:16px; }
.command-alert > div { display:flex; align-items:center; gap:13px; }.command-alert-icon { display:grid; place-items:center; flex:0 0 auto; width:38px; height:38px; color:var(--deep); background:var(--lime); border-radius:11px; font-weight:900; }.command-alert.attention .command-alert-icon { color:#fff; background:var(--coral); }
.command-alert b,.command-alert p { display:block; margin:0; }.command-alert b { color:#fff; font-size:13px; }.command-alert p { margin-top:4px; color:#b9d0ca; font-size:10px; line-height:1.45; }.command-alert > span { padding:8px 10px; color:var(--lime); background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.12); border-radius:999px; font-size:9px; font-weight:850; white-space:nowrap; }
.command-categories { display:grid; grid-template-columns:repeat(6,minmax(135px,1fr)); gap:10px; margin-bottom:15px; overflow-x:auto; }.command-category { min-width:135px; padding:14px 15px; background:#fff; border:1px solid var(--line); border-radius:13px; }.command-category span,.command-category b { display:block; }.command-category span { color:var(--muted); font-size:8px; font-weight:850; text-transform:uppercase; letter-spacing:.05em; }.command-category b { margin-top:6px; color:var(--deep); font-family:Georgia,serif; font-size:22px; font-weight:500; }
.command-table { min-width:1120px; }.command-priority { display:inline-flex; padding:6px 9px; border-radius:999px; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }.command-priority.critical { color:#fff; background:var(--danger); }.command-priority.high { color:#943d31; background:#fee9e5; }.command-priority.medium { color:#796224; background:#fbf2d7; }.command-priority.low { color:#17644e; background:#e7f4ea; }
.alert-summary { grid-template-columns:repeat(6,1fr); }
.alert-control-note { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:15px; padding:17px 20px; color:#dce9e4; background:linear-gradient(115deg,var(--deep),#0d6255); border-radius:16px; }.alert-control-note > div { display:flex; align-items:center; gap:13px; }.alert-control-icon { display:grid; place-items:center; flex:0 0 auto; width:38px; height:38px; color:var(--deep); background:var(--lime); border-radius:11px; font-weight:900; }.alert-control-note.attention .alert-control-icon { color:#fff; background:var(--coral); }.alert-control-note b,.alert-control-note p { display:block; margin:0; }.alert-control-note b { color:#fff; font-size:13px; }.alert-control-note p { margin-top:4px; color:#b9d0ca; font-size:10px; line-height:1.45; }.alert-control-note > span { padding:8px 10px; color:var(--lime); background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.12); border-radius:999px; font-size:9px; font-weight:850; white-space:nowrap; }
.alert-table { min-width:1240px; }.alert-level,.alert-status { display:inline-flex; padding:6px 9px; border-radius:999px; font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.04em; white-space:nowrap; }.alert-level.level-0 { color:#17644e; background:#e7f4ea; }.alert-level.level-1 { color:#796224; background:#fbf2d7; }.alert-level.level-2 { color:#fff; background:var(--danger); }.alert-status.open { color:#943d31; background:#fee9e5; }.alert-status.acknowledged { color:#6f5a1f; background:#fbf2d7; }.alert-status.resolved { color:#17644e; background:#e7f4ea; }.alert-status.cleared { color:#5e6f69; background:#e9efec; }
.alert-row-actions { display:flex; gap:6px; }.row-action.ghost { color:#49645d; background:#edf3ef; }.alert-lower-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:15px; margin-top:15px; }.alert-rules-card table { min-width:700px; }.alert-activity { display:grid; }.alert-activity article { display:flex; align-items:flex-start; gap:12px; padding:14px 18px; border-top:1px solid var(--line); }.alert-activity article > span { display:grid; place-items:center; flex:0 0 auto; width:32px; height:32px; color:#fff; background:var(--green); border-radius:9px; font-size:11px; font-weight:900; }.alert-activity b,.alert-activity small { display:block; }.alert-activity b { color:var(--ink); font-size:11px; line-height:1.45; }.alert-activity small { margin-top:4px; color:var(--muted); font-size:9px; line-height:1.45; }.alert-action-summary { display:grid; gap:5px; margin-bottom:15px; padding:14px 15px; background:#f2f7f3; border:1px solid var(--line); border-radius:12px; }.alert-action-summary b { color:var(--deep); font-size:13px; }.alert-action-summary span,.alert-action-summary small { color:var(--muted); font-size:11px; line-height:1.45; }.alert-action-summary small { color:#49645d; }
.command-exception b,.command-exception small { display:block; }.command-exception b { font-size:10px; }.command-exception small { max-width:370px; margin-top:4px; color:var(--muted); font-size:8px; line-height:1.45; white-space:normal; }.command-category-tag { display:inline-block; margin-top:6px; color:var(--green); font-size:8px; font-weight:850; }
.register-card { overflow: hidden; }
.register-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.search-box { display: flex; align-items: center; width: min(430px, 70%); height: 41px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--pale); }
.search-box span { margin-right: 9px; color: var(--muted); }
.search-box input { width: 100%; padding: 0; border: 0; background: transparent; outline: none; font-size: 10px; }
.record-count { color: var(--muted); font-size: 9px; }
select { height: 41px; padding: 0 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 11px; outline: none; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 10px; }
th { padding: 12px 17px; color: #647873; background: #f9faf7; text-align: left; font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
td { padding: 14px 17px; border-top: 1px solid #edf1ed; vertical-align: middle; white-space: nowrap; }
tbody tr:hover { background: #fbfdf9; }
.cell-main b, .cell-main small { display: block; }.cell-main b { font-size: 10px; }.cell-main small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.currency-cell { font-weight: 800; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 999px; font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.active, .status.paid, .status.closed { color: #19705a; background: #e8f5eb; }
.status.inactive, .status.rejected { color: var(--danger); background: #fff0eb; }
.status.approved { color: #19705a; background: #e8f5eb; }
.status.reconciled { color: #19705a; background: #e8f5eb; }
.status.attention { color: var(--danger); background: #fff0eb; }
.status.draft { color: #7b6a25; background: #fbf2d7; }
.status.overdue { color: var(--danger); background: #fff0eb; }
.status.written_off { color: #fff; background: #70463c; }
.status.pending { color: #7b6a25; background: #fbf2d7; }.status.partial { color: #3e6993; background: #eaf2fa; }
.status.sent { color:#3e6993; background:#eaf2fa; }.status.accepted { color:#19705a; background:#e8f5eb; }.status.revoked { color:var(--danger); background:#fff0eb; }
.row-action { padding: 6px 9px; color: var(--green); background: #edf6ef; border: 0; border-radius: 8px; cursor: pointer; font-size: 8px; font-weight: 850; }
.row-actions { display: flex; align-items: center; gap: 5px; }
.row-action.danger-action { color: #9a4938; background: #fff0eb; }
.empty-table td { height: 160px; color: var(--muted); text-align: center; }
.summary-strip { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 15px; background: var(--deep); border-radius: 17px; overflow: hidden; }
.summary-strip div { padding: 17px 22px; border-right: 1px solid rgba(255,255,255,.1); }.summary-strip div:last-child { border: 0; }
.summary-strip span, .summary-strip b { display: block; }.summary-strip span { color: rgba(255,255,255,.48); font-size: 8px; text-transform: uppercase; }.summary-strip b { margin-top: 5px; color: var(--lime); font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.organisation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.safe-pill { padding: 8px 11px; color: var(--green); background: #e8f4e9; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.calculator-grid { display: grid; grid-template-columns: 1.45fr .7fr; gap: 15px; }
.calculator-form { padding: 23px; }
.form-section-head { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }.form-section-head > span { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--green); border-radius: 10px; font-size: 8px; font-weight: 900; }.form-section-head h3,.form-section-head p { margin: 0; }.form-section-head h3 { font-size: 13px; }.form-section-head p { margin-top: 3px; color: var(--muted); font-size: 8px; }
.form-grid { display: grid; gap: 14px; }.form-grid.two { grid-template-columns: 1fr 1fr; }.form-grid.three { grid-template-columns: repeat(3,1fr); }.form-grid.four { grid-template-columns: repeat(4,1fr); }
label > span, fieldset legend { display: block; margin-bottom: 7px; color: #4d6661; font-size: 9px; font-weight: 800; }
input, textarea, select { width: 100%; color: var(--ink); border: 1px solid #d8e2db; background: #fcfdfa; border-radius: 10px; outline: none; transition: .16s ease; }
input { height: 43px; padding: 0 12px; } textarea { padding: 11px 12px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,128,103,.08); }
.money-input, .suffix-input { display: flex; height: 43px; overflow: hidden; border: 1px solid #d8e2db; border-radius: 10px; background: #fcfdfa; }.money-input:focus-within,.suffix-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,128,103,.08); }.money-input b,.suffix-input b { display: grid; place-items: center; min-width: 38px; padding: 0 9px; color: var(--muted); background: #eff3ef; font-size: 9px; }.money-input input,.suffix-input input { height: 41px; border: 0; border-radius: 0; box-shadow: none; }
.model-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin: 18px 0; padding: 0; border: 0; }.model-cards legend { grid-column: 1/-1; }.model-cards label { cursor: pointer; }.model-cards input { position: absolute; opacity: 0; pointer-events: none; }.model-cards label > span { display: block; min-height: 65px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fafcf9; }.model-cards b,.model-cards small { display: block; }.model-cards b { font-size: 10px; }.model-cards small { margin-top: 4px; color: var(--muted); font-size: 8px; }.model-cards input:checked + span { color: #fff; border-color: var(--green); background: var(--green); }.model-cards input:checked + span small { color: rgba(255,255,255,.65); }
.compact { margin-top: 3px; }.hidden { display: none !important; }
.calculator-summary { display: flex; flex-direction: column; min-height: 100%; padding: 26px; color: #fff; background: radial-gradient(circle at 90% 0, rgba(188,228,122,.16), transparent 30%), var(--deep); border-radius: var(--radius); box-shadow: 0 22px 50px rgba(7,58,52,.15); }.calculator-summary > p { margin: 0; color: rgba(255,255,255,.48); font-size: 9px; }.calculator-summary > strong { margin: 8px 0 4px; color: var(--lime); font-family: Georgia,serif; font-size: clamp(31px,3vw,40px); font-weight: 500; letter-spacing: -.04em; }.calculator-summary > small { color: rgba(255,255,255,.43); font-size: 8px; }
.calc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; margin-top: 26px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.11); border-bottom: 1px solid rgba(255,255,255,.11); }.calc-stats span,.calc-stats b { display: block; }.calc-stats span { color: rgba(255,255,255,.45); font-size: 8px; }.calc-stats b { margin-top: 5px; font-size: 10px; }.rollover-box { margin-top: auto; padding-top: 22px; }.rollover-box span,.rollover-box b,.rollover-box small { display: block; }.rollover-box span { color: rgba(255,255,255,.45); font-size: 8px; }.rollover-box b { margin: 5px 0; font-size: 14px; }.rollover-box small { color: var(--gold); font-size: 8px; }
.calculator-results { margin-top: 15px; overflow: hidden; }.calc-result-head > div:last-child { display: flex; gap: 7px; flex-wrap: wrap; }.calc-alert { padding: 12px 22px; color: #7f3d2e; background: #fff0eb; border-bottom: 1px solid #f0cfc5; font-size: 9px; } tfoot td { color: var(--deep); background: #e9f1ea; font-weight: 900; }
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 20px; }.modal.open { display: flex; }.modal-backdrop { position: absolute; inset: 0; background: rgba(2,25,22,.68); backdrop-filter: blur(4px); }.modal-dialog { position: relative; width: min(590px,100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 24px; background: #fff; border-radius: 20px; box-shadow: 0 35px 100px rgba(0,0,0,.28); animation: modalIn .18s ease; }.wide-dialog { width: min(760px,100%); }.schedule-dialog { width: min(1000px,100%); }.modal-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }.modal-head h2 { margin: 0; font-family: Georgia,serif; font-size: 27px; font-weight: 500; }.modal-head p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 9px; }.close-button { width: 35px; height: 35px; color: var(--muted); background: var(--pale); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 20px; }
.permission-dialog { width:min(920px,100%); }.permission-section { margin-top:20px; padding:17px; border:1px solid var(--line); border-radius:15px; background:#f8faf7; }.permission-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:13px; }.permission-section-head b,.permission-section-head span { display:block; }.permission-section-head b { color:var(--deep); font-size:12px; }.permission-section-head span { margin-top:4px; color:var(--muted); font-size:9px; line-height:1.45; }.permission-legend { display:flex; gap:5px; }.permission-legend i { padding:5px 7px; color:#547069; background:#eaf1ec; border-radius:999px; font-size:7px; font-style:normal; font-weight:850; text-transform:uppercase; }.permission-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.permission-row { display:grid; grid-template-columns:1fr 125px; align-items:center; gap:12px; min-width:0; margin:0; padding:10px 11px; background:#fff; border:1px solid #e4ebe6; border-radius:11px; }.permission-row > span { min-width:0; margin:0; }.permission-row b,.permission-row small { display:block; }.permission-row b { color:var(--ink); font-size:10px; }.permission-row small { margin-top:3px; overflow:hidden; color:var(--muted); font-size:8px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }.permission-row select { height:36px; font-size:9px; }.permission-row select:disabled { color:#647873; background:#eef2ee; }.permission-empty { grid-column:1/-1; margin:0; padding:18px; color:var(--muted); text-align:center; font-size:10px; }.permission-action { color:#244e84; background:#eaf2fa; }
@keyframes modalIn { from { opacity: 0; transform: scale(.98) translateY(8px); } }
.span-two { grid-column: 1/-1; }.form-divider { position: relative; margin: 20px 0; border-top: 1px solid var(--line); }.form-divider span { position: relative; top: -7px; padding-right: 10px; color: var(--muted); background: #fff; font-size: 8px; text-transform: uppercase; }.modal-models { margin-top: 20px; }.modal-note { margin-top: 18px; padding: 12px 14px; color: #58706b; background: #f0f6ef; border-radius: 11px; font-size: 8px; line-height: 1.55; }.modal-note.error { color: var(--danger); background: #fff0eb; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.schedule-stats { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 16px; color: #fff; background: var(--deep); border-radius: 13px; overflow: hidden; }.schedule-stats div { padding: 13px 15px; border-right: 1px solid rgba(255,255,255,.1); }.schedule-stats span,.schedule-stats b { display: block; }.schedule-stats span { color: rgba(255,255,255,.48); font-size: 7px; text-transform: uppercase; }.schedule-stats b { margin-top: 4px; color: var(--lime); font-size: 11px; }.schedule-table { max-height: 420px; border: 1px solid var(--line); border-radius: 12px; }
.collection-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 15px; padding: 17px 20px; }
.collection-tabs { display: flex; gap: 5px; padding: 4px; background: #edf2ec; border-radius: 12px; }
.collection-tabs button { min-height: 37px; padding: 0 14px; color: var(--muted); background: transparent; border: 0; border-radius: 9px; cursor: pointer; font-size: 10px; font-weight: 850; }
.collection-tabs button.active { color: #fff; background: var(--deep); box-shadow: 0 7px 16px rgba(7,58,52,.15); }
.collection-filters { display: flex; gap: 10px; }
.collection-filters label { min-width: 170px; }
.collection-summary { margin-bottom: 15px; }
.collection-help { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 73px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.collection-help > span { max-width: 690px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.collection-card.is-loading { opacity: .58; pointer-events: none; }
.realised-card { margin-bottom: 15px; }
.realised-card .card-head small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.collection-table { min-width: 1320px; }
.repayment-status { display: flex; gap: 4px; padding: 3px; background: #f0f3ef; border-radius: 10px; }
.repayment-status button { min-height: 31px; padding: 0 9px; color: #60736e; background: transparent; border: 0; border-radius: 7px; cursor: pointer; font-size: 8px; font-weight: 900; white-space: nowrap; }
.repayment-status button[data-row-status="paid"].active { color: #fff; background: var(--green); }
.repayment-status button[data-row-status="partial"].active { color: #fff; background: #477ca8; }
.repayment-status button[data-row-status="not_paid"].active { color: #fff; background: var(--danger); }
.compact-money { width: 135px; height: 37px; }
.compact-money input { height: 35px; padding: 0 8px; font-size: 10px; }
.compact-money b { min-width: 29px; padding: 0 6px; }
.collection-paid-date { width: 145px; height: 37px; font-size: 9px; }
.payment-choice { display: flex; gap: 8px; margin: 0; padding: 0; border: 0; }
.payment-choice legend { width: 100%; }
.payment-choice label { flex: 1; cursor: pointer; }
.payment-choice input { position: absolute; opacity: 0; pointer-events: none; }
.payment-choice label span { display: grid; place-items: center; min-height: 42px; margin: 0; color: var(--muted); background: #f7f9f6; border: 1px solid var(--line); border-radius: 10px; }
.payment-choice input:checked + span { color: #fff; background: var(--green); border-color: var(--green); }
input[readonly] { color: #214c46; background: #eef4ef; font-weight: 800; }
.liquidation-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 13px; }
.liquidation-quote > span { grid-column: 1/-1; padding: 20px; color: var(--muted); background: #f8faf7; text-align: center; }
.liquidation-quote > div { padding: 15px; background: #f8faf7; }
.liquidation-quote span,.liquidation-quote b,.liquidation-quote strong { display: block; }
.liquidation-quote span { color: var(--muted); font-size: 9px; }
.liquidation-quote b { margin-top: 5px; font-size: 13px; }
.liquidation-quote .quote-total { grid-column: 1/-1; color: #fff; background: var(--deep); }
.liquidation-quote .quote-total span { color: rgba(255,255,255,.55); }
.liquidation-quote strong { margin-top: 5px; color: var(--lime); font-family: Georgia,serif; font-size: 25px; font-weight: 500; }
.error-text { color: var(--danger)!important; }
.history-summary { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 14px; overflow: hidden; color: #fff; background: var(--deep); border-radius: 13px; }
.history-summary div { padding: 14px; border-right: 1px solid rgba(255,255,255,.1); }
.history-summary div:last-child { border: 0; }
.history-summary span,.history-summary b { display: block; }
.history-summary span { color: rgba(255,255,255,.5); font-size: 8px; text-transform: uppercase; }
.history-summary b { margin-top: 5px; color: var(--lime); font-family: Georgia,serif; font-size: 18px; font-weight: 500; }
.history-list { display: grid; gap: 7px; max-height: 265px; margin-bottom: 14px; overflow-y: auto; }
.history-list article { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); align-items: center; gap: 13px; padding: 13px 15px; background: #f8faf7; border: 1px solid var(--line); border-radius: 11px; }
.history-list b,.history-list small,.history-list span { display: block; }
.history-list article > div:first-child > b { font-size: 10px; }
.history-list small,.history-list span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.history-list article > div:not(:first-child) b { margin-top: 4px; font-size: 10px; }
.history-payments-head { margin: 0; padding-left: 0; padding-right: 0; }
.compact-empty { min-height: 90px; }
.report-filter-bar { display: grid; grid-template-columns: repeat(4,minmax(130px,1fr)) auto; align-items: end; gap: 12px; margin-bottom: 15px; padding: 17px 20px; }
.expense-grid { display: grid; grid-template-columns: minmax(230px,.45fr) minmax(0,1.55fr); gap: 15px; }
.class-summary { max-height: 520px; overflow-y: auto; }
.class-summary > div:not(.empty-box) { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
.class-summary > div:first-child { border-top: 0; }
.class-summary span { color: var(--muted); font-size: 9px; }
.class-summary b { font-size: 10px; font-variant-numeric: tabular-nums; }
.report-block { margin-bottom: 15px; overflow: hidden; }
.report-card-head { align-items: end; }
.report-card-head small { display: block; max-width: 560px; margin-top: 6px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.inline-filters { display: flex; align-items: end; gap: 8px; }
.inline-filters label { min-width: 135px; }
.revenue-table { min-width: 760px; }
.revenue-table .branch-heading { color: var(--deep); background: #e8f3e8; text-align: center; border-left: 1px solid #ceddd2; }
.revenue-table td:not(:first-child),.revenue-table thead tr:nth-child(2) th { text-align: right; }
.cost-value { color: #8a5b22; }
.net-value { color: var(--green); }
.negative-value { color: var(--danger); }
.cashbook-table { min-width: 1080px; }
.reconciliation-table { min-width: 1450px; }
.reconciliation-input { width: 138px; height: 37px; }
.reconciliation-input input { height: 35px; padding: 0 8px; font-size: 10px; }
.reconciliation-input b { min-width: 29px; padding: 0 6px; }
.expected-close { color: var(--deep); background: #f2f7f1; }
.reconciliation-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; border-top: 1px solid var(--line); }
.reconciliation-actions span { color: var(--muted); font-size: 9px; line-height: 1.5; }
.channel-pill { display: inline-flex; padding: 6px 9px; color: #305a52; background: #edf4ef; border-radius: 999px; font-size: 8px; font-weight: 850; }
.money-in { color: #19705a; }
.money-out { color: #9a4938; }
.risk-filters { grid-template-columns: minmax(150px,.8fr) minmax(180px,1fr) minmax(190px,1fr) auto; }
.risk-kpi-grid { margin-bottom: 15px; }
.risk-analysis-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 15px; margin-bottom: 15px; }
.risk-panel { overflow: hidden; }
.par-ladder { padding: 4px 21px 12px; }
.par-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 2px; border-top: 1px solid var(--line); }
.par-row:first-child { border-top: 0; }
.par-row b,.par-row small,.par-row-value strong,.par-row-value span { display: block; }
.par-row b { font-size: 10px; }
.par-row small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.par-row-value { text-align: right; }
.par-row-value strong { color: var(--danger); font-family: Georgia,serif; font-size: 21px; font-weight: 500; }
.par-row-value span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.risk-ageing { display: grid; gap: 16px; padding: 21px 23px 24px; }
.ageing-row { display: grid; grid-template-columns: 125px minmax(80px,1fr) 46px; align-items: center; gap: 12px; }
.ageing-label b,.ageing-label span { display: block; }
.ageing-label b { font-size: 9px; }
.ageing-label span { margin-top: 3px; color: var(--muted); font-size: 7px; }
.ageing-track { height: 9px; overflow: hidden; background: #edf1ed; border-radius: 999px; }
.ageing-track span { display: block; min-width: 0; height: 100%; background: var(--green); border-radius: inherit; }
.ageing-track span.watch { background: var(--gold); }
.ageing-track span.at_risk { background: var(--coral); }
.ageing-track span.high { background: #cc6350; }
.ageing-track span.critical,.ageing-track span.severe { background: #913e35; }
.ageing-row > strong { color: var(--muted); font-size: 9px; text-align: right; }
.risk-trend-card { overflow: hidden; }
.risk-trend { display: grid; grid-template-columns: repeat(6,minmax(125px,1fr)); gap: 1px; background: var(--line); }
.risk-trend article { padding: 17px 15px; background: #fff; }
.trend-head { min-height: 42px; }
.trend-head b,.trend-head span { display: block; }
.trend-head b { font-family: Georgia,serif; font-size: 15px; font-weight: 500; }
.trend-head span { margin-top: 4px; color: var(--muted); font-size: 7px; }
.trend-measure { display: grid; grid-template-columns: 38px 1fr 35px; align-items: center; gap: 6px; margin-top: 12px; }
.trend-measure > span { color: var(--muted); font-size: 7px; font-weight: 850; }
.trend-measure > div { height: 5px; overflow: hidden; background: #edf1ed; border-radius: 999px; }
.trend-measure i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.trend-measure.par30 i { background: var(--danger); }
.trend-measure > b { font-size: 8px; text-align: right; }
.risk-rate b,.risk-rate small { display: block; }
.risk-rate b { font-size: 10px; }
.risk-rate small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.risk-watchlist-table { min-width: 1280px; }
.risk-status { display: inline-flex; align-items: center; padding: 6px 8px; border-radius: 999px; font-size: 7px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.risk-status.current { color: #19705a; background: #e8f5eb; }
.risk-status.watch { color: #7b6220; background: #fbf2d7; }
.risk-status.at_risk { color: #94513f; background: #fff0e8; }
.risk-status.high,.risk-status.critical { color: #943d31; background: #fee9e5; }
.risk-status.severe { color: #fff; background: #74372f; }
.risk-note { padding: 15px 21px; color: var(--muted); background: #f7faf6; border-top: 1px solid var(--line); font-size: 8px; line-height: 1.6; }
.risk-note b { color: var(--ink); }
.provision-filters { grid-template-columns: minmax(170px,.7fr) minmax(220px,1fr) auto; }
.provision-kpis { margin-bottom: 15px; }
.provision-grid { display: grid; grid-template-columns: minmax(330px,.72fr) minmax(0,1.28fr); gap: 15px; margin-bottom: 15px; }
.provision-panel { overflow: hidden; }
.provision-panel .card-head small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; }
.provision-ageing { display: grid; gap: 0; }
.provision-ageing article { display: grid; grid-template-columns: 115px minmax(70px,1fr) 140px; align-items: center; gap: 12px; padding: 14px 19px; border-top: 1px solid var(--line); }
.provision-ageing article:first-child { border-top: 0; }
.provision-ageing article > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.provision-ageing article > div:first-child > b { color: var(--deep); font-size: 9px; }
.provision-band-track { height: 7px; overflow: hidden; background: #edf1ed; border-radius: 999px; }
.provision-band-track i { display: block; min-width: 2px; height: 100%; background: var(--green); border-radius: inherit; }
.provision-band-track i.watch { background: var(--gold); }.provision-band-track i.at_risk { background: var(--coral); }.provision-band-track i.high { background: #c85b49; }.provision-band-track i.critical,.provision-band-track i.severe { background: #843a31; }
.provision-ageing p { margin: 0; text-align: right; }
.provision-ageing p strong,.provision-ageing p span { display: block; }
.provision-ageing p strong { font-size: 10px; }.provision-ageing p span { margin-top: 3px; color: var(--muted); font-size: 7px; }
.provision-branch-table { min-width: 1040px; }
.provision-loan-table { min-width: 1180px; }
.provision-writeoff-table { min-width: 1450px; }
.writeoff-quote { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-bottom: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 13px; }
.writeoff-quote div { padding: 14px; background: #f8faf7; }.writeoff-quote span,.writeoff-quote b { display: block; }.writeoff-quote span { color: var(--muted); font-size: 8px; }.writeoff-quote b { margin-top: 5px; font-size: 12px; }
.risk-glossary { margin-top: 15px; overflow: hidden; }
.risk-glossary summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 23px; cursor: pointer; list-style: none; }
.risk-glossary summary::-webkit-details-marker { display: none; }
.risk-glossary summary b,.risk-glossary summary small { display: block; }
.risk-glossary summary b { font-family: Georgia,serif; font-size: 20px; font-weight: 500; }
.risk-glossary summary small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.risk-glossary summary i { color: var(--green); font-size: 19px; font-style: normal; transition: transform .18s ease; }
.risk-glossary details[open] summary i { transform: rotate(45deg); }
.glossary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.glossary-grid article { min-height: 135px; padding: 20px; background: #fff; }
.glossary-grid b { color: var(--deep); font-size: 13px; }
.glossary-grid p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; white-space: normal; }
.credit-filters { grid-template-columns: minmax(130px,.8fr) minmax(150px,1fr) minmax(150px,1fr) minmax(190px,1.2fr) auto; }
.credit-kpi-grid { margin-bottom: 15px; }
.score-method { margin-bottom: 15px; overflow: hidden; }
.score-weights { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.score-weights article { display: flex; align-items: center; gap: 13px; padding: 17px 21px; background: #fff; }
.score-weights b { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; color: var(--deep); background: var(--lime); border-radius: 12px; font-size: 15px; }
.score-weights span { color: var(--muted); font-size: 11px; font-weight: 750; line-height: 1.4; }
.credit-table { min-width: 1260px; }
.credit-score { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--green); border-radius: 50%; font-size: 13px; font-weight: 900; }
.credit-score.new { background: #77908a; }.credit-score.excellent { background: #17644e; }.credit-score.good { background: #47784c; }.credit-score.watch { color: #4f431d; background: var(--gold); }.credit-score.high { background: var(--danger); }
.credit-grade { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 9px; font-weight: 900; white-space: nowrap; }
.credit-grade.new { color: #49635d; background: #e9f0ee; }.credit-grade.excellent { color: #fff; background: var(--deep); }.credit-grade.good { color: #216b55; background: #e7f4ea; }.credit-grade.watch { color: #796224; background: #fbf2d7; }.credit-grade.high { color: #943d31; background: #fee9e5; }
.credit-rate b,.credit-rate small { display: block; }.credit-rate small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.credit-blocked { color: var(--danger); font-size: 10px; font-weight: 800; white-space: nowrap; }
.credit-decision-head { display: grid; grid-template-columns: .6fr .8fr 2fr; gap: 1px; overflow: hidden; margin-bottom: 14px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; }
.credit-decision-head > div { min-height: 95px; padding: 17px; background: #f8faf7; }.credit-decision-head span,.credit-decision-head strong,.credit-decision-head b { display: block; }.credit-decision-head span { margin-bottom: 8px; color: var(--muted); font-size: 9px; }.credit-decision-head strong { color: var(--deep); font-family: Georgia,serif; font-size: 34px; }.credit-decision-head b { font-size: 11px; line-height: 1.55; }
.eligible-text { color: #17644e; }.blocked-text { color: var(--danger); }
.credit-breakdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }.credit-breakdown article { padding: 14px; background: var(--pale); border: 1px solid var(--line); border-radius: 11px; }.credit-breakdown span,.credit-breakdown b { display: block; }.credit-breakdown span { min-height: 30px; color: var(--muted); font-size: 9px; line-height: 1.35; }.credit-breakdown b { margin-top: 7px; color: var(--deep); font-size: 14px; }
.credit-evidence { padding: 18px; border: 1px solid var(--line); border-radius: 13px; }.credit-evidence h3 { margin: 0 0 10px; font-family: Georgia,serif; font-weight: 500; }.credit-evidence p { display: flex; gap: 9px; margin: 7px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.credit-evidence p span { color: var(--green); font-weight: 900; }
.credit-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 14px; overflow: hidden; background: var(--line); border-radius: 12px; }.credit-facts div { padding: 13px; background: #f8faf7; }.credit-facts span,.credit-facts b { display: block; }.credit-facts span { color: var(--muted); font-size: 8px; }.credit-facts b { margin-top: 5px; font-size: 11px; }
.loan-credit-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 15px; padding: 14px 16px; color: var(--muted); background: #f4f7f3; border: 1px solid var(--line); border-radius: 12px; font-size: 10px; }.loan-credit-panel div b,.loan-credit-panel div span { display: block; }.loan-credit-panel div span { margin-top: 4px; }.loan-credit-panel strong { max-width: 250px; text-align: right; }.loan-credit-panel.eligible { color: #17644e; background: #edf7ef; border-color: #cde5d2; }.loan-credit-panel.blocked { color: #8f4738; background: #fff3ef; border-color: #f0d4ca; }
.recovery-kpi-grid { margin-bottom: 15px; }
.recovery-filters { grid-template-columns: repeat(4,minmax(135px,1fr)) auto; }
.collector-scorecard { min-width: 1180px; }
.recovery-queue-card { margin-top: 15px; }
.recovery-queue { min-width: 1450px; }
.recovery-action-table { min-width: 1220px; }
.efficiency-cell b,.efficiency-cell small { display: block; }
.efficiency-cell b { color: var(--deep); font-size: 12px; }
.efficiency-cell small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.recovery-stage { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 850; white-space: nowrap; }
.recovery-stage.grace { color: #796224; background: #fbf2d7; }
.recovery-stage.visit { color: #3e6993; background: #eaf2fa; }
.recovery-stage.guarantor { color: #94513f; background: #fff0e8; }
.recovery-stage.escalated { color: #943d31; background: #fee9e5; }
.promise-line { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.promise-line.broken { color: var(--danger); font-weight: 800; }
.next-action-due { color: var(--danger); font-weight: 800; }
.status.broken { color: #943d31; background: #fee9e5; }
.status.pending { color: #7b6a25; background: #fbf2d7; }
.status.kept { color: #216b55; background: #e7f4ea; }
.recovery-policy { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 15px; padding: 15px 18px; color: #d7e4df; background: var(--deep); border-radius: 15px; font-size: 12px; }
.recovery-policy b { color: var(--lime); }
.recovery-policy span { padding: 6px 9px; background: rgba(255,255,255,.07); border-radius: 999px; }
.reminder-filters { grid-template-columns: repeat(4,minmax(145px,1fr)) auto; }
.reminder-kpi-grid { margin-bottom: 15px; }
.reminder-queue-card { margin-bottom: 15px; }
.reminder-head { align-items: center; }
.reminder-queue { min-width: 1160px; }.reminder-history { min-width: 1350px; }
.reminder-type { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 9px; font-weight: 900; white-space: nowrap; }
.reminder-type.upcoming { color: #3e6993; background: #eaf2fa; }.reminder-type.due { color: #216b55; background: #e7f4ea; }.reminder-type.overdue { color: #943d31; background: #fee9e5; }
.reminder-note { padding: 15px 21px; color: #d7e4df; background: var(--deep); font-size: 10px; line-height: 1.6; }.reminder-note b { color: var(--lime); }
.whatsapp-action { color: #17644e; background: #e7f4ea; }
.message-preview { display: block; width: 280px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.channel-pill.whatsapp { color: #17644e; background: #e7f4ea; }.channel-pill.sms { color: #3e6993; background: #eaf2fa; }
.status.prepared { color: #796224; background: #fbf2d7; }.status.sent { color: #216b55; background: #e7f4ea; }.status.failed,.status.cancelled { color: #943d31; background: #fee9e5; }
.message-counter { display: flex; justify-content: space-between; gap: 15px; margin-top: 8px; color: var(--muted); font-size: 9px; }
.muted-text { color: var(--muted); font-size: 10px; }
.export-centre { margin-bottom: 15px; overflow: hidden; }
.data-export-filters { grid-template-columns: 1.25fr repeat(3,minmax(140px,1fr)) auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.export-summary { display: grid; grid-template-columns: 1.4fr 1fr .6fr; gap: 1px; background: var(--line); }.export-summary div { padding: 17px 22px; background: #fff; }.export-summary span,.export-summary b { display: block; }.export-summary span { color: var(--muted); font-size: 9px; }.export-summary b { margin-top: 5px; font-size: 12px; }
.export-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 18px 22px; background: #f8faf7; }
.backup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.backup-card { padding: 25px; }.backup-card h3 { margin: 8px 0 10px; font-family: Georgia,serif; font-size: 23px; font-weight: 500; }.backup-card > p:not(.eyebrow) { min-height: 52px; color: var(--muted); font-size: 11px; line-height: 1.65; }.backup-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 17px; color: var(--deep); background: var(--lime); border-radius: 14px; font-size: 22px; font-weight: 900; }.backup-icon.danger { color: #fff; background: var(--danger); }
.backup-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 18px 0; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 12px; }.backup-facts span { padding: 13px; color: var(--muted); background: #f8faf7; font-size: 9px; line-height: 1.45; }.backup-facts b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 10px; }
.restore-card label { margin-top: 12px; }.file-picker input { padding: 8px; background: #f8faf7; }.backup-validation { min-height: 70px; margin: 13px 0; padding: 14px; color: var(--muted); background: #f4f7f3; border: 1px solid var(--line); border-radius: 12px; font-size: 10px; }.backup-validation.valid { color: #17644e; background: #edf7ef; border-color: #cde5d2; }.backup-validation.invalid { color: #8f4738; background: #fff3ef; border-color: #f0d4ca; }.backup-validation b,.backup-validation span { display: block; }.backup-validation > div > span { margin-top: 4px; }.backup-counts { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; margin-top: 12px; overflow: hidden; background: rgba(7,58,52,.12); border-radius: 8px; }.backup-counts span { padding: 9px; background: rgba(255,255,255,.75); font-size: 8px; }.backup-counts b { font-size: 11px; }
.data-safety-note { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 15px 18px; color: #d7e4df; background: var(--deep); border-radius: 15px; font-size: 11px; }.data-safety-note b { color: var(--lime); }.data-safety-note span { padding: 6px 9px; background: rgba(255,255,255,.07); border-radius: 999px; }
.export-dialog { width: min(1280px,100%); }.print-report-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 15px 18px; color: #fff; background: var(--deep); border-radius: 12px; }.print-report-head div:last-child { text-align: right; }.print-report-head b,.print-report-head span { display: block; }.print-report-head b { font-size: 13px; }.print-report-head span { margin-top: 3px; color: #cfddd8; font-size: 9px; }.export-preview-table { max-height: 58vh; }.export-preview-table table { min-width: 100%; }
.approval-table { min-width: 1180px; }
.audit-table { min-width: 1450px; }
.role-guide { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.role-guide article { padding: 16px 18px; background: #f8faf7; }
.role-guide b,.role-guide span { display: block; }
.role-guide b { font-size: 11px; }
.role-guide span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.role-pill,.action-pill { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 9px; font-weight: 850; text-transform: capitalize; }
.role-pill { color: #315e56; background: #eaf3ed; }
.role-pill.owner,.role-pill.admin { color: #fff; background: var(--deep); }
.role-pill.auditor { color: #496377; background: #eaf2fa; }
.action-pill { color: #315e56; background: #edf4ef; }
.access-summary { grid-template-columns:repeat(6,1fr); }
.access-security-banner { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:24px; margin-bottom:15px; padding:20px 22px; color:#fff; background:radial-gradient(circle at 95% 10%,rgba(188,228,122,.18),transparent 35%),var(--deep); border-radius:17px; }
.access-security-banner > div:first-child { display:flex; align-items:center; gap:14px; }.access-security-banner p { margin:4px 0 0; color:rgba(255,255,255,.62); font-size:10px; line-height:1.55; }.access-security-banner b { font-size:12px; }
.security-shield { display:grid; flex:0 0 42px; place-items:center; width:42px; height:42px; color:var(--deep); background:var(--lime); border-radius:14px 14px 14px 5px; font-size:19px; font-weight:900; }
.security-steps { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.security-steps span { display:flex; align-items:center; gap:8px; color:#d9e6e2; font-size:9px; }.security-steps b { display:grid; place-items:center; width:22px; height:22px; color:var(--deep); background:rgba(188,228,122,.9); border-radius:50%; font-size:8px; }
.access-user-table { min-width:1380px; }.access-event-table { min-width:980px; }.access-row-actions { min-width:225px; flex-wrap:wrap; }.row-action:disabled { cursor:not-allowed; opacity:.42; }.staff-contact-lines { min-width:200px; }.staff-contact-lines small { overflow-wrap:anywhere; }
.table-subline { display:block; margin-top:4px; color:var(--muted); font-size:8px; }.security-ok,.security-wait,.review-due { font-size:9px; font-weight:850; }.security-ok { color:var(--green); }.security-wait,.review-due { color:var(--danger); }.muted-value { color:var(--muted); font-size:9px; }
.access-event-pill { display:inline-flex; padding:6px 9px; color:#315e56; background:#edf4ef; border-radius:999px; font-size:8px; font-weight:850; white-space:nowrap; }.access-event-pill.suspended,.access-event-pill.identity_blocked { color:#943d31; background:#fee9e5; }.access-event-pill.activated,.access-event-pill.policy_acknowledged,.access-event-pill.access_reviewed { color:#17644e; background:#e7f4ea; }
.invitation-checklist { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin:4px 0 17px; }.invitation-checklist span { display:flex; align-items:center; gap:8px; padding:11px; color:#365b54; background:#edf4ef; border-radius:11px; font-size:9px; }.invitation-checklist b { display:grid; place-items:center; width:22px; height:22px; color:#fff; background:var(--green); border-radius:50%; font-size:8px; }
.policy-lock { display:grid; place-items:center; width:48px; height:48px; margin:-4px 0 12px; color:var(--deep); background:var(--lime); border-radius:16px 16px 16px 5px; font-size:22px; }.access-policy-modal { z-index:85; }.access-policy-modal .modal-dialog { max-width:610px; }.policy-statements { display:grid; gap:9px; }.policy-statements label { display:grid; grid-template-columns:20px 1fr; align-items:start; gap:10px; padding:12px 13px; color:#38544f; background:#f6f9f5; border:1px solid var(--line); border-radius:11px; font-size:10px; line-height:1.5; }.policy-statements input { margin-top:2px; accent-color:var(--green); }
.maker-note { display: block; max-width: 115px; color: var(--muted); font-size: 9px; line-height: 1.35; white-space: normal; }
.approval-review-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 13px; }
.approval-review-summary > div { padding: 15px; background: #f8faf7; }
.approval-review-summary > div:first-child { grid-column: 1/-1; }
.approval-review-summary span,.approval-review-summary b { display: block; }
.approval-review-summary span { color: var(--muted); font-size: 9px; }
.approval-review-summary b { margin-top: 5px; font-size: 12px; line-height: 1.45; }
.danger-button { color: #fff; background: var(--danger); }
.audit-filters label { min-width: 125px; }
.accounting-heading { align-items: flex-start; }
.accounting-filters { grid-template-columns: repeat(3,minmax(170px,1fr)) auto; }
.accounting-kpis { margin-bottom: 15px; }
.accounting-treatment { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 15px; padding: 16px 19px; color: #dce9e4; background: var(--deep); border-radius: 15px; font-size: 12px; line-height: 1.6; }
.accounting-treatment b { flex: 0 0 auto; color: var(--lime); font-size: 12px; }
.accounting-statement-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-bottom: 15px; }
.accounting-statement { overflow: hidden; }
.statement-lines > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; padding: 10px 20px; border-top: 1px solid var(--line); font-size: 12px; }
.statement-lines > div:first-child { border-top: 0; }
.statement-lines span { color: #4e6862; line-height: 1.35; }
.statement-lines b { color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.statement-lines .statement-subtotal { background: #f3f7f2; font-weight: 850; }
.statement-lines .statement-total { color: #fff; background: var(--deep); border-color: var(--deep); }
.statement-lines .statement-total span { color: #dce9e4; font-weight: 800; }
.statement-lines .statement-total b { color: var(--lime); font-size: 14px; }
.accounting-trial-table { min-width: 760px; }
.accounting-journal-table { min-width: 1280px; }
.accounting-journal-table td { vertical-align: top; }
.balance-indicator { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; color: #17644e; background: #e7f4ea; border-radius: 999px; font-size: 11px; font-weight: 900; }
.balance-indicator.out-of-balance { color: #943d31; background: #fee9e5; }
.journal-details { min-width: 265px; }
.journal-details summary { color: var(--green); cursor: pointer; font-size: 11px; font-weight: 850; }
.journal-details table { min-width: 100%; margin-top: 9px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; }
.journal-details th,.journal-details td { padding: 7px; }
.journal-reverse { margin-top: 8px; }
.accounting-reference-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 15px; }
.accounting-mini-table { max-height: 430px; }
.accounting-mini-table table { min-width: 100%; }
.accounting-journal-dialog { width: min(1000px,100%); }
.journal-lines-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0 10px; }
.journal-lines-head b,.journal-lines-head span { display: block; }
.journal-lines-head b { color: var(--deep); font-size: 13px; }
.journal-lines-head span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.journal-entry-lines { display: grid; gap: 8px; }
.journal-entry-line { display: grid; grid-template-columns: 1.45fr .7fr .7fr 1.2fr 34px; align-items: end; gap: 8px; padding: 11px; background: #f6f9f5; border: 1px solid var(--line); border-radius: 12px; }
.journal-entry-line label > span { font-size: 10px; }
.journal-entry-line select { height: 43px; padding: 0 10px; }
.journal-line-remove { display: grid; place-items: center; width: 34px; height: 43px; color: var(--danger); background: #fff0eb; border: 0; border-radius: 9px; cursor: pointer; font-size: 20px; }
.journal-line-remove:disabled { color: #9eaaa7; background: #eef1ee; cursor: not-allowed; }
.journal-entry-total { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 10px; overflow: hidden; color: #dce9e4; background: rgba(255,255,255,.12); border-radius: 11px; }
.journal-entry-total span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: #dce9e4; background: var(--deep); font-size: 11px; }
.journal-entry-total b { color: var(--lime); font-size: 12px; font-variant-numeric: tabular-nums; }
.kyc-heading { align-items: flex-start; }
.kyc-filters { grid-template-columns: minmax(180px,.8fr) minmax(190px,.85fr) minmax(240px,1.35fr) auto; }
.kyc-kpis { margin-bottom: 15px; }
.kyc-control-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 15px; padding: 16px 19px; color: #dce9e4; background: var(--deep); border-radius: 15px; font-size: 11px; line-height: 1.55; }
.kyc-control-note div b,.kyc-control-note div span { display: block; }
.kyc-control-note div b { color: var(--lime); font-size: 12px; }
.kyc-control-note div span { margin-top: 3px; }
.kyc-control-note > span { max-width: 470px; color: #b8cbc5; text-align: right; }
.kyc-customer-table { min-width: 1500px; font-size: 11px; }
.kyc-document-table { min-width: 1460px; font-size: 11px; }
.kyc-completion { min-width: 125px; }
.kyc-completion b,.kyc-completion small { display: block; }
.kyc-completion b { font-size: 11px; }
.kyc-completion > span { display: block; height: 6px; margin: 6px 0; overflow: hidden; background: #e8eeea; border-radius: 999px; }
.kyc-completion i { display: block; height: 100%; background: linear-gradient(90deg,var(--gold),var(--green)); border-radius: inherit; }
.kyc-completion small { color: var(--muted); font-size: 8px; }
.kyc-risk { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.kyc-risk.normal { color: #17644e; background: #e7f4ea; }.kyc-risk.medium { color: #796224; background: #fbf2d7; }.kyc-risk.high { color: #943d31; background: #fee9e5; }
.kyc-missing { color: var(--danger); font-size: 9px; font-weight: 800; }
.status.ready,.status.verified { color: #17644e; background: #e7f4ea; }.status.in_review,.status.uploaded,.status.expiring { color: #796224; background: #fbf2d7; }.status.expired { color: #943d31; background: #fee9e5; }
.kyc-profile-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-bottom: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 13px; }
.kyc-profile-summary > div { min-height: 72px; padding: 14px; background: #f8faf7; }
.kyc-profile-summary .span-all { grid-column: 1/-1; min-height: auto; }
.kyc-profile-summary span,.kyc-profile-summary b { display: block; }
.kyc-profile-summary span { color: var(--muted); font-size: 9px; }
.kyc-profile-summary b { margin-top: 5px; font-size: 11px; line-height: 1.45; white-space: normal; }
.kyc-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.kyc-check-grid label,.kyc-policy-options label { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; background: #f6f9f5; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.kyc-check-grid input,.kyc-policy-options input,.check-field input { width: 17px; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--green); }
.kyc-check-grid b,.kyc-check-grid small,.kyc-policy-options b,.kyc-policy-options small { display: block; }
.kyc-check-grid b,.kyc-policy-options b { font-size: 11px; }
.kyc-check-grid small,.kyc-policy-options small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.kyc-policy-options { display: grid; gap: 9px; margin-bottom: 18px; }
.check-field { display: flex!important; align-items: center; flex-direction: row!important; gap: 10px; min-height: 43px; padding: 10px 12px; background: #f6f9f5; border: 1px solid var(--line); border-radius: 11px; }
#kycDocumentFile { height: auto; min-height: 43px; padding: 8px; background: #f8faf7; }
.field-view { font-size: 14px; }
.field-heading { align-items: center; }
.field-connectivity { display: grid; grid-template-columns: 10px auto; align-items: center; gap: 3px 8px; min-width: 210px; padding: 13px 16px; color: #d8e8e2; background: var(--deep); border-radius: 14px; }
.field-connectivity > span { grid-row: 1/3; width: 10px; height: 10px; background: #ef9a7f; border-radius: 50%; box-shadow: 0 0 0 4px rgba(239,154,127,.14); }
.field-connectivity > span.online { background: var(--lime); box-shadow: 0 0 0 4px rgba(195,230,59,.14); }
.field-connectivity b { font-size: 13px; }.field-connectivity small { color: #a9c2ba; font-size: 11px; }
.field-filters { grid-template-columns: repeat(4,minmax(155px,1fr)) auto; }
.field-kpis { margin-bottom: 15px; }
.field-safety-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; margin-bottom: 15px; padding: 16px 19px; color: #dce9e4; background: var(--deep); border-radius: 15px; line-height: 1.5; }
.field-safety-note b { color: var(--lime); font-size: 14px; }.field-safety-note span { font-size: 13px; }
.field-route-card { margin-bottom: 15px; overflow: hidden; }
.field-route { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 18px; background: #f3f7f2; border-top: 1px solid var(--line); }
.field-route-item { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(7,58,52,.05); }
.field-route-item.pending { border-color: #c6b85d; }
.field-route-item header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px; }
.field-route-item header p { margin: 0 0 4px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.field-route-item header h3 { margin: 0; color: var(--ink); font-family: Georgia,serif; font-size: 22px; font-weight: 500; }
.field-route-item header small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.field-row-state { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.field-row-state.due,.field-row-state.posted { color: #17644e; background: #e7f4ea; }.field-row-state.overdue,.field-row-state.failed { color: #943d31; background: #fee9e5; }.field-row-state.processing { color: #796224; background: #fbf2d7; }
.field-route-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.field-route-facts div { min-width: 0; padding: 12px; background: #f8faf7; }
.field-route-facts span,.field-route-facts b { display: block; }.field-route-facts span { color: var(--muted); font-size: 10px; }.field-route-facts b { margin-top: 5px; color: var(--ink); font-size: 13px; white-space: nowrap; }
.field-contact,.field-last-note { margin: 0; padding: 12px 18px; color: #4c655f; font-size: 13px; line-height: 1.5; }
.field-contact a { color: var(--green); font-weight: 850; }.field-last-note { padding-top: 0; color: var(--muted); font-size: 12px; }
.field-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 18px 18px; }
.field-action { min-height: 50px; padding: 9px 12px; border: 0; border-radius: 11px; cursor: pointer; font-size: 13px; font-weight: 900; line-height: 1.25; }
.field-action small { font-size: 11px; font-weight: 750; }.field-action:disabled { cursor: not-allowed; opacity: .45; }
.field-action.paid { color: #fff; background: var(--green); }.field-action.partial { color: #315e56; background: #dfeee4; }.field-action.missed { color: #943d31; background: #fee9e5; }.field-action.note { color: #5f5521; background: #fbf2d7; }
.field-partial { display: grid; grid-template-columns: 1fr auto; gap: 6px; }.field-partial .money-input { min-width: 0; }.field-partial .money-input input { min-width: 0; height: 50px; font-size: 16px; }.field-partial .field-action { padding-inline: 10px; }
.field-readonly { margin: 0 18px 18px; padding: 13px; color: var(--muted); background: #f3f6f3; border-radius: 10px; text-align: center; }
.field-empty { grid-column: 1/-1; min-height: 220px; }
.field-scorecard { min-width: 1050px; }
.field-lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
.field-queue,.field-activity { display: grid; gap: 0; border-top: 1px solid var(--line); }
.field-queue article,.field-activity article { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.field-queue article:last-child,.field-activity article:last-child { border-bottom: 0; }.field-queue article > div:first-child,.field-activity article > div { min-width: 0; flex: 1; }
.field-queue span,.field-queue b,.field-queue small,.field-queue em,.field-activity b,.field-activity small { display: block; }
.field-queue span { color: var(--green); font-size: 10px; font-weight: 900; text-transform: uppercase; }.field-queue b,.field-activity b { margin-top: 3px; font-size: 13px; }.field-queue small,.field-activity small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }.field-queue em { margin-top: 5px; color: var(--danger); font-size: 11px; font-style: normal; }
.field-activity strong { font-size: 13px; white-space: nowrap; }.field-activity-icon { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; color: #fff; background: var(--green); border-radius: 10px; font-size: 16px; font-weight: 900; }.field-activity-icon.not_paid { background: var(--danger); }.field-activity-icon.promise,.field-activity-icon.note { color: var(--deep); background: var(--gold); }
.field-receipt { color: var(--ink); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }.field-receipt-brand { padding: 22px; color: #fff; background: var(--deep); text-align: center; }.field-receipt-brand b,.field-receipt-brand span { display: block; }.field-receipt-brand b { color: var(--lime); font-size: 16px; letter-spacing: .08em; }.field-receipt-brand span { margin-top: 5px; font-size: 12px; }
.field-receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }.field-receipt-grid > div { padding: 15px; background: #fff; }.field-receipt-grid span,.field-receipt-grid b,.field-receipt-grid small { display: block; }.field-receipt-grid span { color: var(--muted); font-size: 10px; }.field-receipt-grid b { margin-top: 5px; font-size: 14px; }.field-receipt-grid small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.field-receipt-total { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; color: #fff; background: var(--green); }.field-receipt-total b { font-size: 23px; }.field-receipt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }.field-receipt-split span { display: flex; justify-content: space-between; gap: 15px; padding: 12px 15px; background: #f8faf7; font-size: 11px; }.field-receipt > p { margin: 0; padding: 13px 15px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.pilot-heading { align-items:flex-start; }
.pilot-summary { grid-template-columns:repeat(7,1fr); }
.pilot-control-note { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:15px; padding:16px 19px; color:#dce9e4; background:var(--deep); border-radius:15px; }
.pilot-control-note b,.pilot-control-note span { display:block; }.pilot-control-note b { color:var(--lime); font-size:13px; }.pilot-control-note span { margin-top:4px; font-size:12px; line-height:1.55; }
.pilot-rollouts { display:grid; gap:15px; }
.pilot-rollout { overflow:hidden; }
.pilot-rollout-head { display:grid; grid-template-columns:1fr auto; gap:22px; align-items:center; padding:20px 22px; color:#fff; background:linear-gradient(120deg,var(--deep),#0c6658); }
.pilot-rollout-head h3,.pilot-rollout-head p { margin:0; }.pilot-rollout-head h3 { margin-top:5px; color:#fff; font-family:Georgia,serif; font-size:24px; font-weight:500; }.pilot-rollout-head p { margin-top:5px; color:#bed2cc; font-size:12px; line-height:1.5; }
.pilot-head-status { display:flex; align-items:center; gap:14px; }.pilot-progress-ring { --progress:0; display:grid; place-items:center; width:72px; height:72px; background:conic-gradient(var(--lime) calc(var(--progress)*1%),rgba(255,255,255,.13) 0); border-radius:50%; position:relative; }.pilot-progress-ring::after { content:''; position:absolute; inset:7px; background:var(--deep); border-radius:50%; }.pilot-progress-ring b { position:relative; z-index:1; color:#fff; font-size:16px; }.pilot-status-label { min-width:125px; padding:10px 12px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.14); border-radius:11px; }.pilot-status-label span,.pilot-status-label b { display:block; }.pilot-status-label span { color:#aac5bd; font-size:9px; text-transform:uppercase; letter-spacing:.08em; }.pilot-status-label b { margin-top:4px; color:var(--lime); font-size:12px; }
.pilot-staff-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; padding:16px 20px; background:#f4f8f3; border-bottom:1px solid var(--line); }.pilot-staff { display:flex; align-items:center; gap:12px; padding:13px 14px; background:#fff; border:1px solid var(--line); border-radius:12px; }.pilot-staff-icon { display:grid; place-items:center; flex:0 0 auto; width:39px; height:39px; color:#fff; background:var(--green); border-radius:11px; font-weight:900; }.pilot-staff-icon.waiting { color:#796224; background:#fbf2d7; }.pilot-staff b,.pilot-staff small,.pilot-staff span { display:block; }.pilot-staff b { font-size:13px; }.pilot-staff small { margin-top:3px; color:var(--muted); font-size:11px; }.pilot-staff span { margin-left:auto; color:#17644e; font-size:10px; font-weight:900; }.pilot-staff span.waiting { color:#8b7029; }
.pilot-section { padding:18px 20px; border-bottom:1px solid var(--line); }.pilot-section:last-child { border-bottom:0; }.pilot-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }.pilot-section-head h4,.pilot-section-head p { margin:0; }.pilot-section-head h4 { color:var(--deep); font-size:14px; }.pilot-section-head p { margin-top:4px; color:var(--muted); font-size:11px; line-height:1.45; }
.pilot-checks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.pilot-check { display:grid; grid-template-columns:32px 1fr auto; align-items:flex-start; gap:10px; min-height:86px; padding:12px; background:#f8faf7; border:1px solid var(--line); border-radius:12px; }.pilot-check-state { display:grid; place-items:center; width:32px; height:32px; color:#64736f; background:#e8eeea; border-radius:50%; font-size:14px; font-weight:900; }.pilot-check.passed .pilot-check-state { color:#fff; background:var(--green); }.pilot-check.failed { border-color:#f0b6aa; background:#fff7f5; }.pilot-check.failed .pilot-check-state { color:#fff; background:var(--danger); }.pilot-check.not_applicable .pilot-check-state { color:#6d6d6d; background:#ececec; }.pilot-check b,.pilot-check small,.pilot-check em { display:block; }.pilot-check b { color:var(--ink); font-size:12px; line-height:1.4; }.pilot-check small { margin-top:4px; color:var(--muted); font-size:10px; line-height:1.45; }.pilot-check em { margin-top:6px; color:#49645d; font-size:9px; font-style:normal; font-weight:750; }.pilot-check button { align-self:center; }
.pilot-issues-table { min-width:1150px; }.pilot-severity { display:inline-flex; padding:6px 9px; border-radius:999px; font-size:9px; font-weight:900; text-transform:uppercase; }.pilot-severity.low { color:#17644e; background:#e7f4ea; }.pilot-severity.medium { color:#796224; background:#fbf2d7; }.pilot-severity.high,.pilot-severity.critical { color:#943d31; background:#fee9e5; }.pilot-severity.critical { box-shadow:inset 0 0 0 1px #e99989; }
.pilot-empty-note { padding:22px; color:var(--muted); background:#f8faf7; border:1px dashed #cbd8d2; border-radius:12px; text-align:center; font-size:12px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 90; max-width: 360px; padding: 13px 16px; color: #fff; background: var(--ink); border-radius: 11px; box-shadow: 0 18px 45px rgba(0,0,0,.2); font-size: 10px; transform: translateY(100px); opacity: 0; transition: .23s ease; }.toast.show { transform: none; opacity: 1; }.toast.error { background: #8f3f2e; }

@media (max-width: 1050px) { .provision-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .writeoff-quote,.provision-ageing article { grid-template-columns: 1fr; }.provision-ageing p { text-align: left; } }
@media print { .provision-filters { display:none!important; } }

@media (max-width: 860px) { .auth-shell { grid-template-columns:1fr; }.auth-brand-panel { min-height:auto; padding:42px 28px; }.auth-brand-panel img { width:190px; margin-bottom:28px; }.auth-brand-panel h1 { font-size:42px; }.auth-security-note { margin-top:28px; }.auth-form-panel { min-height:auto; padding:34px 18px 55px; }.auth-card { padding:28px 22px; } }

@media (max-width: 1180px) { .executive-filters { grid-template-columns: repeat(3,1fr); }.executive-kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1050px) { .kpi-grid { grid-template-columns: 1fr 1fr; }.dashboard-grid,.organisation-grid,.expense-grid,.risk-analysis-grid,.accounting-statement-grid,.accounting-reference-grid,.field-lower-grid { grid-template-columns: 1fr; }.quick-actions { grid-template-columns: 1fr 1fr; }.calculator-grid { grid-template-columns: 1fr; }.calculator-summary { min-height: 400px; }.report-card-head { align-items: flex-start; flex-direction: column; }.report-filter-bar,.recovery-filters,.credit-filters,.reminder-filters,.data-export-filters,.kyc-filters,.field-filters { grid-template-columns: 1fr 1fr 1fr; }.risk-trend { grid-template-columns: repeat(3,1fr); }.glossary-grid { grid-template-columns: 1fr 1fr; }.role-guide { grid-template-columns: 1fr 1fr; }.score-weights { grid-template-columns: 1fr 1fr; }.backup-grid { grid-template-columns: 1fr; }.forecast-assumptions { justify-content: flex-start; }.journal-entry-line { grid-template-columns: 1.4fr 1fr 1fr; }.journal-entry-line label:nth-child(4) { grid-column: 1/3; }.access-summary { grid-template-columns:repeat(3,1fr); }.pilot-summary,.command-summary { grid-template-columns:repeat(4,1fr); }.access-security-banner { grid-template-columns:1fr; }.pilot-checks { grid-template-columns:1fr; }.command-categories { grid-template-columns:repeat(3,1fr); } }
@media (max-width: 780px) { .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: 20px 0 50px rgba(0,0,0,.2); }.sidebar.open { transform: none; }.app-main { margin-left: 0; }.topbar { min-height: 78px; padding: 13px 16px; }.topbar > div:nth-child(2) { margin-right: auto; margin-left: 11px; }.topbar h1 { font-size: 20px; }.menu-button { display: block; }.desktop-action,.as-of,.account-chip,.signout-link { display: none; }.loading-state { inset: 78px 0 0; }.app-main main { padding: 24px 16px 65px; }.view-heading { align-items: flex-start; }.kpi-grid { grid-template-columns: 1fr; }.kpi { min-height: 132px; }.quick-actions { grid-template-columns: 1fr; }.summary-strip { grid-template-columns: 1fr 1fr; }.summary-strip div:nth-child(2) { border-right: 0; }.summary-strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }.form-grid.four { grid-template-columns: 1fr 1fr; }.schedule-stats { grid-template-columns: 1fr 1fr; }.schedule-stats div:nth-child(2) { border-right: 0; }.modal { padding: 10px; }.modal-dialog { max-height: calc(100vh - 20px); padding: 20px; }.security-steps { grid-template-columns:1fr; } }
@media (max-width: 520px) { .view-heading { display: block; }.view-heading > .button,.safe-pill { margin-top: 14px; }.quick-actions { grid-template-columns: 1fr; }.form-grid.two,.form-grid.three,.form-grid.four,.model-cards { grid-template-columns: 1fr; }.span-two { grid-column: auto; }.calculator-form { padding: 18px; }.calc-result-head { align-items: flex-start; flex-direction: column; }.register-toolbar { align-items: stretch; flex-direction: column; }.search-box { width: 100%; }.summary-strip { grid-template-columns: 1fr; }.summary-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }.due-item { grid-template-columns: 40px 1fr auto; }.late-tag { display: none; }.modal-actions { flex-wrap: wrap; }.modal-actions .button { flex: 1; }.schedule-stats { grid-template-columns: 1fr; }.invitation-checklist { grid-template-columns:1fr; }.access-security-banner { padding:17px; } }
@media (max-width: 780px) { .collection-toolbar { align-items: stretch; flex-direction: column; }.collection-filters { flex-wrap: wrap; }.collection-filters label { flex: 1; }.collection-help,.reconciliation-actions { align-items: stretch; flex-direction: column; }.history-list article { grid-template-columns: 1fr 1fr; }.history-list article > div:first-child { grid-column: 1/-1; }.report-filter-bar { grid-template-columns: 1fr 1fr; }.inline-filters { width: 100%; flex-wrap: wrap; }.inline-filters label { flex: 1; }.heading-actions { margin-top: 14px; }.risk-trend { grid-template-columns: 1fr 1fr; }.executive-heading,.command-heading { align-items: flex-start; }.executive-filters,.command-filters { grid-template-columns: 1fr 1fr; }.executive-trend { grid-template-columns: repeat(6,minmax(150px,1fr)); }.field-route { grid-template-columns:1fr; }.field-safety-note { grid-template-columns:1fr; }.field-heading { align-items:flex-start; }.field-connectivity { margin-top:14px; }.command-alert { align-items:flex-start; flex-direction:column; } }
@media (max-width: 520px) { .schedule-stats,.history-summary,.kyc-profile-summary,.kyc-check-grid { grid-template-columns: 1fr; }.kyc-profile-summary .span-all { grid-column:auto; }.collection-tabs { flex-direction: column; }.collection-filters,.report-filter-bar,.recovery-filters,.credit-filters,.reminder-filters,.data-export-filters,.kyc-filters,.field-filters,.command-filters { display: grid; grid-template-columns: 1fr; }.liquidation-quote { grid-template-columns: 1fr; }.liquidation-quote .quote-total { grid-column: 1; }.history-list article { grid-template-columns: 1fr; }.history-list article > div:first-child { grid-column: auto; }.heading-actions { align-items: stretch; flex-direction: column; }.heading-actions .button { width: 100%; }.risk-trend,.glossary-grid,.role-guide,.score-weights,.credit-breakdown,.credit-facts,.credit-decision-head,.export-summary,.backup-facts,.backup-counts,.command-categories { grid-template-columns: 1fr; }.ageing-row { grid-template-columns: 105px 1fr 42px; }.approval-review-summary { grid-template-columns: 1fr; }.approval-review-summary > div:first-child { grid-column: auto; }.recovery-policy,.kyc-control-note,.pilot-control-note { align-items: flex-start; flex-direction: column; }.kyc-control-note > span { text-align:left; }.loan-credit-panel { align-items: flex-start; flex-direction: column; }.loan-credit-panel strong { text-align: left; }.message-counter,.export-actions,.data-safety-note { align-items: stretch; flex-direction: column; }.export-actions .button { width:100%; }.executive-kpis,.executive-filters,.journal-entry-line,.journal-entry-total,.pilot-staff-grid { grid-template-columns: 1fr; }.journal-entry-line label:nth-child(4) { grid-column:auto; }.accounting-treatment { flex-direction:column; }.field-route { padding:10px; }.field-route-item header { flex-direction:column; }.field-route-facts { grid-template-columns:1fr 1fr; }.field-actions { grid-template-columns:1fr; }.field-partial { grid-template-columns:1fr; }.field-receipt-grid,.field-receipt-split { grid-template-columns:1fr; }.field-connectivity { width:100%; }.field-queue article,.field-activity article { align-items:flex-start; flex-wrap:wrap; }.pilot-rollout-head { grid-template-columns:1fr; }.pilot-head-status { justify-content:space-between; }.pilot-check { grid-template-columns:32px 1fr; }.pilot-check button { grid-column:2; justify-self:start; } }
@media print { body { background:#fff; }.sidebar,.topbar,.view:not(.active),.view-heading,.executive-filters,.executive-actions,.accounting-filters,.kyc-filters,.calculator-form,.calculator-summary,.modal:not(.open),.modal-backdrop,.close-button,.modal-actions,.toast,#kycView th:last-child,#kycView td:last-child { display:none!important; }.app-main { margin:0; }.app-main main { padding:0; }.calculator-results,.modal.open,.schedule-dialog,.export-dialog { position:static; display:block; width:100%; max-height:none; padding:0; box-shadow:none; }.schedule-table,.export-preview-table { max-height:none; overflow:visible; }.executive-kpis { grid-template-columns:repeat(4,1fr); }.executive-trend { grid-template-columns:repeat(6,1fr); }.accounting-statement-grid { grid-template-columns:repeat(3,1fr); }.accounting-treatment { color:#222; background:#eef4ef; }.accounting-treatment b { color:#073a34; }.forecast-bars { overflow:visible; }.card-head { padding:0 0 15px; } table { font-size:9px; } th,td { padding:8px; } @page { size:landscape; margin:12mm; } }
@media (max-width:780px) { .permission-grid { grid-template-columns:1fr; } }
@media (max-width:520px) { .permission-section-head { flex-direction:column; }.permission-row { grid-template-columns:1fr 110px; } }
@media print { body.printing-field-receipt .app-shell,body.printing-field-receipt .modal:not(#fieldReceiptModal),body.printing-field-receipt #fieldReceiptModal .modal-head,body.printing-field-receipt #fieldReceiptModal .modal-actions { display:none!important; } body.printing-field-receipt #fieldReceiptModal { position:static!important; display:block!important; padding:0!important; } body.printing-field-receipt #fieldReceiptModal .modal-dialog { width:100%!important; max-height:none!important; padding:0!important; box-shadow:none!important; } body.printing-field-receipt .field-receipt { max-width:720px; margin:0 auto; } }
@media (max-width:1050px) { .alert-lower-grid { grid-template-columns:1fr; }.alert-summary { grid-template-columns:repeat(3,1fr); } }
@media (max-width:780px) { .alerts-heading { align-items:flex-start; }.alert-filters { grid-template-columns:1fr 1fr; }.alert-control-note { align-items:flex-start; flex-direction:column; } }
@media (max-width:520px) { .alert-filters { display:grid; grid-template-columns:1fr; } }

.targets-heading { align-items:flex-start; }
.target-filters { grid-template-columns:minmax(180px,.8fr) minmax(220px,1fr) auto; }
.target-summary { grid-template-columns:repeat(6,1fr); }
.target-control-note { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-bottom:15px; padding:17px 20px; color:#dce9e4; background:var(--deep); border-radius:15px; }
.target-control-note > div { display:flex; align-items:center; gap:13px; }.target-control-note b,.target-control-note p { margin:0; }.target-control-note b { color:var(--lime); font-size:13px; }.target-control-note p { margin-top:4px; color:#bfd0cb; font-size:11px; line-height:1.5; }.target-control-note > span { flex:0 0 auto; padding:8px 11px; color:#d7e4df; background:rgba(255,255,255,.09); border-radius:999px; font-size:9px; font-weight:850; }
.target-control-icon { display:grid; flex:0 0 38px; place-items:center; width:38px; height:38px; color:var(--deep); background:var(--lime); border-radius:12px; font-size:17px; font-weight:900; }.target-control-note.attention { background:#6f332b; }.target-control-note.attention .target-control-icon { color:#6f332b; background:#ffd5c9; }.target-control-note.attention b { color:#ffd5c9; }.target-control-note.planning { background:#5e5425; }.target-control-note.planning .target-control-icon { color:#5e5425; background:var(--gold); }.target-control-note.planning b { color:#fff2b2; }
.target-scorecard { min-width:1780px; font-size:10px; }.target-scorecard th:first-child { min-width:190px; }.target-scorecard th:not(:first-child) { min-width:215px; }.target-scorecard th:nth-last-child(-n+2) { min-width:115px; }
.target-metric { min-width:190px; }.target-metric b,.target-metric small { display:block; }.target-metric b { color:var(--ink); font-size:12px; }.target-metric small { margin-top:4px; color:var(--muted); font-size:8px; line-height:1.35; white-space:normal; }.target-track { height:5px; margin:8px 0 7px; overflow:hidden; background:#e7ede9; border-radius:999px; }.target-track span { display:block; height:100%; background:var(--green); border-radius:inherit; }.target-metric.watch .target-track span,.target-metric.planned .target-track span { background:var(--gold); }.target-metric.adverse .target-track span { background:var(--danger); }.target-metric.not-set small { margin-bottom:7px; }
.target-pill,.target-overall { display:inline-flex; align-items:center; padding:5px 8px; border-radius:999px; font-size:8px; font-weight:900; white-space:nowrap; }.target-pill.achieved,.target-pill.favorable,.target-overall.achieved { color:#17644e; background:#e7f4ea; }.target-pill.watch,.target-overall.watch { color:#796224; background:#fbf2d7; }.target-pill.adverse,.target-overall.adverse { color:#943d31; background:#fee9e5; }.target-pill.planned,.target-overall.planned { color:#3e6993; background:#eaf2fa; }.target-pill.not_set,.target-overall.not_set { color:#5d706b; background:#e9efec; }
.target-activity-card { margin-top:15px; }
@media (max-width:1050px) { .target-summary { grid-template-columns:repeat(3,1fr); } }
@media (max-width:780px) { .target-filters { grid-template-columns:1fr 1fr; }.target-control-note { align-items:flex-start; flex-direction:column; } }
@media (max-width:520px) { .target-filters { display:grid; grid-template-columns:1fr; }.target-summary { grid-template-columns:1fr; } }
@media print { .target-filters,.target-manage-action,#targetsView th:last-child,#targetsView td:last-child { display:none!important; } }


/* Collector assignment – consistent with the staff permission modal */
.collector-subunit-panel{margin-top:20px;padding:18px;border:1px solid #dce8df;border-radius:15px;background:#f8faf7}
.collector-subunit-panel[hidden]{display:none!important}
.collector-subunit-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.collector-subunit-heading-icon{display:grid;place-items:center;flex:0 0 37px;height:37px;border-radius:11px;background:#e7f1e8;color:var(--deep);font-size:21px}
.collector-subunit-heading-copy{flex:1 1 180px;min-width:0}
.collector-subunit-heading h3{margin:0;color:var(--deep);font-size:13px;font-weight:750}
.collector-subunit-heading p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.collector-subunit-count{padding:7px 11px;border-radius:99px;background:#e6efe8;color:var(--deep);font-size:10px;font-weight:750}
.collector-subunit-branch{margin:15px 0;padding:10px 12px;background:#fff;border:1px solid #e5ece7;border-radius:9px;color:var(--muted);font-size:10px}
.collector-subunit-branch strong{color:var(--ink);font-weight:700}
.collector-subunit-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 10px}
.collector-subunit-toolbar>span{font-size:10px;font-weight:750;color:var(--ink)}
.collector-subunit-tools{display:flex;gap:7px}
.collector-subunit-tools button{cursor:pointer;padding:7px 11px;border:1px solid #d5e2d9;border-radius:8px;background:#fff;color:var(--deep);font-size:10px;font-weight:700}
.collector-subunit-tools button:hover{background:#eaf2ec}
.collector-subunit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.collector-subunit-choice{display:flex!important;align-items:center;gap:11px;min-width:0;margin:0!important;padding:12px!important;border:1px solid #dfe9e1;border-radius:11px;background:white;cursor:pointer}
.collector-subunit-choice:has(input:checked){border-color:#66a777;background:#edf7ef}
.collector-subunit-choice input[type=checkbox]{appearance:auto!important;display:block!important;flex:0 0 17px;width:17px!important;height:17px!important;margin:0!important;accent-color:#276443;cursor:pointer}
.collector-subunit-label{display:flex;flex-direction:column;gap:4px;min-width:0}
.collector-subunit-label b{font-size:11px;color:var(--ink);overflow-wrap:anywhere}
.collector-subunit-label small{font-size:9px;color:var(--muted)}
.collector-subunit-empty{border:1px dashed #c7d8cb;border-radius:11px;padding:18px;background:#fff;text-align:center}
.collector-subunit-empty b{font-size:11px;color:var(--ink)}
.collector-subunit-empty p{margin:6px 0 0;font-size:10px;color:var(--muted)}
.collector-subunit-help{margin:12px 0 0!important;color:var(--muted);font-size:9px;line-height:1.6}
@media(max-width:640px){.collector-subunit-panel{padding:13px}.collector-subunit-grid{grid-template-columns:1fr}.collector-subunit-heading{align-items:flex-start}.collector-subunit-count{margin-left:auto}}

/* Diagnostic summary for an empty field collection route */
#fieldRouteDiagnostics[hidden]{display:none!important}
#fieldRouteDiagnostics{margin:0 0 15px;padding:13px 16px;border:1px solid #dbe8de;background:#f7faf7;border-radius:12px}
.field-route-diagnostic+.field-route-diagnostic{margin-top:12px;padding-top:12px;border-top:1px solid #dce8df}
.field-route-diagnostic>b{display:block;font-size:12px;color:var(--deep)}
.field-route-diagnostic-meta{margin-top:5px;font-size:10px;color:var(--muted)}
.field-route-diagnostic ul{margin:9px 0 0;padding-left:19px;font-size:10px;line-height:1.7;color:var(--ink)}
.field-route-diagnostic li+li{margin-top:4px}

/* Field Desk visual refinement: clear hierarchy, responsive route workflow */
.field-view{--field-gap:18px}
.field-view .view-heading.field-heading{align-items:center;gap:20px;margin-bottom:20px}
.field-view .field-heading>div:first-child{min-width:0;max-width:750px}
.field-view .field-heading h2{letter-spacing:-.025em}
.field-view .field-heading>div:first-child>p:last-child{max-width:680px;line-height:1.6}
.field-section-caption{display:flex;align-items:center;gap:12px;margin:22px 0 11px}
.field-section-caption>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#e8f1eb;color:var(--deep);font-size:11px;font-weight:800}
.field-section-caption b,.field-section-caption small{display:block}
.field-section-caption b{font-size:13px;font-weight:800;color:var(--deep)}
.field-section-caption small{font-size:10px;color:var(--muted);margin-top:3px;line-height:1.5}
.field-view .field-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:13px;padding:19px;border-radius:15px;margin-bottom:18px}
.field-view .field-filters label{min-width:0}
.field-view .field-filters label>span{display:block;margin-bottom:7px;font-size:11px;font-weight:700}
.field-view .field-filters input,.field-view .field-filters select{width:100%;min-width:0;min-height:43px;font-size:12px}
.field-view .field-filters>button{min-height:43px;white-space:nowrap}
.field-view .field-kpis{gap:13px;margin-bottom:14px}
.field-view .field-kpis .kpi{min-width:0}
.field-view .field-kpis .kpi strong{overflow-wrap:anywhere}
.field-view .field-safety-note{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:16px 19px;margin-bottom:19px;border-radius:14px}
.field-safety-copy{display:flex;align-items:flex-start;gap:10px;flex:1 1 360px;min-width:0}
.field-safety-copy b{flex:0 0 auto;min-width:110px}
.field-safety-copy span{flex:1 1 auto;font-size:11px;line-height:1.6}
.field-view .field-safety-note>button{flex:0 0 auto;min-height:40px}
.field-view .field-route-card{margin-bottom:18px}
.field-view .field-route-card>.card-head{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:19px 22px}
.field-view .field-route-card>.card-head small{display:block;max-width:730px;line-height:1.5}
.field-view .field-route{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:18px;background:#f6f8f6}
.field-view .field-route-item{border-radius:14px;box-shadow:0 3px 12px rgba(7,58,52,.04)}
.field-view .field-route-item header{gap:12px;padding:17px 17px 15px;flex-wrap:wrap}
.field-view .field-route-item header>div{flex:1 1 160px;min-width:0}
.field-view .field-route-item header h3{font-family:inherit;font-size:17px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.field-view .field-route-item header p{font-size:9px;letter-spacing:.035em}
.field-view .field-route-item header small{font-size:10px;line-height:1.55}
.field-view .field-route-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.field-view .field-route-facts div{padding:12px 15px}
.field-view .field-route-facts span{font-size:10px}
.field-view .field-route-facts b{white-space:normal;overflow-wrap:anywhere;font-size:13px}
.field-view .field-contact,.field-view .field-last-note{font-size:11px;padding:12px 17px}
.field-view .field-actions{gap:9px;padding:3px 17px 17px}
.field-view .field-action{min-height:44px;font-size:11px;border-radius:10px}
.field-view .field-action small{font-size:10px}
.field-view .field-partial{min-width:0;grid-template-columns:minmax(0,1fr) auto}
.field-view .field-partial .money-input input{height:44px;font-size:13px}
.field-view .field-partial .field-action{min-width:83px}
.field-view .field-supervisor-card,.field-view #fieldApprovals{margin-bottom:18px;overflow:hidden}
.field-view .field-supervisor-card>.card-head,.field-view #fieldApprovals>.card-head{padding:18px 21px}
.field-view .field-supervisor-card .table-wrap,.field-view #fieldApprovals .table-wrap{overflow-x:auto}
.field-view .field-scorecard{min-width:920px}
.field-view .field-scorecard th,.field-view .field-scorecard td{padding:11px 12px;vertical-align:middle}
.field-approval-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:15px 19px;border-top:1px solid var(--line)}
.field-approval-actions strong{font-size:12px;margin-right:auto}
.field-approval-actions .button{min-height:39px}
.field-view .field-lower-grid{gap:18px;margin-top:0}
.field-view .field-queue-card,.field-view .field-activity-card{min-width:0;overflow:hidden}
.field-view #fieldRouteDiagnostics:not([hidden]){margin:0 18px 16px;padding:16px 18px;border-radius:12px;background:#f5f9f5}
.field-view .field-route-diagnostic>b{font-size:12px}
.field-view .field-route-diagnostic ul{font-size:11px}
@media(max-width:1200px){.field-view .field-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.field-view .field-filters>button{grid-column:1/-1;width:100%}}
@media(max-width:980px){.field-view .field-route{grid-template-columns:1fr}.field-view .field-lower-grid{grid-template-columns:1fr}}
@media(max-width:640px){.field-view .view-heading.field-heading{align-items:stretch}.field-view .field-connectivity{width:100%}.field-view .field-filters{padding:14px;grid-template-columns:1fr;gap:12px}.field-view .field-filters>button{grid-column:auto}.field-view .field-route{padding:10px;gap:11px}.field-view .field-route-item header{padding:14px}.field-view .field-actions{grid-template-columns:1fr;padding:0 13px 14px}.field-view .field-partial{grid-template-columns:minmax(0,1fr) 110px}.field-view .field-safety-note{padding:15px}.field-safety-copy{display:block;flex-basis:100%}.field-safety-copy b{display:block;margin-bottom:6px}.field-view .field-safety-note>button{width:100%}.field-view .field-route-card>.card-head{padding:15px}.field-section-caption{margin-top:19px}}

/* Principal Control: deliberately spaced, readable owner/staff workflow. */
#principalView .principal-control-card{overflow:hidden;margin-top:22px;padding:0}
#principalView .principal-card-head{padding:25px 30px 20px;border-bottom:1px solid #e5ece7;margin:0}
#principalView .principal-card-head h3{font-size:clamp(19px,2vw,24px);line-height:1.3}
#principalView .principal-card-head small{display:block;margin-top:9px;line-height:1.6}
#principalView .principal-form-body{padding:28px 30px 30px;display:grid;gap:24px}
#principalView .principal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;min-width:0}
#principalView .principal-form-grid label,#principalView .principal-notes-field{display:block;min-width:0}
#principalView .principal-form-grid label>span,#principalView .principal-notes-field>span{display:block;margin:0 0 9px;font-size:12px;line-height:1.4;font-weight:700}
#principalView .principal-form-grid input,#principalView .principal-form-grid select,#principalView .principal-notes-field textarea{display:block;width:100%;box-sizing:border-box;min-width:0;max-width:100%;font-size:13px;line-height:1.5;background:#fff;border:1px solid #d8e3dc;border-radius:11px}
#principalView .principal-form-grid input,#principalView .principal-form-grid select{height:48px;padding:0 15px}
#principalView .principal-form-grid select{padding-right:36px}
#principalView .principal-form-grid .principal-loan-field{grid-column:1/-1}
#principalView .principal-notes-field textarea{min-height:100px;padding:14px 16px;resize:vertical}
#principalView .principal-context-note{padding:16px 18px;background:#f6f9f6;border:1px solid #e1eae3;border-radius:12px;line-height:1.7;font-size:12px}
#principalView .principal-owner-decision{padding:18px;background:#fbf8f0;border:1px solid #e8ddc3;border-radius:12px;line-height:1.6}
#principalView .principal-owner-decision .principal-action-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:13px}
#principalView .principal-form-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;border-top:1px solid #e6ede8}
#principalView .principal-form-footer>span{font-size:12px;color:#63766b;line-height:1.55;max-width:58ch}
#principalView .principal-form-footer button{flex-shrink:0}
@media(max-width:720px){#principalView .principal-card-head{padding:21px 19px 18px}#principalView .principal-form-body{padding:22px 19px;gap:21px}#principalView .principal-form-grid{grid-template-columns:minmax(0,1fr);gap:17px}#principalView .principal-form-footer{align-items:stretch;flex-direction:column}#principalView .principal-form-footer button{width:100%}}

#principalView .principal-selected-identity{margin-top:11px;padding:13px 16px;border:1px solid #e1eae3;background:#f6f9f6;border-radius:11px}
#principalView .principal-selected-identity strong{display:block;font-size:13px;line-height:1.5;color:var(--ink)}
#principalView .principal-selected-identity small{display:block;margin-top:4px;font-size:11px;letter-spacing:.02em;color:#677b70;overflow-wrap:anywhere}

/* Loan liquidation: clearer financial hierarchy, comfortable spacing and responsive fields. */
#liquidationModal .liquidation-dialog{width:min(690px,calc(100vw - 32px));max-height:calc(100dvh - 36px);padding:0;overflow-y:auto;border-radius:20px}
#liquidationModal .liquidation-modal-head{padding:27px 30px 22px;margin:0;border-bottom:1px solid #e5ebe6;align-items:flex-start}
#liquidationModal .liquidation-modal-head h2{font-size:clamp(24px,3vw,30px);line-height:1.2}
#liquidationModal .liquidation-modal-head p:not(.eyebrow){font-size:12px;line-height:1.6;margin-top:9px;overflow-wrap:anywhere}
#liquidationModal .liquidation-form{padding:28px 30px 30px;display:grid;gap:25px}
#liquidationModal .liquidation-section{min-width:0}
#liquidationModal .liquidation-section-title{display:grid;gap:5px;margin-bottom:18px}
#liquidationModal .liquidation-section-title strong{font-size:15px;color:var(--ink)}
#liquidationModal .liquidation-section-title span{font-size:11px;color:var(--muted);line-height:1.5}
#liquidationModal .liquidation-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 22px}
#liquidationModal .liquidation-fields label{display:block;min-width:0}
#liquidationModal .liquidation-fields label>span,#liquidationModal .liquidation-waiver-reason>span{display:block;margin:0 0 9px;font-size:12px;font-weight:700}
#liquidationModal .liquidation-reference{grid-column:1/-1}
#liquidationModal .liquidation-fields input,#liquidationModal .liquidation-fields select,#liquidationModal .liquidation-waiver-reason textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box;border-radius:11px;border:1px solid #d7e3db;background:#fff;font-size:13px}
#liquidationModal .liquidation-fields input,#liquidationModal .liquidation-fields select{height:48px;padding:0 14px}
#liquidationModal .liquidation-fields select{padding-right:35px}
#liquidationModal .liquidation-quote{margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border-radius:14px}
#liquidationModal .liquidation-quote>div{padding:20px 21px}
#liquidationModal .liquidation-quote span{font-size:11px;line-height:1.5}
#liquidationModal .liquidation-quote b{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
#liquidationModal .liquidation-quote .quote-total{padding:22px 24px}
#liquidationModal .liquidation-quote .quote-total strong{font-size:clamp(24px,3vw,32px);overflow-wrap:anywhere;line-height:1.25}
#liquidationModal .liquidation-waiver-panel{padding:19px 20px;border-radius:13px;background:#fcfaf4;border:1px solid #e9dfc9}
#liquidationModal .liquidation-waiver-choice{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700;line-height:1.5}
#liquidationModal .liquidation-waiver-choice input{width:17px;height:17px;flex:none;margin:0}
#liquidationModal .liquidation-waiver-reason{display:block;margin-top:17px}
#liquidationModal .liquidation-waiver-reason textarea{padding:13px 15px;min-height:84px;resize:vertical}
#liquidationModal .liquidation-waiver-panel small{display:block;margin-top:11px;font-size:11px;color:#776d52;line-height:1.6}
#liquidationModal .liquidation-guidance{margin:0;padding:16px 18px;border-radius:12px;background:#f5f8f5;font-size:11px;line-height:1.7;color:#5a6e62}
#liquidationModal .liquidation-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:0;padding-top:23px;border-top:1px solid #e5ebe6}
#liquidationModal .liquidation-actions button{min-height:44px;padding-inline:20px}
@media(max-width:600px){#liquidationModal .liquidation-modal-head{padding:22px 19px 18px}#liquidationModal .liquidation-form{padding:22px 19px;gap:21px}#liquidationModal .liquidation-fields{grid-template-columns:minmax(0,1fr);gap:16px}#liquidationModal .liquidation-quote{grid-template-columns:minmax(0,1fr)}#liquidationModal .liquidation-quote>div{padding:16px 18px}#liquidationModal .liquidation-actions{display:grid;grid-template-columns:1fr}#liquidationModal .liquidation-actions button{width:100%}}

/* Keep customer name and loan reference distinct in Principal Custody Tracker. */
#principalView .principal-tracker-customer{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:175px;line-height:1.4}
#principalView .principal-tracker-customer strong{display:block;font-weight:800;font-size:12px;line-height:1.5;white-space:normal}
#principalView .principal-tracker-customer small{display:block;font-size:11px;color:#627a72;font-weight:500;letter-spacing:.015em;overflow-wrap:anywhere}
#principalView #principalTrackerRows td{vertical-align:middle}

/* Field Desk approval selectors: compact native checkbox, with centred tick and cell. */
#fieldApprovals input[type="checkbox"]{
  appearance:auto!important;-webkit-appearance:checkbox!important;
  display:inline-block!important;box-sizing:border-box!important;
  width:17px!important;height:17px!important;min-width:17px;min-height:17px;
  margin:0!important;padding:0!important;
  border-radius:3px!important;vertical-align:middle!important;
  accent-color:#276443;cursor:pointer;box-shadow:none!important;
}
#fieldApprovals table th:first-child,#fieldApprovals table td:first-child{
  width:48px;min-width:48px;max-width:48px;padding:12px!important;
  text-align:center;vertical-align:middle;
}
#fieldApprovals table th:first-child input,#fieldApprovals table td:first-child input{
  margin-inline:auto!important;
}
#fieldApprovals .table-wrap table td{vertical-align:middle}
#fieldApprovals .table-wrap table td:nth-child(2) small{
  display:block;margin-top:5px;font-size:11px;line-height:1.45;color:#61746a;
}


/* Market Care Solutions: report-quality table actions and pagination */
.mcs-table-export-tools{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important;
  width:100%!important;margin:0!important;padding:12px 16px!important;
  background:#f4f8f5!important;border:1px solid #e0e9e4!important;
  border-bottom:0!important;border-radius:14px 14px 0 0!important;
  font-family:inherit!important;min-height:62px!important;
}
.mcs-table-export-tools .mcs-export-label{
  margin:0 auto 0 0!important;color:#557067!important;letter-spacing:.11em!important;
  font-size:10px!important;font-weight:800!important;white-space:nowrap!important;
}
.mcs-table-export-tools .mcs-export-button{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;gap:7px!important;min-width:92px!important;
  border:1px solid #ccddd4!important;border-radius:9px!important;
  background:#fff!important;color:#153b32!important;
  padding:9px 13px!important;font-family:inherit!important;font-size:12px!important;
  font-weight:750!important;line-height:1.1!important;white-space:nowrap!important;
  letter-spacing:0!important;box-shadow:0 1px 2px rgba(6,53,37,.04)!important;
  cursor:pointer!important;transition:background .15s,border-color .15s,transform .15s!important;
}
.mcs-table-export-tools .mcs-export-button:hover{
  background:#e8f6e9!important;border-color:#84ad83!important;transform:translateY(-1px)!important;
}
.mcs-table-export-tools .mcs-export-button:focus-visible,
.mcs-table-pager button:focus-visible,.mcs-table-pager select:focus-visible{
  outline:3px solid #92c86f!important;outline-offset:2px!important;
}
.mcs-table-export-tools .mcs-export-icon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:21px!important;height:21px!important;border-radius:5px!important;
  background:#e2f3e7!important;color:#146545!important;font-size:15px!important;font-weight:800!important;
}
.mcs-table-export-tools .mcs-export-pdf .mcs-export-icon{background:#faeae6!important;color:#ab4530!important}
.mcs-table-export-tools .mcs-export-csv .mcs-export-icon{background:#e7eff8!important;color:#396a9d!important}
.mcs-table-pager{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  justify-content:flex-end!important;gap:12px!important;flex-wrap:wrap!important;
  width:100%!important;padding:12px 16px!important;margin:0!important;
  background:#fbfcfa!important;border:1px solid #e0e9e4!important;
  border-top:0!important;border-radius:0 0 14px 14px!important;
  color:#526e65!important;font-family:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;
}
.mcs-table-pager .mcs-pager-count{margin-right:auto!important;font-size:12px!important;color:#536d63!important}
.mcs-table-pager .mcs-pager-size{
  display:inline-flex!important;align-items:center!important;gap:8px!important;
  color:#60786e!important;white-space:nowrap!important;font-size:12px!important;font-weight:600!important;
}
.mcs-table-pager select{
  appearance:auto!important;min-width:68px!important;max-width:80px!important;
  border:1px solid #ccdcd2!important;border-radius:8px!important;
  background:#fff!important;color:#164334!important;padding:8px 9px!important;
  height:35px!important;font-family:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1!important;cursor:pointer!important;
}
.mcs-table-pager .mcs-pager-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:88px!important;min-height:35px!important;padding:8px 12px!important;
  border:1px solid #cbdcd0!important;border-radius:8px!important;
  background:#fff!important;color:#174a37!important;font-family:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1!important;
  cursor:pointer!important;white-space:nowrap!important;
}
.mcs-table-pager .mcs-pager-button:not(:disabled):hover{background:#e9f5e9!important;border-color:#95b79d!important}
.mcs-table-pager .mcs-pager-button:disabled{opacity:.4!important;cursor:not-allowed!important}
.mcs-table-pager .mcs-pager-page{padding:0 3px!important;min-width:65px!important;text-align:center!important;color:#173f31!important;font-weight:800!important;white-space:nowrap!important}
@media(max-width:680px){
  .mcs-table-export-tools{justify-content:flex-start!important;padding:10px!important;gap:6px!important}
  .mcs-table-export-tools .mcs-export-label{width:100%!important;margin:0 0 4px!important}
  .mcs-table-export-tools .mcs-export-button{min-width:0!important;flex:1 1 85px!important}
  .mcs-table-pager{padding:12px 10px!important;gap:9px!important;justify-content:center!important}
  .mcs-table-pager .mcs-pager-count{width:100%!important;text-align:center!important;margin:0!important}
}
@media print{.mcs-table-export-tools,.mcs-table-pager{display:none!important}}
