:root{color-scheme:dark;--bg:#080e1c;--panel:#111e30;--panel2:#142239;--text:#eaf1fa;--muted:#95a6bf;--line:rgba(168,185,218,.16);--accent:#4ce0c6;--accent2:#5c98ff;--warning:#ffd28b;--down:#ff7698;--up:#64e2b4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 14% -18%,#1b4260 0,transparent 34%),radial-gradient(circle at 98% 4%,#1b345b 0,transparent 27%),var(--bg);color:var(--text);font-family:Inter,"Microsoft YaHei UI","PingFang SC",Arial,sans-serif;font-size:14px;line-height:1.55;min-height:100vh}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.topbar{height:69px;display:flex;align-items:center;justify-content:space-between;padding:0 27px;background:rgba(10,19,35,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.brand{font-size:19px;letter-spacing:-.5px;font-weight:750;color:var(--text);display:flex;align-items:center;gap:12px}.brand:hover{text-decoration:none}.brand small{display:block;font-size:9px;color:var(--muted);letter-spacing:2.3px;margin-top:-2px}.brand-mark,.auth-mark{display:inline-grid;place-items:center;color:#071522;background:linear-gradient(135deg,#43ead3,#84b9ff);width:37px;height:37px;border-radius:12px;box-shadow:0 0 24px rgba(76,224,198,.15);font-weight:900}.top-right{display:flex;align-items:center;gap:20px}.tag{border:1px solid var(--line);border-radius:30px;color:var(--accent);font-size:11px;padding:5px 11px;letter-spacing:.5px}.identity{color:var(--muted);font-size:12px}.top-right form{margin:0}.app{display:flex;min-height:calc(100vh - 69px)}.sidebar{width:236px;flex:0 0 236px;position:sticky;top:69px;height:calc(100vh - 69px);padding:22px 15px;display:flex;flex-direction:column;overflow:auto;border-right:1px solid var(--line);background:rgba(9,16,30,.70)}.navlink{display:flex;align-items:center;color:var(--muted);font-weight:550;padding:10px 14px;margin:2px 0;border-radius:9px;transition:.16s}.navlink:hover{text-decoration:none;color:var(--text);background:#152b43}.navlink.active{color:var(--accent);background:linear-gradient(90deg,rgba(76,224,198,.15),rgba(76,224,198,.025));border-left:3px solid var(--accent)}.sidebar-foot{font-size:10px;color:#74869e;line-height:2.1;border-top:1px solid var(--line);padding:20px 14px;margin-top:auto}.main{padding:29px 36px 42px;flex:1;min-width:0;max-width:100%}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading h1{font-size:29px;letter-spacing:-.8px;font-weight:750;margin:2px 0}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.3px;color:var(--accent)}.btn{appearance:none;border:1px solid var(--line);background:#20364e;color:var(--text);font-size:12px;font-family:inherit;padding:9px 16px;border-radius:9px;cursor:pointer;font-weight:650;display:inline-block;white-space:nowrap}.btn:hover{background:#2b4761;text-decoration:none}.btn.outline{border-color:rgba(76,224,198,.45);color:var(--accent);background:rgba(76,224,198,.08)}.btn.outline:hover{background:rgba(76,224,198,.16)}.btn.primary{background:linear-gradient(95deg,#4ce0c6,#77bded);color:#092137;border:0;box-shadow:0 6px 20px rgba(76,224,198,.17)}.btn.ghost{background:transparent;border-color:var(--line);color:var(--muted);padding:6px 10px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:14px;margin:0 0 24px}.metric{background:linear-gradient(135deg,rgba(31,51,76,.88),rgba(16,29,49,.95));border:1px solid var(--line);border-radius:15px;padding:20px 22px;min-height:114px;box-shadow:0 14px 30px rgba(0,0,0,.1)}.metric small{font-size:11px;color:var(--muted);display:block;font-weight:550;margin-bottom:13px}.metric b{font-size:24px;line-height:1.35;white-space:normal;word-break:break-word;font-weight:750;letter-spacing:-.5px}.metric span{display:block;font-size:10px;color:var(--muted);margin-top:8px}.panel{background:linear-gradient(180deg,rgba(19,33,53,.97),rgba(15,27,45,.97));border:1px solid var(--line);border-radius:15px;padding:21px 23px;margin:0 0 22px;box-shadow:0 10px 24px rgba(0,0,0,.09)}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:15px}.panel h2{font-size:16px;margin:0;font-weight:700}.muted,.hint{font-size:11px;color:var(--muted)}.hint{padding:11px 0;line-height:1.85}.panel p{margin:11px 0}.table-scroll{overflow:auto;max-width:100%;border:1px solid rgba(185,197,225,.07);border-radius:8px}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}thead{background:#1b3049}th{text-align:right;color:#a9bad0;font-weight:650;position:sticky;top:0;padding:12px 12px;border-bottom:1px solid var(--line)}td{text-align:right;padding:10px 12px;border-bottom:1px solid rgba(165,193,231,.10);color:#d8e5f3;max-width:360px;overflow:hidden;text-overflow:ellipsis}tr:last-child td{border-bottom:none}tbody tr:hover{background:rgba(64,109,147,.11)}td:first-child,th:first-child{text-align:left}.up{color:var(--up)}.down{color:var(--down)}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.chip{border-radius:8px;background:#17273e;border:1px solid var(--line);padding:8px 13px;color:var(--muted);font-size:12px}.chip:hover{background:#223c56;text-decoration:none}.chip.selected{border-color:rgba(76,224,198,.55);color:var(--accent);background:rgba(76,224,198,.09)}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:17px}.form-grid>.field{min-width:0}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:650;color:#a7b9d0}.field input,.field textarea,.field select,select{font-family:inherit;color:var(--text);font-size:13px;background:#0c182a;border:1px solid #34506b;padding:10px 12px;border-radius:8px;width:100%;outline:none;line-height:1.5}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(76,224,198,.08)}.field textarea{resize:vertical;min-height:69px}.field input[type=date]{color-scheme:dark}.form-actions{grid-column:1/-1;display:flex;align-items:center;gap:15px}.alert{background:rgba(255,171,116,.11);border:1px solid rgba(255,185,116,.45);border-radius:10px;color:#ffdfb2;padding:14px 18px;margin:0 0 22px}.info{border-left:3px solid var(--accent2);background:rgba(92,152,255,.08);color:#bacde3;padding:12px 16px;border-radius:6px;font-size:12px;margin-bottom:22px}.empty{text-align:center;padding:27px;color:var(--muted);font-size:13px}.footer{text-align:center;font-size:10px;color:#6f8199;padding:25px 10px}.auth{margin:7vh auto;max-width:450px;padding:35px 40px;border:1px solid var(--line);border-radius:20px;background:var(--panel);box-shadow:0 25px 80px rgba(0,0,0,.30)}.auth-mark{width:49px;height:49px;font-size:25px}.auth h2{margin:20px 0 4px;font-size:23px}.auth p{font-size:12px;color:var(--muted);margin:0 0 25px}.auth form{display:flex;flex-direction:column;gap:15px}.auth button{margin-top:12px}.cell{display:inline-block;font-size:11px;min-width:36px;max-width:265px;text-overflow:ellipsis;overflow:hidden}.cell.formula{color:#7b93b6}.cell.editable{color:#a6e5ff}.chart-tools{display:flex;gap:18px;align-items:center;margin-bottom:14px}.chart-tools select{max-width:290px}.chart-meta{font-size:12px;color:var(--muted)}canvas{display:block;max-width:100%;width:100%;height:320px}.heatmap{display:grid;grid-template-columns:75px repeat(12,minmax(40px,1fr));gap:4px}.heatmap .hm-cell{padding:8px 3px;text-align:center;font-size:10px;border:1px solid rgba(255,255,255,.045);border-radius:4px;font-variant-numeric:tabular-nums;min-height:30px}.heatmap .hm-year{font-weight:700;color:#adc7dc}.heatmap .hm-head{font-size:10px;text-align:center;color:var(--muted)}.heatmap .hm-pos{background:rgba(67,217,171,.16);color:#8df0c1}.heatmap .hm-neg{background:rgba(255,109,139,.15);color:#ffa2b5}.heatmap .hm-zero{background:#1b2d42;color:#8ba5b9}@media(max-width:1150px){.metrics{grid-template-columns:repeat(2,minmax(140px,1fr))}.form-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.main{padding:25px 23px}}@media(max-width:730px){.topbar{padding:0 12px;height:61px}.tag,.identity{display:none}.brand{font-size:16px}.brand small{font-size:7px}.app{display:block}.sidebar{position:static;width:100%;height:auto;flex-direction:row;flex-wrap:nowrap;gap:5px;overflow:auto;padding:7px 9px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-foot{display:none}.navlink{white-space:nowrap;padding:9px 12px;font-size:11px}.main{padding:20px 13px}.page-heading{align-items:flex-start;flex-direction:column;gap:13px}.page-heading h1{font-size:24px}.metrics{gap:8px}.metric{padding:15px;min-height:95px}.metric b{font-size:18px}.metric small{font-size:10px}.panel{padding:14px 12px}.form-grid{grid-template-columns:1fr}.heatmap{grid-template-columns:45px repeat(12,minmax(25px,1fr));gap:2px}.heatmap .hm-cell{padding:7px 0;font-size:8px}.auth{padding:30px 20px;margin:10px 0}}
.sector-bar{width:min(270px,100%);height:9px;border-radius:9px;background:rgba(100,134,159,.15);overflow:hidden}
.sector-bar span{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#2b97a9,#6dd8bb)}
.field input[type=file]{padding:8px}
/* FundLedger 2.0 — product-first, restrained institutional workbench. */
:root{--bg:#07121f;--panel:#101e2f;--panel2:#14253a;--text:#eff6ff;--muted:#a1b3c9;--line:rgba(167,204,231,.13);--accent:#61dcc8;--accent2:#88b6ff}
body{background:radial-gradient(ellipse at 5% 0%,rgba(26,90,116,.29),transparent 35%),radial-gradient(ellipse at 100% 4%,rgba(30,64,121,.23),transparent 38%),#07121f;font-size:13px;line-height:1.65}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #74ead5;outline-offset:3px}
.topbar{background:rgba(7,17,31,.92);height:74px;padding:0 34px;box-shadow:0 5px 28px rgba(0,0,0,.14)}
.brand{letter-spacing:-.8px;font-size:20px}.brand-mark{border-radius:13px;width:39px;height:39px;box-shadow:0 8px 25px rgba(61,216,197,.18)}.brand small{font-size:9px;letter-spacing:1.5px}
.sidebar{top:74px;height:calc(100vh - 74px);width:258px;flex-basis:258px;background:linear-gradient(160deg,rgba(12,25,42,.91),rgba(7,17,30,.92));padding:22px 15px;gap:4px}
.main{padding:35px 40px 50px;max-width:1650px;margin:0 auto}
.page-heading{margin-bottom:24px}.page-heading h1{font-size:27px;line-height:1.3;letter-spacing:-1.2px}.eyebrow{color:#7fabbf;font-size:10px;letter-spacing:1.8px}.export-actions{display:flex;flex-wrap:wrap;gap:6px}.export-actions .btn{padding:8px 13px}
.side-group{margin-top:19px}.side-label{font-size:10px;letter-spacing:1.6px;color:#728aa6;font-weight:850;padding:0 14px;margin:0 0 8px;text-transform:uppercase}
.side-product,.all-products{display:flex;align-items:center;color:#d4e4f3;gap:10px;padding:10px 13px;border-radius:11px;font-size:12px;font-weight:680;border:1px solid rgba(145,187,220,.11);background:rgba(69,95,126,.1);margin-bottom:7px}.side-product:hover,.all-products:hover{border-color:#476a80;text-decoration:none;background:rgba(72,108,136,.23)}.all-products{margin:2px 0 14px;background:rgba(58,211,185,.09);color:#8be8d5;border-color:rgba(81,216,193,.22)}
.side-dot{display:block;width:8px;height:8px;border-radius:50%;background:#62e1c4;box-shadow:0 0 0 4px rgba(98,225,196,.08)}.side-dot.blue{background:#91b2ff;box-shadow:0 0 0 4px rgba(145,178,255,.08)}.side-group .navlink{font-weight:560;margin:1px 0;padding:9px 13px;border-radius:9px;border-left:2px solid transparent}.navlink.active{border-left-color:#62e1c4;color:#eafff7;background:linear-gradient(90deg,rgba(68,219,189,.17),rgba(68,219,189,.015))}
.metric,.panel{background:linear-gradient(145deg,rgba(20,37,57,.95),rgba(11,24,40,.97));border:1px solid rgba(156,195,228,.12);box-shadow:0 15px 35px rgba(1,8,17,.13)}.panel{padding:23px 25px;border-radius:17px}.metric{border-radius:17px}.premium-kpi{position:relative;overflow:hidden}.premium-kpi:before{content:"";position:absolute;right:-45px;top:-85px;width:125px;height:125px;border-radius:50%;background:rgba(93,224,199,.055)}.metric small{letter-spacing:.3px}.metric b{font-size:clamp(19px,1.8vw,27px);font-variant-numeric:tabular-nums;letter-spacing:-.9px}.metric span{margin-top:10px;font-size:10px}
.welcome-hero,.product-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 94% 3%,rgba(88,211,190,.17),transparent 32%),linear-gradient(110deg,#17344b,#101e34 65%);border:1px solid rgba(123,209,209,.23);padding:31px 34px 33px;border-radius:20px;margin-bottom:22px;box-shadow:0 18px 45px rgba(0,0,0,.12)}.welcome-hero:after,.product-hero:after{content:"";position:absolute;right:-55px;bottom:-155px;border:1px solid rgba(129,232,210,.1);border-radius:50%;width:310px;height:310px;pointer-events:none}.hero-eyebrow{font-size:10px;letter-spacing:2px;color:#71c9c3;font-weight:850}.welcome-hero h2,.product-hero h2{font-size:clamp(24px,2.8vw,37px);margin:8px 0 10px;font-weight:760;letter-spacing:-1.1px}.welcome-hero p,.product-hero p{font-size:13px;max-width:660px;color:#b4cde0;margin:0}.hero-quick{display:flex;gap:9px;margin-top:25px;flex-wrap:wrap}.hero-quick a{display:inline-flex;border:1px solid rgba(120,220,211,.27);color:#bdf5eb;padding:7px 13px;border-radius:100px;background:rgba(39,116,120,.12);font-weight:700;font-size:11px}.hero-quick a:hover{text-decoration:none;background:rgba(39,116,120,.3)}
.product-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px;margin:23px 0}.product-card{display:block;position:relative;padding:28px 29px 25px;background:linear-gradient(160deg,#192f46 4%,#0c1d32 90%);border:1px solid rgba(138,189,226,.19);border-radius:20px;color:#eaf5ff;min-height:280px;transition:transform .2s,border-color .2s,box-shadow .2s}.product-card:nth-child(2){background:linear-gradient(150deg,#1b3050,#0d1d33)}.product-card:hover{transform:translateY(-4px);border-color:rgba(99,228,209,.46);text-decoration:none;box-shadow:0 20px 60px rgba(0,0,0,.23)}.product-top{display:flex;justify-content:space-between;align-items:center}.product-logo{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#4ac7ac,#4788a6);font-weight:900;color:#061a29}.product-card:nth-child(2) .product-logo{background:linear-gradient(135deg,#98bbf8,#6376bf)}.product-arrow{font-size:23px;color:#a9c1d4}.product-card small{display:block;font-size:10px;letter-spacing:2px;margin-top:20px;color:#91aabf}.product-card h3{font-size:21px;margin:5px 0 19px}.product-amount{font-size:clamp(20px,2.1vw,29px);font-variant-numeric:tabular-nums;font-weight:800;letter-spacing:-.9px}.product-details{display:flex;justify-content:space-between;gap:8px;color:#a3b7ca;margin-top:18px;font-size:12px}.product-enter{display:block;margin-top:24px;border-top:1px solid rgba(157,204,218,.17);padding-top:15px;font-size:11px;font-weight:700;color:#72e5cd}
.section-title{font-size:15px;letter-spacing:.3px;margin:24px 0 13px}.action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:15px 0 24px}.action-card{display:flex;flex-direction:column;gap:8px;background:linear-gradient(130deg,rgba(23,44,66,.92),rgba(13,28,46,.94));border:1px solid var(--line);padding:20px;border-radius:15px;color:#edf6fc;min-height:167px;transition:transform .17s,border-color .17s}.action-card:hover{text-decoration:none;transform:translateY(-2px);border-color:rgba(94,220,201,.42)}.action-card strong{font-size:14px}.action-card>span:not(.action-icon){font-size:11px;color:#9fb6cc;line-height:1.5}.action-card em{font-style:normal;color:#6cd8c3;font-size:10px;font-weight:700;margin-top:auto}.action-icon{font-size:24px;color:#63e3ce;width:35px;height:38px}
.history-tabs{padding:6px 0;gap:7px}.history-filter{display:flex;align-items:end;gap:12px;margin:0 0 18px;flex-wrap:wrap}.history-filter label{font-size:11px;color:var(--muted);display:flex;flex-direction:column;gap:7px}.history-filter select{min-width:215px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:18px}.pagination span{color:var(--muted);font-size:11px;margin-right:auto}.pagination .btn{padding:7px 12px}
.table-scroll{border-radius:11px;border-color:rgba(151,186,209,.13)}thead{background:#193047}th{font-size:11px;color:#b8cddd}tbody tr:hover{background:rgba(87,150,179,.08)}td{max-width:340px}.panel-head h2{letter-spacing:-.3px}.info{border-left-color:#68d9c9;background:rgba(44,135,139,.095);color:#bedadf;border-radius:10px;padding:14px 18px}.btn{transition:transform .15s,background .15s}.btn:active{transform:translateY(1px)}.chip{border-radius:9px}.chip.selected{color:#a1f8e6;background:rgba(76,224,198,.12)}
@media(max-width:1280px){.action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.main{padding:25px 25px 40px}}
@media(max-width:940px){.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:213px;flex-basis:213px}.product-card{padding:20px}.product-details{flex-wrap:wrap}}
@media(max-width:730px){.topbar{height:62px;padding:0 13px}.main{padding:18px 13px 30px}.sidebar{position:static;height:auto;width:auto;display:flex;flex-direction:row;overflow-x:auto;align-items:center;padding:7px 11px;gap:6px}.sidebar .side-group{margin:0;display:flex;flex-direction:row;align-items:center;flex:0 0 auto}.side-label,.sidebar-foot{display:none}.side-group .navlink{white-space:nowrap;margin:0;padding:9px 12px}.side-product{white-space:nowrap;font-size:11px;margin:0;padding:7px 9px}.all-products{margin:0;white-space:nowrap;padding:9px 12px}.page-heading h1{font-size:22px}.welcome-hero,.product-hero{padding:23px 21px}.product-cards{grid-template-columns:1fr;gap:13px}.product-card{min-height:240px}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.action-card{padding:15px;min-height:155px}.metric b{font-size:18px}.panel{padding:15px 13px}.export-actions{width:100%;overflow-x:auto}.brand small{font-size:8px}}
@media(max-width:380px){.action-grid{grid-template-columns:1fr}.metric b{font-size:16px}.product-card h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
details summary{cursor:pointer;color:#b3e1f3;font-weight:550;white-space:normal;max-width:340px}details[open]{min-width:250px}details p{white-space:normal;line-height:1.8;color:#d5e4f1;max-width:520px;font-size:12px} .history-filter input{min-width:210px;background:#0c182a;border:1px solid #34506b;border-radius:8px;color:var(--text);padding:10px 12px;font-family:inherit}
/* v2.0.1 · EverYoung original-brand blue / sun-gold institutional UI.
   Presentation-only changes: no business formula or authorization modification. */
:root{
 --bg:#091b38;--panel:#11264b;--panel2:#183461;
 --text:#f6f8ff;--muted:#b0c3df;--line:rgba(164,190,235,.20);
 --accent:#f3cb4c;--accent2:#8eb8f5;
 --warning:#ffe19a;--down:#ff969b;--up:#f3d77b;
}
body{
 background:radial-gradient(ellipse at 84% -13%,rgba(70,117,200,.34),transparent 47%),
            radial-gradient(ellipse at 11% 45%,rgba(31,73,146,.30),transparent 42%),
            linear-gradient(150deg,#0a1c3a,#0c2040 48%,#08172d);
 color:var(--text);
}
.topbar{height:82px;background:linear-gradient(90deg,rgba(19,49,104,.97),rgba(11,32,68,.98));
 border-bottom:1px solid rgba(245,205,78,.30);box-shadow:0 8px 35px rgba(0,5,26,.20);padding:0 30px}
.brand{gap:13px;color:#fff;letter-spacing:0;line-height:1.2}
.brand-logo{width:112px;height:70px;object-fit:contain;border-radius:8px;flex-shrink:0;
 box-shadow:0 2px 12px rgba(8,18,46,.20)}
.brand-caption{font-size:18px;letter-spacing:-.3px;font-weight:780}
.brand-caption small{font-size:9px;letter-spacing:1.5px;color:#d9e6fc;margin-top:6px;white-space:nowrap}
.auth-logo{display:block;object-fit:contain;max-width:100%;width:195px;height:auto;
 border-radius:11px;box-shadow:0 9px 32px rgba(2,11,32,.20)}
.auth{background:linear-gradient(160deg,#163465,#102449);border:1px solid rgba(238,203,85,.27)}
.app{min-height:calc(100vh - 82px)}
.sidebar{top:82px;height:calc(100vh - 82px);background:linear-gradient(160deg,#112c57,#0b2044 68%,#071930);
 border-right:1px solid rgba(234,198,76,.16)}
.side-label{color:#a9c3e6;letter-spacing:1.9px}
.side-product,.all-products{background:rgba(102,142,211,.13);border-color:rgba(142,177,229,.2);color:#e8f2ff}
.side-dot{background:#f3ca4a;box-shadow:0 0 0 4px rgba(243,202,74,.12)}
.side-dot.blue{background:#a0beee;box-shadow:0 0 0 4px rgba(160,190,238,.11)}
.all-products{background:rgba(243,202,74,.08);border-color:rgba(243,202,74,.23);color:#f9df8a}
.navlink{color:#bacdeb}
.navlink:hover,.side-group .navlink:hover{background:rgba(132,166,230,.13);color:#fff}
.navlink.active,.side-group .navlink.active{background:linear-gradient(90deg,rgba(241,198,64,.17),rgba(241,198,64,.035));
 border-left-color:#eac543;color:#ffe59a}
.sidebar-foot{color:#9db3d3}
.page-heading h1{color:#fff}
.eyebrow{color:#f0c84e}
.tag{border-color:rgba(243,202,74,.31);color:#f6da88;background:rgba(243,202,74,.07)}
.metric,.panel,.action-card{background:linear-gradient(140deg,rgba(26,52,98,.97),rgba(13,32,66,.97));
 border-color:rgba(166,196,243,.20);box-shadow:0 13px 40px rgba(1,10,31,.17)}
.metric:before,.premium-kpi:before{background:rgba(243,203,80,.08)}
.welcome-hero,.product-hero{background:radial-gradient(circle at 93% 5%,rgba(242,202,77,.16),transparent 31%),
 linear-gradient(115deg,#204783,#153261 72%);border-color:rgba(242,202,77,.27)}
.welcome-hero:after,.product-hero:after{border-color:rgba(242,202,77,.19)}
.hero-eyebrow{color:#f1d478}
.hero-quick a{border-color:rgba(243,202,74,.29);background:rgba(243,202,74,.09);color:#ffdf82}
.hero-quick a:hover{background:rgba(243,202,74,.17)}
.product-card{background:linear-gradient(153deg,#254b90,#122b57 89%);border-color:rgba(170,201,241,.24)}
.product-card:nth-child(2){background:linear-gradient(145deg,#244079,#11244c)}
.product-card:hover,.action-card:hover{border-color:rgba(243,202,74,.52)}
.product-logo{background:linear-gradient(140deg,#f8d96c,#c2a04a);color:#162d50}
.product-card:nth-child(2) .product-logo{background:linear-gradient(140deg,#b5d2f9,#6c9de1);color:#10264a}
.product-enter,.action-card em,.action-icon{color:#ffdc73}
.btn{background:#244570;border-color:rgba(166,196,238,.27)}
.btn:hover{background:#30588a}
.btn.primary{background:linear-gradient(100deg,#f5d668,#dba93b);color:#152b4d;
 box-shadow:0 6px 23px rgba(238,190,55,.2);font-weight:780}
.btn.primary:hover{background:linear-gradient(100deg,#ffe58c,#e7ba56)}
.btn.outline{border-color:rgba(244,204,71,.55);background:rgba(244,204,71,.08);color:#ffe08b}
.btn.outline:hover{background:rgba(244,204,71,.14)}
.chip,.field input,.field textarea,.field select,select{background:#0d2449;border-color:#365887}
.chip.selected{background:rgba(244,203,71,.10);border-color:rgba(244,203,71,.53);color:#ffe6a1}
.field{color:#c7d9f4}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#ebc247;box-shadow:0 0 0 3px rgba(239,194,67,.1)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#ffda73}
thead{background:#254574}
th{color:#dce9fb}
td{color:#e0e9f9}
tbody tr:hover{background:rgba(116,154,222,.12)}
.sector-bar{background:rgba(132,165,210,.20)}
.sector-bar span{background:linear-gradient(90deg,#5b88ca,#f2cd55)}
.info{border-left-color:#f0c54b;background:rgba(240,197,75,.075);color:#d5e2f8}
/* Unified returns calendar: clear neutral blanks, color intensity for return magnitude. */
.returns-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;
 color:#b9cbe9;font-size:11px}
.legend-title{font-weight:780;color:#eef5ff;margin-right:9px}
.legend-key{display:inline-block;font-size:16px;line-height:1}
.legend-plus{color:#f1c756}.legend-minus{color:#a9bde1}.legend-empty{color:#657d9d}
.legend-tip{margin-left:auto;color:#a7c0e5}
.return-scroll{border:1px solid rgba(160,195,244,.23);border-radius:12px}
.return-matrix{min-width:930px;border-collapse:separate;border-spacing:3px;padding:7px}
.return-matrix thead{background:transparent}
.return-matrix th,.return-matrix td{border:0;position:static;max-width:unset;text-align:center}
.return-matrix thead th{padding:10px 5px;color:#e9f0fb;font-weight:750;font-size:12px;white-space:nowrap}
.return-matrix td{font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.05px;padding:11px 3px;
 border-radius:6px;min-width:57px;transition:filter .15s,transform .15s}
.return-matrix td:hover{filter:brightness(1.12);transform:translateY(-1px)}
.return-matrix .return-year{font-weight:820;color:#f4df9e;text-align:center;padding:8px 10px;
 border-radius:7px;background:#203c70;position:sticky;left:0;z-index:1}
.return-matrix th:last-child{color:#f6db7e}
.heat-cell.heat-empty{background:rgba(123,145,181,.10);color:#6d8cae}
.heat-cell.heat-flat{background:rgba(141,173,224,.12);color:#d2e1fb}
.heat-cell.heat-gain{color:#fff2c3;background:rgba(210,166,49,.18)}
.heat-cell.heat-gain.heat-2{background:rgba(213,168,46,.30)}
.heat-cell.heat-gain.heat-3{background:rgba(211,159,35,.48)}
.heat-cell.heat-gain.heat-4{background:rgba(212,149,22,.67);color:#fff}
.heat-cell.heat-loss{color:#e8edff;background:rgba(108,143,213,.20)}
.heat-cell.heat-loss.heat-2{background:rgba(103,130,210,.34)}
.heat-cell.heat-loss.heat-3{background:rgba(94,112,194,.52)}
.heat-cell.heat-loss.heat-4{background:rgba(86,97,172,.74);color:#fff}
.heat-cell.heat-annual{border:1px solid rgba(250,214,107,.53);font-weight:820;min-width:95px}
.return-note{font-size:11px;color:#b2c8e8;line-height:1.8;margin:12px 0 0}
@media(max-width:730px){
 .topbar{height:70px;padding:0 12px}.app{min-height:calc(100vh - 70px)}
 .brand{gap:8px}.brand-logo{width:78px;height:49px}.brand-caption{font-size:14px}
 .brand-caption small{font-size:7px;letter-spacing:.3px;margin-top:4px}
 .sidebar{top:auto;height:auto}.return-scroll{margin:0 -5px}.return-matrix{min-width:885px}
 .legend-tip{margin-left:0;width:100%}
}
/* v2.4.0: view-first navigation and explicit operator/configuration hubs. */
.side-hub{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:6px 7px 12px;padding:12px 15px;border-radius:12px;border:1px solid rgba(240,203,93,.37);background:linear-gradient(100deg,rgba(239,193,61,.19),rgba(64,104,182,.15));color:#ffe3a3;font-size:13px;font-weight:760;transition:background .18s,border-color .18s}
.side-hub:hover{background:rgba(237,193,64,.26);border-color:rgba(255,220,138,.60);text-decoration:none;color:#fff1be}
.side-hub span{font-size:16px;opacity:.88}
.sidebar .side-group:has(.side-hub){margin-bottom:6px}
.action-card{outline-offset:3px}
.action-card:focus-visible,.side-hub:focus-visible,.navlink:focus-visible{outline:2px solid #ffdb71}
@media(max-width:730px){.side-hub{margin:0;padding:10px 12px;white-space:nowrap;font-size:12px}.sidebar .side-group:has(.side-hub){margin:0}}
/* v2.5.0 - focused left-nav disclosure; no intermediary hub needed */
.side-accordion{margin:8px 8px 14px;border:1px solid rgba(255,214,105,.22);border-radius:12px;background:rgba(24,57,109,.29);min-width:0}
.side-accordion>summary{padding:13px 14px;color:#ffdf81;font-weight:800;list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:10px}
.side-accordion>summary::-webkit-details-marker{display:none}
.side-accordion>summary:after{content:'▾';opacity:.8;transition:transform .18s}
.side-accordion:not([open])>summary:after{transform:rotate(-90deg)}
.side-accordion-links{padding:3px 7px 9px;display:grid;gap:2px}
.side-accordion-links .navlink{font-size:12px;margin:0;padding:10px 9px 10px 14px;border-radius:8px;border-left-width:2px}
.sidebar>.side-accordion:first-child{border-color:rgba(241,199,74,.46);background:rgba(233,188,57,.095)}
@media(max-width:730px){.sidebar .side-accordion{flex:0 0 auto;min-width:155px;margin:0}.sidebar .side-accordion-links{position:relative}.sidebar .side-accordion-links .navlink{white-space:nowrap}.side-accordion>summary{padding:9px 12px}}

/* v2.5.1 · custody-confirmation history actions and accessible focused modal */
.nav-history-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.nav-history-heading .btn{font-size:.85rem}
.fund-dialog{border:1px solid #c6d2e9;border-radius:14px;background:#102440;color:#e9f1fd;
 box-shadow:0 20px 70px rgba(0,0,0,.55);padding:1.5rem;width:min(720px,calc(100% - 2rem));max-height:85vh;overflow-y:auto}
.fund-dialog::backdrop{background:rgba(5,12,26,.77);backdrop-filter:blur(3px)}
.fund-dialog .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.8rem}
.fund-dialog h3{margin:0;color:#f2d277;font-size:1.15rem}
.fund-dialog .field{min-width:180px}
.fund-dialog input[readonly]{opacity:.85;background:rgba(134,164,197,.13)}

/* v2.5.15 — broker directory cards: notes are NEVER ellipsized. */
.broker-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:12px 0 22px}
.broker-heading h2{margin:0 0 6px;color:#f6d580;font-size:1.4rem}
.broker-heading .hint{max-width:850px;line-height:1.65;margin:0}
.broker-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px;margin-bottom:24px;align-items:start}
.broker-card{min-width:0;border:1px solid rgba(157,190,228,.33);border-radius:17px;background:linear-gradient(155deg,rgba(30,63,105,.7),rgba(12,30,53,.92));box-shadow:0 12px 28px rgba(0,0,0,.15);padding:20px;display:flex;flex-direction:column;gap:18px}
.broker-card-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;min-width:0}
.broker-card-title small{font-size:10px;letter-spacing:.09em;color:#92b6dc}
.broker-card-title h3{font-size:1.32rem;color:#fff2cb;margin:7px 0 0;overflow-wrap:anywhere;word-break:break-word}
.broker-rule-count{flex:0 0 auto;font-size:11px;color:#d8ebff;background:rgba(117,161,203,.19);border:1px solid rgba(168,199,230,.2);border-radius:20px;padding:6px 9px}
.broker-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.broker-facts>div{min-width:0;display:flex;flex-direction:column;gap:6px}
.broker-facts span,.broker-note>span{font-size:11px;color:#abc5df}
.broker-facts strong{font-size:13px;font-weight:600;color:#e6f0fc;overflow-wrap:anywhere;white-space:normal}
.broker-note{border:1px solid rgba(240,205,114,.22);border-radius:12px;background:rgba(242,204,113,.06);padding:13px;min-width:0}
.broker-note-text{font-size:13px;line-height:1.75;color:#e5effb;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin-top:8px;max-height:none;text-overflow:clip;overflow:visible}
.broker-note-text em{color:#9ab5ce}
.broker-fees{min-width:0;border-top:1px solid rgba(173,196,219,.18);padding-top:14px}
.broker-fees h4{font-size:12px;color:#f1d899;margin:0 0 12px}
.broker-fee-row{padding:8px 0;border-bottom:1px solid rgba(154,185,217,.16)}
.broker-fee-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;line-height:1.5;font-size:12px;color:#cddded}
.broker-fee-summary strong{color:#ffdf95}
.broker-editor{min-width:0;margin-top:11px}
.broker-editor>summary{color:#ffdd89;cursor:pointer;font-size:12px;font-weight:700;padding:9px 11px;background:rgba(178,203,229,.09);border:1px solid rgba(190,211,229,.2);border-radius:8px;list-style:none;display:inline-flex;align-items:center;gap:7px}
.broker-editor>summary::-webkit-details-marker{display:none}
.broker-editor[open]>summary{margin-bottom:11px;background:rgba(232,199,110,.1)}
.broker-editor form{min-width:0;padding:10px;border-radius:10px;background:rgba(8,20,39,.24)}
.broker-editor textarea[name="note"],.broker-create-dialog textarea[name="note"]{min-height:120px;resize:vertical;overflow-y:hidden;white-space:pre-wrap;overflow-wrap:anywhere}
.broker-card-actions{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:6px;border-top:1px solid rgba(154,185,217,.15)}
.broker-card-actions .broker-editor{margin:0}
.broker-delete-form{margin:0}
.broker-delete-disabled{font-size:11px;color:#a7b7c8;line-height:1.5;max-width:210px}
.broker-create-dialog{width:min(720px,calc(100% - 24px))}
@media(max-width:680px){.broker-card{padding:16px}.broker-facts{grid-template-columns:1fr}.broker-heading{align-items:stretch}.broker-heading>button{width:100%}}
