/* V5 quote cards and stock detail retain the V4 quiet surface language. */
.quote-row{width:100%;min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:#f1f6f9;border-radius:27px;padding:12px 16px}
.quote-identity,.quote-numbers{display:flex;flex-direction:column;min-width:0;gap:3px}.quote-identity{flex:1}.quote-identity strong{font-size:15px;line-height:23px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quote-identity small{font-size:12px;line-height:18px;color:#9297a0;white-space:nowrap}.quote-numbers{text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}.quote-numbers strong{font-size:19px;line-height:25px;font-weight:400;letter-spacing:-.2px;color:#30343a}.quote-numbers small{font-size:12px;line-height:18px;white-space:nowrap}.quote-up{color:#bf665d}.quote-down{color:#438c78}.quote-flat{color:#818792}.quote-group-note{font-size:11px;line-height:18px;color:#9297a1;margin-top:12px}
.conversation-stock-card,.conversation-portfolio-card{background:#ffffffed;border-radius:25px;padding:16px;margin:12px 0;max-width:100%}.conversation-card-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#8a8f99;margin-bottom:12px}.conversation-stock-card .quote-row{background:#f2f6f8;padding:11px 14px}.conversation-card-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;line-height:18px;color:#9499a1;margin-top:12px}.conversation-card-foot>span:last-child{display:flex;align-items:center;white-space:nowrap;gap:2px}.conversation-card-foot svg{width:13px;height:13px}.portfolio-number{font-size:30px;line-height:42px;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.portfolio-number small{font-size:12px;color:#9297a0;letter-spacing:0}.portfolio-mini-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.portfolio-mini-metrics>span{font-size:12px;color:#858c95}.portfolio-mini-metrics strong{display:block;font-size:15px;color:#3a4048;font-weight:400;line-height:26px;font-variant-numeric:tabular-nums}.portfolio-card-note{font-size:11px;line-height:19px;color:#969aa2;margin-top:13px}.portfolio-open{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:44px;font-size:13px;color:#646e7a;padding:8px 0 0;margin-top:4px;border-top:1px solid #e9edf0}.portfolio-open svg{width:16px;height:16px}
.app[data-screen="stock"]{background:#fbfbfa}.app[data-screen="stock"] .header{padding:18px 20px 14px;gap:10px;min-height:86px}.stock-heading h1{font-size:19px;line-height:28px;font-weight:500}.header .stock-heading p{font-size:12px;line-height:19px;margin-top:0;color:#7c8692}.stock-follow{display:flex;align-items:center;gap:4px;min-height:44px;padding:0 10px;background:#ffffff70;border-radius:24px;font-size:12px;color:#616c79;white-space:nowrap}.stock-follow svg{width:15px;height:15px}.stock-follow[aria-pressed="true"]{background:#5d6c7b14}
.stock-quote-panel{padding:6px 4px 18px}.stock-quote-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stock-detail-price{font-size:32px;line-height:43px;font-weight:400;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.stock-detail-price small{font-size:11px;color:#9098a2;letter-spacing:0;margin-left:8px}.stock-detail-change{font-size:13px;line-height:22px;font-variant-numeric:tabular-nums}.stock-market-status{font-size:12px;color:#87919c;background:#ffffff4d;padding:4px 9px;border-radius:18px;white-space:nowrap}.stock-data-note{font-size:11px;line-height:18px;color:#8b939f;margin-top:7px}.stock-quote-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:17px}.stock-quote-metrics span{font-size:11px;color:#9198a3}.stock-quote-metrics strong{display:block;font-size:13px;line-height:22px;font-weight:400;color:#56616f;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.stock-chart-panel{padding:12px 12px 5px;background:#ffffffa6;border-radius:26px}.stock-range.segmented{padding:4px;background:#f0f3f550;border-radius:24px}.stock-range.segmented button{min-height:40px;padding:7px 8px;font-size:13px}.stock-chart-selection{min-height:64px;padding:13px 4px 0;color:#8b929d;font-size:10px;line-height:20px}.stock-chart-selection>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.stock-chart-selection p{font-size:10px;line-height:20px;white-space:normal;font-variant-numeric:tabular-nums}.stock-chart-selection strong{font-weight:400;color:#5d6875}.stock-chart{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y}.stock-chart text{fill:#a0a6af;font-size:9px;font-family:inherit;font-variant-numeric:tabular-nums}.stock-chart-grid{stroke:#b8c0ca;stroke-opacity:.22;stroke-width:.6}.stock-chart-line{fill:none;stroke:#8b9fb8;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.stock-chart-dot{fill:#7e93af;stroke:#fff;stroke-width:1.5}.stock-chart-crosshair{stroke:#9da7b4;stroke-opacity:.6;stroke-width:.7;stroke-dasharray:3 3}.candle-up line,.candle-up rect{stroke:#c57c72;fill:#c57c72;stroke-width:1}.candle-down line,.candle-down rect{stroke:#73a28f;fill:#73a28f;stroke-width:1}.stock-chart [data-action]{cursor:crosshair}.stock-chart-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#9aa1ac;font-size:10px;line-height:18px;padding-left:4px}.stock-chart-footer>div{display:flex;gap:0}.stock-chart-footer button{width:44px;height:44px;display:grid;place-items:center;color:#8b94a1;padding:0}.stock-chart-footer svg{width:15px;height:15px}.stock-chart-empty{text-align:center;padding:50px 14px;color:#747f8e;line-height:25px;font-size:14px}.stock-chart-empty span{font-size:12px;color:#939ba5}
.stock-sections.segmented{margin-top:18px;padding:5px}.stock-sections.segmented button{font-size:13px;padding:8px 6px}.stock-content-panel{background:#ffffffab;border-radius:26px;margin-top:12px;padding:20px 18px}.stock-analysis-heading{display:flex;align-items:center;gap:8px;font-size:14px;color:#535c68;margin-bottom:20px}.stock-analysis-heading small{margin-left:auto;font-size:11px;color:#9299a4}.stock-analysis-heading .avatar.tiny{width:24px;height:24px;box-shadow:none}.stock-analysis-heading .avatar.tiny svg{width:20px;height:20px}.stock-analysis-item{margin-top:19px}.stock-analysis-item h3{font-size:14px;line-height:23px;font-weight:500;color:#535d69}.stock-analysis-item p{font-size:14px;line-height:25px;color:#747e8b;margin-top:7px}.stock-analysis-source{font-size:11px;line-height:19px;color:#959ca6;margin-top:21px;padding-top:13px;border-top:1px solid #dde3e77d}.stock-ask-btn{width:100%;margin-top:18px;justify-content:center;min-height:46px;background:#e2e7ec;color:#596371;font-size:13px;gap:7px}.stock-ask-btn svg{width:17px;height:17px}.stock-section-note{font-size:12px;line-height:21px;color:#929ba6;margin-bottom:10px}.stock-news-item{display:block;text-align:left;width:100%;padding:18px 0;border-bottom:1px solid #dfe5e976}.stock-news-item:last-child{border-bottom:0;padding-bottom:5px}.stock-news-item>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#969da7}.stock-news-item h3{font-size:15px;font-weight:500;line-height:25px;margin-top:8px}.stock-news-item p{font-size:13px;color:#8a939f;line-height:23px;margin-top:7px}.stock-news-item small{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:11px;color:#a0a6af}.stock-news-item small svg{width:14px;height:14px}.stock-discussion-title{margin-bottom:4px}.stock-discussion-title h3{font-size:15px;font-weight:400}.stock-discussion-title>span{font-size:12px;color:#929aa5}.stock-content-panel .comment{padding:18px 0}.stock-content-panel .comment-avatar{background:#eef1f3;color:#939da8}.stock-content-panel .comment-author{color:#76818f;font-weight:400}.stock-content-panel .comment-body{font-size:14px;line-height:24px}.stock-content-panel .comment-form input{background:#ffffffb3;border-color:#e0e5e9;border-radius:22px;font-size:14px;padding:11px 13px}.stock-content-panel .comment-form button{font-size:13px;border-radius:22px;padding:11px 14px;min-height:46px}.stock-comment-note,.stock-bottom-note{font-size:11px;line-height:19px;color:#9b9da6;margin-top:12px}.stock-bottom-note{text-align:center;margin-bottom:8px}
@media(max-width:359px){.quote-row{padding:11px 13px;gap:8px;min-height:72px}.quote-identity strong{font-size:14px}.quote-identity small{font-size:11px}.quote-numbers strong{font-size:18px}.quote-numbers small{font-size:11px}.stock-quote-panel{padding-left:0;padding-right:0}.stock-quote-metrics strong{font-size:12px}.stock-chart-panel{padding-left:8px;padding-right:8px}.stock-content-panel{padding:18px 15px}.app[data-screen="stock"] .header{padding-left:16px;padding-right:16px}.stock-heading h1{font-size:17px}.stock-follow{padding:0 8px}.conversation-stock-card,.conversation-portfolio-card{padding:14px}.conversation-card-foot{font-size:10px}.conversation-card-foot>span:last-child{gap:0}}

/* Each research tab keeps its full label; narrow screens scroll horizontally. */
.stock-sections.segmented{position:sticky;top:0;z-index:4;overflow-x:auto;overflow-y:hidden;isolation:isolate;scrollbar-width:none;background:#e6ebeff2;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 1px 0 #ffffff90 inset;margin-top:18px;padding:5px;scroll-padding:5px}
.stock-sections.segmented::-webkit-scrollbar{display:none}
.stock-sections.segmented button{flex:1 0 auto;font-size:13px;min-height:44px;padding:8px 13px}
.stock-sections.segmented button.selected{background:#e9e9e6;color:#222222}
.stock-sections.segmented button:focus-visible{outline:2px solid #778ba1;outline-offset:-2px}
.app[data-screen="stock"]>.main{scroll-padding-top:66px}
@media(max-width:359px){.stock-sections.segmented button{padding:8px 12px}}

.stock-research-anchor{height:18px;pointer-events:none}.stock-research-anchor+.stock-sections.segmented{margin-top:0}

/* Quote headline and four compact metrics share one row. */
.stock-quote-top{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:center}
.stock-quote-top>.stock-quote-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0;padding:1px 0 0 14px;border-left:1px solid #aab8c72b}
.stock-quote-metrics span{font-size:11px;line-height:17px}.stock-quote-metrics strong{font-size:13px;line-height:21px;white-space:nowrap}
.stock-quote-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:15px}.stock-quote-meta .stock-data-note{margin:0;font-size:10px;line-height:18px}.stock-quote-meta .stock-market-status{font-size:10px;padding:3px 7px;background:#ffffff4d}
@media(max-width:359px){.stock-quote-top{gap:10px;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}.stock-detail-price{font-size:29px;letter-spacing:-.6px}.stock-detail-price small{font-size:9px;margin-left:4px}.stock-detail-change{font-size:11px}.stock-quote-top>.stock-quote-metrics{gap:8px 10px;padding-left:10px}.stock-quote-metrics strong{font-size:12px}.stock-quote-metrics span{font-size:10px}.stock-quote-meta{gap:4px}.stock-quote-meta .stock-data-note{font-size:9px}.stock-quote-meta .stock-market-status{font-size:9px;padding:2px 5px}}
