:root {
    --ib-sidebar: #0f2744;
    --ib-sidebar-deep: #0a1c33;
    --ib-ink: #1a2433;
    --ib-muted: #6b7a8c;
    --ib-line: #e3ebf3;
    --ib-bg: #eef2f7;
    --ib-card: #ffffff;
    --ib-accent: #1f8f7a;
    --ib-accent-2: #2f6fed;
    --ib-ok: #1f9d64;
    --cbp-header: #1a3352;
    --cbp-bg: #e8edf2;
    --cbp-border: #d8e0ea;
    --cbp-blue: #2563eb;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Metropolis, system-ui, sans-serif; color: var(--ib-ink); background: var(--ib-bg); }

/* Customer Banking Portal — dashboard shell */
.cbp-body { background: var(--cbp-bg); color: var(--ib-ink); }
.cbp-shell { min-height: 100vh; display: flex; flex-direction: column; }
.cbp-header {
    background: var(--cbp-header);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
}
.cbp-header-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cbp-logo {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--ib-accent); color: #fff;
    display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.cbp-header-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cbp-header-title { font-size: 15px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.cbp-header-cif {
    font-size: 11px; font-weight: 600; color: rgba(255,255,255,.78);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.cbp-nav {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 10px 24px; background: #fff; border-bottom: 1px solid var(--cbp-border);
}
.cbp-nav-link {
    text-decoration: none; color: #486581; font-size: 13px; font-weight: 700;
    padding: 8px 12px; border-radius: 999px; background: #f0f4f8;
}
.cbp-nav-link.is-active { background: var(--cbp-blue); color: #fff; }

.cbp-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    flex: 1;
    align-items: stretch;
    min-height: calc(100vh - 66px);
}
.cbp-sidebar {
    background: linear-gradient(180deg, var(--ib-sidebar), var(--ib-sidebar-deep));
    color: #d7e4f3;
    border-right: 1px solid rgba(255, 255, 255, .08);
    padding: 14px 10px 18px;
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: calc(100vh - 66px);
}
.cbp-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cbp-sidebar-link {
    display: block;
    text-decoration: none;
    color: #d7e4f3;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    padding: 10px 12px;
    border-radius: 10px;
}
.cbp-sidebar-link:hover,
.cbp-sidebar-link.is-active {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}
.cbp-sidebar-link.is-active {
    box-shadow: inset 3px 0 0 var(--cbp-blue);
}
.cbp-layout-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cbp-menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.cbp-menu-toggle:hover { background: rgba(255, 255, 255, .08); }
.cbp-section-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
}
.cbp-section-head .cbp-section-title { margin: 0; }
.cbp-link-btn {
    font-size: 12px; font-weight: 700; color: var(--cbp-blue); text-decoration: none;
}
.cbp-link-btn:hover { text-decoration: underline; }
.cbp-logout {
    border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff;
    border-radius: 8px; padding: 8px 16px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.cbp-logout:hover { background: rgba(255,255,255,.08); }
.cbp-banner {
    margin: 0; padding: 10px 24px; font-size: 12px; color: var(--ib-muted);
    background: var(--cbp-bg); border-bottom: 1px solid var(--cbp-border);
}
.cbp-main { flex: 1; padding: 20px 24px 32px; max-width: none; width: 100%; margin: 0; }

.cbp-stat-grid {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px;
}
.cbp-stat-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    padding: 16px 18px; min-height: 88px;
}
.cbp-stat-label { display: block; font-size: 13px; color: var(--ib-muted); font-weight: 600; margin-bottom: 10px; }
.cbp-stat-value { display: block; font-size: 28px; font-weight: 800; color: var(--ib-ink); line-height: 1; }
.cbp-stat-value--text { font-size: 18px; letter-spacing: .04em; }
.cbp-stat-sub {
    display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ib-muted);
}
.cbp-stat-card--accent {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.cbp-header-account-type {
    display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.82);
    letter-spacing: .03em;
}
.cbp-header-balance {
    display: block; font-size: 12px; font-weight: 800; color: #fff;
    margin-top: 2px;
}
.cbp-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cbp-header-actions form { margin: 0; }
.cbp-stat-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}

.cbp-section {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    padding: 18px 20px; margin-bottom: 16px;
}
.cbp-section-title { margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.cbp-empty { margin: 0; color: var(--ib-muted); font-size: 13px; }

.cbp-account-list { display: grid; gap: 12px; }
.cbp-account-card {
    border: 1px solid var(--cbp-border); border-radius: 10px; padding: 14px 16px;
}
.cbp-account-card-top {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.cbp-account-type-badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    background: #e8f1ff; color: #1d4ed8; font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-account-status {
    font-size: 11px; font-weight: 700; color: #0f7a3c; text-transform: uppercase;
}
.cbp-account-type { display: block; font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--ib-ink); }
.cbp-account-meta {
    display: grid; gap: 4px; font-size: 12px; color: var(--ib-muted); margin-bottom: 10px;
}
.cbp-account-meta span { word-break: break-all; }
.cbp-account-number { font-size: 13px; color: var(--ib-muted); margin-bottom: 8px; }
.cbp-account-balance { font-size: 18px; font-weight: 800; color: var(--ib-ink); }
.cbp-account-summary { margin-bottom: 16px; }
.cbp-account-summary-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.cbp-account-summary-label {
    display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: var(--ib-muted); margin-bottom: 6px;
}
.cbp-account-summary-grid strong { font-size: 14px; color: var(--ib-ink); word-break: break-word; }
@media (max-width: 900px) {
    .cbp-account-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .cbp-account-summary-grid { grid-template-columns: 1fr; }
}

.cbp-loan-card { border: 1px solid var(--cbp-border); border-radius: 10px; padding: 14px 16px; }
.cbp-loan-head { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.cbp-loan-outstanding { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.cbp-loan-form {
    display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center;
}
.cbp-input {
    border: 1px solid var(--cbp-border); border-radius: 8px; padding: 10px 12px;
    font: inherit; font-size: 13px; width: 100%; background: #fff; color: var(--ib-ink);
}
.cbp-select { appearance: auto; }
.cbp-btn {
    border: none; border-radius: 8px; padding: 10px 18px; font: inherit;
    font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.cbp-btn--primary { background: var(--cbp-blue); color: #fff; }
.cbp-btn--primary:hover { background: #1d4ed8; }

.cbp-receipt-list { list-style: none; margin: 0; padding: 0; }
.cbp-receipt-list li {
    display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--cbp-border); font-size: 13px;
}
.cbp-receipt-list li:last-child { border-bottom: none; }
.cbp-receipt-list span { color: var(--ib-muted); font-weight: 600; }
.cbp-receipt-list small { color: var(--ib-muted); }

.cbp-alert { border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-size: 13px; }
.cbp-alert--error { background: #fef3f2; border: 1px solid #f3b4ae; color: #b42318; }
.cbp-alert--ok { background: #eef8f1; border: 1px solid #b7e0c4; color: #0f7a3c; }
.cbp-alert--pending {
    background: #eff6ff; border: 1px solid #93c5fd; color: #1e3a8a;
}
.cbp-pending-upi-form {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px;
}
.cbp-btn--compact { padding: 8px 14px; font-size: 13px; }
.cbp-alert ul { margin: 0; padding-left: 18px; }

@media (max-width: 960px) {
    .cbp-layout { grid-template-columns: 1fr; }
    .cbp-menu-toggle { display: inline-block; }
    .cbp-sidebar {
        display: none;
        position: fixed;
        left: 0;
        top: 66px;
        z-index: 1100;
        width: min(280px, 88vw);
        height: calc(100vh - 66px);
        box-shadow: 8px 0 24px rgba(15, 23, 42, .25);
    }
    .cbp-sidebar.is-open { display: block; }
}

@media (max-width: 900px) {
    .cbp-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cbp-loan-form { grid-template-columns: 1fr; }
    .cbp-receipt-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
    .cbp-stat-grid { grid-template-columns: 1fr; }
    .cbp-header { padding: 12px 16px; }
    .cbp-main { padding: 16px; }
    .cbp-header-title { font-size: 13px; white-space: normal; }
}

.ib-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.ib-sidebar {
    background: linear-gradient(180deg, var(--ib-sidebar), var(--ib-sidebar-deep));
    color: #d7e4f3; display: flex; flex-direction: column; padding: 18px 14px;
}
.ib-brand { display: flex; gap: 12px; align-items: center; padding: 4px 6px 18px; }
.ib-brand-mark {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--ib-accent); color: #fff; display: grid; place-items: center;
    font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.ib-brand strong { display: block; color: #fff; font-size: 13px; }
.ib-brand span { display: block; font-size: 11px; opacity: .8; }

.ib-profile {
    display: flex; gap: 12px; align-items: center;
    background: rgba(0,0,0,.18); border-radius: 14px; padding: 12px; margin-bottom: 16px;
}
.ib-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: #2b6cb0; color: #fff;
    display: grid; place-items: center; font-weight: 800; flex-shrink: 0;
}
.ib-profile-meta strong { display: block; color: #fff; font-size: 14px; }
.ib-profile-meta small { display: block; font-size: 11px; opacity: .75; margin: 2px 0 6px; }
.ib-verified {
    display: inline-flex; align-items: center; border-radius: 999px;
    background: rgba(31,157,100,.2); color: #8ef0bf; font-size: 11px; font-weight: 700;
    padding: 2px 8px;
}

.ib-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ib-nav a {
    display: flex; align-items: center; gap: 10px;
    color: #d7e4f3; text-decoration: none; padding: 11px 12px;
    border-radius: 10px; font-size: 14px; font-weight: 600;
}
.ib-nav a:hover, .ib-nav a.is-active { background: rgba(255,255,255,.12); color: #fff; }
.ib-nav-ico { width: 18px; text-align: center; opacity: .9; font-size: 13px; }

.ib-sidebar-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.ib-side-link {
    display: block; color: #cfe0f2; text-decoration: none; font-size: 13px; font-weight: 600;
    padding: 8px 4px 12px;
}
.ib-signout {
    width: 100%; border: 1px solid rgba(255,255,255,.18); background: transparent;
    color: #fff; border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 700; cursor: pointer;
}

.ib-main { display: flex; flex-direction: column; min-width: 0; }
.ib-topbar {
    background: #fff; border-bottom: 1px solid var(--ib-line);
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
    padding: 12px 22px; flex-wrap: wrap;
}
.ib-top-meta strong { display: block; font-size: 13px; }
.ib-top-meta span { display: block; font-size: 12px; color: var(--ib-muted); margin-top: 2px; }
.ib-top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ib-chip {
    border: 1px solid var(--ib-line); background: #fff; color: var(--ib-ink);
    border-radius: 999px; padding: 8px 12px; font: inherit; font-size: 12px; font-weight: 600;
}
.ib-cbs {
    background: #e8f8f0; color: var(--ib-ok); border-radius: 999px;
    padding: 8px 12px; font-size: 11px; font-weight: 800; letter-spacing: .04em;
}

.ib-content { padding: 22px 24px 36px; }
.ib-page-head { margin-bottom: 16px; }
.ib-eyebrow { color: var(--ib-accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-bottom: 6px; }
.ib-page-head h1 { margin: 0; font-size: 30px; }
.ib-page-sub { margin: 6px 0 0; color: var(--ib-muted); font-size: 13px; }

.ib-balance-card {
    background: linear-gradient(120deg, #0f6b5c 0%, #1f8f7a 45%, #2aa38c 100%);
    color: #fff; border-radius: 18px; padding: 22px 24px;
    display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
    margin-bottom: 16px; box-shadow: 0 16px 30px rgba(15, 80, 70, .18);
}
.ib-balance-product { font-size: 13px; opacity: .9; font-weight: 600; }
.ib-balance-amount { font-size: 34px; font-weight: 800; margin: 10px 0 6px; letter-spacing: .01em; }
.ib-balance-avail { font-size: 12px; opacity: .85; }

.ib-btn {
    border: none; border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; font: inherit;
}
.ib-btn--primary { background: var(--ib-sidebar); color: #fff; }
.ib-btn--light { background: rgba(255,255,255,.95); color: #0f4f45; }
.ib-btn--dark { background: var(--ib-sidebar); color: #fff; margin-top: 14px; }
.ib-btn--block { width: 100%; }

.ib-quick-grid {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px;
}
.ib-quick-card {
    background: #fff; border: 1px solid var(--ib-line); border-radius: 14px;
    padding: 16px 12px; text-decoration: none; color: inherit; text-align: center;
    box-shadow: 0 8px 18px rgba(20, 40, 70, .04);
}
.ib-quick-card:hover { border-color: #c9d8ea; }
.ib-quick-ico {
    width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 10px;
    background: #eef5ff; color: var(--ib-accent-2);
    display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.ib-quick-card strong { display: block; font-size: 13px; }

.ib-split { display: grid; grid-template-columns: 1.6fr .9fr; gap: 14px; }
.ib-panel {
    background: #fff; border: 1px solid var(--ib-line); border-radius: 14px; padding: 16px 18px;
    box-shadow: 0 8px 18px rgba(20, 40, 70, .04);
}
.ib-panel-head { margin-bottom: 10px; }
.ib-panel-head h2 { margin: 0; font-size: 17px; }
.ib-empty { color: var(--ib-muted); font-size: 13px; padding: 28px 4px; }
.ib-txn-list { list-style: none; margin: 0; padding: 0; }
.ib-txn-list li {
    display: flex; justify-content: space-between; gap: 12px; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--ib-line); font-size: 14px;
}
.ib-txn-list li:last-child { border-bottom: none; }
.ib-txn-list strong { display: block; }
.ib-txn-list small { display: block; color: var(--ib-muted); font-size: 12px; margin-top: 2px; }
.ib-loan-box {
    background: #f4f7fb; border-radius: 12px; padding: 16px;
}
.ib-loan-box span { display: block; color: var(--ib-muted); font-size: 12px; font-weight: 600; }
.ib-loan-box strong { display: block; font-size: 24px; margin-top: 8px; }

.ib-auth-body {
    min-height: 100vh; display: grid; place-items: center;
    background: linear-gradient(160deg, #d7e6f5, #edf2f7 50%, #dff3ec); padding: 20px;
}
.ib-auth-card {
    width: min(100%, 420px); background: #fff; border-radius: 16px; border: 1px solid var(--ib-line);
    box-shadow: 0 18px 40px rgba(15, 30, 50, .1); padding: 26px;
}
.ib-brand--auth { margin-bottom: 16px; }
.ib-auth-card h1 { margin: 0; font-size: 24px; }
.ib-auth-sub { margin: 6px 0 16px; color: var(--ib-muted); font-size: 13px; }
.ib-form { display: grid; gap: 12px; }
.ib-field { display: grid; gap: 6px; }
.ib-field label { font-size: 13px; font-weight: 700; }
.ib-field input {
    border: 1px solid var(--ib-line); border-radius: 10px; padding: 11px 12px; font: inherit;
}
.ib-alert { border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: 13px; }
.ib-alert--error { background: #fef3f2; border: 1px solid #f3b4ae; color: #b42318; }
.ib-alert ul { margin: 0; padding-left: 18px; }

.ib-alert--ok { background: #eef8f1; border: 1px solid #b7e0c4; color: #0f7a3c; margin-bottom: 14px; }
.ib-select {
    border: 1px solid var(--ib-line); border-radius: 10px; padding: 11px 12px;
    font: inherit; width: 100%; background: #fff; color: var(--ib-ink);
}

.ib-transfer-top {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
    margin-bottom: 16px;
}
.ib-transfer-badges { display: flex; align-items: center; gap: 8px; }
.ib-chip--warn {
    background: #fff7e6; border-color: #f0d59a; color: #9a6700; text-decoration: none;
}
.ib-transfer-grid {
    display: grid; grid-template-columns: 1.35fr .85fr; gap: 14px; align-items: start;
}
.ib-transfer-form-panel { padding: 20px; }
.ib-transfer-title { margin: 0 0 14px; font-size: 18px; }
.ib-mode-tabs {
    display: flex; gap: 8px; margin-bottom: 16px; background: #f2f5f9;
    border-radius: 12px; padding: 4px;
}
.ib-mode-tab {
    flex: 1; text-align: center; text-decoration: none; color: var(--ib-muted);
    font-size: 13px; font-weight: 800; padding: 10px 8px; border-radius: 10px;
}
.ib-mode-tab.is-active { background: var(--ib-sidebar); color: #fff; }
.ib-transfer-submit { margin-top: 4px; padding: 13px 16px; border-radius: 12px; }
.ib-transfer-note { margin: 10px 0 0; color: var(--ib-muted); font-size: 12px; line-height: 1.45; }
.ib-transfer-controls h2 { margin: 0 0 14px; font-size: 17px; }
.ib-control-list { list-style: none; margin: 0; padding: 0; }
.ib-control-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 0; border-bottom: 1px solid var(--ib-line);
    font-size: 13px; font-weight: 600;
}
.ib-control-list li:last-child { border-bottom: none; }
.ib-control-list li.is-ok { color: var(--ib-ok); }
.ib-control-list li.is-warn { color: var(--ib-muted); }
.ib-control-list span {
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
    background: #e8f8f0; font-size: 12px; flex-shrink: 0;
}
.ib-control-list li.is-warn span { background: #eef2f7; }

.ib-account-picker {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap;
}
.ib-account-picker label { font-size: 13px; font-weight: 700; color: var(--ib-muted); }
.ib-account-picker .ib-select { max-width: 420px; }
.ib-statement-panel { padding: 18px 20px; }
.ib-statement-head {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.ib-statement-meta { color: var(--ib-muted); font-size: 12px; font-weight: 600; }
.ib-statement-list { list-style: none; margin: 0; padding: 0; }
.ib-statement-list li {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--ib-line);
}
.ib-statement-list li:last-child { border-bottom: none; }
.ib-stmt-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ib-stmt-ico {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    font-weight: 800; flex-shrink: 0;
}
.ib-stmt-ico.is-credit { background: #e8f0ff; color: var(--ib-accent-2); }
.ib-stmt-ico.is-debit { background: #e8f8f4; color: var(--ib-accent); }
.ib-stmt-left strong { display: block; font-size: 13px; letter-spacing: .02em; }
.ib-stmt-left small { display: block; color: var(--ib-muted); font-size: 12px; margin-top: 3px; }
.ib-stmt-amt { font-weight: 800; font-size: 14px; white-space: nowrap; }
.ib-stmt-amt.is-debit-amt { color: var(--ib-ink); }

.ib-loan-badges { flex-direction: column; align-items: flex-end; gap: 6px; }
.ib-link-print {
    border: none; background: transparent; color: var(--ib-ok);
    font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; padding: 0;
}
.ib-loan-panel { padding: 22px 24px; max-width: 720px; }
.ib-loan-kicker { color: var(--ib-muted); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.ib-loan-id { color: var(--ib-muted); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.ib-loan-outstanding { font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.ib-loan-next { color: var(--ib-muted); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.ib-loan-pay-form { margin-top: 4px; }
.ib-loan-pay-form .ib-btn { padding: 10px 16px; border-radius: 10px; }
.ib-pill-status {
    display: inline-flex; background: #fff4e8; color: #c47a1a;
    border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800;
}
.ib-pill-status.is-ok { background: #e8f8f0; color: var(--ib-ok); }

.ib-cheque-grid {
    display: grid; grid-template-columns: 1.15fr .95fr; gap: 14px; margin-bottom: 14px; align-items: start;
}
.ib-cheque-meta { margin: 0; }
.ib-cheque-meta > div {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 11px 0; border-bottom: 1px solid var(--ib-line); font-size: 13px;
}
.ib-cheque-meta > div:last-child { border-bottom: none; }
.ib-cheque-meta dt { margin: 0; color: var(--ib-muted); font-weight: 600; }
.ib-cheque-meta dd { margin: 0; font-weight: 700; text-align: right; }
.ib-service-panel { padding: 18px 20px; }
.ib-service-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.ib-service-grid form { margin: 0; }
.ib-service-card {
    width: 100%; min-height: 72px; border: 1px solid var(--ib-line); border-radius: 12px;
    background: #f8fafc; color: var(--ib-ink); font: inherit; font-weight: 700; font-size: 14px;
    cursor: pointer; padding: 16px;
}
.ib-service-card:hover { background: #fff; border-color: #c9d8ea; }

@media (max-width: 1100px) {
    .ib-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ib-split, .ib-transfer-grid, .ib-cheque-grid { grid-template-columns: 1fr; }
    .ib-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .ib-shell { grid-template-columns: 1fr; }
    .ib-nav { flex-direction: row; overflow-x: auto; }
    .ib-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ib-balance-card { flex-direction: column; align-items: flex-start; }
}

/* Loan Pay Now — UPI / QR payment panel */
.cbp-pay-modal {
    position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px;
}
.cbp-pay-modal[hidden] { display: none !important; }
.cbp-pay-modal__backdrop {
    position: absolute; inset: 0; background: rgba(15, 23, 42, .72);
}
.cbp-pay-modal__panel {
    position: relative; width: min(100%, 420px); background: #fff; border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .35); padding: 18px 18px 20px;
}
.cbp-pay-modal__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px;
}
.cbp-pay-modal__brand { font-size: 15px; font-weight: 800; color: var(--cbp-header); }
.cbp-pay-modal__sub { font-size: 12px; color: var(--ib-muted); margin-top: 2px; }
.cbp-pay-modal__close {
    border: none; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ib-muted);
}
.cbp-pay-modal__amount-wrap {
    background: #f8fafc; border: 1px solid var(--cbp-border); border-radius: 12px;
    padding: 14px 16px; margin-bottom: 14px;
}
.cbp-pay-modal__amount-label { display: block; font-size: 12px; color: var(--ib-muted); font-weight: 600; }
.cbp-pay-modal__amount { display: block; font-size: 28px; font-weight: 800; margin-top: 4px; }
.cbp-pay-modal__loan { font-size: 12px; color: var(--ib-muted); margin-top: 6px; font-weight: 600; }
.cbp-pay-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px;
}
.cbp-pay-tabs__btn {
    border: 1px solid var(--cbp-border); background: #fff; border-radius: 10px; padding: 10px 12px;
    font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--ib-ink);
}
.cbp-pay-tabs__btn.is-active {
    background: var(--cbp-header); border-color: var(--cbp-header); color: #fff;
}
.cbp-pay-panel { display: none; }
.cbp-pay-panel.is-active { display: block; }
.cbp-pay-field { display: grid; gap: 6px; margin-bottom: 10px; }
.cbp-pay-field span { font-size: 12px; font-weight: 700; color: var(--ib-muted); }
.cbp-pay-hint { font-size: 11px; color: var(--ib-muted); margin: 0 0 12px; line-height: 1.45; }
.cbp-pay-hint code { font-size: 10px; background: #eef2f7; padding: 1px 4px; border-radius: 4px; }
.cbp-pay-qr {
    display: flex; align-items: center; gap: 14px; margin-bottom: 10px;
    border: 1px dashed var(--cbp-border); border-radius: 12px; padding: 14px;
}
.cbp-pay-qr__box {
    width: 160px; height: 160px; border-radius: 10px; background: #fff;
    border: 1px solid var(--cbp-border); display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.cbp-pay-qr__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cbp-pay-hint--desktop { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 10px 12px; }
.cbp-btn--ghost {
    margin-top: 8px; border: 1px solid var(--cbp-border); background: #fff; color: var(--ib-ink);
    border-radius: 10px; padding: 10px 16px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.cbp-btn--ghost:hover { background: #f8fafc; }
.cbp-pay-qr__meta { display: grid; gap: 4px; font-size: 12px; color: var(--ib-muted); }
.cbp-pay-qr__meta strong { color: var(--ib-ink); font-size: 13px; }
.cbp-pay-status {
    margin: 12px 0 0; font-size: 12px; font-weight: 700; color: var(--ib-ok); text-align: center;
}
.cbp-pay-status.is-error { color: #b42318; }
.cbp-btn--block { width: 100%; }

.cbp-accounts-page { max-width: 1200px; }
.cbp-accounts-head { margin-bottom: 18px; }
.cbp-accounts-head--row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.cbp-accounts-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-accounts-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5; max-width: 60ch;
}
.cbp-accounts-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    padding: 0; overflow: hidden;
}
.cbp-accounts-table-wrap { overflow-x: auto; }
.cbp-accounts-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-accounts-table thead th {
    text-align: left; padding: 12px 14px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-accounts-table tbody td {
    padding: 14px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink);
    vertical-align: middle;
}
.cbp-accounts-table tbody tr:last-child td { border-bottom: none; }
.cbp-accounts-table tbody tr:hover { background: #fafbfd; }
.cbp-accounts-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-accounts-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-accounts-status--active {
    background: #d1fae5; color: #065f46;
}
.cbp-accounts-status--open,
.cbp-accounts-status--pending {
    background: #e0f2fe; color: #0369a1;
}
.cbp-accounts-status--closed,
.cbp-accounts-status--frozen {
    background: #fee2e2; color: #991b1b;
}
.cbp-accounts-statement-btn {
    display: inline-block; padding: 7px 14px; border-radius: 8px;
    background: #1a5276; color: #fff; font-size: 12px; font-weight: 700;
    text-decoration: none; white-space: nowrap;
}
.cbp-accounts-statement-btn:hover { background: #154360; color: #fff; }
.cbp-accounts-back-btn {
    display: inline-block; padding: 8px 14px; border-radius: 8px;
    border: 1px solid var(--cbp-border); background: #fff; color: var(--ib-ink);
    font-size: 13px; font-weight: 700; text-decoration: none;
}
.cbp-accounts-back-btn:hover { background: #f8fafc; }
.cbp-accounts-card .cbp-empty,
.cbp-accounts-card .ib-statement-list { padding: 18px 20px; }

.cbp-deposits-page { max-width: 1100px; }
.cbp-deposits-head { margin-bottom: 18px; }
.cbp-deposits-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-deposits-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5; max-width: 70ch;
}
.cbp-deposits-alert {
    margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.cbp-deposits-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cbp-deposits-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cbp-deposits-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    margin-bottom: 16px;
}
.cbp-deposits-card--records { min-height: 120px; display: flex; align-items: center; justify-content: center; }
.cbp-deposits-card--records:has(.cbp-deposits-table-wrap) {
    display: block; align-items: stretch; justify-content: flex-start;
}
.cbp-deposits-card--form { padding: 22px 24px 24px; }
.cbp-deposits-empty {
    margin: 0; padding: 48px 20px; text-align: center; color: var(--ib-muted); font-size: 14px; width: 100%;
}
.cbp-deposits-form-title {
    margin: 0 0 18px; font-size: 18px; font-weight: 800; color: #102a43;
}
.cbp-deposits-form-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px;
}
.cbp-deposits-field { display: block; }
.cbp-deposits-field--full { grid-column: 1 / -1; }
.cbp-deposits-label {
    display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ib-muted);
}
.cbp-deposits-input {
    width: 100%; border: 1px solid var(--cbp-border); border-radius: 8px;
    padding: 11px 12px; font: inherit; font-size: 14px; color: var(--ib-ink); background: #fff;
}
.cbp-deposits-input:focus {
    outline: none; border-color: #627d98; box-shadow: 0 0 0 3px rgba(98, 125, 152, .12);
}
.cbp-deposits-submit {
    margin-top: 18px; border: none; border-radius: 8px; padding: 11px 22px;
    background: #1a5276; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.cbp-deposits-submit:hover { background: #154360; }
.cbp-deposits-table-wrap { overflow-x: auto; width: 100%; }
.cbp-deposits-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-deposits-table thead th {
    text-align: left; padding: 12px 14px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
}
.cbp-deposits-table tbody td {
    padding: 12px 14px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink);
}
.cbp-deposits-table tbody tr:last-child td { border-bottom: none; }
.cbp-deposits-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-deposits-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-deposits-status--active { background: #d1fae5; color: #065f46; }
.cbp-deposits-status--pending { background: #fef3c7; color: #92400e; }
@media (max-width: 720px) {
    .cbp-deposits-form-grid { grid-template-columns: 1fr; }
    .cbp-deposits-field--full { grid-column: auto; }
}

.cbp-shares-page { max-width: 1100px; }
.cbp-shares-head { margin-bottom: 18px; }
.cbp-shares-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-shares-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5;
}
.cbp-shares-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    min-height: 140px; display: flex; align-items: center; justify-content: center;
}
.cbp-shares-card:has(.cbp-shares-table-wrap) {
    display: block; align-items: stretch; justify-content: flex-start;
}
.cbp-shares-empty {
    margin: 0; padding: 52px 20px; text-align: center; color: var(--ib-muted); font-size: 14px; width: 100%;
}
.cbp-shares-table-wrap { overflow-x: auto; width: 100%; }
.cbp-shares-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-shares-table thead th {
    text-align: left; padding: 12px 14px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
}
.cbp-shares-table tbody td {
    padding: 12px 14px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink);
}
.cbp-shares-table tbody tr:last-child td { border-bottom: none; }
.cbp-shares-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-shares-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-shares-status--active { background: #d1fae5; color: #065f46; }

.cbp-apply-loan-page { max-width: 1200px; }
.cbp-apply-loan-head { margin-bottom: 18px; }
.cbp-apply-loan-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-apply-loan-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5; max-width: 70ch;
}
.cbp-apply-loan-alert {
    margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.cbp-apply-loan-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cbp-apply-loan-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cbp-apply-loan-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    margin-bottom: 16px; padding: 22px 24px;
}
.cbp-apply-loan-section-title {
    margin: 0 0 16px; font-size: 18px; font-weight: 800; color: #102a43;
}
.cbp-apply-loan-empty {
    margin: 0; padding: 24px 0; text-align: center; color: var(--ib-muted); font-size: 14px;
}
.cbp-apply-loan-table-wrap { overflow-x: auto; }
.cbp-apply-loan-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-apply-loan-table thead th {
    text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-apply-loan-table tbody td {
    padding: 12px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink);
}
.cbp-apply-loan-table tbody tr:last-child td { border-bottom: none; }
.cbp-apply-loan-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-apply-loan-form-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px;
    margin-bottom: 18px;
}
.cbp-apply-loan-field { display: block; }
.cbp-apply-loan-label {
    display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ib-muted);
}
.cbp-apply-loan-input {
    width: 100%; border: 1px solid var(--cbp-border); border-radius: 8px;
    padding: 11px 12px; font: inherit; font-size: 14px; color: var(--ib-ink); background: #fff;
}
.cbp-apply-loan-input:focus {
    outline: none; border-color: #627d98; box-shadow: 0 0 0 3px rgba(98, 125, 152, .12);
}
.cbp-apply-loan-submit {
    border: none; border-radius: 8px; padding: 11px 22px;
    background: #1a5276; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.cbp-apply-loan-submit:hover { background: #154360; }
@media (max-width: 720px) {
    .cbp-apply-loan-form-grid { grid-template-columns: 1fr; }
}

.cbp-ift-page { max-width: 1200px; }
.cbp-ift-head { margin-bottom: 18px; }
.cbp-ift-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-ift-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5; max-width: 75ch;
}
.cbp-ift-alert {
    margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.cbp-ift-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cbp-ift-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cbp-ift-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    margin-bottom: 16px; padding: 22px 24px;
}
.cbp-ift-section-title {
    margin: 0 0 16px; font-size: 18px; font-weight: 800; color: #102a43;
}
.cbp-ift-empty {
    margin: 0; padding: 24px 0; text-align: center; color: var(--ib-muted); font-size: 14px;
}
.cbp-ift-form-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px;
    margin-bottom: 18px;
}
.cbp-ift-field { display: block; }
.cbp-ift-label {
    display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ib-muted);
}
.cbp-ift-input {
    width: 100%; border: 1px solid var(--cbp-border); border-radius: 8px;
    padding: 11px 12px; font: inherit; font-size: 14px; color: var(--ib-ink); background: #fff;
}
.cbp-ift-input:focus {
    outline: none; border-color: #627d98; box-shadow: 0 0 0 3px rgba(98, 125, 152, .12);
}
.cbp-ift-submit {
    border: none; border-radius: 8px; padding: 11px 22px;
    background: #1a5276; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.cbp-ift-submit:hover { background: #154360; }
.cbp-ift-submit:disabled { opacity: .6; cursor: not-allowed; }
.cbp-ift-table-wrap { overflow-x: auto; }
.cbp-ift-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-ift-table thead th {
    text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-ift-table tbody td {
    padding: 12px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink);
}
.cbp-ift-table tbody tr:last-child td { border-bottom: none; }
.cbp-ift-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-ift-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-ift-status--pending { background: #fef3c7; color: #92400e; }
.cbp-ift-status--approved,
.cbp-ift-status--posted { background: #d1fae5; color: #065f46; }
.cbp-ift-status--rejected { background: #fee2e2; color: #991b1b; }
@media (max-width: 720px) {
    .cbp-ift-form-grid { grid-template-columns: 1fr; }
}

.cbp-epr-page { max-width: 1200px; }
.cbp-epr-head { margin-bottom: 14px; }
.cbp-epr-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-epr-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5; max-width: 85ch;
}
.cbp-epr-banner {
    margin-bottom: 16px; padding: 12px 14px; border-radius: 10px;
    background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 13px; line-height: 1.5;
}
.cbp-epr-alert {
    margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.cbp-epr-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cbp-epr-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cbp-epr-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px;
}
.cbp-epr-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px; padding: 22px 24px;
}
.cbp-epr-card--uat { display: flex; flex-direction: column; }
.cbp-epr-card-title {
    margin: 0 0 16px; font-size: 18px; font-weight: 800; color: #102a43;
}
.cbp-epr-uat-notice {
    margin: -8px 0 14px; padding: 8px 10px; border-radius: 8px;
    background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 12px; font-weight: 700;
}
.cbp-epr-form { display: flex; flex-direction: column; gap: 12px; }
.cbp-epr-field { display: block; }
.cbp-epr-label {
    display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ib-muted);
}
.cbp-epr-input {
    width: 100%; border: 1px solid var(--cbp-border); border-radius: 8px;
    padding: 11px 12px; font: inherit; font-size: 14px; color: var(--ib-ink); background: #fff;
}
.cbp-epr-input:focus {
    outline: none; border-color: #627d98; box-shadow: 0 0 0 3px rgba(98, 125, 152, .12);
}
.cbp-epr-submit {
    align-self: flex-start; margin-top: 4px; border: none; border-radius: 8px; padding: 11px 22px;
    font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.cbp-epr-submit--primary { background: #1a5276; color: #fff; }
.cbp-epr-submit--primary:hover { background: #154360; }
.cbp-epr-submit--secondary { background: #627d98; color: #fff; }
.cbp-epr-submit--secondary:hover { background: #526a80; }
.cbp-epr-uat-result {
    margin-top: auto; padding-top: 14px;
}
.cbp-epr-uat-result-body,
.cbp-epr-uat-result {
    margin: 0; min-height: 72px; padding: 12px 14px; border-radius: 8px;
    background: #102a43; color: #e2e8f0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px; line-height: 1.45; overflow-x: auto; white-space: pre-wrap; word-break: break-word;
}
.cbp-epr-uat-result-placeholder {
    display: block; min-height: 72px; padding: 12px 14px; border-radius: 8px;
    background: #102a43; color: #94a3b8; font-size: 12px;
}
.cbp-epr-table-wrap { overflow-x: auto; }
.cbp-epr-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-epr-table thead th {
    text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-epr-table tbody td {
    padding: 12px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink);
}
.cbp-epr-table tbody tr:last-child td { border-bottom: none; }
.cbp-epr-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-epr-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-epr-status--pending { background: #fef3c7; color: #92400e; }
.cbp-epr-status--posted,
.cbp-epr-status--approved { background: #d1fae5; color: #065f46; }
.cbp-epr-status--rejected { background: #fee2e2; color: #991b1b; }
@media (max-width: 900px) {
    .cbp-epr-grid { grid-template-columns: 1fr; }
}

.cbp-rcpt-page { max-width: 1400px; }
.cbp-rcpt-head { margin-bottom: 18px; }
.cbp-rcpt-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-rcpt-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5; max-width: 75ch;
}
.cbp-rcpt-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px; padding: 22px 24px;
}
.cbp-rcpt-empty {
    margin: 0; padding: 24px 0; text-align: center; color: var(--ib-muted); font-size: 14px;
}
.cbp-rcpt-table-wrap { overflow-x: auto; }
.cbp-rcpt-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-rcpt-table thead th {
    text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-rcpt-table tbody td {
    padding: 12px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink); vertical-align: middle;
}
.cbp-rcpt-table tbody tr:last-child td { border-bottom: none; }
.cbp-rcpt-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-rcpt-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-rcpt-status--success { background: #d1fae5; color: #065f46; }
.cbp-rcpt-status--processing { background: #dbeafe; color: #1e40af; }
.cbp-rcpt-status--failed,
.cbp-rcpt-status--rejected { background: #fee2e2; color: #991b1b; }
.cbp-rcpt-pdf-btn {
    display: inline-block; padding: 5px 12px; border-radius: 6px;
    border: 1px solid var(--cbp-border); background: #f8fafc; color: #334e68;
    font-size: 12px; font-weight: 700; text-decoration: none;
}
.cbp-rcpt-pdf-btn:hover { background: #edf2f7; color: #102a43; }

.cbp-ccq-page { max-width: 900px; }
.cbp-ccq-head { margin-bottom: 18px; }
.cbp-ccq-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-ccq-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5;
}
.cbp-ccq-alert {
    margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.cbp-ccq-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cbp-ccq-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cbp-ccq-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    margin-bottom: 16px; padding: 22px 24px;
}
.cbp-ccq-section-title {
    margin: 0 0 16px; font-size: 18px; font-weight: 800; color: #102a43;
}
.cbp-ccq-empty {
    margin: 0; padding: 20px 0; text-align: center; color: var(--ib-muted); font-size: 14px;
}
.cbp-ccq-form { display: flex; flex-direction: column; gap: 14px; }
.cbp-ccq-field { display: block; }
.cbp-ccq-label {
    display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ib-muted);
}
.cbp-ccq-input,
.cbp-ccq-textarea {
    width: 100%; border: 1px solid var(--cbp-border); border-radius: 8px;
    padding: 11px 12px; font: inherit; font-size: 14px; color: var(--ib-ink); background: #fff;
}
.cbp-ccq-textarea { min-height: 120px; resize: vertical; }
.cbp-ccq-input:focus,
.cbp-ccq-textarea:focus {
    outline: none; border-color: #627d98; box-shadow: 0 0 0 3px rgba(98, 125, 152, .12);
}
.cbp-ccq-submit {
    align-self: flex-start; border: none; border-radius: 8px; padding: 11px 22px;
    background: #1a5276; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.cbp-ccq-submit:hover { background: #154360; }
.cbp-ccq-table-wrap { overflow-x: auto; }
.cbp-ccq-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-ccq-table thead th {
    text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-ccq-table tbody td {
    padding: 12px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink);
}
.cbp-ccq-table tbody tr:last-child td { border-bottom: none; }
.cbp-ccq-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-ccq-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-ccq-status--pending { background: #fef3c7; color: #92400e; }
.cbp-ccq-status--approved,
.cbp-ccq-status--completed { background: #d1fae5; color: #065f46; }
.cbp-ccq-status--rejected { background: #fee2e2; color: #991b1b; }

.cbp-mreq-page { max-width: 1400px; }
.cbp-mreq-head { margin-bottom: 18px; }
.cbp-mreq-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-mreq-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5; max-width: 75ch;
}
.cbp-mreq-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px; padding: 22px 24px;
}
.cbp-mreq-empty {
    margin: 0; padding: 24px 0; text-align: center; color: var(--ib-muted); font-size: 14px;
}
.cbp-mreq-table-wrap { overflow-x: auto; }
.cbp-mreq-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-mreq-table thead th {
    text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-mreq-table tbody td {
    padding: 12px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink); vertical-align: top;
}
.cbp-mreq-table tbody tr:last-child td { border-bottom: none; }
.cbp-mreq-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-mreq-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
}
.cbp-mreq-status--pending,
.cbp-mreq-status--application,
.cbp-mreq-status--under_review { background: #fef3c7; color: #92400e; }
.cbp-mreq-status--approved,
.cbp-mreq-status--posted,
.cbp-mreq-status--sanctioned,
.cbp-mreq-status--completed,
.cbp-mreq-status--success { background: #d1fae5; color: #065f46; }
.cbp-mreq-status--rejected,
.cbp-mreq-status--failed { background: #fee2e2; color: #991b1b; }

.cbp-notif-page { max-width: 900px; }
.cbp-notif-head { margin-bottom: 18px; }
.cbp-notif-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-notif-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5;
}
.cbp-notif-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px; padding: 8px 0;
}
.cbp-notif-empty {
    margin: 0; padding: 24px 24px; text-align: center; color: var(--ib-muted); font-size: 14px;
}
.cbp-notif-list {
    list-style: none; margin: 0; padding: 0;
}
.cbp-notif-item {
    padding: 16px 24px; border-bottom: 1px solid var(--ib-line);
}
.cbp-notif-item:last-child { border-bottom: none; }
.cbp-notif-body {
    margin: 0 0 6px; font-size: 14px; line-height: 1.55; color: var(--ib-ink);
}
.cbp-notif-body strong {
    font-weight: 800; margin-right: 6px;
}
.cbp-notif-meta {
    margin: 0; font-size: 12px; color: var(--ib-muted);
}

.cbp-stkt-page { max-width: 900px; }
.cbp-stkt-head { margin-bottom: 18px; }
.cbp-stkt-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-stkt-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5;
}
.cbp-stkt-alert {
    margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.cbp-stkt-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cbp-stkt-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cbp-stkt-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px;
    margin-bottom: 16px; padding: 22px 24px;
}
.cbp-stkt-section-title {
    margin: 0 0 16px; font-size: 18px; font-weight: 800; color: #102a43;
}
.cbp-stkt-empty {
    margin: 0; padding: 20px 0; text-align: center; color: var(--ib-muted); font-size: 14px;
}
.cbp-stkt-form-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px;
    margin-bottom: 18px;
}
.cbp-stkt-field { display: block; }
.cbp-stkt-field--full { grid-column: 1 / -1; }
.cbp-stkt-label {
    display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ib-muted);
}
.cbp-stkt-input,
.cbp-stkt-textarea {
    width: 100%; border: 1px solid var(--cbp-border); border-radius: 8px;
    padding: 11px 12px; font: inherit; font-size: 14px; color: var(--ib-ink); background: #fff;
}
.cbp-stkt-textarea { min-height: 120px; resize: vertical; }
.cbp-stkt-input:focus,
.cbp-stkt-textarea:focus {
    outline: none; border-color: #627d98; box-shadow: 0 0 0 3px rgba(98, 125, 152, .12);
}
.cbp-stkt-submit {
    border: none; border-radius: 8px; padding: 11px 22px;
    background: #1a5276; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.cbp-stkt-submit:hover { background: #154360; }
.cbp-stkt-table-wrap { overflow-x: auto; }
.cbp-stkt-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-stkt-table thead th {
    text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-stkt-table tbody td {
    padding: 12px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink);
}
.cbp-stkt-table tbody tr:last-child td { border-bottom: none; }
.cbp-stkt-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-stkt-priority,
.cbp-stkt-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.cbp-stkt-priority--low { background: #ecfdf5; color: #065f46; }
.cbp-stkt-priority--medium { background: #dbeafe; color: #1e40af; }
.cbp-stkt-priority--high { background: #fef3c7; color: #92400e; }
.cbp-stkt-priority--urgent { background: #fee2e2; color: #991b1b; }
.cbp-stkt-status--open { background: #fef3c7; color: #92400e; }
.cbp-stkt-status--in_progress { background: #dbeafe; color: #1e40af; }
.cbp-stkt-status--resolved,
.cbp-stkt-status--closed { background: #d1fae5; color: #065f46; }
@media (max-width: 720px) {
    .cbp-stkt-form-grid { grid-template-columns: 1fr; }
}

.cbp-pkyc-page { max-width: 1400px; }
.cbp-pkyc-head { margin-bottom: 18px; }
.cbp-pkyc-title {
    margin: 0 0 6px; font-size: 28px; font-weight: 800; color: #102a43; letter-spacing: -.02em;
}
.cbp-pkyc-sub {
    margin: 0; font-size: 14px; color: var(--ib-muted); line-height: 1.5; max-width: 75ch;
}
.cbp-pkyc-alert {
    margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
}
.cbp-pkyc-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cbp-pkyc-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cbp-pkyc-grid {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px;
}
.cbp-pkyc-card {
    background: #fff; border: 1px solid var(--cbp-border); border-radius: 12px; padding: 22px 24px;
}
.cbp-pkyc-card--history { margin-bottom: 0; }
.cbp-pkyc-section-title {
    margin: 0 0 16px; font-size: 18px; font-weight: 800; color: #102a43;
}
.cbp-pkyc-empty {
    margin: 0; padding: 20px 0; text-align: center; color: var(--ib-muted); font-size: 14px;
}
.cbp-pkyc-form { display: flex; flex-direction: column; gap: 14px; }
.cbp-pkyc-field { display: block; }
.cbp-pkyc-label {
    display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--ib-muted);
}
.cbp-pkyc-input {
    width: 100%; border: 1px solid var(--cbp-border); border-radius: 8px;
    padding: 11px 12px; font: inherit; font-size: 14px; color: var(--ib-ink); background: #fff;
}
.cbp-pkyc-input:focus {
    outline: none; border-color: #627d98; box-shadow: 0 0 0 3px rgba(98, 125, 152, .12);
}
.cbp-pkyc-submit {
    align-self: flex-start; border: none; border-radius: 8px; padding: 11px 22px;
    background: #1a5276; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.cbp-pkyc-submit:hover { background: #154360; }
.cbp-pkyc-table-wrap { overflow-x: auto; }
.cbp-pkyc-table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.cbp-pkyc-table thead th {
    text-align: left; padding: 10px 12px; font-size: 12px; font-weight: 700;
    color: #627d98; background: #f8fafc; border-bottom: 1px solid var(--cbp-border);
    white-space: nowrap;
}
.cbp-pkyc-table tbody td {
    padding: 12px; border-bottom: 1px solid var(--ib-line); color: var(--ib-ink); vertical-align: top;
}
.cbp-pkyc-table tbody tr:last-child td { border-bottom: none; }
.cbp-pkyc-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}
.cbp-pkyc-kyc,
.cbp-pkyc-status {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
}
.cbp-pkyc-kyc--verified { background: #d1fae5; color: #065f46; }
.cbp-pkyc-kyc--pending,
.cbp-pkyc-kyc--not_started,
.cbp-pkyc-kyc--in_progress { background: #fef3c7; color: #92400e; }
.cbp-pkyc-kyc--rejected { background: #fee2e2; color: #991b1b; }
.cbp-pkyc-status--pending { background: #fef3c7; color: #92400e; }
.cbp-pkyc-status--approved,
.cbp-pkyc-status--completed { background: #d1fae5; color: #065f46; }
.cbp-pkyc-status--rejected { background: #fee2e2; color: #991b1b; }
@media (max-width: 1000px) {
    .cbp-pkyc-grid { grid-template-columns: 1fr; }
}
