/* StockView mobile usability v1: existing font families and desktop layout retained. */
@layer stockviewPalette {
@media (max-width:760px) {
 html {scroll-padding-top:140px;}
 body :is(main,.container.page,.sv-dashboard,.sv-dashboard-trading,.svf-rail,.svic-main) {min-width:0!important;box-sizing:border-box!important;}
 body main.container.page {width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:12px!important;}
 body main.container.page > main {width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:0!important;}
 body main.container.page > main > section:not([class]) {padding:16px!important;}
 body .svc-card {padding:16px!important;}
 body .sv-ref-header .sv-ref-bar {padding:6px 12px!important;gap:4px 8px!important;}
 body .sv-ref-header .sv-header-brand-image {max-width:150px!important;max-height:32px!important;}
 body .sv-ref-header .sv-ref-actions {gap:2px!important;}
 body .sv-ref-header .sv-ref-actions :is(button,summary,a.sv-account-trigger) {min-width:40px!important;min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
 body .sv-ref-header .sv-ref-center {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;}
 body .sv-ref-header .sv-ref-search {width:100%!important;max-width:none!important;min-width:0!important;min-height:44px!important;order:1!important;}
 body .sv-ref-header .sv-ref-ticker {order:2!important;justify-self:end!important;font-size:12px!important;line-height:16px!important;}
 body .sv-ref-header #sv-live-search #sv-stock-search {font-size:16px!important;min-height:42px!important;}
 body #sv-price-ribbon {min-height:56px!important;padding:5px 0!important;}
 body #sv-price-ribbon .svpr-item {min-height:44px!important;min-width:160px!important;}
 body #sv-price-ribbon .svpr-arrow {display:grid!important;place-items:center!important;line-height:1!important;}
 body.svm-right-design .svf-rail #sv-overview .sv-dashboard-ident {display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:8px 10px!important;align-items:start!important;}
 body.svm-right-design .svf-rail #sv-overview .sv-dashboard-avatar {grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;min-width:44px!important;}
 body.svm-right-design .svf-rail #sv-overview .sv-company {grid-column:2!important;grid-row:1!important;min-width:0!important;width:auto!important;}
 body.svm-right-design .svf-rail #sv-overview .sv-company > p {font-size:18px!important;line-height:1.35!important;margin:0!important;overflow-wrap:break-word!important;}
 body.svm-right-design .svf-rail #sv-overview .sv-hero-actions {display:none!important;}
 body.svm-right-design .svf-rail #sv-overview .sv-company-actions {grid-column:1/-1!important;grid-row:2!important;justify-self:end!important;display:flex!important;flex-wrap:wrap!important;margin:0!important;gap:8px!important;width:auto!important;}
 body.svm-right-design .svf-rail #sv-overview .sv-company-actions :is(a,button,label) {min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
 body #sv-share-step-controls,body #sv-share-step-controls *,body #sv-share-step-controls a {position:static!important;}
 body #sv-share-step-controls {display:flex!important;justify-content:space-between!important;gap:12px!important;}
 body #sv-share-step-controls :is(a,span) {min-width:44px!important;min-height:44px!important;}
 body #sv-share-step-controls:not(:has(a)) {display:none!important;}
 body #sv-list-navigation {position:static!important;display:flex!important;justify-content:space-between!important;gap:12px!important;margin:12px!important;}
 body #sv-list-navigation :is(a,button) {position:static!important;min-width:44px!important;min-height:44px!important;}
 body.svm-right-design .svf-rail :is(.sv-company-news-strip,.sv-company-news-banner) {min-width:0!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information .svri-row {display:contents!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information .svri-row:nth-child(n) > .svri-cell {
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:34px auto!important;
  align-content:start!important;align-items:start!important;gap:5px 2px!important;
  height:80px!important;min-height:80px!important;padding:8px!important;min-width:0!important;box-sizing:border-box!important;
 }
 body.svm-right-design #sv-reference-information#sv-reference-information .svri-row:nth-child(n) .svri-label {
  grid-column:1/-1!important;grid-row:1!important;display:block!important;margin:0!important;
  font-size:13px!important;line-height:17px!important;min-height:0!important;white-space:normal!important;
 }
 body.svm-right-design #sv-reference-information#sv-reference-information .svri-row:nth-child(n) .sv-sn-label {display:inline-block!important;vertical-align:top!important;white-space:normal!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information .svri-row:nth-child(n) :is(.sv-sn-period-line,.svri-period) {display:block!important;font-size:10px!important;line-height:14px!important;white-space:normal!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information .svri-row:nth-child(n) .svri-value {grid-column:1!important;grid-row:2!important;margin:0!important;min-width:0!important;font-size:15px!important;line-height:21px!important;white-space:nowrap!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information .svri-row:nth-child(n) .svri-delta {grid-column:2!important;grid-row:2!important;position:static!important;align-self:center!important;font-size:9px!important;line-height:14px!important;margin:0!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information [data-sv-metric="cash_dividend"] .svri-value {grid-column:1/-1!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information [data-sv-metric="cash_dividend"] .sv-sn-number {font-size:12px!important;}
 body.svm-right-design #sv-reference-information#sv-reference-information .svri-dates {grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;font-size:12px!important;}
 body.svm-right-design .svf-ownership-values {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}
 body.svm-right-design .svf-ownership-values > div {min-width:0!important;padding:10px 8px!important;}
 body.svm-right-design .svf-ownership-values :is(span,small) {font-size:12px!important;}
 body .sv-chart-panel {padding:12px!important;}
 body :is(.stock-chart-ranges,.svf-tablist,.svx-view-buttons) {overflow-x:auto!important;max-width:100%!important;overscroll-behavior-inline:contain;scroll-padding-inline:8px;}
 body .stock-chart-ranges :is(button,label),body .svf-tablist button {min-height:44px!important;min-width:44px!important;flex-shrink:0!important;font-size:12px!important;}
 body .sv-chart-panel :is(.sv-chart-toolbar,.sv-chart-topbar) {flex-wrap:wrap!important;gap:8px!important;}
 body .sv-chart-panel .sv-chart-primary-row {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important;}
 body .sv-chart-panel .sv-chart-mode-switch {align-self:flex-start!important;}
 body .sv-chart-panel .sv-chart-primary-actions {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;}
 body .sv-chart-panel :is(.sv-chart-mode-switch,.sv-chart-primary-actions) button {min-height:44px!important;font-size:12px!important;padding:8px!important;min-width:0!important;white-space:nowrap!important;}
 body .svmu-chart-options {margin:8px 0!important;border:1px solid var(--sv-border,#dbdbdb);border-radius:8px;padding:0 10px;}
 body .svmu-chart-options > summary {min-height:44px;display:flex;align-items:center;font-size:13px;cursor:pointer;gap:8px;}
 body .svmu-chart-options > summary::after {content:'⌄';margin-left:auto;}
 body .svmu-chart-options[open] > summary::after {content:'⌃';}
 body .svmu-chart-options fieldset {margin:0 0 8px!important;width:100%!important;min-width:0!important;}
 body .svmu-chart-options label {min-height:40px!important;font-size:12px!important;display:flex!important;align-items:center!important;gap:8px!important;}
 body .svmu-chart-options input[type="checkbox"] {width:18px!important;height:18px!important;}
 body .svmu-scroll {width:100%;max-width:100%;overflow:auto;overscroll-behavior-inline:contain;}
 body .svmu-scroll table {width:max-content;min-width:100%;}
 body .svmu-scroll:focus-visible {outline:2px solid #0056ff;outline-offset:2px;}
 body .svmu-scroll th,body .svmu-scroll td {padding:10px 8px!important;}
 body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea) {font-size:16px!important;}
 body :is(.sv-scope-tabs button,.sv-sidebar-filters select,#sv-sidebar-scope,.sv-mobile-tabbar button) {min-height:44px!important;}
 body .sv-scope-panel #sv-sidebar-scope {width:100%!important;}
 body .sv-sidebar-filters label {min-width:0!important;}
 body :is(.sv-smart-panel,.sv-ref-more-panel) {max-height:calc(100dvh - 140px)!important;overflow-y:auto!important;overscroll-behavior:contain;}
 body :is(.sv-smart-panel,.sv-ref-more-panel) :is(a,button,summary) {min-height:44px!important;}
 body #sv-mobile-search {height:100dvh!important;}
 body #sv-mobile-search #sv-live-search {border:0!important;border-radius:0!important;box-shadow:none!important;}
 body #sv-mobile-search .svms-top button {min-width:44px!important;min-height:44px!important;}
 body #sv-mobile-search .svsr-heart {width:40px!important;height:40px!important;top:4px!important;}
 body #sv-mobile-search .sv-search-market-link {grid-template-columns:minmax(0,1fr) 48px 40px 64px!important;}
 body :is(dialog,.svm-privacy) {max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box!important;}
 body .svm-privacy {padding:16px!important;}
 body .svm-privacy p {font-size:14px!important;line-height:1.5!important;}
 body .svm-privacy h2 {font-size:18px!important;}
 body .svm-privacy-choices {min-height:36px!important;padding:6px 8px!important;font-size:11px!important;opacity:.9;}
 body :is(.sv-footer-grid,.svf-columns) {gap:24px!important;}
 body :is(.sv-footer-grid,.svf-columns) a {display:inline-block;min-height:36px;line-height:1.5;}
 body .svh-card {min-width:0!important;}
 body .svh-card :is(select,input) {min-height:44px!important;max-width:100%!important;}
 body .svh-card h2 {font-size:18px!important;}
}
@media(max-width:359px){
 body .sv-ref-header .sv-header-brand-image {max-width:130px!important;}
}
@media(max-width:389px){
 body.svm-right-design #sv-reference-information#sv-reference-information {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 body.svm-right-design .svf-ownership-values {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
}

/* StockView mobile redesign v2 — informed by StockNow's information hierarchy. */
.svmr-bottom,.svmr-search-button,.svmr-stock-intro,.svmr-jumps {display:none;}
@layer stockviewPalette {
@media(max-width:760px){
 body.svmr-ready {padding-bottom:calc(74px + env(safe-area-inset-bottom))!important;}
 body.svmr-ready .sv-ref-header .sv-ref-center {grid-template-columns:1fr!important;min-height:16px!important;}
 body.svmr-ready .sv-ref-header .sv-ref-search {display:none!important;}
 body.svmr-ready .sv-ref-header .sv-ref-ticker {justify-self:end!important;}
 body.svmr-ready .sv-ref-header .sv-smart-mobile > summary,
 body.svmr-ready .sv-ref-header #sv-smart-sidebar-toggle {display:none!important;}
 body.svmr-ready .sv-ref-header .sv-ref-actions {gap:0!important;}
 body.svmr-ready .sv-ref-header .svmr-search-button {display:inline-flex!important;order:-1!important;border:0!important;background:transparent!important;color:inherit!important;min-width:40px!important;min-height:40px!important;padding:9px!important;border-radius:8px!important;}
 body.svmr-ready .svmr-search-button svg {width:22px;height:22px;}
 body.svmr-ready .svmr-bottom {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;position:fixed!important;inset:auto 0 0!important;z-index:1000!important;border-top:1px solid var(--sv-border,#dbdbdb)!important;background:var(--sv-bg,#fff)!important;color:var(--ink,#171717)!important;padding:5px 8px calc(5px + env(safe-area-inset-bottom))!important;box-shadow:0 -3px 16px #00000008!important;}
 body.svmr-ready .svmr-bottom :is(a,button) {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:52px!important;border:0!important;background:transparent!important;color:inherit!important;text-decoration:none!important;font:inherit!important;font-size:11px!important;border-radius:10px!important;cursor:pointer!important;}
 body.svmr-ready .svmr-bottom svg {width:22px;height:22px;}
 body.svmr-ready .svmr-bottom :is([aria-current="page"],[aria-expanded="true"]) {color:var(--sv-primary,#0056ff)!important;background:var(--sv-primary-subtle,#edf3ff)!important;}
 html.svms-open body.svmr-ready .svmr-bottom,body.svmr-drawer-open .svmr-bottom {display:none!important;}
 body.svmr-ready #sv-share-step-controls,body.svmr-ready #sv-share-step-controls > * {z-index:0!important;}
 body.svmr-ready:has(.sv-smart-mobile[open]) .svm-privacy-choices {display:none!important;}
 body.svmr-ready .svm-privacy-choices {bottom:calc(72px + env(safe-area-inset-bottom))!important;}
 body.svmr-ready #sv-tracking-choices {bottom:calc(74px + env(safe-area-inset-bottom))!important;min-height:28px!important;font-size:10px!important;padding:4px 6px!important;}
 body.svmr-ready .svmr-stock-intro {display:block!important;min-width:0!important;grid-column:1/-1!important;padding:12px!important;border:1px solid var(--sv-border,#dbdbdb)!important;border-radius:14px!important;background:var(--sv-bg,#fff)!important;margin-bottom:12px!important;}
 body.svmr-ready .svmr-stock-intro #sv-overview {border:0!important;box-shadow:none!important;padding:0!important;background:transparent!important;margin:0!important;}
 body.svmr-ready .svmr-stock-intro .sv-dashboard-ident {display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:start!important;gap:6px 10px!important;}
 body.svmr-ready .svmr-stock-intro .sv-dashboard-avatar {grid-column:1!important;grid-row:1!important;width:40px!important;height:40px!important;min-width:40px!important;}
 body.svmr-ready .svmr-stock-intro .sv-company {grid-column:2/-1!important;grid-row:1!important;width:auto!important;min-width:0!important;}
 body.svmr-ready .svmr-stock-intro .sv-company > p {font-size:18px!important;line-height:1.35!important;margin:0!important;overflow-wrap:break-word!important;}
 body.svmr-ready .svmr-stock-intro .sv-company .sv-dashboard-name {display:none!important;}
 body.svmr-ready .svmr-stock-intro .sv-company > .sv-identity-sector {display:block!important;background:transparent!important;border:0!important;padding:0!important;font-size:12px!important;font-weight:400!important;color:var(--muted,#6b7280)!important;line-height:1.5!important;}
 body.svmr-ready .svmr-stock-intro .sv-exchange-category {margin-left:6px!important;}
 body.svmr-ready .svmr-stock-intro :is(.sv-range-card,.stock-market-stat-grid,.stock-price-stats-note,.svf-header-price) {display:none!important;}
 body.svmr-ready .svmr-stock-intro .sv-price-banner {display:block!important;background:transparent!important;border:0!important;padding:8px 0!important;margin:0!important;}
 body.svmr-ready .svmr-stock-intro .sv-price-anchor {padding:0!important;margin:0!important;border:0!important;background:transparent!important;}
 body.svmr-ready .svmr-stock-intro .sv-price-anchor > div {display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:4px 8px!important;}
 body.svmr-ready .svmr-stock-intro #stock-source-price {font-size:28px!important;}
 body.svmr-ready .svmr-stock-intro #stock-source-change {margin-left:0!important;font-size:18px!important;}
 body.svmr-ready .svmr-stock-intro .sv-price-anchor small {display:block!important;font-size:10px!important;font-weight:400!important;color:var(--muted,#6b7280)!important;margin-top:4px!important;}
 body.svmr-ready .svmr-stock-intro .sv-hero-actions {display:none!important;}
 body.svmr-ready .svmr-stock-intro .sv-company-actions {grid-column:1/-1!important;grid-row:2!important;display:flex!important;justify-content:flex-end!important;margin:0!important;gap:8px!important;}
 body.svmr-ready .svmr-stock-intro .sv-company-actions :is(a,button,label) {min-height:40px!important;min-width:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
 body.svmr-ready .svmr-stock-intro #stock-price-stats {margin:8px 0 0!important;padding:0!important;border:0!important;}
 body.svmr-ready .svmr-stock-intro .stock-return-grid {display:grid!important;grid-template-columns:repeat(6,minmax(78px,1fr))!important;gap:6px!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;padding-bottom:4px!important;max-width:100%!important;}
 body.svmr-ready .svmr-stock-intro .stock-return-item {min-height:56px!important;padding:8px 5px!important;}
 body.svmr-ready .svmr-stock-intro .stock-return-item :is(span,strong) {white-space:nowrap!important;}
 body.svmr-ready .svmr-stock-intro .stock-return-item span {font-size:11px!important;}
 body.svmr-ready .svmr-stock-intro .stock-return-item strong {font-size:14px!important;}
 body.svmr-ready .svmr-jumps {display:flex!important;gap:6px!important;overflow-x:auto!important;max-width:100%!important;grid-column:1/-1!important;padding:0 0 10px!important;}
 body.svmr-ready .svmr-jumps button {min-height:40px!important;border:1px solid var(--sv-border,#dbdbdb)!important;border-radius:20px!important;background:var(--sv-bg,#fff)!important;color:inherit!important;padding:8px 14px!important;font:inherit!important;font-size:12px!important;white-space:nowrap!important;}
 body.svmr-ready .svmr-jumps button:first-child {color:var(--sv-primary,#0056ff)!important;border-color:var(--sv-primary,#0056ff)!important;}
 body.svmr-ready .svmr-drawer {width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;inset:0!important;margin:0!important;border:0!important;border-radius:0!important;padding:0!important;background:var(--sv-bg,#fff)!important;color:inherit!important;}
 body.svmr-ready .svmr-drawer::backdrop {background:#0005;}
 body.svmr-drawer-open {overflow:hidden!important;}
 body.svmr-ready .svmr-drawer[open] {display:flex!important;flex-direction:column!important;}
 body.svmr-ready .svmr-drawer-head {display:flex!important;align-items:center!important;justify-content:space-between!important;padding:8px 14px!important;border-bottom:1px solid var(--sv-border,#dbdbdb)!important;min-height:52px!important;flex:none!important;}
 body.svmr-ready .svmr-drawer-head button {min-width:44px!important;min-height:44px!important;border:0!important;background:transparent!important;font:inherit!important;color:var(--sv-primary,#0056ff)!important;}
 body.svmr-ready .svmr-drawer #sv-stock-sidebar {position:static!important;display:block!important;transform:none!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;overflow-y:auto!important;flex:1!important;border:0!important;box-shadow:none!important;border-radius:0!important;inset:auto!important;margin:0!important;padding:12px!important;}
 body.svmr-ready .svmr-drawer #sv-sidebar-items {max-height:none!important;overflow:visible!important;}
 body.svmr-ready .svmr-recent-list {padding:12px 16px!important;overflow-y:auto!important;flex:1!important;}
 body.svmr-ready .svmr-recent-list > p {font-size:12px!important;color:var(--muted,#6b7280)!important;}
 body.svmr-ready .svmr-recent-row {display:flex!important;justify-content:space-between!important;gap:12px!important;padding:16px 0!important;min-height:44px!important;border-bottom:1px solid var(--sv-border,#dbdbdb)!important;text-decoration:none!important;color:inherit!important;align-items:center!important;}
 body.svmr-ready .svmr-recent-row > span {text-align:right!important;font-weight:600!important;}
 body.svmr-ready .svmr-recent-row small {display:block!important;font-size:12px!important;margin-top:4px!important;}
 body.svmr-ready .svmr-positive {color:#008453!important;}
 body.svmr-ready .svmr-negative {color:#d62b4c!important;}
 body.svmr-ready #sv-stock-mini-rail {display:none!important;}
 body.svmr-ready .svh-stat-card {padding:12px!important;}
 body.svmr-ready .svh-stats {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
 body.svmr-ready .svh-stats > div {min-width:0!important;padding:10px 7px!important;}
 body.svmr-ready .svh-stats strong {font-size:20px!important;}
 body.svmr-ready .svo-summary-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;}
 body.svmr-ready .svo-summary-box {min-width:0!important;padding:10px 6px!important;}
 body.svmr-ready .svo-summary-box > span {font-size:10px!important;white-space:nowrap!important;}
 body.svmr-ready .svo-summary-box > strong {font-size:18px!important;white-space:nowrap!important;}
 body.svmr-ready .svmu-chart-options fieldset label {max-width:100%!important;min-width:0!important;white-space:normal!important;}
 body.svmr-ready :is(#stock-analysis,#sv-reference-information,.svf-details) {scroll-margin-top:96px!important;}
}
}

/* StockView mobile summary refinements v2.1 */
@layer stockviewPalette {
@media(max-width:760px){
 body.svmr-ready .sv-ref-header .sv-smart-mobile > summary {display:inline-flex!important;}
 body.svmr-ready .svmr-stock-intro .sv-price-banner {display:none!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;margin:10px 0!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-price-anchor {grid-column:1!important;grid-row:1!important;min-width:0!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-price-anchor > div {display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:2px 5px!important;align-items:baseline!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-price-anchor > div > span:first-child {grid-column:1!important;grid-row:1!important;font-size:11px!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions #stock-source-price {grid-column:2!important;grid-row:1!important;font-size:30px!important;line-height:1.2!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions #stock-source-change {grid-column:1/-1!important;grid-row:2!important;font-size:12px!important;line-height:18px!important;margin:0!important;white-space:nowrap!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-price-anchor small {display:none!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-company-actions {grid-column:2!important;grid-row:1!important;gap:5px!important;align-items:center!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-company-actions :is(a,button,label) {width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:6px!important;}
 body.svmr-ready .svmr-stock-intro .stock-return-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important;gap:6px!important;padding-bottom:0!important;}
 body.svmr-ready .svmr-stock-intro .stock-return-item {min-height:54px!important;}
 body.svmr-ready .svmr-list-shortcuts {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin-top:10px!important;}
 body.svmr-ready .svmr-list-shortcuts button {min-height:40px!important;border:1px solid var(--sv-border,#dbdbdb)!important;background:transparent!important;color:inherit!important;border-radius:8px!important;padding:6px!important;font:inherit!important;font-size:12px!important;cursor:pointer!important;}
 body.svmr-ready .svmr-list-shortcuts button:nth-child(2) {color:#008453!important;}
 body.svmr-ready .svmr-list-shortcuts button:nth-child(3) {color:#d62b4c!important;}
}
@media(max-width:359px){
 body.svmr-ready .sv-ref-header .sv-header-brand-image {max-width:128px!important;}
 body.svmr-ready .sv-ref-header .sv-ref-actions :is(button,summary) {min-width:36px!important;width:36px!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-company-actions :is(a,button,label) {width:36px!important;min-width:36px!important;height:40px!important;min-height:40px!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions #stock-source-price {font-size:28px!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-price-anchor > div > span:first-child {font-size:10px!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions #stock-source-change {font-size:11px!important;}
}
}

/* StockView mobile quote: change beside the current price. */
@layer stockviewPalette {
@media(max-width:760px){
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-price-anchor > div {grid-template-columns:auto auto auto!important;align-items:center!important;justify-content:start!important;gap:0 5px!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions #stock-source-change {grid-column:3!important;grid-row:1!important;font-size:11px!important;line-height:16px!important;}
 body.svmr-ready .svmr-change-amount,body.svmr-ready .svmr-change-percent {display:block!important;white-space:nowrap!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-company-actions {gap:4px!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-company-actions :is(a,button,label) {width:32px!important;min-width:32px!important;padding:5px!important;}
}
@media(max-width:359px){
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions {grid-template-columns:minmax(0,1fr)!important;gap:6px!important;}
 body.svmr-ready .svmr-stock-intro .svmr-quote-actions .sv-company-actions {grid-column:1!important;grid-row:2!important;justify-content:flex-end!important;}
}
}

@layer stockviewPalette {
@media(max-width:760px){
 body .svh-map-sector > strong {font-size:11px!important;line-height:19px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
 body .svh-map-tile {box-sizing:border-box!important;padding:3px!important;gap:2px!important;overflow:hidden!important;line-height:1.25!important;}
 body .svh-map-tile > b {display:block!important;width:100%!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important;line-height:14px!important;}
 body .svh-map-tile > span {font-size:10px!important;line-height:13px!important;white-space:nowrap!important;}
 body .svh-map-tile[data-svmr-density="empty"] > * {display:none!important;}
 body .svh-map-tile[data-svmr-density="symbol"] > span {display:none!important;}
 body .svh-map-tile[data-svmr-density="quote"] > span ~ span {display:none!important;}
}
}

/* Match the three overview cards to their content-driven grid row. */
@layer stockviewPalette {
@media(min-width:1200px){
 .svh-grid:has(> #sv-block-transactions) {align-items:stretch!important;}
 .svh-grid:has(> #sv-block-transactions) > .svh-card {display:flex!important;flex-direction:column!important;min-height:0!important;}
 .svh-grid:has(> #sv-block-transactions) #svh-movers {flex:1 1 0!important;contain:size!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;}
 .svh-grid:has(> #sv-block-transactions) > .svh-card > .svn-list {display:flex!important;flex-direction:column!important;flex:1!important;}
 .svh-grid:has(> #sv-block-transactions) > .svh-card > .svn-list > .svn-item {flex:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
 .svh-grid:has(> #sv-block-transactions) > .svh-card > :is(.svh-card-head,.svn-head,.svh-note) {flex-shrink:0!important;}
}
}

@layer stockviewPalette {
 #stock-analysis.svmr-chart-navigation .svmr-original-modes,#stock-analysis.svmr-chart-navigation .svmr-original-interval {display:none!important;}
 #stock-analysis .svmr-chart-tabs {display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important;min-width:0!important;}
 #stock-analysis .svmr-chart-tabs button {font:inherit!important;font-size:13px!important;line-height:20px!important;color:var(--muted,#777)!important;background:transparent!important;border:1px solid transparent!important;border-radius:4px!important;padding:4px 7px!important;white-space:nowrap!important;cursor:pointer!important;}
 #stock-analysis .svmr-chart-tabs button[aria-pressed="true"] {background:#20242b!important;color:#fff!important;border-color:#0056ff!important;box-shadow:0 0 0 1px #0056ff!important;}
 #stock-analysis .svmr-chart-tabs button:focus-visible {outline:2px solid #0056ff!important;outline-offset:2px!important;}
 @media(max-width:760px){
 body.svmr-ready #stock-analysis .sv-chart-primary-row {display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
 body.svmr-ready #stock-analysis .svmr-chart-tabs {width:100%!important;justify-content:space-between!important;gap:1px!important;}
 body.svmr-ready #stock-analysis .svmr-chart-tabs button {font-size:12px!important;padding:7px 4px!important;min-height:36px!important;min-width:0!important;}
 }
}

/* Simple mode contains only navigation, price summary, candles and volume. */
@layer stockviewPalette {
 #stock-analysis[data-chart-mode="simple"] .sv-chart-toolbar > :not(.sv-chart-primary-row),
 #stock-analysis[data-chart-mode="simple"] .sv-chart-primary-actions,
 #stock-analysis[data-chart-mode="simple"] :is(.stock-live-meta,.svmu-chart-options,.sv-stock-interval-note,.svx-stock-interval-note,.sv-indicator-heading,.stock-indicator-chart,.sv-chart-height-edge,.svf-reference-ranges,.sv-chart-footer),
 #stock-analysis[data-chart-mode="simple"] .svd-shell ~ .sv-detail-legend,
 #stock-analysis[data-chart-mode="simple"] > p.muted {display:none!important;}
 #stock-analysis[data-chart-mode="simple"] > .sv-detail-legend:not(.svd-shell ~ .sv-detail-legend) {display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:3px 8px!important;padding:16px 0 8px!important;border:0!important;font-size:11px!important;line-height:1.5!important;}
 #stock-analysis[data-chart-mode="simple"] > .sv-detail-legend > strong {flex-basis:100%!important;text-align:center!important;font-size:14px!important;margin-bottom:4px!important;}
 #stock-analysis[data-chart-mode="simple"] > .sv-detail-legend > span:nth-of-type(5),
 #stock-analysis[data-chart-mode="simple"] > .sv-detail-legend > span:nth-of-type(6) {display:none!important;}
 #stock-analysis[data-chart-mode="simple"] .svd-shell {border:0!important;box-shadow:none!important;}
 #stock-analysis[data-chart-mode="simple"] .sv-chart-toolbar {margin-bottom:0!important;}
}

/* Chart canvas tables must not inherit mobile data-table cell padding. */
@layer stockviewPalette {
 @media(max-width:760px){
 body #stock-analysis :is(#stock-price-chart,#stock-rsi-chart,#stock-macd-chart) :is(td,th) {padding:0!important;border:0!important;}
 body #stock-analysis :is(#stock-price-chart,#stock-rsi-chart,#stock-macd-chart) table {border-spacing:0!important;margin:0!important;min-width:0!important;}
 body.svmr-ready #stock-analysis {padding-inline:6px!important;}
 body.svmr-ready #stock-analysis :is(.svd-shell,.svd-plot,.svd-body) {margin-inline:0!important;padding-inline:0!important;}
 }
}


/* StockView chart underline tabs v1 */
@layer stockviewPalette {
 html body #stock-analysis .svmr-chart-tabs button {
  position:relative!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
 }
 html body #stock-analysis .svmr-chart-tabs button[aria-pressed="true"] {
  color:var(--sv-primary,#0056ff)!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  font-weight:700!important;
 }
 html body #stock-analysis .svmr-chart-tabs button[aria-pressed="true"]::after {
  content:"";
  position:absolute;
  bottom:0;
  left:20%;
  right:20%;
  height:2px;
  border-radius:2px;
  background:currentColor;
 }
}


/* StockView simple chart actions v1 */
@layer stockviewPalette {
 html body #stock-analysis[data-chart-mode="simple"] .sv-chart-primary-actions {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
 }
 @media(max-width:760px) {
  html body #stock-analysis[data-chart-mode="simple"] .sv-chart-primary-actions {
   width:100%!important;
   margin-top:6px!important;
  }
 }
}


/* StockView chart tab font v1 */
@layer stockviewPalette {
 html body #stock-analysis .svmr-chart-tabs button {
  font-size:14px!important;
  line-height:22px!important;
 }
 @media(max-width:760px) {
  html body #stock-analysis .svmr-chart-tabs button {
   font-size:12px!important;
   line-height:20px!important;
  }
 }
}


/* StockView desktop tabs 17px v1 */
@layer stockviewPalette {
 @media(min-width:761px) {
  html body #stock-analysis .svmr-chart-tabs button {
   font-size:17px!important;
   line-height:24px!important;
  }
 }
}


/* StockView return card surface v1 */
@layer stockviewPalette {
 html body .stock-return-grid .stock-return-item {
  background:var(--sv-surface,#f8f8f9)!important;
 }
}


/* StockView chart tab focus v2 */
@layer stockviewPalette {
 html body #stock-analysis .svmr-chart-tabs button,
 html body #stock-analysis .svmr-chart-tabs button:focus {
  border-color:transparent!important;
  box-shadow:none!important;
  outline:none!important;
 }
 html body #stock-analysis .svmr-chart-tabs button:focus-visible {
  outline:2px solid var(--sv-primary,#0056ff)!important;
  outline-offset:2px!important;
 }
}
