/* AREOS unified workspaces: Prospects + editable Reference Numbers */
.ws-hero{background:linear-gradient(115deg,#012b2b,#0b5150);color:#fff;border-radius:13px;padding:23px 25px;margin-bottom:14px;display:flex;gap:20px;align-items:center;justify-content:space-between}
.ws-hero small{font-size:10px;text-transform:uppercase;color:#c1a37b;letter-spacing:.19em;font-weight:700}
.ws-hero h2{font:600 34px 'Cormorant Garamond',Georgia,serif;margin:3px 0;color:#fff}
.ws-hero p{font-size:12px;color:#d2e0da;max-width:650px;line-height:1.55}
.ws-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.ws-btn{font:600 11px 'DM Sans',sans-serif;display:inline-flex;gap:6px;align-items:center;text-decoration:none;padding:10px 13px;border-radius:7px;border:1px solid #bba079;background:#c1a37b;color:#013030;cursor:pointer}
.ws-btn:focus-visible{outline:2px solid #bc9c70;outline-offset:2px}
.ws-btn.ghost{border:1px solid #d3c5a9;background:#fff;color:#345049}
.ws-btn.ghost-dark{border:1px solid #b7a282;background:transparent;color:#f9eee1}
.ws-btn:hover{filter:brightness(1.04)}
.ws-card{border:1px solid #e5e1d7;background:#fff;border-radius:11px;overflow:hidden;margin-bottom:14px}
.ws-card-head{padding:13px 16px;display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid #ebe8e1}
.ws-card-head h3{font-size:14px;color:#013030;font-weight:700}
.ws-card-head p{font-size:10px;color:#908777}
.ws-body{padding:16px}
.ws-info{border:1px solid #e9e1d5;background:#f9f7f1;border-radius:9px;padding:13px 14px;color:#655d51;font-size:11px;line-height:1.6}
.ws-tabs{display:flex;gap:5px;flex-wrap:wrap}
.ws-tab{background:#faf9f5;border:1px solid #e7e0d7;color:#716856;border-radius:7px;font:600 11px 'DM Sans',sans-serif;padding:8px 13px;cursor:pointer}
.ws-tab.on{background:#013030;color:#fff;border-color:#013030}
.ws-input{font:12px 'DM Sans',sans-serif;border:1px solid #cfc8bc;border-radius:7px;padding:9px 11px;background:#fff;color:#143e38;min-width:0}
.ws-input:focus{outline:2px solid #c1a37b}
.ws-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.ws-toolbar .ws-input{width:min(360px,100%);flex:1}
.ws-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.ws-kpi{padding:14px;border-radius:9px;border:1px solid #e6e0d5;background:#fff}
.ws-kpi strong{display:block;font-size:22px;color:#013030;line-height:1.1}
.ws-kpi span{display:block;margin-top:5px;font-size:10px;color:#7d7365}
.ws-tablewrap{overflow:auto;max-height:550px}
.ws-table{width:100%;border-collapse:collapse;font-size:11px;min-width:510px}
.ws-table th{position:sticky;top:0;background:#f9f7f2;padding:11px 14px;border-bottom:1px solid #eae3d9;color:#7e7468;text-align:left;font-size:10px;text-transform:uppercase;z-index:2}
.ws-table td{padding:10px 14px;border-bottom:1px solid #f1ede6;color:#424742}
.ws-table tr:hover td{background:#faf8f4}
.ws-table td:first-child{font-variant-numeric:tabular-nums;font-weight:700;color:#013030;width:110px}
.ws-table td:last-child{width:82px;text-align:right}
.ws-table .ws-editfield{width:100%;min-width:190px;font:11px 'DM Sans',sans-serif;border:1px solid #bdad8c;border-radius:5px;padding:8px}
.ws-status{font-size:11px;color:#7b7061;line-height:1.5}
.ws-status.error{color:#a32d2d}
.ws-portal{height:calc(100vh - 280px);min-height:440px;background:#f7f7f6;position:relative}
.ws-portal iframe{width:100%;height:100%;border:0}
.ws-portal-msg{padding:15px;background:#fff5e6;color:#835c2e;border-top:1px solid #e9d7bb;font-size:11px}
.ws-linkgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ws-linktile{padding:14px;border:1px solid #e6dfd2;background:#fff;border-radius:9px;text-decoration:none;color:#143c37;display:flex;gap:9px;align-items:center;font-size:12px;font-weight:600}
.ws-linktile i{font-size:19px;color:#c1a37b}
.ws-linktile:hover{background:#faf7f0;border-color:#c1a37b}
.ws-add-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ws-add-form .ws-input{min-width:250px;flex:1}
@media(max-width:800px){.ws-hero{flex-direction:column;align-items:flex-start}.ws-hero h2{font-size:30px}.ws-linkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-portal{height:530px}}
@media(max-width:430px){.ws-kpis{grid-template-columns:1fr}.ws-linkgrid{grid-template-columns:1fr}.ws-add-form .ws-input{min-width:0;width:100%}}

/* Banking + Keys: full spreadsheet-style editor */
.ws-sheet-grid{display:grid;grid-template-columns:1fr;gap:14px;padding:0 15px 15px}
.ws-sheet-grid.side-by-side{grid-template-columns:repeat(2,minmax(0,1fr))}
.ws-sheet-pane{border:1px solid #e3ddcf;border-radius:10px;overflow:hidden;min-width:0;background:#fff}
.ws-sheet-pane-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;background:#f7f4ed;border-bottom:1px solid #e3ddcf}
.ws-sheet-pane-head h3{font-size:14px;color:#013030;font-weight:700}
.ws-sheet-pane-head span{color:#897f70;font-size:10px}
.ws-sheet-source{border:1px solid #d8cfbf;border-radius:30px;padding:5px 8px;white-space:nowrap}
.ws-sheet-index{width:42px!important;min-width:40px;max-width:55px;background:#f9f8f5;color:#99938b!important;font-weight:400!important;text-align:center!important}
.ws-sheet-ref{min-width:78px;width:94px!important;font-weight:700!important;color:#013030}
.ws-sheet-table{min-width:390px}
.ws-sheet-table th,.ws-sheet-table td{padding:9px 10px}
.ws-sheet-table td:last-child{width:123px;text-align:right;white-space:nowrap}
.ws-sheet-table .ws-editfield{display:block;min-width:130px;width:100%;font:12px 'DM Sans',sans-serif;border:1.5px solid #c1a37b;background:#fffdf8}
.ws-sheet-table .ws-number-input{min-width:65px;max-width:95px;font-weight:700}
.ws-edit-actions{display:flex;gap:4px;justify-content:flex-end}
.ws-edit-actions .ws-btn{padding:8px 9px}
.ws-sheet-grid .ws-tablewrap{max-height:600px;scrollbar-color:#bdb4a3 #f4f1eb}
@media(max-width:1050px){.ws-sheet-grid.side-by-side{grid-template-columns:1fr}}
@media(max-width:600px){.ws-sheet-grid{padding:0 9px 9px}.ws-sheet-pane-head{padding:12px}.ws-sheet-table{min-width:460px}}

/* Verified portfolio KPI source strip */
.dash-sourcebar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;margin:-4px 0 19px;padding:8px 11px;color:#796f60;background:#f7f4ed;border:1px solid #e9e1d3;border-radius:8px;font-size:10px;line-height:1.5}
.dash-sourcebar span:first-child{display:flex;gap:6px;align-items:center}
.dash-sourcebar i{color:#a38762;font-size:14px}
.dash-source-reload{background:#fff;border:1px solid #d4c7b1;color:#164a45;padding:6px 9px;font:600 10px 'DM Sans',sans-serif;border-radius:7px;cursor:pointer;white-space:nowrap}
.dash-source-reload:hover{background:#eae4d8}
#v-dashboard .sc-s{line-height:1.4;min-height:26px}
#v-dashboard .sc-v{font-variant-numeric:tabular-nums}
@media(max-width:600px){.dash-sourcebar{align-items:flex-start;flex-direction:column}}
