/* Geometry only: Bootstrap and the central NI-SAAT Radius theme own palette and motion. */
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-shell{max-width:none;margin:0;min-width:0}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .page-heading{margin-bottom:12px;gap:14px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .page-heading h1{font-size:24px;margin:4px 0}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .page-heading p{margin:0;font-size:14px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page :is(.ledger-heading-actions,.ledger-filter-actions){display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page button{min-height:36px;padding:7px 12px;border-radius:7px;font-size:14px;white-space:nowrap}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-filters{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(130px,.8fr) minmax(220px,1.5fr) minmax(230px,1.8fr) auto;gap:12px;align-items:end;padding:16px;margin:0 0 12px;border:1px solid var(--page-border);background:var(--page-tint);border-radius:10px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:650;color:var(--page-ink);min-width:0}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page :is(input,select){width:100%;min-width:0;min-height:38px;padding:7px 10px;border:1px solid var(--page-border);border-radius:7px;font-size:14px;background:var(--bs-body-bg);color:var(--page-ink)}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page select{padding-right:30px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-entity{display:grid;gap:8px;min-width:0}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-filter-actions{align-self:end;flex-direction:column;align-items:stretch}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-filter-hint{grid-column:1/-1;margin:0;padding-top:10px;border-top:1px solid var(--page-border);font-size:13px;color:var(--page-ink);overflow-wrap:anywhere}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-card{background:var(--bs-body-bg);border:1px solid var(--page-border);border-radius:10px;overflow:hidden}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page :is(.ledger-toolbar,.ledger-pagination){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 16px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-toolbar{background:var(--page-tint);border-bottom:1px solid var(--page-border)}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-toolbar h2{font-size:18px;font-weight:750;margin:0;overflow-wrap:anywhere}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-toolbar p{font-size:13px;margin:5px 0 0;color:var(--page-ink)}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-table-wrap{overflow:auto;max-width:100%}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page table{width:100%;min-width:800px;border-collapse:collapse}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page th{font-size:13px;padding:11px 12px;text-align:left;white-space:nowrap}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page td{font-size:14px;padding:10px 12px;vertical-align:middle;overflow-wrap:anywhere}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page td small{display:block;font-size:13px;margin-top:4px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page :is(.ledger-username,.ledger-balance){font-weight:650}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-debit{color:rgb(var(--bs-danger-rgb));font-weight:650}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-credit{color:rgb(var(--bs-success-rgb));font-weight:650}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-pagination{border-top:1px solid var(--page-border);font-size:14px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-pagination label{flex-direction:row;align-items:center;gap:8px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-pagination select{width:80px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary>div{background:var(--bs-body-bg);border:1px solid var(--page-border);border-top:3px solid var(--page-accent);border-radius:9px;padding:13px 16px}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary small{display:block;font-size:14px;font-weight:650;color:var(--page-ink)}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary b{display:block;font-size:23px;margin-top:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary .ledger-debits{border-top-color:rgb(var(--bs-danger-rgb))}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary .ledger-credits{border-top-color:rgb(var(--bs-success-rgb))}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-debits b{color:rgb(var(--bs-danger-rgb))}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-credits b{color:rgb(var(--bs-success-rgb))}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-closing{background:var(--page-tint)}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page [hidden]{display:none!important}
@media(max-width:1250px){body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-filters{grid-template-columns:1fr 1fr 1.4fr}body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-customer-search{grid-column:1/3}body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-filter-actions{flex-direction:row}}
@media(max-width:650px){body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-filters{grid-template-columns:1fr 1fr;padding:12px;gap:10px}body.nisaat-modern.portal-shell #console #customer-ledger-report-page :is(.ledger-entity,.ledger-customer-search,.ledger-filter-actions){grid-column:1/-1}body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary{grid-template-columns:1fr 1fr}body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary>div{padding:12px}body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-summary b{font-size:20px}}
/* Complaint workspace geometry follows the same shared theme. */
body.nisaat-modern.portal-shell #console .complaint-workspace-page .payment-inline-region{position:static;inset:auto;display:block;width:100%;max-width:none;max-height:none;margin:0;padding:0;overflow:visible;border:0;background:transparent;box-shadow:none}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .payment-inline-region:not([open]){display:none}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .page-heading{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:14px 16px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .page-heading>div{min-width:0;flex:1}
body.nisaat-modern.portal-shell #console .complaint-workspace-page h2{font-size:24px;font-weight:750;margin:4px 0}
body.nisaat-modern.portal-shell #console .complaint-workspace-page h3{font-size:18px;font-weight:700;margin:0 0 10px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page :is(p,label,button,input,select,textarea){font-size:14px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page :is(input,select,textarea){min-height:38px;padding:8px 10px;border:1px solid var(--page-border);border-radius:7px;width:100%;min-width:0}
body.nisaat-modern.portal-shell #console .complaint-workspace-page button{min-height:36px;padding:7px 12px;border-radius:7px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page label{display:flex;flex-direction:column;gap:5px;color:var(--page-ink);font-weight:650}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-dialog-body{padding:16px;background:var(--bs-body-bg);border:1px solid var(--page-border);border-radius:10px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page :is(.cmp-detail-summary p,.cmp-hint,.cmp-comment small,.cmp-timeline small){font-size:13px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-detail-summary{gap:14px;margin-bottom:14px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-description{padding:12px;margin-bottom:16px;background:var(--page-tint);border-color:var(--page-border)}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-work-grid{gap:16px;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-actions-panel{padding:14px;background:var(--page-tint);border-color:var(--page-border)}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-comment{padding:12px;margin:10px 0}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-search{margin-bottom:14px;padding-bottom:14px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-form-grid{gap:12px}
body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-badge{font-size:13px}
@media(min-width:1000px){body.nisaat-modern.portal-shell #console #cmp-create-page .cmp-dialog-body{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.5fr);gap:22px}body.nisaat-modern.portal-shell #console #cmp-create-page .cmp-search{display:flex;align-self:start;flex-direction:column;align-items:stretch;border:0;margin:0;padding:0}}
@media(max-width:800px){body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-work-grid{grid-template-columns:1fr}body.nisaat-modern.portal-shell #console .complaint-workspace-page .cmp-dialog-body{padding:12px}body.nisaat-modern.portal-shell #console .complaint-workspace-page .page-heading{flex-wrap:wrap}body.nisaat-modern.portal-shell #console .complaint-workspace-page .page-heading p{overflow-wrap:anywhere}}
body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-notice{padding:10px 14px;margin:0 0 12px;border:1px solid var(--page-border);border-radius:8px;background:var(--page-tint);color:var(--page-ink);font-size:14px}
@media(max-width:650px){body.nisaat-modern.portal-shell #console #customer-ledger-report-page .page-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}body.nisaat-modern.portal-shell #console #customer-ledger-report-page .page-heading>div{flex:initial;min-width:0;width:100%}body.nisaat-modern.portal-shell #console #customer-ledger-report-page .ledger-heading-actions{display:flex;justify-content:flex-start}}
