.member-shell .portal-sidebar{height:100vh}.member-shell .portal-main{background:#f4f7fd}.member-shell .portal-header{height:75px}.member-small-logo{font-weight:1000;letter-spacing:-.1em;color:#0346c3;font-size:29px;display:flex;align-items:center;gap:8px}.member-small-logo span{letter-spacing:.06em;font-size:9px;font-weight:900}.member-main .member-alert{border:1px solid #f5d58b;background:#fff6dc;color:#725313;padding:12px 15px;border-radius:11px;font-size:12px;margin-bottom:16px;line-height:1.5}.member-alert a{color:#044dcc;font-weight:850;text-decoration:underline}.member-wallet-main{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}.member-wallet-main .wallet-hero{margin:0;min-height:155px}.member-action-row{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.member-action{border:1px solid #e5ecf8;background:white;padding:16px 8px;border-radius:13px;display:flex;gap:9px;align-items:center;justify-content:center;flex-direction:column;font-size:11px;color:#23528f;font-weight:850;min-height:96px}.member-action.disabled{opacity:.5;cursor:not-allowed}.member-action .quick-icon{width:41px;height:41px}.member-inline-banner{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#e8f0ff;color:#254f8b;padding:13px;border-radius:10px;font-size:11px;margin-top:12px}.member-bank-box{margin-bottom:18px}.member-bank-box>div:nth-child(2){display:grid;gap:9px}.member-bank-box h2{font-size:21px}.generate-form button,.member-copy{border:0;background:#073caa;color:#fff;font-weight:850;border-radius:9px;padding:12px 15px;cursor:pointer;font-size:11px}.member-bank-box .generate-form button{background:#0636a0;color:white}.member-account-status{background:#fff0dc;border:1px solid #ffd28a;border-radius:11px;padding:15px;font-size:12px;color:#87580a;line-height:1.5;margin:12px 0}.member-tile-2{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.member-tile-2 .metric-card{min-height:108px}.member-history-form{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}.member-history-form select,.member-history-form input,.member-history-form button{border:1px solid #dce6f7;background:white;border-radius:9px;padding:10px 11px;font-size:12px}.member-history-form button{background:#0751c9;color:white;font-weight:800;cursor:pointer}.member-balance{font-size:32px;font-weight:900;color:#063eae}.member-amount-credit{color:#059667;font-weight:900}.member-amount-debit{color:#d84954;font-weight:850}.member-auth{background:linear-gradient(145deg,#eaf2ff,#fff 58%);min-height:100vh;padding:24px;display:grid;place-items:center}.member-auth-card{background:white;border:1px solid #e4ebf7;box-shadow:0 27px 65px #092a6820;padding:35px;border-radius:23px;width:min(480px,100%)}.member-auth-logo{font-size:32px;color:#0749bd;font-weight:950;letter-spacing:-.06em}.member-auth-logo span{font-size:11px;letter-spacing:.11em;margin-left:9px}.member-auth h1{font-size:26px;margin:25px 0 7px}.member-auth p{font-size:13px;color:#7185a6;line-height:1.65}.member-form{display:grid;gap:13px;margin-top:22px}.member-form label{font-size:11px;font-weight:850;color:#455c80;display:grid;gap:7px}.member-form input,.member-form textarea,.member-form select{width:100%;padding:13px;border:1px solid #d8e2f1;border-radius:10px;font:inherit;font-size:13px;background:#fafdff;color:#1b385f}.member-form button,.member-btn{border:0;background:#0756db;color:#fff;border-radius:10px;padding:14px 16px;font-size:13px;font-weight:850;cursor:pointer;text-align:center}.member-auth-error{padding:11px 13px;border:1px solid #efbbc7;background:#fff0f3;color:#b33c58;font-size:12px;border-radius:9px;margin-top:15px}.member-auth-ok{padding:11px 13px;border:1px solid #b2e7cb;background:#eafff4;color:#167751;font-size:12px;border-radius:9px;margin-top:15px}.member-auth-links{display:flex;gap:12px;margin-top:17px;font-size:12px;justify-content:center}.member-auth-links a{color:#0b59c9;font-weight:800}.member-kyc-doc{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid #e6edf7;border-radius:11px;padding:14px;margin-bottom:9px;background:white;font-size:12px}.member-kyc-doc small{color:#8292aa;font-size:10px}.member-kyc-wrap{max-width:860px}.member-plan-card-cta{color:#0558cf;font-weight:850;display:inline-flex;align-items:center;margin-top:8px;font-size:11px}.member-copy:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #f5b627;outline-offset:2px}.member-tip{font-size:11px;color:#627b9d;line-height:1.6}.member-table-empty{padding:45px 12px;text-align:center;color:#8495ad}.member-portal-note{font-size:11px;color:#8d9eb6;margin-top:18px;line-height:1.5}
@media(max-width:800px){.member-shell .portal-sidebar{display:none}.member-wallet-main{grid-template-columns:1fr}.member-small-logo{font-size:25px}.member-small-logo span{font-size:8px}.member-main{padding-bottom:104px}}@media(max-width:580px){.member-small-logo span{max-width:88px;font-size:7px;line-height:1.3}.member-action-row{gap:7px}.member-action{min-height:76px;padding:8px 3px;font-size:9px}.member-auth{padding:10px}.member-auth-card{padding:23px 20px}.member-bank-box h2{font-size:19px}.member-history-form select,.member-history-form input{width:100%}.member-wallet-main .wallet-hero{padding:22px 16px}.member-kyc-doc{grid-template-columns:auto 1fr}.member-kyc-doc small{grid-column:2}}

.admin-chart{height:186px;display:flex;align-items:flex-end;gap:11px;padding:10px;border-bottom:1px solid #e6edf8}.admin-chart-col{flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:5px;height:100%}.admin-chart-col b{font-size:10px;color:#0751ce}.admin-chart-col small{font-size:10px;color:#7e8eaa}.admin-chart-bar{width:min(100%,42px);background:linear-gradient(180deg,#1274fc,#0642a8);border-radius:9px 9px 2px 2px;min-height:4px}.admin-status-row{display:flex;gap:12px;align-items:center;padding:11px 0;font-size:11px;color:#506890;border-bottom:1px solid #eef2f8}.admin-status-row>span{width:98px}.admin-status-row>strong{min-width:30px;text-align:right;color:#053ca7}.admin-progress{height:10px;flex:1;background:#eaf0fb;border-radius:99px;overflow:hidden}.admin-progress>div{height:100%;background:linear-gradient(90deg,#126de8,#0ca7e8);border-radius:99px}

/* Stage 03 enhancements use the same approved design palette and spacing. */
.finance-funding-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.finance-funding-steps>div{border:1px solid #e5ecf8;border-radius:13px;background:#f8fbff;padding:18px 14px;display:grid;gap:8px}
.finance-funding-steps b{border-radius:50%;background:linear-gradient(135deg,#0745b2,#1d84ec);width:35px;height:35px;display:grid;place-items:center;color:white;font-size:12px}
.finance-funding-steps strong{font-size:12px;color:#102c5f}.finance-funding-steps small{font-size:11px;line-height:1.65;color:#6c81a5}
.finance-status-list{display:flex;flex-wrap:wrap;gap:10px;padding:8px 0}
.finance-status-pill{background:#edf4ff;border:1px solid #d4e4fc;color:#0b479c;border-radius:9px;padding:11px 15px;font-size:12px}
@media(max-width:700px){.finance-funding-steps{grid-template-columns:1fr}.finance-funding-steps>div{grid-template-columns:auto 1fr;column-gap:12px}.finance-funding-steps b{grid-row:span 2}.finance-funding-steps small{grid-column:2}}

/* Stage 04 | PASP + RSP | extension of the approved Accelerator Hive UI palette. */
.plan-switcher,.stage4-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 22px}
.plan-switcher a{border:1px solid #d9e5f7;border-radius:12px;padding:13px 18px;background:#fff;color:#345780;font-size:12px;font-weight:850;display:inline-flex;align-items:center;justify-content:center}
.plan-switcher .chosen{background:#0649c6;border-color:#0649c6;color:#fff;box-shadow:0 8px 22px #034bb522}
.stage4-actions{margin:12px 0 18px}.stage4-actions .member-btn{display:inline-flex;align-items:center}
.stage4-columns{align-items:start;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr)}
.stage4-columns > *{min-width:0}.stage4-columns aside,.stage4-sidebar{display:grid;gap:16px}
.stage4-form-panel{padding:25px}.stage4-form-panel .member-form{gap:0;margin-top:16px}
.stage4-tag{color:#0753bc;background:#e9f2ff;border-radius:99px;padding:7px 12px;font-size:10px;font-weight:850}
.stage4-form-section{border-top:1px solid #edf2fa;padding:24px 0;display:grid;gap:15px}
.stage4-form-section>b{font-size:13px;color:#123a78;letter-spacing:.01em}
.stage4-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.stage4-form-section label{min-width:0}.stage4-apply-form .member-btn{width:100%;background:linear-gradient(110deg,#0652d2,#075cc9);margin-top:8px}
.stage4-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px!important;font-size:12px!important;font-weight:500!important;line-height:1.65!important;color:#445d83!important}
.stage4-check input{width:16px!important;height:16px!important;flex:none;margin-top:3px;accent-color:#064cc2}
.stage4-photo{border-radius:16px;overflow:hidden;background:linear-gradient(110deg,#062f84,#0973db);position:relative;min-height:200px;box-shadow:0 9px 26px #133a6a18}
.stage4-photo img{width:100%;height:245px;object-fit:cover;display:block;opacity:.84}
.stage4-photo:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(0deg,#042766ec,transparent);pointer-events:none}
.stage4-photo>div{position:absolute;bottom:18px;left:19px;right:19px;z-index:1;color:#fff;display:grid;gap:6px}
.stage4-photo b{font-size:20px;max-width:280px;line-height:1.28}.stage4-photo small{font-size:11px;color:#deeeff}
.stage4-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.stage4-numbers>div{display:flex;flex-direction:column;gap:9px;background:#f6f9ff;border:1px solid #e6edfa;border-radius:11px;padding:15px 13px;min-width:0}
.stage4-numbers span{font-size:10px;line-height:1.5;color:#6b82a3}.stage4-numbers strong{font-size:18px;color:#10448e;line-height:1.25;overflow-wrap:anywhere}
.stage4-numbers .emphasis{background:#e9faf5;border-color:#c9f1e5}.stage4-numbers .emphasis strong{color:#087f65}
.stage4-secondary{background:#eef5ff!important;color:#0752c1!important;border:1px solid #cddfff!important;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.stage4-review-list{list-style:none;display:grid;gap:13px;padding:0;margin:12px 0 19px}
.stage4-review-list li{font-size:11px;line-height:1.65;color:#365b84;position:relative;padding-left:23px}
.stage4-review-list li:before{content:"✓";position:absolute;left:0;top:0;background:#e1f8ec;border-radius:50%;color:#048966;font-weight:900;width:17px;height:17px;text-align:center;line-height:17px}
.stage4-timeline{list-style:none;padding:5px 0 0;margin:0;display:grid;gap:0}
.stage4-timeline li{display:flex;gap:13px;position:relative;padding:0 0 25px 1px}
.stage4-timeline li:not(:last-child):after{content:"";width:2px;background:#d5e5fa;position:absolute;left:9px;top:23px;bottom:0}
.stage4-time-dot{height:19px;width:19px;background:#0956d3;border-radius:50%;box-shadow:0 0 0 4px #e5f0ff;display:block;flex:none}
.stage4-timeline b{font-size:12px;color:#113971}.stage4-timeline p{font-size:11px;line-height:1.6;color:#6981a2;margin:6px 0}.stage4-timeline small{font-size:10px;color:#8ea1ba;line-height:1.5;display:block}
.stage4-state{display:inline-flex;border-radius:99px;padding:7px 10px;background:#eaf2ff;color:#0758be;font-size:10px;font-weight:800;white-space:nowrap;text-transform:capitalize}
.state-under_review{background:#eef0ff;color:#6854bb}.state-needs_info{background:#fff0d5;color:#906217}.state-approved{background:#dcfaea;color:#158257}.state-rejected,.state-cancelled{background:#ffe9ec;color:#bf4053}
@media(max-width:1050px){.stage4-columns{grid-template-columns:1fr}}
@media(max-width:620px){.stage4-field-grid{grid-template-columns:1fr}.stage4-form-panel{padding:16px}.stage4-numbers strong{font-size:15px}.stage4-photo img{height:195px}.stage4-actions .member-btn{font-size:11px;padding:11px 13px}.plan-switcher a{flex:1;min-width:120px;padding:12px 8px}}


/* Stage 09 Enterprise Admin - extends the approved deep blue / white layout. */
.stage9-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:20px;margin-bottom:20px;align-items:start}
.stage9-permission-table{display:grid;gap:11px}.stage9-permission-table>div{background:#f5f9ff;border:1px solid #e3ebf7;padding:15px;border-radius:12px;display:grid;gap:6px}.stage9-permission-table b{font-size:12px;color:#134783}.stage9-permission-table small{font-size:11px;line-height:1.6;color:#7185a6}
.stage9-table-wrap{max-width:100%;overflow-x:auto;margin-top:16px}.stage9-table{width:100%;border-collapse:collapse;min-width:720px}.stage9-table th{color:#4b6488;background:#f5f8ff;font-size:10px;text-align:left;white-space:nowrap;padding:13px}.stage9-table td{padding:15px 12px;border-bottom:1px solid #e6edf8;font-size:11px;color:#416184;vertical-align:top;line-height:1.55}.stage9-table td b{color:#113d7e}.stage9-table td small{color:#7d92b0}
.stage9-inline{display:flex;flex-wrap:wrap;align-items:end;gap:9px;margin:11px 0}.stage9-inline label{font-size:11px;font-weight:750;display:grid;gap:5px;color:#527098}.stage9-inline input,.stage9-inline select{min-height:38px;border:1px solid #d7e3f4;border-radius:9px;background:white;color:#234b7d;padding:8px 10px;min-width:100px;max-width:260px;font:inherit;font-size:11px}.stage9-inline .member-btn{padding:11px 13px;font-size:11px;white-space:nowrap}
.stage9-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:18px 0}.stage9-metric{border:1px solid #e3edfb;border-radius:15px;padding:19px;background:linear-gradient(150deg,#fff,#f3f8ff);min-width:0;display:flex;flex-direction:column;gap:8px;color:#1256bd;text-decoration:none;box-shadow:0 8px 16px #123b7010}.stage9-metric:nth-child(3n+2){background:linear-gradient(145deg,#fff,#effaf8)}.stage9-metric:nth-child(3n+3){background:linear-gradient(145deg,#fff,#fff8e9)}.stage9-metric-icon{width:37px;height:37px;border-radius:11px;background:#e5efff;display:grid;place-items:center}.stage9-metric>b{font-size:27px;color:#073c95}.stage9-metric span{font-weight:850;font-size:12px;color:#264e86}.stage9-metric small{font-size:10px;color:#8496b2}.stage9-chart{height:200px}.stage9-chart .admin-chart-col small{font-size:8px}
.stage9-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.stage9-link-grid a{background:#eef5ff;border:1px solid #dae9fe;padding:16px;border-radius:10px;font-size:11px;font-weight:800;color:#0d54bc}
.stage9-revisions{display:grid;gap:14px}.stage9-revision{border:1px solid #e0e9f8;border-radius:12px;padding:19px;background:#fbfdff}.stage9-revision-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.stage9-revision b{font-size:13px;color:#154476}.stage9-revision small{display:block;font-size:10px;color:#8c9db1;margin:8px 0}.stage9-revision p{font-size:11px;line-height:1.7;color:#547095}.stage9-revision details{font-size:11px;margin:10px 0}.stage9-whitespace{white-space:pre-line;overflow-wrap:anywhere}.stage9-notice{display:flex;align-items:start;gap:14px;padding:18px 10px;border-bottom:1px solid #e8eff8}.stage9-notice>div{flex:1}.stage9-notice b{font-size:13px;color:#1d4f96}.stage9-notice p{font-size:11px;color:#5f7c9e;margin:7px 0;line-height:1.65}.stage9-notice small{font-size:10px;color:#94a4b8}.stage9-notice form{align-self:center}
@media(max-width:1150px){.stage9-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage9-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.stage9-grid{grid-template-columns:1fr}.stage9-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage9-chart{overflow-x:auto}.stage9-chart .admin-chart-col{min-width:30px}}
@media(max-width:520px){.stage9-metric-grid{gap:9px}.stage9-metric{padding:14px}.stage9-metric>b{font-size:22px}.stage9-link-grid{grid-template-columns:1fr}.stage9-notice{flex-wrap:wrap}.stage9-inline input,.stage9-inline select{max-width:100%}}

.portal-header .portal-icon-btn{position:relative}.stage9-unread{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding:2px;border-radius:99px;background:#e74d5e;color:white;font-size:9px;font-weight:900;display:grid;place-items:center;box-shadow:0 1px 4px #922}
/* Stage 10: add-only design refinements, retaining approved dashboard tokens/layout. */
.stage10-referral-panel{border:1px solid #d8e6fd;box-shadow:0 8px 32px rgba(15,58,135,.055);background:linear-gradient(130deg,#ffffff 75%,#f1f6ff)}
.stage10-referral-panel p{margin:4px 0 12px;color:#667895;font-size:13px}
.stage10-referral-row{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.stage10-referral-row code{flex:1;min-width:160px;padding:14px;border-radius:12px;border:1px solid #dae7fb;background:#f3f7fd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#0844ba}
.stage10-referral-row .member-copy{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.stage10-state{min-width:0;border:1px solid #dce9fb;border-radius:15px;background:#f8fbff;padding:16px;display:flex;flex-direction:column;gap:6px}
.stage10-state b{color:#526a91;font-size:13px}.stage10-state strong{color:#0641aa;font-size:17px}.stage10-state small{color:#6981a4}
@media(max-width:630px){.stage10-referral-row{display:flex;flex-direction:column;align-items:stretch}.stage10-referral-row code{width:100%;min-width:0;flex:auto}.stage10-referral-row .member-copy{width:100%;justify-content:center}}
