/* Central NI-SAAT Radius visual theme. Reuses the installed Bootstrap;
   page-specific styles remain responsible for layout and existing controls. */
body.nisaat-modern.portal-shell{--ink:#172b46;--muted:#475c76;--line:#c2d0e4;--blue:#4338ca;--bs-body-color:#172b46;--bs-border-color:#c2d0e4;--bs-primary:#4338ca;--bs-primary-rgb:67,56,202;--table-line:#c2d0e4;--table-alt:#f0f5fd;--table-hover:#e2ebfd;background:#eaf0f9;color:var(--ink)}
body.nisaat-modern.portal-shell #console>main{background:linear-gradient(135deg,#eaf0fa 0%,#f1f4fb 50%,#e8f4f4 100%);min-height:100dvh}
body.nisaat-modern.portal-shell #console .page{--page-accent:#4338ca;--page-ink:#243b76;--page-tint:#e9edff;--page-border:#b9c7ee;color:#172b46}
body.nisaat-modern.portal-shell #console :is(#nas-bng-page,#ip-pools-page,#branch-page,#location-page){--page-accent:#087f8c;--page-ink:#075365;--page-tint:#dff3f2;--page-border:#9bcfcf}
body.nisaat-modern.portal-shell #console :is(#company-page,#invoice-settings-page,#subscriber-defaults-page,#package-page,#package-list-page,#internet-data-plans-page){--page-accent:#ad570a;--page-ink:#75410e;--page-tint:#fff0d8;--page-border:#e7c692}
body.nisaat-modern.portal-shell #console :is(#notification-settings-page,#notification-templates-page,#notification-logs-page,#sms-settings-page,#whatsapp-settings-page){--page-accent:#7040b6;--page-ink:#4f2a84;--page-tint:#eee5fc;--page-border:#ccb5e9}
body.nisaat-modern.portal-shell #console .page .page-heading{padding:14px 18px;background:linear-gradient(110deg,var(--page-tint),#f8fbff);border:1px solid var(--page-border);border-left:4px solid var(--page-accent);border-radius:10px}
body.nisaat-modern.portal-shell #console .page .page-heading h1{color:var(--page-ink);font-weight:750}
body.nisaat-modern.portal-shell #console .page :is(.page-heading p,.page-heading .kicker){color:var(--page-ink)}
body.nisaat-modern.portal-shell #console .page :is(.list-card,.master-card,.pool-card,.card,.dash-panel,.profile-panel,.profile-section,.template-event-card){border-color:#bdcde2;box-shadow:0 3px 12px #20385c09}
body.nisaat-modern.portal-shell #console .page :is(.master-intro,.section-title,.pool-card-header,.profile-section-header,.template-channel-section>h3){background:linear-gradient(110deg,var(--page-tint),#f7faff);color:var(--page-ink);border-bottom:1px solid var(--page-border)}
body.nisaat-modern.portal-shell #console .page :is(.master-intro h2,.master-intro h3,.section-title h2,.pool-card-header h2,.profile-section h2,.template-channel-section>h3){color:var(--page-ink);font-weight:700}
body.nisaat-modern.portal-shell #console .page :is(.list-toolbar,.pool-toolbar,.template-channel-nav,.master-footer,.log-pagination){background:#eef3fb;border-color:#c3d2e5}
body.nisaat-modern.portal-shell #console .page :is(label,.list-toolbar,.result-count,.master-footer,.log-pagination){color:#334c6b}
body.nisaat-modern.portal-shell #console .page :is(p,small,.muted,.log-scope-note){color:#4b607a}
body.nisaat-modern.portal-shell #console .page :is(h2,h3){font-weight:700}
body.nisaat-modern.portal-shell #console .page :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){border-color:#aabed8;color:#172b46;background-color:#fff}
body.nisaat-modern.portal-shell #console .page :is(input,textarea)::placeholder{color:#586c86;opacity:1}
body.nisaat-modern.portal-shell #console .page :is(input,select,textarea):focus-visible{border-color:var(--page-accent);outline:2px solid var(--page-border);outline-offset:1px;box-shadow:0 0 0 3px var(--page-tint)}
body.nisaat-modern.portal-shell #console .page :is(input,select,textarea):disabled{background-color:#e9eef6;color:#52677f}
body.nisaat-modern.portal-shell #console .page :is(table,table.ui-table){border:1px solid #aebfd8;color:#1c3351}
body.nisaat-modern.portal-shell #console .page :is(table,table.ui-table)>thead>tr>th{background:var(--page-ink);color:#fff;font-weight:700;border-bottom:2px solid var(--page-accent);border-right:1px solid #ffffff38;letter-spacing:.045em}
body.nisaat-modern.portal-shell #console .page :is(table,table.ui-table)>tbody>tr>td{background:#fff;color:#213952;border-right:1px solid #c5d3e5;border-bottom:1px solid #bbcbdf}
body.nisaat-modern.portal-shell #console .page :is(table,table.ui-table)>tbody>tr:nth-child(even)>td{background:#edf3fc}
body.nisaat-modern.portal-shell #console .page :is(table,table.ui-table)>tbody>tr:hover>td{background:#dfeafb}
body.nisaat-modern.portal-shell #console .page :is(table,table.ui-table) td :is(b,strong){color:#172f51}
body.nisaat-modern.portal-shell #console .page :is(table,table.ui-table) td small{color:#4d6380}
body.nisaat-modern.portal-shell #console .page :is(.tag.green,.status-pill.active){background:#d2f2e2;color:#075d3b;border:1px solid #90cfb2}
body.nisaat-modern.portal-shell #console .page :is(.tag.red,.status-pill.inactive){background:#ffe0e6;color:#a51d3d;border:1px solid #eab1be}
body.nisaat-modern.portal-shell #console .page .tag.blue{background:#dce7ff;color:#25499d;border:1px solid #abc1ed}
body.nisaat-modern.portal-shell #console .page button.primary{background:var(--page-accent);border-color:var(--page-accent);color:white;box-shadow:0 3px 8px #243b7624}
body.nisaat-modern.portal-shell #console .page button.secondary{background:#f8fbff;border-color:#aebfd7;color:#294768;font-weight:600}
body.nisaat-modern.portal-shell #console .page button.secondary:hover:not(:disabled){background:var(--page-tint);border-color:var(--page-accent);color:var(--page-ink);box-shadow:0 2px 6px #20385c15}
body.nisaat-modern.portal-shell #console .page button.primary:hover:not(:disabled){filter:brightness(1.09);box-shadow:0 4px 12px #243b7630}
body.nisaat-modern.portal-shell #console .page button:disabled{opacity:.5}
body.nisaat-modern.portal-shell #console .topbar{background:#f6f8ff;border-bottom:2px solid #c4d0ea;box-shadow:0 2px 8px #20385c0a}
body.nisaat-modern.portal-shell #console .topbar .crumbs{color:#4b607a}
body.nisaat-modern.portal-shell #console .sidebar{background:linear-gradient(180deg,#17264a,#11223c 70%,#103941)}
body.nisaat-modern.portal-shell #console .sidebar nav button{color:#c1cee4}
/* Dashboard cards remain linked to the original scoped metrics. */
body.nisaat-modern.portal-shell #console #dashboard-page .dash-card.btn{background:#e1e7ff!important;border:1px solid #a8b8e6!important;border-top:3px solid #5b58c9!important}
body.nisaat-modern.portal-shell #console #dashboard-page :is(.dash-card.dash-online,.dash-card.dash-active){background:#d6f2e6!important;border-color:#97cbb5!important;border-top-color:#16815b!important}
body.nisaat-modern.portal-shell #console #dashboard-page :is(.dash-card.dash-expired,.dash-card.dash-suspended){background:#ffebd1!important;border-color:#dfbb8c!important;border-top-color:#b36a16!important}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-card span{color:#33486c;font-size:12px;font-weight:600}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-panel h2{color:#263f70}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-rows dt{color:#3f5673;font-weight:600}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-rows>div{border-color:#bdcde1}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-bar{background:linear-gradient(0deg,#4338ca,#35a6b6)}
body.nisaat-modern.portal-shell #console #notification-logs-page .notification-summary>div{background:#e9e4fb;border-color:#c3b3e3;border-top:3px solid #7951bc}
body.nisaat-modern.portal-shell #console #notification-logs-page .notification-summary>div:first-child{background:#d8f2e6;border-color:#a4cfba;border-top-color:#16815b}
body.nisaat-modern.portal-shell #console #notification-logs-page .notification-summary>div:nth-child(2){background:#ffe5e9;border-color:#e6b3be;border-top-color:#bc3451}
body.nisaat-modern.portal-shell #console #notification-logs-page .notification-summary>div:nth-child(3){background:#fff0d5;border-color:#e6ca91;border-top-color:#b87917}
body.nisaat-modern.portal-shell #console #notification-logs-page .notification-summary small{color:#334a65;font-weight:600}
body.nisaat-modern.portal-shell #console #notification-templates-page [data-template-event].active{background:#e5daf9;color:#4d278a;border-color:#b59bd9}
/* Gentle entrance and state feedback, without moving controls or delaying clicks. */
@media(prefers-reduced-motion:no-preference){body.nisaat-modern.portal-shell #console .page:not(.hidden){animation:nisaat-page-in .24s ease-out}body.nisaat-modern.portal-shell #console .page :is(button,input,select,textarea){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}body.nisaat-modern.portal-shell #console .page table td{transition:background-color .16s ease}@keyframes nisaat-page-in{from{opacity:.65}to{opacity:1}}}
@media(prefers-reduced-motion:reduce){body.nisaat-modern.portal-shell #console,body.nisaat-modern.portal-shell #console *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px){body.nisaat-modern.portal-shell #console .page .page-heading{padding:12px}}
@media print{body.nisaat-modern.portal-shell #console>main{background:#fff}body.nisaat-modern.portal-shell #console .page :is(table,table.ui-table)>thead>tr>th{background:#eee;color:#000}body.nisaat-modern.portal-shell #console .page{animation:none}}
/* Shared headings wrap actions rather than widening the mobile workspace. */
body.nisaat-modern.portal-shell #console .page .page-heading{flex-wrap:wrap;min-width:0}
body.nisaat-modern.portal-shell #console .page .page-heading>div:first-child{min-width:0;flex:1 1 220px}
body.nisaat-modern.portal-shell #console .page .page-heading>div:not(:first-child){min-width:0;max-width:100%;flex-wrap:wrap}
@media(max-width:600px){body.nisaat-modern.portal-shell #console .page .page-heading>button{max-width:100%;white-space:normal}}
/* The inline customer profile uses its own card vocabulary; theme it centrally too. */
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-profile-shell>header{padding:14px 16px;border:1px solid var(--page-border);border-left:4px solid var(--page-accent);border-radius:10px;background:linear-gradient(110deg,var(--page-tint),#f8fbff)}
body.nisaat-modern.portal-shell #console #customer-profile-page #subscriber-profile-reference{color:#415778}
body.nisaat-modern.portal-shell #console #customer-profile-page :is(.saved-profile-card,.subscriber-detail-card,.subscriber-profile-section){border-color:#b9cbe2;box-shadow:0 3px 12px #20385c09}
body.nisaat-modern.portal-shell #console #customer-profile-page :is(.saved-profile-heading,.section-heading){background:linear-gradient(110deg,var(--page-tint),#f4f7ff);border-color:var(--page-border)}
body.nisaat-modern.portal-shell #console #customer-profile-page :is(.saved-profile-heading h3,.subscriber-detail-card h3,.section-heading h3){color:var(--page-ink);font-weight:700}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-detail-list>div{border-color:#bdcde1;padding:9px 6px}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-detail-list>div:nth-child(even){background:#f0f4fc}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-detail-list dt{color:#3f5573;font-weight:600}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-detail-list dd{color:#1c3454;font-weight:600}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-profile-summary>div{background:#e5eaff;border:1px solid #afbee8;border-top:3px solid #5e59c6}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-profile-summary>div:nth-child(2){background:#e0f2f3;border-color:#a4cdd2;border-top-color:#168497}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-profile-summary>div:nth-child(3){background:#fff0d8;border-color:#e0c49b;border-top-color:#ac6b1d}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-profile-summary>div:nth-child(4){background:#efe5fc;border-color:#c9afe3;border-top-color:#7843b2}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-profile-summary :is(small,span){color:#3c5170}
body.nisaat-modern.portal-shell #console #customer-profile-page .subscriber-profile-summary .zero{color:#294768}
body.nisaat-modern.portal-shell #console #customer-profile-page .profile-section-tabs button{color:#435c7c;font-weight:600}
body.nisaat-modern.portal-shell #console #customer-profile-page .profile-section-tabs button.active{color:#4338ca;font-weight:750}
body.nisaat-modern.portal-shell #console #customer-profile-page :is(.profile-document-grid small,.profile-edit-note,.subscriber-card-note){color:#4c6079}
body.nisaat-modern.portal-shell #console #dashboard-page #dash-live-status span{color:#425b79;font-weight:600}
body.nisaat-modern.portal-shell #console #notification-logs-page .notification-summary b{font-family:inherit;font-weight:750}

/* Remaining operator screens: presentation only, original controls and flows retained. */
body.nisaat-modern #login{background:#edf2fb;color:#172b46}
body.nisaat-modern #login .login-story{background:linear-gradient(145deg,#132745,#263c77 65%,#176778);padding:clamp(24px,4vw,64px);color:#fff}
body.nisaat-modern #login .login-story :is(h1,p,.kicker,.logo b,.logo small){color:#fff}
body.nisaat-modern #login .login-story h1{font-size:clamp(30px,3vw,46px);line-height:1.2;max-width:620px}
body.nisaat-modern #login .login-story p{font-size:16px;line-height:1.7;max-width:500px}
body.nisaat-modern #login .login-panel{padding:24px;background:linear-gradient(140deg,#f6f8ff,#eaf3f8)}
body.nisaat-modern #login .login-card{max-width:420px;width:100%;padding:28px;border:1px solid #bdc9e6;border-top:4px solid #5148ce;border-radius:16px;background:#fff;box-shadow:0 14px 40px #243b7612}
body.nisaat-modern #login .login-card h2{font-size:28px;color:#233c72}
body.nisaat-modern #login .login-card :is(label,p){font-size:14px;color:#344e70}
body.nisaat-modern #login .login-card label{gap:7px;margin-top:14px}
body.nisaat-modern #login input{height:44px;font-size:16px;border:1px solid #adbedb;border-radius:9px;background:#fff;color:#172b46}
body.nisaat-modern #login #show-password{font-size:14px;min-height:36px;color:#4338ca}
body.nisaat-modern #login :is(.secure-note,.kicker){font-size:13px}
body.nisaat-modern #login .primary{min-height:44px;background:#4338ca;border-color:#4338ca;color:#fff}
body.nisaat-modern #login #login-error{color:#a62c42;font-size:14px;line-height:1.5}

body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) .page-heading{gap:12px;padding:14px 18px;margin-bottom:14px;min-height:0}
body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) .page-heading h1{font-size:26px;margin:4px 0}
body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) :is(.list-card,.master-card){border:1px solid var(--page-border);border-radius:12px;overflow:hidden}
body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) :is(label,p,select,input,button){font-size:14px}
body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) label{gap:6px}
body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) input:not([type=checkbox]):not([type=file]),body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) select{height:40px;min-width:0;padding:8px 10px;border:1px solid #adbedb;border-radius:8px}
body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) :is(th,td){padding:10px 12px;font-size:14px;vertical-align:top}
body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) th{font-size:13px}
body.nisaat-modern.portal-shell #console #ekyc-page .ekyc-owner{display:grid;grid-template-columns:minmax(230px,1fr) 2fr;align-items:center;gap:16px;margin:12px 0;padding:14px 16px;border:1px solid #bdc9e6;border-radius:12px;background:#eef2ff}
body.nisaat-modern.portal-shell #console #ekyc-page .ekyc-owner label{min-width:0}
body.nisaat-modern.portal-shell #console #ekyc-page .ekyc-owner p{max-width:none;margin:0;color:#344e70}
body.nisaat-modern.portal-shell #console #ekyc-page .offline-kyc-panel{padding:16px;border:1px solid #b9c9e8;border-top:3px solid #5148ce;border-radius:12px;background:linear-gradient(120deg,#f0f3ff,#f9fcff)}
body.nisaat-modern.portal-shell #console #ekyc-page .offline-kyc-heading h3{font-size:19px;color:#243b76}
body.nisaat-modern.portal-shell #console #ekyc-page :is(.offline-kyc-help,.offline-kyc-consent,[data-kyc-status],.offline-kyc-upload input){font-size:14px;line-height:1.6;color:#344e70}
body.nisaat-modern.portal-shell #console #ekyc-page [data-kyc-details]{padding:6px 12px;border-color:#b9c9e8}
body.nisaat-modern.portal-shell #console #ekyc-page [data-kyc-details] :is(dt,dd){font-size:14px;color:#243c5b;overflow-wrap:anywhere}
body.nisaat-modern.portal-shell #console #ekyc-page [data-kyc-details]>div{padding:9px 4px;border-bottom:1px solid #cad5e7}
body.nisaat-modern.portal-shell #console #ekyc-page .offline-kyc-actions{gap:8px;margin-top:12px}
body.nisaat-modern.portal-shell #console #ekyc-page #ekyc-protean{padding:16px;background:#f6f8ff;border-left:4px solid #7a52bb}
body.nisaat-modern.portal-shell #console #ekyc-page #ekyc-protean :is(p,li){font-size:14px;color:#344e70}
body.nisaat-modern.portal-shell #console #ekyc-page .ekyc-provider-heading h2{font-size:20px}

body.nisaat-modern.portal-shell #console #complaints-page .cmp-counts{gap:10px;margin:12px 0}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-count{padding:13px 16px;min-height:82px;border:1px solid #bdc9e6;border-top:3px solid #5a50ce;border-radius:11px;background:linear-gradient(120deg,#ebedff,#fff);text-align:left}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-count-in_progress{border-top-color:#d29a2c;background:linear-gradient(120deg,#fff2da,#fff)}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-count-resolved{border-top-color:#149c7e;background:linear-gradient(120deg,#e2f7ef,#fff)}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-count-closed{border-top-color:#9360c8;background:linear-gradient(120deg,#f0e6ff,#fff)}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-count small{font-size:14px;color:#334d6b}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-count b{font-size:25px;margin-top:4px;color:#233c72}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-toolbar{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr)) auto auto;padding:14px;gap:10px;background:#f1f4fc;border-bottom:1px solid #c0cde5}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-toolbar label{min-width:0}
body.nisaat-modern.portal-shell #console #complaints-page .table-wrap{overflow:auto;max-width:100%}
body.nisaat-modern.portal-shell #console #complaints-page table{min-width:1050px;width:100%;border-collapse:collapse}
body.nisaat-modern.portal-shell #console #complaints-page td small{display:block;margin-top:4px;max-width:340px;overflow-wrap:anywhere;font-size:13px}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-badge{font-size:13px;padding:4px 9px}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-pager{padding:12px 14px;gap:10px;flex-wrap:wrap;background:#f1f4fc;border-top:1px solid #c0cde5;font-size:14px}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-alerts{padding:14px 16px;margin-top:14px;background:#f9fbff}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-alert{flex-wrap:wrap;padding:10px 0}
body.nisaat-modern.portal-shell #console #complaints-page .cmp-alert small{font-size:13px}

body.nisaat-modern.portal-shell #console #dashboard-page :is(.dash-panel){padding:16px;border-radius:12px;margin-bottom:14px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-panel h2{font-size:19px;margin-bottom:12px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-cards{gap:10px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-card{padding:14px 16px;gap:5px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-card strong{font-size:27px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-card span{font-size:14px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-rows>div{padding:9px 0;font-size:14px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-two{gap:14px}
body.nisaat-modern.portal-shell #console #dashboard-page #dash-filter{display:grid;grid-template-columns:160px 160px minmax(220px,1fr) auto auto;gap:10px;align-items:end;margin:12px 0;padding:14px;border:1px solid #bdc9e6;border-radius:10px;background:#f1f4fc}
body.nisaat-modern.portal-shell #console #dashboard-page #dash-filter label{font-size:14px;gap:6px;min-width:0}
body.nisaat-modern.portal-shell #console #dashboard-page #dash-filter input{width:100%;height:40px;max-width:none;font-size:14px;padding:8px 10px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-table{min-width:760px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-table :is(th,td){font-size:14px;padding:10px 12px}
body.nisaat-modern.portal-shell #console #dashboard-page .dash-pagination{font-size:14px;gap:10px;flex-wrap:wrap;margin-top:12px}

body.nisaat-modern.portal-shell :is(#customer-profile-page,#online-sessions-dialog,#customer-session-log) .session-summary-grid{gap:10px;margin:12px 0;grid-template-columns:repeat(4,minmax(0,1fr))}
body.nisaat-modern.portal-shell :is(#customer-profile-page,#online-sessions-dialog,#customer-session-log) .session-summary-grid>div{padding:12px;border:1px solid #b9c9e8;border-top:3px solid #5a50ce;border-radius:10px;background:linear-gradient(120deg,#edf0ff,#fff)}
body.nisaat-modern.portal-shell :is(#customer-profile-page,#online-sessions-dialog,#customer-session-log) .session-summary-grid>div:nth-child(3n+2){background:linear-gradient(120deg,#e1f6ef,#fff);border-top-color:#149c7e}
body.nisaat-modern.portal-shell #console #customer-profile-page .session-summary-grid small,body.nisaat-modern.portal-shell #customer-session-log .session-summary-grid small{font-size:13px;color:#344e70;white-space:normal}
body.nisaat-modern.portal-shell #console #customer-profile-page .session-summary-grid b,body.nisaat-modern.portal-shell #customer-session-log .session-summary-grid b{font-size:21px;overflow-wrap:anywhere;margin-top:4px}
body.nisaat-modern.portal-shell :is(#customer-profile-page,#online-sessions-dialog,#customer-session-log) :is(.session-detail-table,.dash-table){border-collapse:collapse;min-width:760px;width:100%}
body.nisaat-modern.portal-shell :is(#customer-profile-page,#online-sessions-dialog,#customer-session-log) :is(.session-detail-table,.dash-table) :is(th,td){padding:10px 12px;border:1px solid #bdcce3;font-size:14px}
body.nisaat-modern.portal-shell :is(#customer-profile-page,#online-sessions-dialog,#customer-session-log) :is(.session-detail-table,.dash-table) th{background:#243b76;color:#fff}
body.nisaat-modern.portal-shell :is(#customer-profile-page,#online-sessions-dialog,#customer-session-log) :is(.session-detail-table,.dash-table) tbody tr:nth-child(even){background:#edf3fc}
body.nisaat-modern.portal-shell #console #customer-profile-page .session-profile-controls{font-size:14px;gap:8px;margin:10px 0}
body.nisaat-modern.portal-shell #console #customer-profile-page .session-profile-controls button{font-size:13px!important;min-height:36px!important;height:auto;padding:7px 10px!important}
body.nisaat-modern.portal-shell #online-sessions-dialog header{padding:14px 18px;background:linear-gradient(110deg,#e9edff,#f8fbff);border-bottom:1px solid #bdc9e6}
body.nisaat-modern.portal-shell #online-sessions-dialog :is(h2,p,button){color:#243b76}
body.nisaat-modern.portal-shell #online-sessions-dialog h2{font-size:23px}
body.nisaat-modern.portal-shell #online-sessions-dialog p{font-size:14px;line-height:1.6}
body.nisaat-modern.portal-shell #customer-session-log .session-panel-content{padding:14px 0}
body.nisaat-modern.portal-shell #customer-session-log #session-history-filter{padding:12px;border:1px solid #bdc9e6;border-radius:10px;background:#f1f4fc;gap:10px}
body.nisaat-modern.portal-shell #customer-session-log #session-history-filter :is(label,input,button){font-size:14px}
body.nisaat-modern.portal-shell #customer-session-log #session-history-filter input{height:40px}

@media(max-width:1100px){body.nisaat-modern.portal-shell #console #complaints-page .cmp-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}body.nisaat-modern.portal-shell #console #complaints-page .cmp-toolbar label:first-child{grid-column:1/-1}body.nisaat-modern.portal-shell #console #dashboard-page #dash-filter{grid-template-columns:1fr 1fr}body.nisaat-modern.portal-shell #console #dashboard-page #dash-filter label:nth-child(3){grid-column:1/-1}}
@media(max-width:700px){body.nisaat-modern #login .login-panel{padding:16px}body.nisaat-modern #login .login-card{padding:22px}body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) .page-heading{display:flex;flex-wrap:wrap}body.nisaat-modern.portal-shell #console :is(#ekyc-page,#complaints-page) .page-heading>div{min-width:0;width:100%;flex:initial}body.nisaat-modern.portal-shell #console #ekyc-page .ekyc-owner{grid-template-columns:1fr}body.nisaat-modern.portal-shell #console #complaints-page .cmp-counts{grid-template-columns:repeat(2,minmax(0,1fr))}body.nisaat-modern.portal-shell #console #complaints-page .cmp-toolbar{grid-template-columns:1fr 1fr}body.nisaat-modern.portal-shell #console #complaints-page .cmp-toolbar label{grid-column:auto;min-width:0}body.nisaat-modern.portal-shell #console #complaints-page .cmp-toolbar label:first-child{grid-column:1/-1}body.nisaat-modern.portal-shell #console #complaints-page .cmp-pager>span:first-child{width:100%}body.nisaat-modern.portal-shell #console #dashboard-page #dash-filter{grid-template-columns:1fr}body.nisaat-modern.portal-shell #console #dashboard-page #dash-filter label:nth-child(3){grid-column:auto}body.nisaat-modern.portal-shell :is(#customer-profile-page,#online-sessions-dialog,#customer-session-log) .session-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Keep wide session columns inside their own horizontal scroll region. */
body.nisaat-modern.portal-shell #console #profile-pane-sessions{min-width:0;max-width:100%}
body.nisaat-modern.portal-shell #console #customer-session-log.inline-session-history{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
body.nisaat-modern.portal-shell #console #customer-session-log.inline-session-history .session-panel-content{min-width:0;max-width:100%;overflow-x:auto}
body.nisaat-modern.portal-shell #console #customer-session-log.inline-session-history .session-table-scroll{min-width:0;width:100%;max-width:100%;overflow-x:auto}
body.nisaat-modern.portal-shell #console #customer-session-log.inline-session-history>header>div{min-width:0}
body.nisaat-modern.portal-shell #console #customer-session-log.inline-session-history>header h2{overflow-wrap:anywhere}
body.nisaat-modern.portal-shell #console #ekyc-page .offline-kyc-actions button{height:auto;min-height:44px;white-space:normal;line-height:1.4;padding:10px 12px}
@media(max-width:700px){body.nisaat-modern.portal-shell #console #ekyc-page .offline-kyc-actions{display:grid;grid-template-columns:minmax(0,1fr)}}

/* Remaining action screens: original controls presented inside the workspace. */
body.nisaat-modern.portal-shell #console .remaining-workspace{min-width:0;padding-top:16px}
body.nisaat-modern.portal-shell #console .remaining-workspace .remaining-inline{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;transform:none!important;float:none;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:var(--ink);overflow:visible!important}
body.nisaat-modern.portal-shell #console dialog.remaining-inline:not([open]){display:none!important}
body.nisaat-modern.portal-shell #console dialog.remaining-inline[open]{display:block!important}
body.nisaat-modern.portal-shell .remaining-inline::backdrop,.workspace-backdrop-disabled{display:none!important}
body.nisaat-modern.portal-shell #console .remaining-workspace .page-heading{position:static;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 18px!important;margin:0 0 16px!important;border:1px solid #beccec;border-left:4px solid var(--nisaat-accent,#5546d7);border-radius:14px;background:linear-gradient(110deg,#eeedff,#f4f9ff)!important;color:var(--ink)}
body.nisaat-modern.portal-shell #console .remaining-workspace .page-heading :is(h1,h2){margin:3px 0 5px;font-size:23px;line-height:1.2;color:#22396b}
body.nisaat-modern.portal-shell #console .remaining-workspace .page-heading p{margin:0;font-size:13px;line-height:1.5;max-width:900px;color:#425b7d}
body.nisaat-modern.portal-shell #console .remaining-workspace .page-heading .kicker{font-size:10px;letter-spacing:.14em;color:#544ac2}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(.master-grid,.profile-edit-grid){gap:14px;padding:18px;background:#fff;border:1px solid #c9d8ec;border-radius:12px}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(label,legend){font-size:12px;font-weight:650;color:#344b6d;min-width:0}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(input:not([type=checkbox]):not([type=radio]),select){min-height:38px;height:auto;padding:8px 10px;border-color:#aebfdb;border-radius:8px;font-size:13px;max-width:100%;box-sizing:border-box}
body.nisaat-modern.portal-shell #console .remaining-workspace textarea{min-height:88px;padding:10px;border-color:#aebfdb;border-radius:8px;font-size:13px;max-width:100%;box-sizing:border-box}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(input,select,textarea):focus-visible{outline:2px solid #7566de;outline-offset:2px}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(button,.primary,.secondary){height:auto;min-height:36px;padding:8px 12px;font-size:12px;border-radius:9px;white-space:normal}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(.renewal-workspace,.subscriber-service-options){gap:16px;padding:0;min-width:0}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(.renewal-panel,.profile-settings-section,.saved-profile-card,.pool-card){min-width:0;border:1px solid #bfcee4;border-radius:12px;background:#fff;box-shadow:0 6px 18px #253e6810;overflow:hidden}
body.nisaat-modern.portal-shell #console .remaining-workspace .renewal-date-strip{padding:14px 16px;margin:0 0 16px;gap:14px;border:1px solid #bfd5e8;border-radius:12px;background:linear-gradient(115deg,#e9f5ff,#edf8f3)}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(.renewal-panel-heading,.saved-profile-heading){padding:13px 16px;background:#eff4fc;border-bottom:1px solid #c6d6ed}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(h3,.renewal-panel-heading h3){font-size:16px;margin:0 0 5px}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(.renewal-panel p,.renewal-panel small,.profile-settings-section p){font-size:12px;line-height:1.5}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(footer,.master-footer){padding:14px 0!important;display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #c2d0e4;margin-top:16px;background:transparent!important}
body.nisaat-modern.portal-shell #console .remaining-workspace :is(.franchise-table-wrap,.pool-table-wrap,#sessions-content){max-width:100%;overflow:auto}
body.nisaat-modern.portal-shell #console .remaining-workspace table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #b8c9e3;border-radius:10px;overflow:hidden;font-size:12px}
body.nisaat-modern.portal-shell #console .remaining-workspace th{padding:10px 12px;background:#263d72;color:#fff;border-right:1px solid #7183a7;border-bottom:2px solid #7362d9;white-space:nowrap}
body.nisaat-modern.portal-shell #console .remaining-workspace td{padding:10px 12px;color:#273f60;border-right:1px solid #c2d1e6;border-bottom:1px solid #c2d1e6;vertical-align:top}
body.nisaat-modern.portal-shell #console .remaining-workspace tbody tr:nth-child(even){background:#edf3fc}
body.nisaat-modern.portal-shell #console .remaining-workspace tbody tr:hover{background:#e3edff}
body.nisaat-modern.portal-shell #console #franchise-drawer #drawer-content{padding:0!important;overflow:visible;max-height:none}
body.nisaat-modern.portal-shell #console #franchise-drawer{display:block}
body.nisaat-modern.portal-shell #console #franchise-drawer.hidden{display:none!important}
body.nisaat-modern.portal-shell #console .remaining-workspace #profile-settings-fields{display:grid;gap:16px}
body.nisaat-modern.portal-shell #console .remaining-workspace #sessions-status{padding:12px;background:#eaf5fb;border:1px solid #bbd8e8;border-radius:9px;color:#244f69;font-size:13px}
body.nisaat-modern.portal-shell #console .remaining-workspace #pool-address-card{padding:0}
body.nisaat-modern.portal-shell #console .remaining-workspace #pool-address-card>div:not(.pool-card-header){padding:14px}
body.nisaat-modern.portal-shell #console #impersonation-dialog-workspace{max-width:1100px}
/* Customer complaint conversations use the same original reply form inline. */
body.selfcare-portal #support .conversation-background{display:none!important}
body.selfcare-portal #support dialog.selfcare-inline-conversation{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:var(--ink);overflow:visible!important}
body.selfcare-portal #support dialog.selfcare-inline-conversation:not([open]){display:none!important}
body.selfcare-portal #support dialog.selfcare-inline-conversation[open]{display:block!important}
body.selfcare-portal #support .selfcare-inline-conversation::backdrop{display:none}
body.selfcare-portal #support .selfcare-inline-conversation>header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;padding:15px;background:linear-gradient(110deg,#ededff,#edf7ff);border:1px solid #bfcde7;border-radius:12px}
body.selfcare-portal #support .selfcare-inline-conversation .cmp-dialog-body{padding:16px 0}
body.selfcare-portal #support .selfcare-inline-conversation #portal-complaint-close{width:auto;height:auto;font-size:12px;border-radius:8px;padding:8px 12px;flex:none}
@media(max-width:760px){
 body.nisaat-modern.portal-shell #console .remaining-workspace :is(.renewal-workspace,.master-grid,.profile-edit-grid){grid-template-columns:minmax(0,1fr)!important}
 body.nisaat-modern.portal-shell #console .remaining-workspace .renewal-date-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.nisaat-modern.portal-shell #console .remaining-workspace .master-grid .full{grid-column:1/-1}
 body.nisaat-modern.portal-shell #console .remaining-workspace .page-heading{padding:13px!important}
 body.nisaat-modern.portal-shell #console .remaining-workspace .page-heading h2{font-size:20px}
 body.nisaat-modern.portal-shell #console .remaining-workspace :is(.sharing-matrix,.assignment-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
 body.nisaat-modern.portal-shell #console .remaining-workspace .renewal-panel{padding:12px}
 body.nisaat-modern.portal-shell #console .remaining-workspace footer>span{width:100%}
 body.selfcare-portal #support .selfcare-inline-conversation>header h2{font-size:20px}
}
/* Remove viewport-sized modal tracks and sticky modal footers after relocation. */
body.nisaat-modern.portal-shell #console .remaining-workspace .remaining-inline>form{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body.nisaat-modern.portal-shell #console .remaining-workspace .page-heading{height:auto!important;min-height:0!important;max-height:none!important;flex-direction:row!important;align-content:center}
body.nisaat-modern.portal-shell #console .remaining-workspace .remaining-inline footer{position:static!important;inset:auto!important;z-index:auto!important}
body.nisaat-modern.portal-shell #console .remaining-workspace #profile-settings-fields{padding:0!important}
body.nisaat-modern.portal-shell #console .remaining-workspace .saved-profile-body{padding:14px}
body.nisaat-modern.portal-shell #console .remaining-workspace .profile-document-grid{gap:12px}
@media(max-width:760px){body.nisaat-modern.portal-shell #console .remaining-workspace .page-heading>div{flex:1 1 240px}body.nisaat-modern.portal-shell #console .remaining-workspace .profile-document-grid{grid-template-columns:minmax(0,1fr)}}

/* BEGIN HOSTED PAYMENT THEME — injected only into NI-SAAT payment status markup. */
body.payment-document{--payment-ink:#172b46;--payment-accent:#4338ca;box-sizing:border-box;font:14px/1.6 system-ui,sans-serif!important;color:var(--payment-ink)!important;max-width:680px!important;min-height:0;margin:36px auto!important;padding:24px!important;border:1px solid #b9c9e4;border-top:4px solid var(--payment-accent);border-radius:16px;background:linear-gradient(135deg,#f4f5ff,#edf7fa);box-shadow:0 12px 35px #203b6b18;overflow-wrap:anywhere}
body.payment-document::before{content:"NI-SAAT Radius";display:block;margin-bottom:14px;color:var(--payment-accent);font-size:12px;letter-spacing:.1em;font-weight:750}
body.payment-document h1{margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #bbcce6;color:#243b76;font-size:26px;line-height:1.25}
body.payment-document p{padding:12px 14px;margin:12px 0;background:#ffffff;border:1px solid #c5d3e8;border-radius:9px}
body.payment-document :is(button,a){font:inherit;border-radius:9px}
body.payment-document button{padding:11px 18px!important;border:1px solid var(--payment-accent);background:var(--payment-accent);color:#fff;font-weight:650;cursor:pointer;box-shadow:0 3px 9px #4338ca24}
body.payment-document button:hover{background:#3526b2}
body.payment-document button:focus-visible{outline:2px solid #695bde;outline-offset:3px}
body.payment-document a{color:#4338ca}
@media(max-width:720px){body.payment-document{max-width:calc(100% - 24px)!important;margin:16px 12px!important;padding:18px!important}body.payment-document h1{font-size:22px}body.payment-document button{width:100%}}
/* END HOSTED PAYMENT THEME */

/* Central mobile readability and touch sizing. Desktop layouts stay unchanged. */
@media(max-width:900px){
 body.nisaat-modern.portal-shell #console>main{min-width:0;font-size:14px}
 body.nisaat-modern.portal-shell #console .page{min-width:0;max-width:100%;box-sizing:border-box}
 body.nisaat-modern.portal-shell #console .page :is(p,label,legend,td,dd,li){font-size:14px!important;line-height:1.5;overflow-wrap:anywhere}
 body.nisaat-modern.portal-shell #console .page :is(small,th,.kicker,.eyebrow){font-size:12px!important;line-height:1.45;overflow-wrap:anywhere}
 body.nisaat-modern.portal-shell #console :is(.page,#login) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea),body.nisaat-modern.portal-shell #login :is(input,select,textarea){font-size:16px!important;line-height:1.4!important;min-height:44px!important;max-width:100%;min-width:0;box-sizing:border-box}
 body.nisaat-modern.portal-shell #console .page button,body.nisaat-modern.portal-shell #login button{font-size:14px!important;min-height:44px!important;height:auto!important;min-width:44px;line-height:1.35!important;white-space:normal;overflow-wrap:anywhere}
 body.nisaat-modern.portal-shell #console .page :is(input[type=checkbox],input[type=radio]){width:20px!important;height:20px!important;min-height:20px!important;flex:0 0 20px}
 body.nisaat-modern.portal-shell #console .page :is(label:has(input[type=checkbox]),label:has(input[type=radio])){min-height:44px;align-items:center}
 body.nisaat-modern.portal-shell #console .page :is(.page-heading,.list-toolbar,.master-footer,.report-filter-actions,.ledger-filter-actions){gap:10px;flex-wrap:wrap}
 body.nisaat-modern.portal-shell #console .page :is(.page-heading>div,.report-shell,.ledger-shell,.list-card,.master-card,.card,.saved-profile-body){min-width:0;max-width:100%;box-sizing:border-box}
 body.nisaat-modern.portal-shell #console .page :is(.table-wrap,.franchise-table-wrap,.type-table-wrap,.dash-table-wrap,.report-table-wrap,.ledger-table-wrap,.pool-table-wrap){overflow-x:auto;max-width:100%;min-width:0;overscroll-behavior-x:contain}
 body.nisaat-modern.portal-shell #console .page :is(td,th) button{white-space:nowrap}
 body.nisaat-modern.portal-shell #console .page :is(.result-count,.report-notice,.ledger-notice,[role=status]){overflow-wrap:anywhere}
 body.nisaat-modern.portal-shell #console .topbar{height:auto;min-height:64px;gap:8px;padding:8px 12px;flex-wrap:wrap}
 body.nisaat-modern.portal-shell #console .topbar .crumbs{display:none}
 body.nisaat-modern.portal-shell #console .topbar #menu-toggle{height:44px!important;width:44px!important;min-height:44px!important;min-width:44px;padding:8px!important;flex:0 0 44px}
 body.nisaat-modern.portal-shell #console .topbar .top-actions{min-width:0;max-width:calc(100% - 52px);flex:1 1 0;gap:6px;justify-content:flex-end;flex-wrap:wrap}
 body.nisaat-modern.portal-shell #console .topbar :is(.top-actions>button,#top-operator-trigger){height:auto!important;min-height:44px!important;padding:8px!important;font-size:14px!important;line-height:1.3;min-width:44px;max-width:100%}
 body.nisaat-modern.portal-shell #console .topbar #entity-wallet-pill{min-width:74px}
 body.nisaat-modern.portal-shell #console .topbar #entity-wallet-pill small{font-size:12px!important}
 body.nisaat-modern.portal-shell #console .topbar #entity-wallet-balance{font-size:14px!important}
 body.nisaat-modern.portal-shell #console .topbar #top-operator-name{font-size:14px!important;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.nisaat-modern.portal-shell #console .portal-global-search{min-width:0;max-width:100%;flex:1 0 100%}
 body.nisaat-modern.portal-shell #console .global-search-field{min-height:44px;height:auto}
 body.nisaat-modern.portal-shell #console #portal-global-search{font-size:16px!important;min-height:44px;min-width:0}
 body.nisaat-modern.portal-shell #console .global-search-results :is(b,button){font-size:14px;min-height:44px}
 body.nisaat-modern.portal-shell #console .global-search-results :is(small,em){font-size:12px}
 body.nisaat-modern.portal-shell #console .sidebar :is(nav button,.shell-nav-close){font-size:14px!important;min-height:44px!important;height:auto!important}
 body.nisaat-modern.portal-shell #console .sidebar .shell-nav-close{width:44px;height:44px!important;flex:0 0 44px}
 body.nisaat-modern.portal-shell #console .top-operator-dropdown{max-width:calc(100vw - 24px)}
 body.nisaat-modern.portal-shell #console .top-operator-dropdown button{min-height:44px;font-size:14px}
 body.nisaat-modern.portal-shell #login :is(p,label){font-size:14px!important;line-height:1.5}
 body.nisaat-modern.portal-shell #login small{font-size:12px!important}
 body.selfcare-portal :is(#portal-app,#portal-login){font-size:14px;min-width:0;box-sizing:border-box}
 body.selfcare-portal :is(#portal-app,#portal-login) :is(p,label,td,dd,li){font-size:14px!important;line-height:1.5;overflow-wrap:anywhere}
 body.selfcare-portal :is(#portal-app,#portal-login) :is(small,th,.kicker,.eyebrow){font-size:12px!important;line-height:1.45}
 body.selfcare-portal :is(#portal-app,#portal-login) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;min-height:44px!important;line-height:1.4;min-width:0;max-width:100%;box-sizing:border-box}
 body.selfcare-portal :is(#portal-app,#portal-login) :is(button,a[href]){font-size:14px!important;min-height:44px!important;height:auto!important;line-height:1.35;white-space:normal}
 body.selfcare-portal #portal-app :is(.table-wrap,.panel,main,.cmp-dialog-body){min-width:0;max-width:100%;box-sizing:border-box}
 body.selfcare-portal #portal-app .table-wrap{overflow-x:auto;overscroll-behavior-x:contain}
 body.selfcare-portal #portal-app .table-wrap a{display:inline-flex;align-items:center;padding:6px}
 body.payment-document button{min-height:44px;font-size:14px}
}
@media(max-width:760px){
 body.selfcare-portal #portal-app nav{display:flex!important;gap:6px;overflow-x:auto;min-width:0;max-width:100%;overscroll-behavior-x:contain}
 body.selfcare-portal #portal-app nav button{flex:1 0 auto;min-width:72px;white-space:nowrap;padding:10px 8px}
 body.nisaat-modern.portal-shell #console .page .profile-document-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:900px){
 body.nisaat-modern.portal-shell #console .page :is(.tag,.badge,.result-count,.price-option-status,.package-list-brand,.permission-head,.notification-head){font-size:12px!important;line-height:1.45}
 body.nisaat-modern.portal-shell #console .page :is(button,a) :is(span,b),body.nisaat-modern.portal-shell #console .page :is(label,p,td,dd,legend,li) :is(span,b){font-size:inherit!important}
 body.nisaat-modern.portal-shell #console .page :is(.section-title>span,.master-intro>span){font-size:12px!important}
 body.nisaat-modern.portal-shell #console #add-user-page .steps a{font-size:14px;min-height:44px}
 body.nisaat-modern.portal-shell #console #add-user-page :is(.onboarding-selection-summary b,.uploads b){font-size:14px!important}
 body.nisaat-modern.portal-shell #console .notification-row{font-size:14px!important}
 body.nisaat-modern.portal-shell #console .page :is(.package-list-pager,.subscriber-list-pager,.report-pagination,.cmp-pager,.session-profile-controls){display:flex;flex-wrap:wrap;gap:8px;font-size:14px!important;min-width:0}
 body.nisaat-modern.portal-shell #console :is(#subscriber-page-range,#subscriber-page-number,#franchise-progress){font-size:14px!important}
 body.nisaat-modern.portal-shell #console .page .ui-table-scroll{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
}
@media(max-width:900px){
 body.nisaat-modern.portal-shell #console #add-user-page .steps a i,body.nisaat-modern.portal-shell #login .kicker{font-size:12px!important}
 body.selfcare-portal #portal-app .cards strong{overflow-wrap:anywhere}
}
@media(max-width:900px){
 body.nisaat-modern.portal-shell #console .page dt{font-size:14px!important;line-height:1.5;overflow-wrap:anywhere}
 body.nisaat-modern.portal-shell #console .page :is(.renewal-wallet-summary span,.renewal-last-invoice span){font-size:12px!important;line-height:1.5}
}
@media(max-width:900px){
 body.nisaat-modern.portal-shell #console .page .page-heading{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;align-items:start!important;align-content:start!important;justify-content:stretch!important;gap:12px!important;height:auto!important;min-height:0!important}
 body.nisaat-modern.portal-shell #console .page .page-heading>div{height:auto!important;min-height:0!important;align-self:start;flex:initial!important}
}
@media(max-width:600px){
 body.nisaat-modern.portal-shell #console .topbar{display:grid;grid-template-columns:44px minmax(0,1fr) 92px;grid-auto-rows:auto;align-items:stretch;gap:8px}
 body.nisaat-modern.portal-shell #console .topbar #menu-toggle{grid-column:1;grid-row:1;align-self:center}
 body.nisaat-modern.portal-shell #console .topbar .top-actions{display:contents!important}
 body.nisaat-modern.portal-shell #console .topbar .top-actions>button:first-child{grid-column:3;grid-row:2;width:100%;padding:6px!important;min-width:0;white-space:normal}
 body.nisaat-modern.portal-shell #console .topbar #entity-wallet-pill{grid-column:2;grid-row:1;min-width:0;width:100%;padding:6px!important}
 body.nisaat-modern.portal-shell #console .topbar .top-operator-menu{grid-column:3;grid-row:1;min-width:0;width:100%}
 body.nisaat-modern.portal-shell #console .topbar #top-operator-trigger{width:100%;min-width:0;padding:6px!important;gap:4px}
 body.nisaat-modern.portal-shell #console .topbar #top-operator-name{max-width:60px}
 body.nisaat-modern.portal-shell #console .topbar #top-operator-initials{display:none}
 body.nisaat-modern.portal-shell #console .topbar #return-to-root{grid-column:1/-1;grid-row:3}
 body.nisaat-modern.portal-shell #console .portal-global-search{grid-column:1/3;grid-row:2;width:100%;align-self:stretch}
 body.nisaat-modern.portal-shell #console .global-search-field{height:100%!important}
 body.nisaat-modern.portal-shell #console #add-user-page .steps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.nisaat-modern.portal-shell #console #add-user-page .steps a{min-width:0;height:auto;gap:7px}
 body.nisaat-modern.portal-shell #console #add-user-page .steps a span{min-width:0;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:600px){body.nisaat-modern.portal-shell #console .topbar #entity-wallet-pill small{display:block!important;font-size:12px!important;line-height:1.2}}
@media(max-width:900px){body.selfcare-portal #portal-app .cmp-badge{font-size:12px!important;line-height:1.5}}
@media(max-width:900px){
 body.nisaat-modern.portal-shell .modern-quick-panel{top:132px;right:12px;min-width:0;width:min(300px,calc(100vw - 24px));max-width:calc(100vw - 24px);box-sizing:border-box}
 body.nisaat-modern.portal-shell .modern-quick-panel h3{font-size:16px}
 body.nisaat-modern.portal-shell .modern-quick-panel button{font-size:14px!important;min-height:44px!important;height:auto!important;line-height:1.4}
 body.nisaat-modern.portal-shell #app-notifications{top:132px;right:12px;width:min(460px,calc(100vw - 24px))}
 body.nisaat-modern.portal-shell #app-notifications .app-notification{padding:12px;gap:10px}
 body.nisaat-modern.portal-shell #app-notifications .app-notification-close{flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px!important}
}
@media(max-width:900px){
 body.nisaat-modern.portal-shell #console #dashboard-page .dash-chart{max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding-bottom:26px}
 body.nisaat-modern.portal-shell #console #dashboard-page .dash-chart>button{flex:0 0 44px;min-width:44px!important}
 body.nisaat-modern.portal-shell #console #dashboard-page .dash-chart-range,body.nisaat-modern.portal-shell #console #dashboard-page .dash-chart-range span{font-size:12px!important}
 body.nisaat-modern.portal-shell #console #dashboard-page .dash-card strong{max-width:100%;font-size:clamp(18px,5vw,23px);overflow-wrap:anywhere}
 body.nisaat-modern.portal-shell #console #dashboard-page .dash-rows :is(dt,dd){min-width:0}
 body.nisaat-modern.portal-shell #console #dashboard-page .dash-rows button{max-width:100%}
 body.nisaat-modern.portal-shell #console #dashboard-page .dash-statusbar{flex-direction:column;align-items:stretch}
 body.nisaat-modern.portal-shell #console #dash-live-status{width:100%;flex:auto}
 body.nisaat-modern.portal-shell #console #dashboard-page #dash-live-status .dash-link{min-width:0;padding:8px;gap:6px}
 body.nisaat-modern.portal-shell #console #dashboard-page #dash-live-status span{min-width:0;flex:1;font-size:12px!important;overflow-wrap:anywhere}
 body.nisaat-modern.portal-shell #console #dashboard-page #dash-live-status b{flex:0 0 auto;font-size:14px!important}
 body.nisaat-modern.portal-shell #console #dashboard-page #dash-refresh{align-self:flex-end}
}
@media(max-width:600px){body.nisaat-modern.portal-shell #console #entity-wallet-balance{max-width:100%;white-space:normal;overflow-wrap:anywhere}}

/* NI-SAAT Radius: ISP customer transfers stay in the workspace. */
body.nisaat-modern.portal-shell #subscriber-transfer-page .transfer-selection,body.nisaat-modern.portal-shell #subscriber-transfer-page .transfer-preview{padding:20px;margin-bottom:18px}
#subscriber-transfer-page fieldset{border:0;padding:0;min-width:0}#subscriber-transfer-page legend{font-size:18px;font-weight:700;margin-bottom:16px;color:#233d76}
#subscriber-transfer-page .transfer-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}#subscriber-transfer-page label{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:600}#subscriber-transfer-page label :is(input,select,textarea){width:100%;box-sizing:border-box;min-width:0}#subscriber-transfer-page .transfer-reason{grid-column:span 2}#subscriber-transfer-page .transfer-search{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-top:18px}#subscriber-transfer-page .transfer-search label{flex:1 1 220px}#subscriber-transfer-page .transfer-check{display:flex;flex-direction:row;align-items:center;gap:9px;min-height:44px}#subscriber-transfer-page .transfer-check input{width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:#4f46e5}#subscriber-transfer-page .transfer-table-wrap{overflow-x:auto;max-width:100%;min-width:0;border:1px solid #aabde0;border-radius:12px}#subscriber-transfer-page table{min-width:700px;width:100%;border-collapse:collapse}#subscriber-transfer-page th{background:#243a72;color:white;padding:12px;text-align:left}#subscriber-transfer-page td{padding:11px;border:1px solid #c0cfe7}#subscriber-transfer-page tr:nth-child(even){background:#edf3fd}#subscriber-transfer-page td small{display:block;margin-top:4px}#subscriber-transfer-page .transfer-pagination,#subscriber-transfer-page .transfer-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:15px}#subscriber-transfer-page .transfer-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#subscriber-transfer-page .transfer-summary>div{border:1px solid #aebeea;border-top:4px solid #6056d7;border-radius:12px;background:#eef0ff;padding:14px}#subscriber-transfer-page .transfer-summary b,#subscriber-transfer-page .transfer-summary small{display:block;overflow-wrap:anywhere}#subscriber-transfer-page .transfer-summary b{font-size:20px;margin-top:8px}#subscriber-transfer-page .transfer-issue{padding:14px;border:1px solid #d5b568;background:#fff6df;border-left:4px solid #b87816;border-radius:10px;margin:10px 0;overflow-wrap:anywhere}#subscriber-transfer-page .transfer-issue.blocker{background:#fff0f0;border-color:#e3a8a8;border-left-color:#c53549}#subscriber-transfer-page .transfer-issue p{margin-bottom:0}#subscriber-transfer-page .transfer-entity-mode{padding:16px;border:1px solid #b6c9e8;background:#eff6ff;border-radius:10px;margin-top:16px}#subscriber-transfer-page .transfer-approval{padding:15px;border:1px solid #aebeea;background:#f1f5ff;border-radius:10px;margin-top:18px}#subscriber-transfer-page [data-notice]{overflow-wrap:anywhere;font-weight:600}#subscriber-transfer-page [hidden]{display:none!important}
@media(max-width:900px){#subscriber-transfer-page .transfer-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#subscriber-transfer-page .transfer-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.nisaat-modern.portal-shell #subscriber-transfer-page .transfer-selection,body.nisaat-modern.portal-shell #subscriber-transfer-page .transfer-preview{padding:14px}#subscriber-transfer-page .transfer-fields{grid-template-columns:minmax(0,1fr)}#subscriber-transfer-page .transfer-reason{grid-column:auto}#subscriber-transfer-page .transfer-pagination{justify-content:space-between}#subscriber-transfer-page .transfer-summary b{font-size:18px}}

body.nisaat-modern.portal-shell #console #subscriber-transfer-page :is(p,label,td,button){font-size:14px!important}
body.nisaat-modern.portal-shell #console #subscriber-transfer-page :is(th,small,.kicker){font-size:12px!important}
body.nisaat-modern.portal-shell #console #subscriber-transfer-page :is(input,select,textarea){font-size:16px!important}
body.nisaat-modern.portal-shell #console #subscriber-transfer-page button{min-height:44px!important;min-width:44px!important}

body.nisaat-modern.portal-shell #console #subscriber-transfer-page th :is(label,span){color:#fff!important}
#subscriber-transfer-page .transfer-pagination{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}
#subscriber-transfer-page .transfer-pagination span{min-width:0;text-align:center;overflow-wrap:anywhere}

/* Transfer history uses the shared NI-SAAT Radius workspace theme. */
#transfer-history-page .page-heading{border-left:4px solid #5645db;background:linear-gradient(110deg,#ecebff,#eff9fc);padding:18px 20px;border-radius:14px}
#transfer-history-page .history-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px}
#transfer-history-page label{display:flex;flex-direction:column;gap:6px;color:#304b70;font-size:14px;font-weight:650;min-width:0}
#transfer-history-page input,#transfer-history-page select{width:100%;min-height:44px;min-width:0}
#transfer-history-page .history-search{grid-column:span 2}
#transfer-history-page .history-filter-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
#transfer-history-page .history-notice,#transfer-history-page .history-help{padding:0 16px;color:#405a79;font-size:13px;line-height:1.5}
#transfer-history-page .history-table-wrap{overflow-x:auto;max-width:100%;border-block:1px solid #bacbe4}
#transfer-history-page table{width:100%;min-width:940px;border-collapse:collapse;font-size:14px}
#transfer-history-page th{background:#263d77;color:#fff;text-align:left;padding:12px;border:1px solid #61739e;white-space:nowrap}
#transfer-history-page td{padding:12px;vertical-align:top;border:1px solid #c9d6e9;overflow-wrap:anywhere;max-width:260px;color:#203a5a}
#transfer-history-page tbody tr:nth-child(even){background:#eef4fd}
#transfer-history-page tbody tr:hover{background:#e5edff}
#transfer-history-page small{display:block;color:#4b6280;font-size:12px;margin-top:4px}
#transfer-history-page .history-completed{display:inline-block;background:#dff5ec;color:#08714f;padding:4px 9px;border-radius:20px;font-weight:700}
#transfer-history-page .history-time{min-width:160px}
#transfer-history-page details summary{cursor:pointer;color:#4934c1;margin-top:8px}
#transfer-history-page .history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px;font-size:14px}
#transfer-history-page .history-pagination>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#transfer-history-page .history-pagination select{width:85px}
@media(max-width:900px){#transfer-history-page .history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#transfer-history-page .history-filter-actions{grid-column:span 2}#transfer-history-page input,#transfer-history-page select{font-size:16px}#transfer-history-page .page-heading{padding:14px}#transfer-history-page .list-card{min-width:0}#transfer-history-page .history-pagination>div{gap:8px}}
@media(max-width:480px){#transfer-history-page .history-filters{grid-template-columns:minmax(0,1fr);padding:12px}#transfer-history-page .history-search,#transfer-history-page .history-filter-actions{grid-column:auto}#transfer-history-page .history-pagination{padding:12px}#transfer-history-page .history-pagination>div{width:100%;justify-content:space-between}}
body.nisaat-modern.portal-shell #console #transfer-history-page :is(p,label,td,button){font-size:14px!important}
body.nisaat-modern.portal-shell #console #transfer-history-page :is(th,small,.kicker){font-size:12px!important}
body.nisaat-modern.portal-shell #console #transfer-history-page :is(input,select){font-size:16px!important}
body.nisaat-modern.portal-shell #console #transfer-history-page button{min-height:44px!important;min-width:44px!important}

/* Keep all self-care tabs reachable on narrow screens. */
@media(max-width:760px){
 body.selfcare-portal #portal-app nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;overflow-x:visible}
 body.selfcare-portal #portal-app nav button{width:100%!important;min-width:0;white-space:normal!important;overflow-wrap:anywhere;padding:8px 4px!important}
}
/* Shared NI-SAAT Radius profile and ISP KYC-review workspace. */
.selfcare-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;min-width:0}.selfcare-profile-grid label,.selfcare-document label{display:grid;gap:6px;min-width:0}.profile-wide{grid-column:1/-1}.selfcare-form-actions,.selfcare-document-actions,.selfcare-preview-head,.kyc-review-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.selfcare-form-actions p{margin:0;flex:1;min-width:160px}.selfcare-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px}.selfcare-document{min-width:0;padding:14px;border:1px solid #bccce7;border-top:3px solid #6557cd;border-radius:10px;background:linear-gradient(145deg,#f1f3ff,#fff)}.selfcare-document h3{margin:0 0 10px;font-size:16px;color:#243b76}.selfcare-document p{overflow-wrap:anywhere}.selfcare-document form{display:grid;gap:10px;margin-top:12px}.selfcare-consent{display:flex!important;gap:8px!important;align-items:flex-start}.selfcare-consent input{width:18px;min-width:18px;min-height:18px!important;margin-top:3px}.selfcare-document input[type=file]{width:100%;min-width:0;font-size:13px!important;padding:8px}.kyc-badge{display:inline-flex;padding:4px 8px;border-radius:6px;border:1px solid #c2cee5;background:#edf1fa;color:#29446f;font-size:12px;font-weight:700}.kyc-pending{background:#fff4d7;border-color:#e2ba61;color:#75500b}.kyc-approved{background:#e6f6ef;border-color:#89c5ad;color:#176447}.kyc-rejected{background:#fff0f0;border-color:#e3aaa8;color:#992d30}.kyc-review-note{border-left:3px solid #ce7d55;padding-left:9px;color:#70412e}#kyc-status{padding:0 16px}#kyc-preview{padding:16px;border-top:1px solid #bdc9e6;background:#f5f7ff}#kyc-preview[hidden]{display:none}#kyc-preview-content img{display:block;max-width:100%;max-height:650px;object-fit:contain;margin-top:12px}#kyc-preview-content iframe{width:100%;height:550px;border:1px solid #bdc9e6;margin-top:12px}.kyc-isp-card{padding:16px;border:1px solid #d4ad59;border-left:4px solid #d49b2a;border-radius:12px;background:linear-gradient(120deg,#fff2d8,#fff);margin:12px 0}.kyc-isp-card h3{margin:0 0 6px;color:#72500f}.kyc-isp-card strong{font-size:24px}.kyc-review-detail{padding:16px;border:1px solid #bccce7;border-radius:12px;margin:12px 0;background:#f4f6ff}.kyc-review-detail iframe{width:100%;height:500px;border:1px solid #bdc9e6}.kyc-review-detail img{display:block;max-width:100%;max-height:550px;object-fit:contain}.kyc-review-detail textarea{width:100%;min-height:90px}.kyc-review-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:14px}.kyc-review-toolbar label{display:grid;gap:6px;min-width:150px;flex:1}.kyc-review-toolbar input,.kyc-review-toolbar select{min-width:0;width:100%}.kyc-pending-profile{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.kyc-review-workspace :is(td,th){overflow-wrap:anywhere}.kyc-review-workspace table{width:100%}.kyc-review-workspace .table-wrap{overflow:auto}.kyc-review-workspace th{background:#243b76;color:#fff}.kyc-review-workspace td,.kyc-review-workspace th{padding:10px;border:1px solid #bfcce3}.kyc-review-workspace tr:nth-child(even){background:#edf3fc}
@media(max-width:1050px){.selfcare-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.selfcare-profile-grid,.selfcare-document-grid{grid-template-columns:minmax(0,1fr);padding:14px}.profile-wide{grid-column:auto}.selfcare-form-actions button{width:100%}.selfcare-document-actions>*{min-height:44px;display:inline-flex;align-items:center}.kyc-review-detail iframe{height:350px}.kyc-review-toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.kyc-review-workspace{min-width:0}.kyc-review-workspace table{min-width:700px}}
/* Complaint messages retain chronological order: customer left, ISP right. */
body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-conversation{display:flex;flex-direction:column;gap:12px;align-items:stretch}body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-comment{width:fit-content;max-width:82%;box-sizing:border-box;padding:12px 14px;margin:0;box-shadow:0 2px 6px #243b7610}body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-chat-customer{align-self:flex-start;margin-right:auto;border:1px solid #a9cbed;background:#e8f2ff;border-radius:4px 14px 14px 14px;color:#163e68}body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-chat-isp{align-self:flex-end;margin-left:auto;border:1px solid #b5aae6;background:#eee9ff;border-radius:14px 4px 14px 14px;color:#38266f}body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-comment header{display:flex;gap:8px 16px;justify-content:space-between;flex-wrap:wrap}body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-comment p{margin:6px 0 0;color:inherit;white-space:pre-wrap;overflow-wrap:anywhere}body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-comment small{color:inherit;opacity:.8}body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-chat-initial{margin-bottom:12px}@media(max-width:760px){body.selfcare-portal #portal-complaint-dialog #portal-complaint-content .cmp-comment{max-width:92%;padding:10px 12px}}

body.selfcare-portal #portal-personal-form button[type=submit]:not(:disabled),body.selfcare-portal [data-kyc-upload] button[type=submit]:not(:disabled){background:#4338ca;border-color:#4338ca;color:#fff;box-shadow:0 3px 10px #4338ca20}

/* Saved personal details are read-only; changes are submitted as support complaints. */
body.selfcare-portal #portal-personal-form :is(input,textarea):disabled{background:#edf2f9;color:#30496c;opacity:1;cursor:default}body.selfcare-portal #personal-request-open:not(:disabled),body.selfcare-portal #portal-profile-change-form button[type=submit]:not(:disabled){background:#4338ca;border-color:#4338ca;color:#fff}.profile-change-workspace{padding:16px;border-top:1px solid #bfcae5;background:linear-gradient(135deg,#f1efff,#f8fcff)}.profile-change-workspace[hidden]{display:none}.profile-change-workspace h3{margin:0;color:#243b76;font-size:18px}.profile-change-workspace .selfcare-profile-grid{padding:14px 0 0}.profile-change-workspace #profile-change-status{overflow-wrap:anywhere}.profile-change-workspace textarea{width:100%;box-sizing:border-box}.kyc-summary-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.kyc-summary-counts button{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;padding:8px;border:1px solid #c4d0e7;border-radius:10px;background:#f7f9fe;color:#263f70}.kyc-summary-counts strong{font-size:26px;font-weight:750}.kyc-count-track{height:110px;display:flex;align-items:flex-end;border-radius:5px;background:#edf1fa;overflow:hidden}.kyc-count-bar{display:block;width:100%;height:0;background:#496ce0;border-radius:5px 5px 0 0;transition:height .25s ease}.kyc-summary-counts [data-kyc-count=pending] .kyc-count-bar{background:#dfaa31}.kyc-summary-counts [data-kyc-count=approved] .kyc-count-bar{background:#20a27c}.kyc-summary-card .kyc-summary-note{padding-top:10px;border-top:1px solid #d1daec;margin:14px 0 0}.kyc-summary-counts button:focus-visible{outline:3px solid #8475ef;outline-offset:3px}@media(max-width:760px){.profile-change-workspace{padding:14px}.kyc-summary-counts{gap:8px}.kyc-count-track{height:90px}.kyc-summary-counts strong{font-size:23px}}@media(prefers-reduced-motion:reduce){.kyc-count-bar{transition:none}}

.kyc-summary-counts [data-kyc-count=not_uploaded] .kyc-count-bar{background:#8b93a8}@media(max-width:1100px){.kyc-summary-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep dashboard eKYC figures readable within their own card. */
#isp-kyc-summary-card{container-type:inline-size}
#isp-kyc-summary-card h2{font-size:18px;line-height:1.3}
#isp-kyc-summary-card>p{font-size:12px;line-height:1.5}
#isp-kyc-summary-card .kyc-summary-counts{gap:10px;margin-top:16px}
#isp-kyc-summary-card .kyc-summary-counts button{container-type:inline-size;padding:10px 8px;gap:10px;text-align:center}
#isp-kyc-summary-card .kyc-summary-counts strong{display:block;min-width:0;font-size:clamp(18px,20cqi,22px);line-height:1.2;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap}
#isp-kyc-summary-card .kyc-summary-counts button>span:last-child{font-size:12px;line-height:1.35;font-weight:600;min-height:33px;overflow-wrap:normal}
#isp-kyc-summary-card .kyc-summary-note{font-size:12px;line-height:1.5}
@container(max-width:440px){#isp-kyc-summary-card .kyc-summary-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Compact read-only personal details: three fields, two addresses per row. */
body.selfcare-portal #portal-personal-form{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 14px;padding:16px}
body.selfcare-portal #portal-personal-form>label{grid-column:span 2;font-size:13px;line-height:1.4;gap:5px}
body.selfcare-portal #portal-personal-form>label.profile-wide{grid-column:span 3}
body.selfcare-portal #portal-personal-form input{min-height:40px!important;height:40px!important;padding:8px 10px!important;font-size:14px!important;line-height:1.4;box-sizing:border-box;width:100%;min-width:0}
body.selfcare-portal #portal-personal-form textarea{min-height:84px!important;height:84px;padding:9px 10px!important;font-size:14px!important;line-height:1.45;resize:vertical;box-sizing:border-box;width:100%;min-width:0}
body.selfcare-portal #portal-personal-form>.selfcare-form-actions{grid-column:1/-1;margin-top:2px}
@media(max-width:1100px){body.selfcare-portal #portal-personal-form{grid-template-columns:repeat(4,minmax(0,1fr))}body.selfcare-portal #portal-personal-form>label.profile-wide{grid-column:span 2}}
@media(max-width:640px){body.selfcare-portal #portal-personal-form{grid-template-columns:minmax(0,1fr);padding:14px;gap:12px}body.selfcare-portal #portal-personal-form>label,body.selfcare-portal #portal-personal-form>label.profile-wide{grid-column:1}}
/* System account lifecycle controls stay in the profile workspace. */
.account-lifecycle-card{border:1px solid #c2cfe5;border-top:3px solid #6251d3;border-radius:12px;padding:16px;background:linear-gradient(145deg,#f4f2ff,#fff);margin-bottom:16px;min-width:0}.account-lifecycle-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.account-lifecycle-heading h3{font-size:17px;margin:4px 0 6px;color:#263f70}.account-lifecycle-heading p,.account-collection-help{font-size:13px;line-height:1.5;color:#50688b}.account-collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.account-collection-grid dt{font-size:12px;font-weight:600;color:#657993}.account-collection-grid dd{margin:4px 0 0;font-size:14px;font-weight:600;overflow-wrap:anywhere;color:#263f70}.account-lifecycle-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.account-lifecycle-actions button{min-height:40px}.account-expiry-workspace{margin-top:14px;padding:14px;border:1px solid #bdcbe2;border-radius:10px;background:#fff}.account-expiry-workspace[hidden]{display:none}.account-expiry-workspace h4{font-size:16px}.account-expiry-workspace p{font-size:13px;line-height:1.5}.account-expiry-workspace form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-expiry-workspace label{display:grid;gap:6px;min-width:0;font-size:13px}.account-expiry-workspace :is(input,textarea){width:100%;min-width:0;max-width:100%;box-sizing:border-box;font-size:14px}.account-expiry-workspace input{height:42px}.account-expiry-workspace textarea{min-height:76px}.account-expiry-reason{grid-column:1/-1}#invoice-section-collection>.account-collection-help{padding:0 16px 16px;margin:0}@media(max-width:760px){.account-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-expiry-workspace form{grid-template-columns:minmax(0,1fr)}.account-lifecycle-heading{flex-wrap:wrap}}@media(max-width:380px){.account-collection-grid{grid-template-columns:minmax(0,1fr)}}
body.nisaat-modern.portal-shell #console #customer-profile-page #account-lifecycle-card :is(input,textarea){font-size:14px!important}
@media(max-width:760px){body.nisaat-modern.portal-shell #console #customer-profile-page #account-lifecycle-card :is(input,textarea){font-size:16px!important}}
