:root{--ink:#192d35;--muted:#78868a;--green:#087568;--deep:#063e3c;--border:#e4eaea;--canvas:#f4f7f7;--red:#c65e56;--orange:#ce8d36;--blue:#668fbe;--radius:14px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);font-size:16px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #59b7a5;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #61ad9e;outline-offset:1px}input,select,textarea{width:100%;border:1px solid #d9e2e1;border-radius:8px;background:#fff;padding:11px 13px;color:var(--ink);min-height:44px}textarea{resize:vertical;min-height:78px}label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:550}label small{font-size:12px;font-weight:400;color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.6px;font-weight:650}h2{font-size:19px;font-weight:650}h3{font-size:16px;font-weight:600}.muted{color:var(--muted)}.number{font-variant-numeric:tabular-nums;letter-spacing:-.4px}.icon{width:18px;height:18px;flex-shrink:0;stroke-width:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:10px 15px;font-size:14px;font-weight:550;min-height:42px;white-space:nowrap;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.primary{background:var(--green);color:#fff}.primary:hover{background:#086154}.secondary{background:#fff;border-color:#dce4e3;color:#38564f}.secondary:hover{background:#f2f7f5}.ghost{background:transparent;border-color:transparent;color:var(--muted);padding:7px;min-height:34px}.ghost:hover{background:#edf3f2;color:var(--green)}.danger{background:#fff2f0;color:var(--red);border-color:#f3d6d1}.pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;padding:4px 8px;border-radius:5px;line-height:1.3;white-space:nowrap;font-weight:500}.neutral{background:#edf2f2;color:#637b7a}.positive{background:#e5f3eb;color:#207255}.negative{background:#faecea;color:#b75c54}.warm{background:#fff1dd;color:#a87530}.up{color:var(--red)}.down{color:var(--green)}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:600}.small-label{font-size:13px;color:var(--muted)}.boot{display:grid;min-height:100vh;place-items:center;color:var(--muted)}
.shell{display:flex;min-height:100vh}.sidebar{width:224px;background:var(--deep);color:#d5e5df;padding:29px 19px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:20}.brand{display:flex;align-items:center;gap:9px;font-size:29px;font-weight:650;color:#fff;letter-spacing:-1.2px}.brand img{width:35px;height:35px}.brand-dot{color:#a3d4b9}.sidebar .brand{margin-left:10px}.workspace-label{display:flex;align-items:center;gap:8px;margin:30px 9px 36px;padding:10px 9px;border:1px solid #ffffff18;border-radius:7px;font-size:12px;color:#b5d1c4}.workspace-label .icon{width:14px}.nav-label{margin:0 14px 12px;font-size:11px;color:#85ac9a;letter-spacing:1px}.side-nav{display:grid;gap:8px}.nav-link{display:flex;align-items:center;gap:11px;padding:13px 14px;border-radius:8px;font-size:14px;color:#bad2c8}.nav-link.active{background:#ffffff12;color:#fff;box-shadow:inset 3px 0 #b0daba}.nav-link:hover{background:#ffffff0a}.nav-count{margin-left:auto;background:#ffffff15;border-radius:5px;padding:2px 6px;font-size:11px}.sidebar-bottom{margin-top:auto;padding-top:40px}.side-goal{background:#ffffff08;border:1px solid #ffffff14;border-radius:10px;padding:16px 14px}.side-goal .small-label{color:#a3c1b1}.side-goal strong{display:block;color:#f3f8f4;font-size:24px;margin:9px 0 13px}.side-goal p{font-size:11px;color:#aac6b8;margin-top:10px}.track{height:6px;border-radius:8px;background:#e5ebea;overflow:hidden}.track>span{height:100%;display:block;border-radius:8px;background:var(--green)}.side-goal .track{background:#ffffff14}.side-goal .track>span{background:#b0daba}.member-link{width:100%;display:flex;align-items:center;gap:9px;background:none;border:0;color:#b8d0c4;font-size:12px;padding:20px 10px 0;text-align:left}.side-foot{color:#709b89;font-size:10px;letter-spacing:1px;margin:24px 10px 0}.workspace{margin-left:224px;flex:1;min-width:0}.topbar{height:68px;background:#ffffffb5;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 max(28px,calc(50% - 592px));gap:14px}.breadcrumb{display:flex;gap:12px;align-items:center;font-size:13px;color:#7a8b8b}.breadcrumb span:last-child{color:#435b60}.topbar-right{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted)}.top-divider{height:22px;width:1px;background:var(--border)}.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#e3eee7;color:#436951;font-weight:600;font-size:13px}.user-info{display:flex;align-items:center;gap:9px}.user-info small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.content{padding:28px 28px 32px;max-width:1240px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.page-heading .eyebrow{color:#879691;margin-bottom:7px;display:block}.page-heading p{font-size:14px;color:var(--muted);margin-top:10px}.heading-actions{display:flex;gap:10px;align-items:center}.demo-note{display:flex;align-items:center;gap:10px;border:1px solid #deebe4;background:#edf5ef;border-radius:8px;padding:11px 14px;font-size:12px;color:#698271;margin-bottom:24px;line-height:1.6}.demo-note .icon{width:16px;height:16px}.demo-note button{margin-left:auto;border:0;background:none;color:#3f7661;font-size:12px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.stat{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:16px 20px}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#6f8382}.stat-label .icon{color:#839c95}.stat-value{font-size:30px;font-weight:620;line-height:1.2;margin:10px 0 7px}.stat-value small{font-size:14px;font-weight:450;letter-spacing:0;margin-left:7px;color:var(--muted)}.stat-foot{font-size:12px;color:#8a9696}.stat-compact .stat-value{font-size:29px}.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 20px;border-bottom:1px solid #edf1f0}.card-head p{font-size:12px;color:var(--muted);margin-top:6px}.segmented{display:flex;background:#f1f4f3;padding:4px;border-radius:7px;gap:3px}.segmented button{border:0;background:none;border-radius:5px;padding:6px 12px;font-size:12px;color:#83908c}.segmented button.selected{background:#fff;color:var(--green);box-shadow:0 1px 3px #18392d10}.table-scroll{overflow:auto;overscroll-behavior-x:contain}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}thead{background:#f8faf9}th{font-size:12px;color:#83928f;font-weight:500;padding:11px 18px}td{padding:12px 18px;border-top:1px solid #edf1f0;font-size:14px;vertical-align:middle}th:not(:first-child),td:not(:first-child){padding-left:16px;padding-right:16px}.stock-name{display:flex;align-items:center;gap:9px}.stock-monogram{width:34px;height:34px;flex-shrink:0;background:#edf3f0;border:1px solid #e5ece7;border-radius:9px;color:#607e6b;font-size:15px;font-weight:600;display:grid;place-items:center}.stock-monogram.hk{color:#777899;background:#f0f0f6;border-color:#e9e8f1}.stock-name strong{font-size:14px;font-weight:600}.stock-code{font-size:11px;color:#8b9896;margin-top:4px;display:flex;align-items:center;gap:7px}.market-label{font-size:10px;background:#f0f3f2;padding:2px 4px;border-radius:3px}.price{font-size:17px;font-weight:600}.price small{font-size:10px;color:#9aa5a3;font-weight:400;margin-left:4px}.quote-time{font-size:10px;color:#9aa5a3;margin-top:4px}.target-price{font-size:15px;font-weight:520}.target-gap{font-size:10px;color:#92a29b;margin-top:4px}.target-gap.hit{color:var(--green);font-weight:500}.price-range{width:96px;height:5px;position:relative;background:#e9efec;border-radius:5px;margin-top:6px}.price-range::after{content:'';position:absolute;width:7px;height:7px;border:2px solid white;border-radius:50%;background:var(--green);top:-1px;left:var(--position,0%);box-sizing:content-box;transform:translateX(-50%)}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:#92a39b;margin-top:4px}.row-actions{display:flex;gap:0}.row-actions .button{padding:4px;min-height:28px;width:28px}.row-actions .icon{width:16px;height:16px}.table-foot{padding:14px 24px;background:#fbfcfb;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:18px;font-size:11px;color:#90a098;line-height:1.6}.page-footer{display:flex;justify-content:space-between;margin-top:25px;font-size:11px;color:#9ba8a4}.loading-icon{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty{padding:45px 24px;text-align:center;color:var(--muted);font-size:14px}.empty .button{margin-top:20px}.notice{padding:12px 16px;font-size:12px;line-height:1.7;border-radius:8px;background:#fff5e4;color:#967332;margin-bottom:18px}
dialog{width:min(620px,calc(100vw - 32px));border:1px solid var(--border);border-radius:16px;padding:0;color:var(--ink);max-height:90vh;box-shadow:0 30px 100px #102e3038}dialog::backdrop{background:#122d3666;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid var(--border)}.modal-head p{font-size:12px;color:var(--muted);margin-top:6px}.modal-body{padding:25px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:19px 17px}.full{grid-column:1/-1}.modal-foot{display:flex;justify-content:flex-end;gap:9px;margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}.form-error{font-size:13px;color:var(--red);line-height:1.6;margin-top:14px}.form-error:empty{display:none}.check-label{display:flex;flex-direction:row;align-items:center;font-weight:400;font-size:13px}.check-label input{width:16px;min-height:16px;accent-color:var(--green)}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);padding:12px 20px;background:#163e35;color:#fff;border-radius:9px;font-size:13px;box-shadow:0 8px 30px #1e493729;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}
.login-body{background:#fff}.login-layout{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.login-cover{background:var(--deep);padding:48px 56px;color:#b8d6c7;display:flex;flex-direction:column;min-height:100vh}.login-cover .brand{font-size:33px}.login-story{margin:auto 0;padding:65px 0;max-width:530px}.login-story .eyebrow{color:#8bac9e;font-size:10px}.login-story h1{font-size:45px;line-height:1.6;letter-spacing:1px;margin:26px 0 20px;color:#f4faf4;font-weight:550}.login-story>p{font-size:14px;color:#9ebeae;line-height:1.8}.login-goal{margin-top:55px;border:1px solid #b8d6c727;border-radius:13px;padding:26px 28px;max-width:390px;background:#ffffff05}.login-goal>span{font-size:12px;color:#9abbab}.login-goal strong{display:block;font-size:35px;font-weight:500;color:#ecf8e7;letter-spacing:-.5px;margin:17px 0 22px;font-variant-numeric:tabular-nums}.login-goal strong span{font-size:14px;color:#a6c9b4;letter-spacing:0;font-weight:400}.goal-rule{height:4px;background:linear-gradient(90deg,#a9ce9a 70%,#ffffff15 70%);border-radius:8px;margin-bottom:18px}.cover-footer{display:flex;justify-content:space-between;gap:12px;color:#87aa98;font-size:11px;letter-spacing:1px}.login-form-side{display:grid;place-items:center;padding:45px}.login-form-wrap{width:100%;max-width:355px}.login-form-wrap h2{font-size:30px;margin-top:27px;margin-bottom:12px;font-weight:600}.login-form-wrap>.muted{font-size:14px;margin-bottom:34px}.login-form-wrap form{display:grid;gap:21px}.login-form-wrap form input{height:49px}.login-submit{margin-top:3px;width:100%;height:48px;justify-content:space-between;padding-inline:18px}.demo-login{border-top:1px solid var(--border);margin-top:30px;padding-top:25px}.demo-account-buttons{display:flex;gap:10px;margin-top:12px}.demo-account-buttons .button{font-size:12px;flex:1;min-height:38px}.demo-login p{font-size:11px;color:#8b9c97;line-height:1.9;margin-top:14px}.demo-login code{font:inherit;color:#60796a}.login-private{display:flex;justify-content:center;align-items:center;gap:7px;color:#92a79d;font-size:11px;margin-top:38px}
@media(min-width:1500px){.content{padding-top:32px}}
@media(max-width:1150px){.sidebar{width:190px;padding-inline:14px}.workspace{margin-left:190px}.content{padding:28px 24px}.topbar{padding:0 24px}.topbar-time{display:none}.stat{padding:16px}.stat-value{font-size:27px}th,td{padding-left:20px}.heading-actions .button{padding-inline:12px}.login-cover{padding:40px}.login-story h1{font-size:37px}}
@media(max-width:780px){.sidebar{width:100%;height:auto;position:sticky;inset:0;flex-direction:row;align-items:center;padding:11px 17px;gap:20px}.sidebar .brand{margin:0;font-size:22px}.brand img{width:28px;height:28px}.workspace-label,.nav-label,.sidebar-bottom,.nav-count{display:none}.side-nav{display:flex;gap:4px;margin-left:auto}.nav-link{font-size:12px;padding:10px 11px;gap:6px}.nav-link .icon{width:16px}.nav-link.active{box-shadow:inset 0 -2px #b0daba}.shell{display:block}.workspace{margin-left:0}.topbar{height:58px;padding:0 20px}.topbar-right{gap:9px}.user-info>div:not(.avatar){display:none}.content{padding:26px 20px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:18px}h1{font-size:27px}.heading-actions{width:100%;justify-content:flex-end}.stats{gap:10px;margin-bottom:21px}.stat{padding:15px}.stat-label{font-size:11px}.stat-label .icon{width:15px;height:15px}.stat-value{font-size:24px;margin:12px 0 8px}.stat-value small{font-size:11px;margin-left:3px}.stat-foot{font-size:10px;line-height:1.6}.card-head{padding:18px;gap:10px}.card-head h2{font-size:16px}.segmented button{padding-inline:8px;font-size:11px}td{padding-block:12px}table{min-width:850px}.table-foot{padding:13px 18px;flex-direction:column;gap:4px}.page-footer{font-size:10px;line-height:1.7;gap:20px}.demo-note{font-size:11px;align-items:flex-start}.demo-note button{line-height:1.8}.login-layout{grid-template-columns:1fr}.login-cover{min-height:auto;padding:24px 28px}.login-story{padding:35px 0 0;margin:0}.login-story .eyebrow{font-size:9px}.login-story h1{font-size:29px;line-height:1.55;margin:16px 0 12px}.login-story>p{font-size:12px}.login-goal,.cover-footer{display:none}.login-form-side{padding:35px 25px 40px}.login-form-wrap h2{font-size:26px;margin-top:18px}.login-private{margin-top:25px}}
@media(max-width:430px){.sidebar{gap:8px}.nav-link{padding:10px 8px}.nav-link .icon{display:none}.content{padding-inline:15px}.stat{padding:13px 11px}.stat-label .icon{display:none}.stat-value{font-size:22px}.stat-value small{display:none}.stats{gap:7px}.demo-note .icon{display:none}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.modal-body{padding:22px}.page-footer span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.user-menu{border:0;background:none;padding:0;color:inherit;text-align:left;font-size:12px;border-radius:7px}.user-menu:hover{background:#eff4f0}
[hidden]{display:none!important}.fire-overview{display:grid;grid-template-columns:1.05fr 1fr;gap:16px;margin-bottom:20px}.goal-panel{border-radius:var(--radius);background:linear-gradient(115deg,#07453f,#1b5f4b);color:#e9f3eb;padding:22px 24px;overflow:hidden}.goal-panel-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:#b6d1bf}.goal-badge{font-size:10px;border:1px solid #ffffff22;border-radius:5px;padding:5px 8px;color:#c1dbc7}.goal-amount{font-size:40px;font-weight:500;margin-top:18px;letter-spacing:-1.2px}.goal-amount>span{font-size:14px;font-weight:400;letter-spacing:0;color:#a8c4b3;margin-left:5px}.goal-monthly{font-size:12px;color:#93bda4;margin-top:8px}.goal-progress-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;font-size:12px;color:#b3cfbb}.goal-progress-label strong{color:#e8f6e6;font-size:13px;font-weight:550;margin-left:5px}.goal-progress{background:#ffffff1c;height:7px;margin-top:12px}.goal-progress>span{background:#b3d7a3}.goal-detail{display:flex;justify-content:space-between;gap:18px;margin-top:18px;font-size:11px;color:#a6c5b1;line-height:1.7}.goal-detail strong{font-size:12px;color:#d6eada;font-weight:500;margin-left:6px}.allocation-overview{padding:20px}.allocation-overview-head{display:flex;justify-content:space-between;gap:14px;align-items:center}.allocation-overview-head h2{font-size:16px}.allocation-overview-head .small-label{font-size:11px}.allocation-visual{display:flex;align-items:center;gap:20px;height:calc(100% - 20px);padding-top:15px}.donut{width:142px;height:142px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;transform:rotate(-90deg)}.donut>div{width:114px;height:114px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(90deg)}.donut span{font-size:11px;color:#82928a}.donut strong{font-size:23px;margin-top:8px;font-weight:600}.allocation-legend{display:grid;gap:18px;flex:1}.allocation-legend>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.legend-label{display:flex;align-items:center;gap:7px;color:#788b7e;white-space:nowrap}.legend-label i{width:7px;height:7px;flex-shrink:0;border-radius:2px}.allocation-legend strong{font-size:12px;font-weight:500;white-space:nowrap}.fire-stats .stat-value{font-size:28px}.fire-stats .stat-foot{line-height:1.8;font-size:11px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:32px 0 17px}.section-heading h2{font-size:18px}.section-heading>span{font-size:11px;color:#95a198}.allocation-cards{display:grid;gap:19px}.category-heading{display:flex;align-items:center;gap:11px}.category-bar{width:4px;height:33px;border-radius:4px;flex-shrink:0}.category-count{font-size:10px;font-weight:400;color:#929e97;background:#f2f5f2;padding:3px 6px;margin-left:10px;border-radius:4px}.category-summary{display:flex;align-items:center;gap:16px}.category-summary strong{font-size:16px;font-weight:550}.category-summary>span{font-size:11px;color:#8d9c93}.allocation-name{font-size:14px;font-weight:550}.allocation-note{display:block;font-size:10px;color:#92a197;margin-top:6px;max-width:200px;white-space:normal;line-height:1.7}.allocation-table th{font-size:11px}.allocation-table td{padding-block:20px}.allocation-table td strong.number{font-size:14px;font-weight:500}.annual-returns-card{margin-bottom:28px}.annual-returns-table td{padding-block:20px}.annual-return-note{max-width:300px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:var(--muted);line-height:1.7}.annual-returns-table{width:100%}.annual-returns-table .number small{font-size:11px;color:var(--muted);font-weight:400}.goal-plan-note{font-size:11px;color:#99bca6;margin-top:13px}.goal-detail{flex-wrap:wrap}.member-list{display:grid;gap:16px}.member-row{display:flex;align-items:center;gap:13px;padding:10px 0}.member-row>div{flex:1;min-width:0}.member-row strong{font-size:14px;font-weight:550}.member-row>div>span{display:block;font-size:12px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.member-row>.pill{font-size:11px}
@media(max-width:1250px){.fire-overview{grid-template-columns:1fr 1fr}.goal-panel{padding:23px}.goal-amount{font-size:35px}.allocation-overview{padding:22px}.allocation-visual{gap:16px}.donut{width:125px;height:125px}.donut>div{width:101px;height:101px}.donut strong{font-size:20px}.allocation-legend{gap:15px}.allocation-legend>div{flex-wrap:wrap;gap:4px}.allocation-legend strong{margin-left:14px}.goal-detail{gap:10px;flex-direction:column}.fire-stats .stat-value{font-size:25px}.category-summary{gap:8px;flex-direction:column;align-items:flex-end}}
@media(max-width:1000px){.fire-overview{grid-template-columns:1fr}.goal-detail{flex-direction:row}.allocation-visual{height:auto;padding-top:25px;gap:35px}.allocation-legend{gap:20px}.allocation-legend>div{flex-wrap:nowrap}.donut{width:150px;height:150px}.donut>div{width:124px;height:124px}.allocation-overview{padding:24px}.fire-stats .stat-value{font-size:22px}}
@media(max-width:780px){.fire-overview{gap:17px}.goal-panel{padding:25px}.goal-amount{font-size:39px}.fire-stats{grid-template-columns:1fr}.fire-stats .stat{padding:20px;position:relative}.fire-stats .stat-value{font-size:28px}.fire-stats .stat-label{font-size:12px}.fire-stats .stat-foot{font-size:11px}.fire-stats .stat-label .icon{width:17px}.category-heading h2{font-size:15px}.category-heading p{font-size:10px;max-width:200px;line-height:1.6}.category-summary strong{font-size:14px}.category-summary>span{font-size:10px}.category-count{display:none}.section-heading{flex-wrap:wrap;gap:8px}.section-heading>span{font-size:10px}.allocation-table{min-width:820px}.annual-returns-table{min-width:690px}.annual-returns-card .card-head{align-items:flex-start}.annual-returns-card .card-head p{max-width:230px;line-height:1.7;font-size:11px}.annual-returns-card .button{padding-inline:11px;font-size:12px}.goal-detail{font-size:11px}.goal-detail strong{display:block;margin-left:0;margin-top:3px}.goal-panel-top{font-size:12px}}
@media(max-width:430px){.goal-panel{padding:22px}.goal-amount{font-size:34px}.goal-badge{font-size:9px}.goal-progress-label{font-size:11px}.goal-progress-label strong{font-size:12px}.allocation-visual{gap:22px}.allocation-overview{padding:20px}.allocation-legend{gap:15px}.allocation-legend>div{flex-direction:column;align-items:flex-start;gap:4px}.donut{width:132px;height:132px}.donut>div{width:108px;height:108px}.category-summary strong{font-size:12px}.category-summary{white-space:nowrap}}

/* Unified investment plan */
.plan-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}
.plan-metric{padding:16px 20px}
.plan-metric+.plan-metric{border-left:1px solid var(--border)}
.plan-metric>span{display:block;font-size:12px;color:#6f8382}
.plan-metric>strong{display:block;font-size:28px;font-weight:620;margin:9px 0 6px;line-height:1.3}
.plan-metric>p{font-size:11px;color:#8a9696;line-height:1.7}
.allocation-overview .donut strong{font-size:18px;letter-spacing:-.7px}
.allocation-overview .allocation-legend{gap:15px}
.investments-card .card-head{padding-block:18px}
.investments-card .card-head h2{font-size:20px}
.investments-table{min-width:980px;table-layout:fixed}
.investments-table thead th{font-size:11px;padding-block:11px}

.investment-category-row>th{padding:10px 18px;background:#f4f8f6;border-block:1px solid #e6eee9}
.investment-category{display:flex;justify-content:space-between;align-items:center;gap:24px}
.investment-category-title{display:flex;align-items:center;gap:10px}
.investment-category-title>i{width:4px;height:19px;border-radius:3px;flex-shrink:0}
.investment-category-title>h3{font-size:14px;font-weight:600;color:#324e43}
.investment-category-title>span{font-size:10px;color:#93a29a;font-weight:400}
.investment-category-summary{display:flex;align-items:center;gap:18px;font-size:11px;color:#8a9b92;font-weight:400}
.investment-category-summary strong{font-size:12px;font-weight:550;color:#53695f;margin-left:5px}
.category-add{display:flex;align-items:center;gap:4px;border:0;background:transparent;padding:3px 0;color:var(--green);font-size:11px}
.category-add .icon{width:13px;height:13px}
.investments-table .investment-row>td{padding-block:12px}
.investment-name{font-size:14px;font-weight:550}
.investment-subtitle{display:block;margin-top:4px;max-width:230px;color:#92a197;font-size:10px;line-height:1.7;white-space:normal}
.income-source{font-size:12px;color:#6a8174;white-space:normal;overflow-wrap:anywhere}
.investment-row strong.number{font-size:14px;font-weight:550}
.investment-row .number small{font-size:10px;color:#93a29a;font-weight:400;letter-spacing:0}
.investment-note{max-width:230px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:#82938b;line-height:1.7}
.asset-share{font-size:12px;color:#627b6c}
.pending-amount{font-size:12px;color:#ad8b50}
.fill-asset{display:flex;align-items:center;gap:5px;border:0;background:transparent;padding:0;margin-top:7px;color:var(--green);font-size:10px}
.fill-asset .icon{width:12px;height:12px}
.investment-empty>td{font-size:12px;color:#99a69f;padding-block:13px;background:#fcfdfc}
.investment-form [hidden]{display:none!important}
@media(max-width:1250px){.plan-metric{padding:16px 18px}.plan-metric>strong{font-size:24px}}
@media(max-width:780px){
  .plan-metrics{grid-template-columns:1fr;margin-bottom:22px}
  .plan-metric{padding:15px 18px}
  .plan-metric+.plan-metric{border-left:0;border-top:1px solid var(--border)}
  .plan-metric>strong{font-size:27px;margin-block:10px 6px}
  .investments-card .card-head{align-items:flex-start;gap:12px;padding-block:17px}
  .investments-card .card-head h2{font-size:18px}
  .investments-card .card-head p{max-width:240px;line-height:1.7;font-size:11px}
  .investments-card .card-head>.small-label{font-size:10px;white-space:nowrap;padding-top:3px}
  .investment-category-row>th{padding-left:20px}
  .allocation-overview .allocation-legend{gap:16px}
}

/* Watchlist judgment memo */
.stocks-table{min-width:1040px;table-layout:fixed}.stock-memo-heading,.stock-memo-cell{width:auto;min-width:0;max-width:none}.stock-memo{display:flex;align-items:flex-start;gap:10px;width:100%;padding:5px 6px;margin:-5px -6px;border:0;border-radius:7px;background:transparent;color:#97a79e;text-align:left;white-space:normal;line-height:1.6;font-size:13px}.stock-memo.has-memo{color:#536d63}.stock-memo:hover{background:#f0f6f2;color:var(--green)}.stock-memo .icon{width:14px;height:14px;margin-top:5px;opacity:.45}.stock-memo:hover .icon,.stock-memo:focus-visible .icon{opacity:1}.memo-preview{flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.memo-editor{min-height:185px;line-height:1.8}.memo-full{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9}
@media(max-width:780px){.stock-memo-heading,.stock-memo-cell{width:auto;min-width:0}.stock-memo{font-size:13px}}

/* Keep table columns aligned without stretching short labels. */
.investments-table .col-project{width:17%}
.investments-table .col-source{width:12%}
.investments-table .col-asset{width:15%}
.investments-table .col-return{width:21%}
.investments-table .col-share{width:8%}
.investments-table .col-note{width:20%}
.investments-table .col-actions{width:7%}
.stocks-table .col-stock{width:17%}
.stocks-table .col-quote{width:11%}
.stocks-table .col-memo{width:18%}
.stocks-table .col-buy,.stocks-table .col-sell{width:12%}
.stocks-table .col-status{width:15%}
.stocks-table .col-actions{width:7%}
.stocks-table th,.stocks-table td,.investments-table th,.investments-table td{padding-inline:12px}
.stocks-table th:first-child,.stocks-table td:first-child,.investments-table th:first-child,.investments-table td:first-child{padding-left:18px}
.stocks-table th:last-child,.stocks-table td:last-child,.investments-table thead th:last-child,.investments-table .investment-row>td:last-child{padding-inline:8px}
.investments-table .investment-category-row>th{padding-inline:18px}
.stocks-table .range-labels{max-width:96px}
.stocks-table tbody tr>td:last-child .row-actions,.investments-table .investment-row>td:last-child .row-actions{justify-content:flex-end}

/* Linked dividend data uses compact columns within the shared investment card. */
.heading-hint{display:block;margin-top:4px;font-size:10px;color:#9aaba2;font-weight:400}
.stocks-table{min-width:1170px}
.stocks-table .col-stock{width:14%}
.stocks-table .col-quote{width:9%}
.stocks-table .col-earnings{width:8%}
.stocks-table .col-yield{width:9%}
.stocks-table .col-memo{width:16%}
.stocks-table .col-eps{width:9%}
.stocks-table .col-buy,.stocks-table .col-sell{width:9%}
.stocks-table .col-status{width:10%}
.stocks-table .col-actions{width:7%}
.stocks-table th,.stocks-table td{padding-inline:10px}
.stocks-table .stock-name{gap:9px}
.stocks-table .stock-monogram{width:30px;height:30px;flex-shrink:0}
.stocks-table .stock-name strong{font-size:13px}
.stocks-table .target-gap{font-size:9px}
:is(.stock-payout,.stock-eps){display:flex;align-items:center;gap:5px;max-width:100%;padding:3px 0;border:0;background:none;font-size:12px;color:#4d685b;text-align:left;white-space:nowrap;border-radius:4px}
:is(.stock-payout,.stock-eps):hover{color:var(--green)}
:is(.stock-payout,.stock-eps).pending-amount{color:#ad8b50}
:is(.stock-payout,.stock-eps) .icon{width:12px;height:12px;opacity:.4}
:is(.stock-payout,.stock-eps):hover .icon{opacity:1}
.eps-period{white-space:nowrap;font-size:10px}
.dividend-yield{font-size:12px;font-weight:500;color:#4d7764}
.dividend-table{min-width:1120px}
.dividend-table .col-project{width:15%}
.dividend-table .col-shares{width:9%}
.dividend-table .col-purchase{width:10%}
.dividend-table .col-dividend{width:12%}
.dividend-table .col-yield{width:7%}
.dividend-table .col-asset{width:13%}
.dividend-table .col-return{width:16%}
.dividend-table .col-note{width:11%}
.dividend-table .col-actions{width:7%}
.dividend-table .dividend-columns>th{font-size:11px;padding-block:10px;background:#fcfdfc;border-bottom:1px solid var(--border)}
.dividend-table .investment-row strong.number{font-size:13px}
.dividend-table .investment-row .investment-subtitle{font-size:10px;line-height:1.6}
.dividend-table .investment-row>td{padding-block:13px}
.dividend-source-preview{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#f4f8f5;border:1px solid #e3ece5;border-radius:9px;padding:15px 17px;margin-top:19px}
.dividend-source-preview span{display:block;font-size:11px;color:#7a8e80}
.dividend-source-preview strong{display:block;margin-top:8px;font-size:17px;font-weight:550}
.field-explanation{font-size:11px;color:#879a8c;line-height:1.8}
.dividend-source-preview+.field-explanation{margin-top:14px}
#dividend-holding-fields{padding:16px;background:#f5f9f6;border:1px solid #e3ece5;border-radius:9px;gap:15px}
input[readonly]{background:#f3f6f4;color:#658271}
.investment-form small{line-height:1.7}
.card-head>div:first-child{min-width:0}
.segmented{flex-shrink:0}
.segmented button{white-space:nowrap}
.eps-summary{margin-top:0}
.eps-summary>div:last-child>strong{font-size:15px;line-height:1.5}
.eps-facts{display:grid;gap:14px;margin-top:23px;font-size:12px;line-height:1.7}
.eps-facts>div{display:grid;grid-template-columns:86px 1fr;gap:12px}
.eps-facts dt{color:#8b9c91}
.eps-facts dd{margin:0;color:#4d685b;overflow-wrap:anywhere}
.eps-facts a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.eps-calculation{display:grid;gap:10px;border-block:1px solid var(--border);padding-block:16px;margin-block:20px;font-size:11px;color:#83988a}
.eps-calculation>div{display:flex;justify-content:space-between;gap:16px;line-height:1.8}
.eps-calculation strong{color:#4b6e58;font-size:12px;white-space:nowrap}
.eps-notice{margin-top:18px;margin-bottom:0}

.stock-payout{font-size:10px;margin-top:3px;color:#83988a}
.earnings-yield{font-size:12px;font-weight:500;color:#4d685b}
.stocks-table .col-buy{width:15%}
.stocks-table .col-memo{width:14%}
.stocks-table .col-status{width:8%}
.stocks-table .col-actions{width:5%}
.stock-buy-prices{white-space:normal}
.valuation-option{padding:5px 6px;border-radius:5px}
.valuation-option+.valuation-option{margin-top:6px}
.valuation-option.reached{background:#eff6f1}
.valuation-price-line{display:flex;align-items:center;justify-content:space-between;gap:5px;line-height:1.5}
.valuation-label{font-size:10px;color:#83988a;white-space:nowrap}
.valuation-price-line strong{font-size:12px;font-weight:550;color:#355f4b;white-space:nowrap}
.stock-valuation{display:flex;align-items:center;gap:4px;max-width:100%;padding:2px 0 0;border:0;border-radius:3px;background:none;text-align:left;font-size:10px;color:#8a9e90;white-space:nowrap}
.stock-valuation .icon{width:10px;height:10px;opacity:.4}
.stock-valuation:hover,.stock-valuation:hover .icon{color:var(--green);opacity:1}
.target-reached{font-size:9px;color:#82988a;margin-top:6px;white-space:normal;line-height:1.6}
.stocks-table .col-stock{width:13%}
.stocks-table .col-eps{width:8%}
.stocks-table .col-memo{width:12%}
.stocks-table .col-status{width:12%}
.price-status-cell{white-space:normal}
.price-comparison{margin-top:8px}
.comparison-current-label{display:flex;align-items:center;gap:5px;font-size:9px;line-height:1.3;color:#617b6c}
.comparison-current-label i,.legend-current{display:block;width:0;height:0;border-inline:3px solid transparent;border-top:5px solid #314a40;flex-shrink:0}
.comparison-axis{position:relative;height:40px}
.comparison-track{position:absolute;left:0;right:0;top:20px;height:4px;border-radius:3px;background:#e5ece8}
.comparison-current{position:absolute;top:16px;width:0;height:0;border-inline:4px solid transparent;border-top:6px solid #314a40;transform:translateX(-50%);z-index:3}
.comparison-target{position:absolute;top:22px;width:0;height:0;z-index:2}
.comparison-target::before{content:'';position:absolute;left:-.5px;top:var(--stem-top);height:var(--stem-height);width:1px;background:var(--point-color)}
.comparison-target::after{content:'';position:absolute;left:-4px;top:calc(var(--marker-offset) - 4px);width:6px;height:6px;border:1px solid white;border-radius:50%;background:var(--point-color);box-shadow:0 0 0 1px var(--point-color)}
.yield-point{--point-color:#287968}
.growth-point{--point-color:#7c70ad}
.sell-point{--point-color:#c69245}
.comparison-values{position:relative;font-size:9px;line-height:1.3}
.comparison-values strong{position:absolute;transform:translateX(-50%);font-weight:500;color:var(--point-color);white-space:nowrap}
.price-chart-legend{display:grid;grid-template-columns:repeat(2,max-content);column-gap:9px;row-gap:5px;margin-top:8px;font-size:9px;font-weight:400;line-height:1.3;color:#809487}
.price-chart-legend span{display:flex;align-items:center;gap:5px;white-space:nowrap}
.legend-dot{display:block;width:5px;height:5px;border-radius:50%;background:var(--point-color);flex-shrink:0}

/* Asset journal */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.notes-source-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border:1px solid #dfe8e2;border-radius:10px;background:#edf4ef;color:#5f7b6c;margin-bottom:20px;font-size:12px}
.notes-source-bar>div{display:flex;align-items:center;gap:12px;min-width:0}
.notes-source-bar>div>span{overflow-wrap:anywhere;line-height:1.5}
.notes-source-bar small{display:block;font-size:10px;color:#8ca091;margin-top:4px}
.notes-source-bar .button{font-size:11px;flex-shrink:0}
.notes-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}
.notes-list-head{padding:18px 16px;border-bottom:1px solid var(--border)}
.notes-list-head h2{font-size:15px;margin-bottom:15px}
.notes-list-head .small-label{font-size:11px;font-weight:400}
.notes-search-label{margin-bottom:12px}
.notes-search-label input{font-size:11px;min-height:37px;padding:9px 10px;background:#fafcfb}
.notes-list-head .segmented{justify-content:space-between}
.notes-list-head .segmented button{flex:1}
.notes-items{max-height:65vh;overflow:auto}
.note-list-item{display:block;width:100%;padding:17px 16px;border:0;border-bottom:1px solid #edf1ee;background:#fff;text-align:left;color:#577364}
.note-list-item:last-child{border-bottom:0}
.note-list-item:hover{background:#f8faf8}
.note-list-item.selected{background:#eff6f1;box-shadow:inset 3px 0 #287968}
.note-list-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#93a296;margin-bottom:9px}
.note-list-meta>span{background:#ffffff9c;padding:2px 5px;border-radius:4px}
.note-list-item strong{display:block;font-size:13px;font-weight:550;line-height:1.6;overflow-wrap:anywhere}
.note-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:10px;line-height:1.8;color:#95a69a;margin-top:6px}
.notes-list-empty{padding:30px 16px;text-align:center;font-size:12px;color:#9aa99e}
.note-reader{min-height:470px;padding:27px 30px}
.note-reader-head{padding-bottom:24px;border-bottom:1px solid #e8eee9;margin-bottom:24px}
.note-reader-meta{display:flex;align-items:center;gap:16px;font-size:10px;letter-spacing:.5px;color:#96a79a;margin-bottom:13px}
.note-reader-head h2{font-size:25px;line-height:1.5;font-weight:550;color:#345b45;overflow-wrap:anywhere}
.note-reader-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:19px}
.note-reader-actions .button{font-size:11px;min-height:33px;padding:7px 11px;flex-shrink:0}
.note-reader-actions>span{font-size:10px;color:#9aab9e;overflow-wrap:anywhere;text-align:right}
.note-reading{padding:80px 15px;text-align:center;font-size:13px;color:#8fa194;line-height:1.8}
.note-reading .button{margin-top:20px}
.notes-welcome{min-height:410px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;gap:17px}
.notes-welcome>.icon{width:34px;height:34px;color:#8cac97;stroke-width:1.2;margin-bottom:3px}
.notes-welcome .eyebrow{font-size:9px;color:#a1b1a4;letter-spacing:3px}
.notes-welcome h2{font-size:21px;font-weight:500;color:#587963;line-height:1.5}
.notes-welcome p{font-size:12px;color:#99aa9d;line-height:1.9;max-width:330px}
.notes-welcome .button{font-size:12px;margin-top:7px}
.notes-welcome-topics{display:flex;gap:14px;margin-top:18px;font-size:10px;color:#a6b6a8}
.notes-welcome-topics span+span{border-left:1px solid #e5ece5;padding-left:14px}
.asset-note-editor{min-height:300px;font-family:ui-monospace,SFMono-Regular,Menlo,'PingFang SC',monospace;font-size:12px;font-weight:400;line-height:1.9}
.note-editor-tools{display:flex;justify-content:flex-end;margin-top:8px}
.note-editor-tools .button{font-size:11px}
.note-editor-preview{padding:18px;background:#f8fbf8;border:1px solid var(--border);border-radius:8px;margin-top:10px}
.markdown-body{font-size:13px;line-height:1.9;color:#60796a;overflow-wrap:anywhere;max-width:76ch}
.markdown-body>*+*{margin-top:16px}
.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{color:#355d46;font-weight:550;line-height:1.6;margin-top:25px}
.markdown-body h1{font-size:23px}.markdown-body h2{font-size:19px}.markdown-body h3{font-size:16px}.markdown-body h4,.markdown-body h5,.markdown-body h6{font-size:14px}
.markdown-body>:first-child{margin-top:0}
.markdown-body ul,.markdown-body ol{padding-left:23px}
.markdown-body li{padding-left:3px;margin-block:6px}
.markdown-body li p{margin-block:6px}
.markdown-body a{color:#287968;text-decoration:underline;text-underline-offset:3px}
.markdown-body blockquote{margin-inline:0;padding:11px 17px;border-left:3px solid #aac9b4;background:#f3f8f3;color:#87998b}
.markdown-body blockquote>*+*{margin-top:12px}
.markdown-body code{padding:2px 5px;background:#f0f4f0;border-radius:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#55745e}
.markdown-body pre{padding:16px;background:#f3f7f3;border:1px solid #e5ede6;border-radius:8px;overflow:auto;line-height:1.8}
.markdown-body pre code{padding:0;background:none}
.markdown-body hr{border:0;border-top:1px solid #e1e9e2;margin-block:24px}
.markdown-body input[type=checkbox]{width:13px;min-height:13px;margin:0 7px 0 0;accent-color:#287968}
.markdown-table{overflow:auto}
.markdown-body table{min-width:0;white-space:normal;font-size:12px}
.markdown-body th,.markdown-body td{font-size:12px;padding:9px 12px}
@media(max-width:1050px){.notes-layout{grid-template-columns:225px minmax(0,1fr);gap:14px}.note-reader{padding:22px}.note-reader-head h2{font-size:22px}}
@media(max-width:850px){.notes-layout{grid-template-columns:1fr}.notes-items{max-height:240px}.note-reader{min-height:400px}.notes-welcome{min-height:350px}.notes-list-head{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.notes-list-head h2{grid-column:1/-1;margin-bottom:13px}.notes-search-label{margin-bottom:0}.notes-list-head .segmented{align-self:center}.note-list-meta{margin-bottom:5px}.note-list-item{padding:13px 17px}}
@media(max-width:430px){.notes-source-bar{padding:12px;align-items:flex-start}.notes-source-bar>div{gap:8px}.notes-source-bar .button{font-size:10px;padding:5px}.notes-source-bar .button .icon{display:none}.note-reader{padding:20px}.notes-welcome{padding:18px 0}.notes-list-head{column-gap:10px}.notes-list-head .segmented button{padding-inline:5px}.note-reader-head h2{font-size:21px}.note-reader-actions{align-items:flex-start}.note-reader-actions>span{max-width:170px}.notes-welcome h2{font-size:19px}.sidebar{gap:10px}.side-nav{gap:0}.nav-link{padding-inline:6px}}
.note-reader-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.gitee-content-field{margin-top:18px}
.gitee-write-setup{padding:12px 14px;border:1px solid #e1e9e3;background:#f4f8f4;border-radius:7px}
@media(max-width:430px){.note-reader-actions{flex-direction:column}.note-reader-actions>span{max-width:none;text-align:left}}

.sidebar[hidden]{display:none}
.shell.navigation-hidden .workspace{margin-left:0}
.topbar-left{display:flex;align-items:center;gap:12px;min-width:0}
.sidebar-toggle{width:36px;height:36px;min-height:36px;padding:7px;flex-shrink:0;border-color:var(--border);color:#648074}
.breadcrumb{min-width:0}
.breadcrumb span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:430px){.topbar-left{gap:10px}.breadcrumb>span:not(:last-child){display:none}}

.stock-stat.selected{border-color:#87c2a8;background:#f5faf6}
.stock-stat-value{display:block;padding:0;border:0;background:none;color:var(--ink);text-align:left}
.stock-stat-value:hover,.stock-stat.selected .stock-stat-value{color:var(--green)}
.stocks-card-head{flex-wrap:wrap}
.stock-filter-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}
.stock-filter-controls .segmented button{white-space:nowrap}
@media(max-width:430px){.stock-filter-controls{margin-left:0;justify-content:flex-start}}
