
/* Expanded client portal UI — frontend-only modules */
.bbx-section{margin:26px 0 8px;padding:22px;background:linear-gradient(145deg,#101b2d,#0b1422);border:1px solid #2a3c57;border-radius:15px}
.bbx-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.bbx-heading small,.bbx-card>small,.bbx-metrics small{font-size:9px;letter-spacing:.16em;color:#82aaff;font-weight:800}
.bbx-heading h3{font-size:21px;margin:5px 0}
.bbx-heading p,.bbx-card p{font-size:12px;color:#9eacc0;margin:5px 0}
.bbx-state{white-space:nowrap;border:1px solid #8b713b;color:#f2c65d;border-radius:20px;padding:6px 10px;font-size:9px;letter-spacing:.1em}
.bbx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.bbx-card{padding:16px;background:#0b1423;border:1px solid #293b55;border-radius:11px}
.bbx-card h4{font-size:15px;margin:8px 0 4px}
.bbx-card>span{display:inline-block;margin-top:10px;color:#e7c36d;font-size:10px}
.bbx-action-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:18px}
.bbx-action-row label{display:grid;gap:5px;color:#aebbd0;font-size:11px}
.bbx-action-row select{background:#081321;color:#eef3fb;border:1px solid #354963;border-radius:7px;padding:10px;min-width:135px}
.bbx-action-row button{background:#e9bd55;color:#17130a;border:0;border-radius:7px;padding:11px 14px;font-weight:800}
.bbx-footnote{font-size:11px;color:#8f9eb4;margin:14px 0 0;line-height:1.6}
.bbx-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.bbx-metrics>div{background:#0b1423;border:1px solid #293b55;border-radius:10px;padding:13px}
.bbx-metrics b{display:block;font-size:12px;margin-top:8px;color:#e9edf5}
.bbx-steps{list-style:none;padding:0;margin:16px 0;display:grid;gap:9px}
.bbx-steps li{display:flex;align-items:center;gap:12px;padding:12px;background:#0b1423;border:1px solid #293b55;border-radius:9px}
.bbx-steps li>b{color:#e8bd5b;font-size:15px}
.bbx-steps li span{flex:1}
.bbx-steps strong,.bbx-steps small{display:block}
.bbx-steps strong{font-size:12px}
.bbx-steps small{font-size:10px;color:#9aa9be;margin-top:3px}
.bbx-steps em{font-style:normal;color:#e6c56f;font-size:9px;letter-spacing:.08em;text-align:right}
.bbx-empty{padding:28px;text-align:center;border:1px dashed #40516a;border-radius:10px;color:#d5deec;font-size:12px;line-height:2}
.bbx-empty small{color:#92a1b7}
.bbx-toast{position:fixed;bottom:22px;right:22px;z-index:90;max-width:min(90vw,390px);padding:13px 16px;background:#17263c;border:1px solid #d5aa4b;border-radius:10px;color:#f3f5fa;font-size:12px;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}
.bbx-toast.show{opacity:1;transform:translateY(0)}
@media(max-width:700px){.bbx-section{padding:15px;margin:18px 0}.bbx-heading{display:block}.bbx-state{display:inline-block;margin-top:10px}.bbx-grid{grid-template-columns:1fr}.bbx-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.bbx-steps li{align-items:flex-start}.bbx-steps em{max-width:105px}}
