
/* BINAH Studio Design System v46: chromatic hierarchy, not uniform white cards */
:root{
 --bg:#f0f3f7;--surface:#ffffff;--surface2:#f8fafc;--text:#18273c;--muted:#64758a;--line:#e3e9f0;
 --teal:#147b75;--teal2:#19978e;--teal3:#e1f4f0;
 --shadow:0 14px 36px rgba(25,40,72,.065);
 --binah-navy:#15263f;--binah-violet:#6958b7;--binah-blue:#3b70c4;--binah-coral:#cf7057;--binah-mint:#208c7d
}
body{background:var(--bg);color:var(--text)}
.shell{background:radial-gradient(ellipse 45% 30% at 85% 0%,rgba(108,111,195,.07),transparent),var(--bg)}
.sidebar{background:linear-gradient(175deg,#172944 0%,#122f3b 70%,#113b3b 100%);border-right:1px solid rgba(255,255,255,.08)}
.sidebar .brand-row{padding-bottom:28px}
.sidebar .brand-row strong{font-size:17px;letter-spacing:.11em}
.sidebar .brand-mark.small{background:linear-gradient(140deg,#57c6b5,#2e8b9c);box-shadow:0 7px 20px rgba(15,23,42,.25)}
.sidebar nav button{color:#b8c8d6;border:1px solid transparent}
.sidebar nav button:hover{background:rgba(255,255,255,.075)}
.sidebar nav button.active{background:linear-gradient(90deg,rgba(73,186,177,.23),rgba(73,186,177,.055));border-color:rgba(106,221,209,.17);color:#fff;box-shadow:inset 3px 0 0 #61d2c2}
.sidebar .sidebar-bottom{border-top:1px solid rgba(255,255,255,.11);padding-top:18px}
.topbar{background:rgba(248,250,253,.92);border-bottom-color:#e1e7ee}
#userChip{background:linear-gradient(135deg,#e7e3ff,#d7f2ee);color:#3c5380}
.btn.primary{background:linear-gradient(135deg,#167e78,#126b84);box-shadow:0 6px 16px rgba(18,108,132,.17)}
.btn.primary:hover{filter:brightness(1.07)}
.premium-welcome{position:relative;isolation:isolate;overflow:hidden;border-radius:27px;padding:29px 32px 32px;background:linear-gradient(118deg,#172a49 0%,#24436b 55%,#2a777d 115%);box-shadow:0 16px 38px rgba(29,56,92,.15);margin:0 0 20px}
.premium-welcome::before{content:"";position:absolute;z-index:-1;right:-90px;top:-150px;width:410px;height:410px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 52px rgba(255,255,255,.025),0 0 0 108px rgba(255,255,255,.02)}
.premium-welcome::after{content:"";position:absolute;z-index:-1;right:18%;bottom:-95px;width:230px;height:230px;background:radial-gradient(circle,rgba(107,221,199,.2),transparent 65%)}
.premium-welcome .premium-eyebrow{color:#95e4d7}
.premium-welcome h2{color:#fff;font-weight:800}
.premium-welcome p{color:#c5d9e7}
.premium-welcome .btn.primary{background:#fff;color:#1b4761;box-shadow:0 9px 23px rgba(4,20,38,.18)}
.premium-metric{position:relative;overflow:hidden;border:1px solid transparent;box-shadow:0 5px 16px rgba(25,40,72,.045)}
.premium-metric::before{content:"";position:absolute;right:-23px;top:-31px;width:105px;height:105px;border-radius:50%;background:rgba(255,255,255,.33)}
.premium-metric:nth-child(1){background:linear-gradient(140deg,#fff0e8,#ffe4d8);color:#8b4236}
.premium-metric:nth-child(2){background:linear-gradient(140deg,#e8efff,#dbe6ff);color:#2e528e}
.premium-metric:nth-child(3){background:linear-gradient(140deg,#f1ebff,#e7ddff);color:#5a468d}
.premium-metric>span{color:inherit;opacity:.82}
.premium-metric strong{color:inherit;font-weight:850}
.premium-metric small{color:inherit;opacity:.76}
.premium-panel{border-color:#e2e8f0;box-shadow:0 7px 25px rgba(23,43,72,.045)}
.premium-columns .premium-panel:first-child{background:linear-gradient(180deg,#fff 0%,#fff9f6 100%);border-top:4px solid #e2a081}
.premium-columns .premium-panel:nth-child(2){background:linear-gradient(180deg,#fff 0%,#f7f9ff 100%);border-top:4px solid #8ea9e4}
.premium-columns .premium-panel:first-child .premium-eyebrow{color:#b96751}
.premium-columns .premium-panel:nth-child(2) .premium-eyebrow{color:#597bb7}
.premium-priority-list button{background:rgba(255,255,255,.8)}
.premium-clear>span{background:#dff4e8}
.premium-date{background:#e8efff;color:#466bb0}
.premium-shortcuts{margin-top:28px}
.premium-shortcut{border-color:transparent;box-shadow:0 6px 20px rgba(24,44,75,.055)}
.premium-shortcut:nth-child(4n+1){background:linear-gradient(150deg,#dff4ee,#eefaf5);color:#146a60}
.premium-shortcut:nth-child(4n+2){background:linear-gradient(150deg,#e7edff,#f0f4ff);color:#385a9c}
.premium-shortcut:nth-child(4n+3){background:linear-gradient(150deg,#f1e8ff,#f8f1ff);color:#684b9b}
.premium-shortcut:nth-child(4n+4){background:linear-gradient(150deg,#ffede1,#fff6eb);color:#9c6144}
.premium-shortcut:nth-child(4n+1) .premium-shortcut-icon{background:#c8e9dd;color:#146a60}
.premium-shortcut:nth-child(4n+2) .premium-shortcut-icon{background:#d1ddfa;color:#385a9c}
.premium-shortcut:nth-child(4n+3) .premium-shortcut-icon{background:#e2d4f8;color:#684b9b}
.premium-shortcut:nth-child(4n+4) .premium-shortcut-icon{background:#f8ddc8;color:#9c6144}
.premium-shortcut b{color:inherit}
.premium-shortcut small{color:inherit;opacity:.77}
.premium-shortcut .premium-arrow{color:inherit;opacity:.65}
.premium-finance-peek{background:linear-gradient(110deg,#dcebe8,#e3edf4);border-color:#d5e4e7;box-shadow:0 7px 22px rgba(34,83,94,.055)}
.premium-finance-peek .premium-eyebrow{color:#397a79}
.premium-finance-amount strong{color:#1c5662}
.premium-finance-period{background:linear-gradient(105deg,#f8f5ff,#eef5ff);border-color:#e3e5f5}
.premium-finance-summary>div{border:0;box-shadow:0 6px 20px rgba(24,44,75,.045)}
.premium-finance-summary>div:nth-child(1){background:#e2f5ed;color:#156f55}
.premium-finance-summary>div:nth-child(2){background:#fff0e8;color:#a0523f}
.premium-finance-summary>div:nth-child(3){background:#f2ebff;color:#664f99}
.premium-finance-summary>div:nth-child(4){background:linear-gradient(135deg,#1a385b,#27727a)!important;color:#fff}
.premium-finance-summary>div:nth-child(4) small,.premium-finance-summary>div:nth-child(4) span{color:#d6e7ed}
.premium-finance-summary>div:not(:nth-child(4)) small{color:inherit;opacity:.8}
.hub-hero,.space-hero{background:linear-gradient(125deg,#1a3152,#316a81);color:#fff;border-radius:24px}
.hub-hero .smart-kicker,.space-hero .smart-kicker{color:#9fe1d8}
.hub-hero p,.space-hero p{color:#d2e3ed}
.hub-hero .sub{color:#d2e3ed}
.hub-card{transition:transform .16s,border-color .16s,box-shadow .16s}
.hub-card:hover,.space-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px rgba(29,50,84,.12)}
.hub-grid .hub-card:nth-child(4n+1){background:#e9f3f5;border-color:#d4e8e9}
.hub-grid .hub-card:nth-child(4n+2){background:#f0ebff;border-color:#e2d8fb}
.hub-grid .hub-card:nth-child(4n+3){background:#fff0e7;border-color:#f6dfce}
.hub-grid .hub-card:nth-child(4n+4){background:#eaf1ff;border-color:#dbe5fa}
.space-grid .space-card:nth-child(4n+1){background:linear-gradient(145deg,#e5f5ef,#d9ede7);border-color:#cfe9df}
.space-grid .space-card:nth-child(4n+2){background:linear-gradient(145deg,#efeaff,#e5dfff);border-color:#ddd5f7}
.space-grid .space-card:nth-child(4n+3){background:linear-gradient(145deg,#e7efff,#dbe7ff);border-color:#d2e0f6}
.space-grid .space-card:nth-child(4n+4){background:linear-gradient(145deg,#fff0e6,#fce5d5);border-color:#f5dac6}
.space-grid .space-card .space-icon{background:rgba(255,255,255,.7)}
.card{border-color:#e2e9ef}
.card h3{letter-spacing:-.025em}
.badge{background:#e6f1f4;color:#286b7d}
@media(max-width:760px){
 .premium-welcome{padding:24px 20px 26px;border-radius:22px}
 .premium-welcome::before{right:-220px}
 .premium-metric{padding:14px 12px}
 .premium-metric::before{width:70px;height:70px}
 .premium-mobile-nav{background:rgba(247,249,252,.97);border-top:1px solid #dfe6ef;box-shadow:0 -9px 25px rgba(21,38,65,.09)}
 .premium-mobile-nav button.active{color:#2766a1}
 .premium-mobile-nav .premium-mobile-add>span{background:linear-gradient(140deg,#267e8c,#3b6ca6);box-shadow:0 5px 12px rgba(35,96,131,.25)}
}
