/* Shared Bootstrap and portal-theme.css own palette and contrast; these rules define workspace geometry. */
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-dialog-shell{max-height:none;overflow:visible;padding:0;background:none;border:0;box-shadow:none}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-dialog-shell>header{position:static;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-dialog-shell>header>div{flex:1 1 300px;min-width:0}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-dialog-shell>header h2{font-size:24px;margin:4px 0 5px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-dialog-shell>header p{font-size:12px;margin:0;line-height:1.6}
body.nisaat-modern.portal-shell #console #entity-wallet-page button{font-size:12px;min-height:34px;padding:7px 11px;border-radius:7px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-entity-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px 14px;padding:14px 16px;border:1px solid var(--page-border);border-radius:10px;background:var(--page-tint);margin:0 0 12px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-entity-picker[hidden]{display:none}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-entity-picker label{font-size:12px;gap:5px;color:var(--page-ink)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-entity-picker :is(input,select){font-size:12px;height:36px;min-height:36px;padding:7px 10px;border-radius:7px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-entity-picker select{padding-right:28px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-entity-picker small{font-size:11px;line-height:1.5;color:var(--muted)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-workspace-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-workspace-actions:empty{display:none}
body.nisaat-modern.portal-shell #console #entity-wallet-page #entity-wallet-online-log{margin:0}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px;margin-bottom:14px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-summary{margin:0;padding:16px 18px;border:1px solid var(--page-border);border-top:3px solid var(--page-accent);border-radius:10px;background:var(--page-tint);min-width:0;display:flex;justify-content:space-between;align-items:center;gap:10px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-summary small{font-size:10px;letter-spacing:.8px;color:var(--page-ink)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-summary strong{font-size:28px;color:var(--page-ink);line-height:1.3;margin-top:6px;display:block;overflow-wrap:anywhere}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-summary .tag{font-size:11px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-context-card{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.7fr);align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-context-card small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:6px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-context-card strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere;color:var(--ink)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-recharge{margin:0 0 16px;padding:14px 16px;border:1px solid var(--page-border);border-radius:10px;background:var(--page-tint)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-funding-heading>b{font-size:14px;color:var(--page-ink)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-funding-heading>small{display:block;font-size:11px;line-height:1.6;margin-top:4px;color:var(--muted)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-recharge-fields{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.2fr) auto;align-items:end;gap:12px;margin-top:12px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-recharge-fields label{font-size:12px;min-width:0;gap:5px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-recharge-fields label[hidden]{display:none}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-recharge-fields input{font-size:12px;height:36px;min-height:36px;padding:7px 10px;border-radius:7px;width:100%}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger{padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-heading{padding:13px 16px;background:var(--page-tint);border-bottom:1px solid var(--page-border)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-heading b{font-size:15px;color:var(--page-ink)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-heading small{font-size:11px;margin-top:4px;color:var(--muted)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:12px 16px;background:var(--page-tint);border-bottom:1px solid var(--line)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:11px;flex:1 1 130px;min-width:0}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-toolbar .wallet-ledger-search{flex:2 1 260px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-toolbar :is(input,select){width:100%;font-size:12px;min-height:36px;height:36px;padding:7px 10px;border-radius:7px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-toolbar select{padding-right:28px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap{max-width:100%;overflow:auto}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap table{min-width:760px;width:100%;table-layout:fixed}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap th:first-child{width:19%}body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap th:nth-child(2){width:47%}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap :is(th,td){padding:11px 13px;font-size:12px;vertical-align:top;overflow-wrap:anywhere}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap th{font-size:10px;letter-spacing:.6px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap td b{font-size:12px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap td small{font-size:10px;line-height:1.6;margin-top:4px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap [hidden]{display:none}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-table-wrap .dash-link{font-size:11px;min-height:24px;padding:2px 0;margin:4px 0;text-align:left}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-top:1px solid var(--line);background:var(--page-tint);font-size:12px;color:var(--page-ink)}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-pagination nav{display:flex;gap:5px}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-ledger-pagination button{min-width:32px}
/* Keep the tested RADIUS event/capture controls; only make their workspace layout compact. */
body.nisaat-modern.portal-shell #console #live-radius-dialog-page .session-panel-content{padding:0;max-height:none;overflow:visible}
body.nisaat-modern.portal-shell #console #live-radius-dialog-page .radius-live-toolbar{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--page-tint)}
body.nisaat-modern.portal-shell #console #live-radius-dialog-page .radius-live-toolbar label{font-size:12px;min-width:0;flex:1 1 220px;gap:5px}
body.nisaat-modern.portal-shell #console #live-radius-dialog-page .radius-live-toolbar :is(input,select){width:100%;font-size:12px;height:36px;min-height:36px;padding:7px 10px;border-radius:7px}
body.nisaat-modern.portal-shell #console #live-radius-dialog-page #radius-capture-controls{padding:12px 0;font-size:12px}body.nisaat-modern.portal-shell #console #live-radius-dialog-page #radius-capture-controls[hidden]{display:none}
body.nisaat-modern.portal-shell #console #live-radius-dialog-page #radius-live-status{font-size:12px;margin:12px 0}
body.nisaat-modern.portal-shell #console #live-radius-dialog-page .session-table-scroll{max-height:none;overflow:auto;border-radius:10px}
body.nisaat-modern.portal-shell #console #live-radius-dialog-page .session-detail-table :is(td,th){font-size:12px;padding:11px 13px;vertical-align:top}
@media(max-width:800px){body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-overview-grid{grid-template-columns:1fr}body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-recharge-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-entity-picker{grid-template-columns:1fr}body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-recharge-fields{grid-template-columns:1fr}body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-dialog-shell>header>div{flex:1 1 100%}body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-context-card{grid-template-columns:1fr 1fr}body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-context-card>div:first-child{grid-column:1/-1}}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-dialog-shell>header h2{font-weight:750}
body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-amount.credit{color:rgb(var(--bs-success-rgb))}body.nisaat-modern.portal-shell #console #entity-wallet-page .wallet-amount.debit{color:rgb(var(--bs-danger-rgb))}
