:root{--page:#f4f5f7;--card:#fff;--ink:#182235;--muted:#7c8798;--line:#e6e9ee;--accent:#e8624b;--up:#ed4b4b;--down:#159a72}*{box-sizing:border-box}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;scroll-behavior:smooth}body{background:var(--page);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{display:block}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #e8624b33}.app-shell{min-height:100vh}.site-header{border-bottom:1px solid var(--line);background:#fffffff0;height:68px}.header-inner{justify-content:space-between;align-items:center;width:min(1560px,100% - 64px);height:100%;margin:0 auto;display:flex}.brand{align-items:center;gap:11px;display:inline-flex}.brand-mark{color:#fff;background:var(--ink);border-radius:10px;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 5px 12px #18223521}.brand-mark svg{width:27px;height:27px}.brand-copy{flex-direction:column;gap:1px;display:flex}.brand-copy strong{letter-spacing:.08em;font-size:17px}.brand-copy small{color:#929baa;letter-spacing:.19em;font-size:8px;font-weight:700}.source-badge{border:1px solid var(--line);color:#6f7b8d;background:#fafbfc;border-radius:7px;align-items:center;gap:7px;padding:7px 11px;font-size:11px;display:flex}.source-dot{background:var(--down);border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #159a721a}.badge-divider{background:#dce1e7;width:1px;height:10px;margin:0 2px}.dashboard{width:min(1560px,100% - 64px);margin:0 auto;padding:36px 0 42px}.page-intro{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:27px;display:flex}.eyebrow{color:var(--accent);letter-spacing:.17em;margin:0 0 10px;font-size:10px;font-weight:700}.page-intro h1{letter-spacing:-.035em;margin:0;font-size:clamp(27px,2.6vw,38px);font-weight:700;line-height:1.25}.page-intro h1 span{color:#667085;font-weight:500}.intro-description{color:var(--muted);margin:11px 0 0;font-size:13px;line-height:1.7}.intro-note{color:#7a8595;white-space:nowrap;align-items:center;gap:8px;padding-bottom:4px;font-size:11px;display:flex}.intro-note svg{color:#929cac;width:21px;height:21px}.range-panel{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px 22px 0;box-shadow:0 3px 14px #17223306}.range-panel-top{justify-content:space-between;align-items:center;gap:20px;display:flex}.control-label{align-items:center;gap:11px;display:flex}.control-icon{color:#5d6879;background:#f5f6f8;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.control-icon svg{width:20px;height:20px}.control-label h2{margin:0;font-size:14px;font-weight:650}.control-label p{color:#939ca9;margin:4px 0 0;font-size:10px}.preset-group{background:#f3f4f6;border-radius:9px;gap:3px;padding:4px;display:inline-flex}.preset-group button{color:#768194;background:0 0;border:0;border-radius:6px;min-width:61px;padding:7px 12px;font-size:11px;transition:color .18s,background .18s,box-shadow .18s}.preset-group button:hover{color:var(--ink)}.preset-group button.active{color:var(--accent);background:#fff;font-weight:600;box-shadow:0 2px 6px #17223314}.date-controls{border-top:1px solid #eff1f4;align-items:center;gap:12px;margin-top:19px;padding:17px 0;display:flex}.date-field{background:#fff;border:1px solid #e1e5eb;border-radius:8px;align-items:center;gap:12px;min-width:210px;padding:0 12px;transition:border-color .18s,box-shadow .18s;display:flex}.date-field:focus-within{border-color:#aeb7c4;box-shadow:0 0 0 3px #1822350a}.date-field>span{color:#8a94a3;white-space:nowrap;font-size:10px}.date-field input{color:#374151;font-variant-numeric:tabular-nums;background:0 0;border:0;outline:0;width:130px;height:38px;padding:0;font-size:12px}.date-separator{color:#9aa3af;font-size:11px}.apply-button{color:#fff;background:var(--ink);border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:40px;margin-left:auto;padding:0 18px;font-size:11px;font-weight:550;transition:background .18s,transform .18s;display:inline-flex;box-shadow:0 4px 10px #1822351f}.apply-button:hover{background:#2a3950;transform:translateY(-1px)}.apply-button svg{width:16px;height:16px}.applied-range{color:#8b95a4;font-variant-numeric:tabular-nums;background:#fafbfc;border-top:1px solid #eff1f4;border-radius:0 0 14px 14px;align-items:center;gap:7px;min-height:35px;margin:0 -22px;padding:9px 22px;font-size:10px;display:flex}.applied-range strong{color:#5b6677;font-weight:550}.sync-icon{color:var(--down)}.sync-icon svg{width:14px;height:14px}.form-error{color:#d64c45;margin:0;font-size:11px}.range-error{padding:0 0 10px}.watchlist-section{margin-top:29px}.watchlist-header{justify-content:space-between;align-items:center;gap:20px;min-height:40px;margin-bottom:15px;display:flex}.watchlist-title-wrap{align-items:center;gap:10px;display:flex}.watchlist-title-wrap h2{margin:0;font-size:16px;font-weight:650}.stock-count{color:#667085;background:#e9ecf0;border-radius:5px;padding:3px 7px;font-size:9px}.watchlist-caption{color:#939ca9;border-left:1px solid #dce0e6;padding-left:10px;font-size:10px}.add-stock-form{align-items:center;gap:8px;display:flex}.stock-input-wrap{background:#fff;border:1px solid #e0e4ea;border-radius:8px;align-items:center;gap:8px;width:226px;height:36px;padding:0 11px;display:flex}.stock-input-wrap:focus-within{border-color:#aeb7c4}.stock-input-wrap svg{color:#98a2b1;flex:none;width:16px;height:16px}.stock-input-wrap input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:11px}.stock-input-wrap input::placeholder{color:#a2aab6}.add-stock-form>button{color:#5c6879;white-space:nowrap;background:#fff;border:1px solid #e0e4ea;border-radius:8px;align-items:center;gap:5px;height:36px;padding:0 12px;font-size:11px;transition:border-color .18s,color .18s;display:inline-flex}.add-stock-form>button:hover{color:var(--ink);border-color:#b8c0cb}.add-stock-form>button svg{width:15px;height:15px}.stock-error{text-align:right;margin:-7px 0 12px}.stock-grid{grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr));gap:18px;display:grid}.stock-card{border:1px solid var(--line);background:#fff;border-radius:13px;min-width:0;overflow:hidden;box-shadow:0 3px 14px #17223306}.stock-card-header{justify-content:space-between;align-items:flex-start;gap:15px;min-height:80px;padding:17px 18px 12px;display:flex}.stock-identity{flex:1;justify-content:space-between;align-items:center;gap:16px;min-width:0;display:flex}.stock-name-row{align-items:center;gap:8px;min-width:0;display:flex}.stock-name-row h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:15px;font-weight:650;overflow:hidden}.stock-code{color:#929caa;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:9px}.external-link{color:#b0b7c1;opacity:0;padding:2px;transition:opacity .18s,color .18s}.stock-card:hover .external-link,.external-link:focus-visible{opacity:1}.external-link:hover{color:var(--accent)}.external-link svg{width:15px;height:15px}.stock-quote{font-variant-numeric:tabular-nums;flex:none;grid-template-columns:auto auto;justify-content:end;align-items:baseline;column-gap:8px;display:grid}.stock-quote strong{letter-spacing:-.02em;font-size:22px;font-weight:650}.stock-quote>span:not(.latest-date):not(.quote-placeholder){font-size:11px;font-weight:600}.quote-up{color:var(--up)!important}.quote-down{color:var(--down)!important}.latest-date{color:#a0a8b4;text-align:right;grid-column:1/-1;margin-top:3px;font-size:9px}.quote-placeholder{color:#a0a8b4;grid-column:1/-1;font-size:11px;font-weight:400}.remove-stock{color:#b1b8c2;opacity:0;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;width:25px;height:25px;margin:-3px -5px 0 0;padding:4px;transition:opacity .18s,color .18s,background .18s;display:grid}.stock-card:hover .remove-stock,.remove-stock:focus-visible{opacity:1}.remove-stock:hover{color:#6c7787;background:#f2f4f6}.remove-stock svg{width:17px;height:17px}.chart-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:30px;padding:0 18px;display:flex}.chart-tags{align-items:center;gap:7px;display:flex}.chart-tags span{color:#798494;font-size:9px}.chart-tags span+span{border-left:1px solid #e2e6eb;padding-left:7px}.ma-legend{font-variant-numeric:tabular-nums;align-items:center;gap:11px;font-size:9px;display:flex}.ma-legend span:before{content:"";vertical-align:middle;background:currentColor;border-radius:2px;width:8px;height:2px;margin-right:4px;display:inline-block}.ma-5{color:#e7a83e}.ma-10{color:#8b5cf6}.ma-20{color:#3b82f6}.ma-60{color:#8792a5}.chart-stage{height:340px;margin:0 5px;position:relative}.chart-container{width:100%;height:100%;position:absolute;inset:0}.chart-state{z-index:2;color:#8a94a3;background:#ffffffeb;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:11px;display:flex;position:absolute;inset:0}.loading-spinner{border:2px solid #e6e9ee;border-top-color:var(--accent);border-radius:50%;width:24px;height:24px;animation:.75s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.chart-error svg{color:#c98a57;width:29px;height:29px}.chart-error button{color:#5c6879;background:#fff;border:1px solid #dfe3e9;border-radius:6px;padding:6px 12px;font-size:10px}.chart-error button:hover{border-color:#b8c0cb}.stock-card-footer{color:#a0a8b4;background:#fcfcfd;border-top:1px solid #f0f2f5;justify-content:space-between;align-items:center;min-height:32px;padding:0 18px;font-size:9px;display:flex}.chart-tooltip{min-width:175px;padding:12px 13px}.chart-tooltip-date{color:#cbd3df;border-bottom:1px solid #ffffff1f;margin-bottom:9px;padding-bottom:8px;font-size:11px;font-weight:600}.chart-tooltip-grid{font-variant-numeric:tabular-nums;grid-template-columns:1fr auto;gap:5px 22px;font-size:10px;display:grid}.chart-tooltip-grid span{color:#aab4c3}.chart-tooltip-grid strong{color:#f5f7fa;text-align:right;font-weight:500}.chart-tooltip-grid .tooltip-up{color:#ff8080}.chart-tooltip-grid .tooltip-down{color:#53d4a9}.empty-watchlist{color:#8c96a5;background:#ffffff80;border:1px dashed #d8dde4;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.empty-icon{color:#a0a9b6;width:42px;height:42px}.empty-watchlist h3{color:#5d6878;margin:13px 0 5px;font-size:14px}.empty-watchlist p{margin:0;font-size:11px}.site-footer{color:#9aa3af;border-top:1px solid #e1e5ea;justify-content:space-between;align-items:center;gap:20px;width:min(1560px,100% - 64px);min-height:68px;margin:0 auto;font-size:9px;display:flex}@media (min-width:1650px){.chart-stage{height:325px}}@media (max-width:900px){.header-inner,.dashboard,.site-footer{width:min(100% - 36px,1560px)}.dashboard{padding-top:28px}.intro-note{display:none}.date-controls{flex-wrap:wrap}.apply-button{margin-left:0}.stock-grid{grid-template-columns:1fr}}@media (max-width:640px){.site-header{height:62px}.header-inner,.dashboard,.site-footer{width:calc(100% - 28px)}.source-badge{padding:6px 8px;font-size:9px}.badge-divider,.source-badge>span:last-child{display:none}.dashboard{padding:24px 0 30px}.page-intro{margin-bottom:21px}.page-intro h1{font-size:27px}.page-intro h1 span{margin-top:3px;display:block}.intro-description{font-size:11px}.range-panel{padding:16px 15px 0}.range-panel-top{flex-direction:column;align-items:flex-start;gap:15px}.preset-group{width:100%}.preset-group button{flex:1;min-width:0;padding:7px 4px}.date-controls{grid-template-columns:1fr auto 1fr;gap:8px;display:grid}.date-field{flex-direction:column;align-items:flex-start;gap:1px;min-width:0;padding:7px 9px 5px}.date-field input{width:100%;height:25px;font-size:11px}.date-separator{padding-top:18px}.apply-button{grid-column:1/-1;width:100%;margin-top:4px}.applied-range{flex-wrap:wrap;gap:5px;margin:0 -15px;padding:10px 15px;font-size:9px}.watchlist-header{flex-direction:column;align-items:flex-start}.watchlist-caption{display:none}.add-stock-form{width:100%}.stock-input-wrap{flex:1;width:auto}.stock-error{text-align:left}.stock-card-header{padding:15px 14px 10px}.stock-identity{gap:8px}.stock-name-row{flex-wrap:wrap;gap:4px 7px}.stock-name-row h2{font-size:14px}.stock-code{font-size:8px}.stock-quote strong{font-size:19px}.external-link,.remove-stock{opacity:1}.chart-toolbar{padding:0 14px}.ma-legend{gap:7px;font-size:8px}.ma-legend span:before{width:6px;margin-right:2px}.chart-stage{height:315px;margin:0}.stock-card-footer{padding:0 14px}.site-footer{flex-direction:column;align-items:flex-start;gap:6px;padding:18px 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.header-actions{align-items:center;gap:10px;display:flex}.logout-button{border:1px solid var(--line);color:#7c8798;white-space:nowrap;background:#fff;border-radius:7px;padding:7px 10px;font-size:10px}.logout-button:hover{color:var(--ink);border-color:#c6cdd7}.login-page{background:radial-gradient(circle at 50% 0%, #e8624b0e, transparent 35%), var(--page);place-items:center;min-height:100vh;padding:40px 20px;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:17px;width:min(100%,410px);padding:34px;box-shadow:0 18px 55px #18223514}.login-brand{align-items:center;gap:11px;display:inline-flex}.login-heading{margin:35px 0 25px}.login-heading h1{letter-spacing:-.03em;margin:0;font-size:28px}.login-heading>p:last-child{color:var(--muted);margin:10px 0 0;font-size:12px;line-height:1.7}.login-form{flex-direction:column;gap:17px;display:flex}.login-form label{flex-direction:column;gap:8px;display:flex}.login-form label>span{color:#5c6879;font-size:11px;font-weight:550}.login-form input{width:100%;height:44px;color:var(--ink);background:#fff;border:1px solid #dfe3e9;border-radius:8px;outline:0;padding:0 13px;font-size:13px;transition:border-color .18s,box-shadow .18s}.login-form input:focus{border-color:#9ba6b5;box-shadow:0 0 0 3px #1822350d}.login-form>button{color:#fff;background:var(--ink);border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;height:44px;margin-top:3px;font-size:12px;font-weight:600;display:flex}.login-form>button:hover:not(:disabled){background:#2a3950}.login-form>button:disabled{cursor:wait;opacity:.75}.login-form>button .loading-spinner{border-color:#fff #ffffff4d #ffffff4d;width:16px;height:16px}.login-error{color:#d64c45;margin:-4px 0 0;font-size:11px}.login-security{color:#98a2af;border-top:1px solid #eff1f4;justify-content:center;align-items:center;gap:6px;margin-top:24px;padding-top:18px;font-size:10px;display:flex}.login-security svg{width:15px;height:15px}@media (max-width:640px){.header-actions{gap:6px}.logout-button{padding:6px 7px;font-size:9px}.login-card{padding:27px 23px}}
