/* MoneyClear — coherent company research flow, optimized for mobile and desktop.
   Original advanced workflow remains available after the nine-section briefing. */
.mc-stock-rebuilt .stk-top-cards,
.mc-stock-rebuilt .stk-research,
.mc-stock-rebuilt .stk-weekly{display:none!important}
.mc-company-app{--mc-ink:#18394f;--mc-muted:#5c7487;--mc-line:#dce6df;--mc-blue:#087a35;--mc-bg:#f7fbfd;display:grid;gap:18px;color:var(--mc-ink);min-width:0}
.mc-company-app [hidden]{display:none!important}
.mc-company-app *{box-sizing:border-box}
.mc-company-app h2{font-size:clamp(20px,2.2vw,27px);line-height:1.25;margin:4px 0 12px;letter-spacing:-.35px;color:#143b55}
.mc-company-app h3{font-size:15px;margin:8px 0;color:#315a73}
.mc-company-app p{line-height:1.55}
.mc-company-searchbox{display:flex;align-items:end;justify-content:space-between;gap:25px;background:linear-gradient(110deg,#f7f9fc,#fff);border:1px solid #dce6df;border-radius:18px;padding:20px 22px}
.mc-company-searchbox h2{font-size:22px;margin:4px 0 7px}
.mc-company-searchbox p{font-size:12px;color:#59768c;max-width:540px;margin:0}
.mc-company-search-controls{display:flex;position:relative;gap:8px;flex:0 1 450px;align-items:stretch}
.mc-company-search-controls input{border:1px solid #b7d1e1;background:#fff;box-shadow:0 1px 6px #142a3b0b;border-radius:10px;padding:12px 14px;flex:1 1 auto;min-width:80px;font-size:14px}
.mc-company-search-controls button{white-space:nowrap;border-radius:10px;padding:0 19px}
.mc-stock-suggestions{position:absolute;left:0;right:0;top:calc(100% + 4px);max-height:300px;overflow:auto;background:#fff;border:1px solid #dce6df;border-radius:11px;box-shadow:0 12px 28px #17395322;z-index:50}
.mc-stock-suggestions button{display:block;padding:10px 14px;text-align:left;width:100%;background:#fff;border:0;border-bottom:1px solid #eef4f6;font-size:12px;cursor:pointer;color:#194967}
.mc-stock-suggestions button:hover{background:#edf6ef}
.mc-company-notice{background:#edf6ef;padding:9px 13px;font-size:12px;border-radius:8px;color:#446985;margin:0}
.mc-company-links{display:flex;gap:7px;overflow-x:auto;white-space:nowrap;padding:1px 1px 8px;scrollbar-width:thin}
.mc-company-links button{cursor:pointer;font-family:inherit;font-size:11px;font-weight:680;text-decoration:none;border:1px solid #dce6df;border-radius:100px;background:#fff;color:#3a657d;padding:8px 13px;transition:background .14s}
.mc-company-links button:hover{background:#edf6ef}
#mc-stock-research-content{display:grid;gap:17px}
.mc-company-panel{background:#fff;border:1px solid #dce6df;border-radius:15px;padding:21px 23px;scroll-margin-top:110px;min-width:0;box-shadow:0 2px 14px rgba(15,48,75,.025)}
.mc-company-panel>.section-kicker,.mc-company-panel-head .section-kicker,.mc-company-ticker .section-kicker{font-size:10px;letter-spacing:.075em;color:#087a35;font-weight:800}
.mc-company-panel p{font-size:12px;color:#607788;margin:7px 0 12px}
.mc-company-price-panel{padding:20px 23px 16px}
.mc-company-ticker{display:flex;align-items:center;justify-content:space-between;gap:15px}
.mc-company-ticker h2{font-size:clamp(23px,3vw,32px);margin:4px 0 2px}
.mc-company-ticker p{font-size:12px;color:#5d7b91;margin:0}
.mc-stock-eod-pill{color:#5b6c74;background:#f1f5f7;border:1px solid #edf6ef;padding:7px 12px;font-size:11px;font-weight:700;border-radius:100px;white-space:nowrap}
.mc-stock-price-grid{display:flex;gap:32px;justify-content:space-between;align-items:center;padding:20px 0 14px;flex-wrap:wrap}
.mc-stock-price-grid>div:first-child{display:flex;align-items:baseline;gap:9px 16px;flex-wrap:wrap}
.mc-stock-price-grid strong#mc-stock-current-price{font-size:clamp(32px,4.6vw,49px);font-weight:720;letter-spacing:-1.5px;color:#142f42;line-height:1.06;font-variant-numeric:tabular-nums}
.mc-stock-price-grid #mc-stock-price-change{font-size:14px;font-weight:700}
.mc-price-up{color:#14815a}.mc-price-down{color:#b44550}
.mc-stock-price-grid #mc-stock-price-date{font-size:11px;display:block;flex:1 0 100%;color:#6d8596}
.mc-stock-quote-facts{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.mc-stock-quote-facts .mc-stock-stat{padding:0 10px;border-left:1px solid #edf6ef;min-width:80px}
.mc-stock-stat{display:grid;gap:3px;min-width:0}
.mc-stock-stat span{font-size:11px;color:#6f8798;line-height:1.3}
.mc-stock-stat strong{font-size:14px;color:#234c66;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mc-stock-embedded-quote{width:100%;overflow:hidden;border:0;margin:10px 0}
.mc-stock-embedded-quote:empty{display:none}
.mc-stock-embedded-quote .tradingview-widget-container__widget{min-height:185px}
.mc-stock-embedded-quote .tradingview-widget-copyright{font-size:10px}
.mc-stock-range{display:flex;gap:4px;margin:12px 0;border-bottom:1px solid #dce6df;padding-bottom:6px}
.mc-stock-range button{cursor:pointer;min-width:50px;border:0;border-radius:9px;padding:8px 11px;background:transparent;color:#5c7790;font-size:12px;font-weight:680}
.mc-stock-range button.active{background:#edf6ef;color:#062348}
.mc-stock-own-chart svg{display:block;width:100%;height:auto;max-height:370px}
.mc-stock-embedded-chart{width:100%;max-width:100%;overflow:hidden}
.mc-stock-embedded-chart .tradingview-widget-container{width:100%;min-height:420px}
.mc-stock-source,.mc-stock-note{font-size:11px!important;color:#708597!important;line-height:1.55!important}
.mc-stock-own-chart .mc-stock-source{padding:4px 12px}
.mc-stock-empty{font-size:12px!important;background:#f7fafc;border:1px solid #e9eff4;border-radius:10px;padding:13px 15px;color:#688093!important}
.mc-stock-profile-grid,.mc-stock-fundamental-grid,.mc-stock-indicator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:#f8fbfd;padding:16px;border:1px solid #edf6ef;border-radius:10px;margin:13px 0}
.mc-stock-profile-grid .mc-stock-stat{min-width:0}
.mc-company-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.mc-stock-period{display:flex;gap:3px;background:#f1f6fa;border:1px solid #dce6df;padding:4px;border-radius:10px}
.mc-stock-period button{cursor:pointer;border:0;border-radius:7px;background:transparent;color:#607a8a;font-weight:700;font-size:12px;padding:8px 16px}
.mc-stock-period button.active{background:#fff;box-shadow:0 1px 5px #00000015;color:#087a35}
.mc-stock-six-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0}
.mc-stock-finchart{background:#fff;border:1px solid #e0eaf0;border-radius:11px;padding:12px;min-width:0}
.mc-stock-finchart h3{font-size:12px;margin:1px 0 9px;color:#4b677d;font-weight:750}
.mc-stock-finchart svg{width:100%;height:auto;display:block;overflow:visible;min-height:160px}.mc-stock-finchart svg text{paint-order:stroke;stroke:#fff;stroke-width:1.7px;stroke-linejoin:round}
.mc-stock-chart-summary{display:grid;gap:3px;margin:5px 0 1px}
.mc-stock-chart-summary strong{font-size:17px;color:#244b63;font-variant-numeric:tabular-nums}
.mc-stock-chart-summary span{font-size:10px;color:#7b8d9b}
.mc-stock-filing-note{border-bottom:1px solid #edf2f4;padding:10px 0}
.mc-stock-filing-note strong{font-size:13px}
.mc-stock-filing-note small{font-size:11px;color:#82909d}
.mc-stock-findings{display:grid;gap:3px}
.mc-stock-findings p{padding:12px;background:#f7fafc;border:1px solid #edf6ef;border-radius:9px;margin:4px 0}
.mc-stock-conclusion{background:linear-gradient(130deg,#f7f9fc,#fff)}
.mc-stock-conclusion #mc-stock-research-conclusion{padding:16px;background:#eff5fa;border:1px solid #dce6df;border-radius:10px}
.mc-stock-conclusion #mc-stock-research-conclusion strong{color:#087a35;font-size:15px}
.mc-stock-audit{margin-top:18px}
.mc-stock-audit h3{font-size:13px;margin:13px 0 4px}
.mc-stock-audit p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
#mc-tv-profile,#mc-tv-financials,#mc-tv-technicals,#mc-tv-news{min-width:0;overflow:hidden}
#mc-tv-profile:empty,#mc-tv-financials:empty,#mc-tv-technicals:empty,#mc-tv-news:empty{display:none}
.mc-company-app a:focus-visible,.mc-company-app button:focus-visible,.mc-company-app input:focus-visible{outline:2px solid #087a35;outline-offset:2px}
@media(max-width:950px){.mc-company-searchbox{align-items:stretch;flex-direction:column}.mc-company-search-controls{flex:initial}.mc-stock-six-charts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .mc-company-panel,.mc-company-price-panel{padding:14px}
 .mc-company-ticker{align-items:start;flex-direction:column;gap:7px}
 .mc-company-ticker h2{font-size:23px}
 .mc-stock-price-grid{align-items:start;gap:12px}
 .mc-stock-quote-facts{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .mc-stock-quote-facts .mc-stock-stat{border-left:0;border-top:1px solid #edf6ef;padding:7px 0}
 .mc-company-searchbox{padding:15px}
 .mc-company-search-controls{flex-direction:column}
 .mc-company-search-controls button{height:42px}
 .mc-company-links{margin-right:-4px}
 .mc-stock-six-charts{grid-template-columns:1fr}
 .mc-stock-profile-grid,.mc-stock-fundamental-grid,.mc-stock-indicator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mc-stock-range button{min-width:42px}
 .mc-stock-embedded-chart .tradingview-widget-container{min-height:400px}
}
@media(prefers-reduced-motion:reduce){.mc-company-links button{transition:none}}

.mc-stock-advanced-lab{border:1px solid #dce6df;background:#f8fbfd;border-radius:14px;margin:18px 0 34px;padding:14px 16px}
.mc-stock-advanced-lab>summary{cursor:pointer;color:#087a35;font-size:12px;font-weight:740;line-height:1.5}
.mc-stock-advanced-lab #mc-equity-workflows{margin-top:18px}
.mc-stock-range button[data-range="Available"]{white-space:nowrap;min-width:110px}

/* Source-attributed MD&A and earnings-call commentary */
.mc-management-source-group{display:grid;gap:9px;margin:12px 0 20px}
.mc-management-source-group>h3{font-size:14px!important;margin:6px 0 2px!important;color:#194f70}
.mc-management-source-group .mc-stock-filing-note{border:1px solid #edf6ef;background:#fcfeff;border-radius:10px;padding:12px 14px;min-width:0}
.mc-management-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.mc-management-heading strong{font-size:13px;line-height:1.35}
.mc-management-heading span{white-space:nowrap}
.mc-management-source-group .mc-stock-filing-note>p{font-size:13px;margin:9px 0;color:#29465a;line-height:1.6}
.mc-management-source-group .mc-stock-filing-note>a{display:inline-block;margin:4px 0;font-size:12px;font-weight:650}
.mc-management-source-group .mc-stock-filing-note>small{display:block;margin-top:6px;font-size:11px;color:#708497;line-height:1.4}

/* Material transcript insights shown inside research conclusion */
.mc-research-management-evidence{margin:14px 0;padding:14px 16px;border:1px solid #dce6df;border-radius:10px;background:#fbfdfe}
.mc-research-management-evidence h3{font-size:14px;color:#184b68;margin:0 0 8px}
.mc-management-signal{padding:10px 0;border-top:1px solid #e9eff3}
.mc-management-signal strong{font-size:13px;color:#20485f}
.mc-management-signal small{font-size:11px;color:#7890a0}
.mc-management-signal p{font-size:13px;line-height:1.55;margin:5px 0 4px}
.mc-management-signal a{font-size:12px;font-weight:650}

/* Concise investor-first management signals */
.mc-management-signals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:10px 0}
.mc-management-signal-column{min-width:0;border:1px solid #dce6df;border-radius:12px;padding:12px 15px;background:#fff}
.mc-management-signal-column h3{font-size:14px!important;margin:0 0 8px!important}
.mc-management-signal-column.green h3{color:#166b4d}
.mc-management-signal-column.red h3{color:#a04442}
.mc-management-short-signal{padding:9px 0;border-top:1px solid #e8eef2}
.mc-management-short-signal p{margin:0 0 5px;font-size:13px;line-height:1.45;color:#24485b}
.mc-management-short-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 10px;font-size:10px;color:#6f8592}
.mc-management-short-meta a{font-size:11px;font-weight:650}
@media(max-width:660px){.mc-management-signals-grid{grid-template-columns:1fr}}


/* Upstox shareholding ownership visual — no external charting library */
.mc-shareholding-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(230px,1fr);align-items:center;column-gap:34px;row-gap:14px;max-width:860px;margin:10px auto 2px}
.mc-shareholding-chart{display:flex;justify-content:center;align-items:center;min-width:0}
.mc-shareholding-chart svg{display:block;width:min(100%,264px);height:auto;max-height:264px;overflow:visible}
.mc-shareholding-chart path{transition:opacity .14s ease;cursor:pointer;outline-offset:2px}
.mc-shareholding-chart path:focus-visible{outline:2px solid #1d79a4;outline-offset:1px}
.mc-shareholding-detail{min-width:0;display:grid;gap:8px}
.mc-shareholding-legend{display:grid;gap:3px}
.mc-shareholding-legend-item{display:grid;grid-template-columns:11px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;border:1px solid transparent;border-radius:8px;padding:8px 10px;background:transparent;color:#2a526b;text-align:left;cursor:pointer;font:inherit}
.mc-shareholding-legend-item:hover,.mc-shareholding-legend-item[aria-pressed="true"]{background:#f0f7fb;border-color:#e1eaf0}
.mc-shareholding-dot{width:11px;height:11px;border-radius:4px}
.mc-shareholding-legend-name{font-size:13px;line-height:1.3}
.mc-shareholding-value{font-size:14px;font-weight:750;font-variant-numeric:tabular-nums}
.mc-shareholding-selection{min-height:18px;font-size:11px!important;color:#607c8e;margin:4px 9px!important}
#mc-shareholding-visual>.mc-stock-source{margin:12px 2px 0!important}
@media(max-width:650px){
 .mc-shareholding-layout{grid-template-columns:1fr;row-gap:6px;max-width:400px}
 .mc-shareholding-chart svg{width:min(100%,238px)}
 .mc-shareholding-detail{padding:0 2px}
}
@media(prefers-reduced-motion:reduce){.mc-shareholding-chart path{transition:none}}


/* Cash-flow interpretation first, charts second: compact and readable. */
.mc-cashflow-takeaways{margin:0 0 18px}
.mc-cashflow-takeaways h3{font-size:15px;margin:0 0 12px;color:#173b56}
.mc-cashflow-takeaways ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mc-cashflow-takeaways li{padding:2px 0 2px 12px;border-left:3px solid #dce6df;min-width:0}
.mc-cashflow-takeaways li strong{font-size:13px;line-height:1.5;color:#173b56}
.mc-cashflow-takeaways li p{font-size:12px;line-height:1.55;margin:4px 0 0;color:#536b80}
.mc-swot-sources{margin-top:10px;color:#667d8e;font-size:12px}
.mc-swot-sources summary{cursor:pointer;font-weight:600}
.mc-swot-sources ul{margin:7px 0 0;padding-left:18px}
.mc-swot-sources li{margin:4px 0}
@media(max-width:700px){.mc-cashflow-takeaways ul{grid-template-columns:1fr;gap:12px}}


/* MoneyClear SWOT — four clear pastel quadrants, all findings visible at once. */
.mc-swot-matrix{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;margin-top:12px
}
.mc-swot-quadrant{
 position:relative;border-radius:22px;padding:19px 21px 18px;
 min-height:220px;overflow:hidden;color:#163249
}
.mc-swot-s{background:#c5e1e6}
.mc-swot-w{background:#ffdab9}
.mc-swot-o{background:#dcebcf}
.mc-swot-t{background:#f8d3ca}
.mc-swot-quadrant-head{
 display:flex;align-items:center;justify-content:space-between;
 gap:10px;position:relative;z-index:1;margin-bottom:12px
}
.mc-swot-quadrant h3{
 font-size:15px;line-height:1.35;font-weight:750;
 margin:0;color:#163249
}
.mc-swot-watermark{
 display:grid;place-items:center;width:48px;height:48px;
 flex:none;border-radius:50%;
 background:rgba(255,255,255,.3);
 font-size:21px;font-weight:800;color:#163249
}
.mc-swot-bullets{
 margin:0;padding-left:17px;list-style:disc;position:relative;z-index:1
}
.mc-swot-bullets li{
 margin:0 0 10px;padding:0;
 font-size:13px;line-height:1.45;color:#24435b
}
.mc-swot-bullets li:last-child{margin-bottom:0}
.mc-swot-bullets strong{font-size:13px;font-weight:700;color:#153249}
.mc-swot-bullets p{margin:2px 0 0;line-height:1.45;font-size:12px;color:#355269}
.mc-swot-placeholder{color:#526c7e;font-style:italic}
.mc-swot-sources{margin-top:12px}
.mc-swot-sources summary{font-size:12px}

/* Conservative comparative valuation — do not label it as DCF fair value. */
.mc-stock-valuation{
 padding:17px 18px 13px;
 border:1px solid #dce6df;border-radius:16px;
 margin:0 0 22px;background:#f8fbfd;
}
.mc-stock-valuation>h3{margin:0 0 12px;font-size:17px;color:#143a54}
.mc-value-verdict{padding:10px 12px;border-left:3px solid #7eabbf;background:#fff;border-radius:6px}
.mc-value-verdict strong{font-size:15px;color:#1c4961}
.mc-value-verdict p{margin:4px 0 0;line-height:1.5;font-size:13px;color:#465e70}
.mc-value-premium{border-left-color:#bb8e48}
.mc-value-discount{border-left-color:#4a9879}
.mc-value-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:11px 0}
.mc-value-metric{padding:9px 11px;border:1px solid #edf6ef;background:#fff;border-radius:9px}
.mc-value-metric span{display:block;font-size:11px;color:#6c8190;margin-bottom:3px}
.mc-value-metric strong{font-size:14px;color:#1d3e55}
.mc-value-caution{margin:11px 0 0;font-size:12px;line-height:1.6;color:#536c7b}
.mc-value-caution strong{color:#294e64}
.mc-value-method{margin-top:9px;font-size:12px;color:#5c7082}
.mc-value-method summary{font-weight:600;cursor:pointer}
@media (max-width:720px){
 .mc-swot-matrix{grid-template-columns:1fr;gap:9px}
 .mc-swot-quadrant{padding:15px 17px;min-height:0}
 .mc-swot-watermark{width:38px;height:38px;font-size:17px}
 .mc-value-metrics{grid-template-columns:1fr}
 .mc-stock-valuation{padding:15px}
}

/* Identify segment findings without drowning out the SWOT takeaways. */
.mc-swot-scope-note{font-size:12px;line-height:1.5;color:#566e80;margin:4px 0 12px}
.mc-swot-segment-label{display:block;color:#38576b;font-size:11px;font-weight:700;line-height:1.5;margin:0 0 3px}


/* One MoneyClear price card replaces the old quote + chart combination. */
.mc-company-price-panel{padding:0;border:0;background:transparent;box-shadow:none}
.mc-price-card{
 padding:22px 25px 17px;background:#f6f9fb;
 border:1px solid #dce6df;border-radius:20px;overflow:hidden;
 box-shadow:0 3px 13px rgba(21,58,85,.035);
}
.mc-price-card-top{display:flex;align-items:center;gap:13px}
.mc-price-logo{
 display:grid;place-items:center;flex:0 0 51px;width:51px;height:51px;
 border-radius:14px;background:#edf6ef;border:1px solid #dce6df;
 color:#087a35;font-size:23px;font-weight:800;letter-spacing:-.025em
}
.mc-price-company-details{min-width:0;flex:1}
.mc-price-company-details h2{
 font-size:clamp(21px,2.8vw,31px);line-height:1.16;
 margin:3px 0;color:#143249;font-weight:750;letter-spacing:-.035em
}
.mc-price-company-details p{font-size:13px;margin:0;color:#5b7689}
.mc-price-card-top .mc-stock-eod-pill{
 font-size:11px;border-radius:999px;padding:6px 10px;
 color:#4c7088;background:#edf6ef;border:1px solid #dce6df;
 white-space:nowrap
}
.mc-price-summary{margin-top:20px}
.mc-price-main{display:flex;align-items:baseline;gap:9px 14px;flex-wrap:wrap}
.mc-price-main #mc-stock-current-price{
 font-size:clamp(35px,5.4vw,55px);font-weight:770;
 line-height:1.08;letter-spacing:-.04em;color:#112d42;
 font-variant-numeric:tabular-nums
}
.mc-price-currency{font-size:16px;color:#728598;font-weight:500}
.mc-price-move{
 display:inline-flex;align-items:center;justify-content:center;
 font-size:16px;font-weight:750;border-radius:11px;
 padding:5px 9px;font-variant-numeric:tabular-nums
}
.mc-price-move.mc-price-up{background:#e4f5ec;color:#128453}
.mc-price-move.mc-price-down{background:#ffeaec;color:#c83c51}
.mc-price-absolute{font-size:17px;font-weight:730;font-variant-numeric:tabular-nums}
.mc-price-absolute.mc-price-up{color:#168656}
.mc-price-absolute.mc-price-down{color:#c83c51}
.mc-price-timestamp{display:flex;align-items:center;gap:7px;margin-top:9px;font-size:12px;color:#6a8193}
.mc-price-disclaimer{position:relative;display:inline-block}
.mc-price-disclaimer summary{list-style:none;cursor:pointer;text-decoration:underline;color:#52758e}
.mc-price-disclaimer summary::-webkit-details-marker{display:none}
.mc-price-disclaimer[open] p{
 position:absolute;top:11px;left:0;z-index:5;max-width:min(310px,75vw);width:290px;
 padding:12px 13px;border:1px solid #dce6df;border-radius:10px;
 background:#fff;box-shadow:0 8px 28px rgba(22,62,91,.13);
 line-height:1.5;font-size:12px;color:#425a6c
}
.mc-price-card .mc-stock-range{
 display:grid;grid-template-columns:repeat(8,minmax(0,1fr));
 gap:3px;border:0;border-bottom:1px solid #dce6df;
 padding:0 0 11px;margin:22px 0 5px;
}
.mc-price-card .mc-stock-range button{
 font-size:13px;font-weight:730;border-radius:9px;min-width:0;
 padding:8px 5px;min-height:35px;background:transparent;color:#576f84;
 transition:background .12s ease,color .12s ease
}
.mc-price-card .mc-stock-range button:hover{background:#edf6ef;color:#087a35}
.mc-price-card .mc-stock-range button.active{
 background:#edf6ef;color:#087a35;box-shadow:inset 0 0 0 1px #afd8b9
}
.mc-price-card .mc-stock-own-chart{
 padding:12px 0 8px;min-height:205px;background:transparent;
 overflow:visible;color:#5c7182
}
.mc-price-card .mc-stock-own-chart svg{
 display:block;width:100%;height:auto;max-height:370px;
 touch-action:pan-y;overflow:visible
}
.mc-price-card .mc-stock-own-chart .mc-stock-empty{
 padding:85px 10px;text-align:center;color:#6b8292;
 font-size:13px;line-height:1.5
}
.mc-price-key-stats{
 margin:13px 0 0;padding:14px 0 9px;
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 grid-auto-rows:minmax(33px,auto);gap:3px 23px;
 border-top:1px solid #dce6df
}
.mc-price-stat{display:flex;justify-content:space-between;gap:10px;align-items:baseline;
 padding:5px 8px 5px 0;min-width:0}
.mc-price-stat span{font-size:12px;color:#6d8292;line-height:1.35}
.mc-price-stat strong{
 font-size:13px;font-weight:700;color:#28475d;font-variant-numeric:tabular-nums;
 text-align:right;white-space:nowrap
}
.mc-price-card #mc-stock-price-source{margin:3px 0 0;font-size:11px;color:#738c9c;line-height:1.45}
@media(max-width:790px){
 .mc-price-card{padding:18px 15px 14px;border-radius:16px}
 .mc-price-logo{width:43px;height:43px;flex-basis:43px;font-size:19px}
 .mc-price-card-top .mc-stock-eod-pill{display:none}
 .mc-price-main #mc-stock-current-price{font-size:clamp(34px,7vw,49px)}
 .mc-price-card .mc-stock-range{
  grid-template-columns:none;display:flex;overflow-x:auto;scrollbar-width:thin;
  gap:4px;margin:17px -4px 4px;padding:0 3px 11px
 }
 .mc-price-card .mc-stock-range button{flex:0 0 56px;font-size:12px}
 .mc-price-key-stats{gap:1px 15px}
}
@media(max-width:530px){
 .mc-price-key-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
 .mc-price-stat{padding:7px 0;border-bottom:1px solid #edf6ef}
 .mc-price-main{gap:6px 10px}
 .mc-price-currency{font-size:13px}
 .mc-price-move{font-size:13px}
 .mc-price-absolute{font-size:14px}
 .mc-price-timestamp{flex-wrap:wrap}
}


/* Customer-facing stock page: price + evidence-led MoneyClear view only.
   Advanced research remains in backend; hidden analysis nodes are not UI. */
.mc-stock-rebuilt .mc-company-panel[hidden],
.mc-stock-rebuilt [hidden][inert],
.mc-stock-rebuilt #mc-equity-workflows,
#mc-site-sources[hidden]{display:none!important}
.mc-stock-rebuilt .mc-company-links{
 display:flex;justify-content:flex-start;gap:10px;flex-wrap:wrap;margin:12px 0 14px
}
.mc-stock-rebuilt .mc-price-card{padding:15px 19px 12px;border-radius:15px}
.mc-stock-rebuilt .mc-price-card-top{gap:10px}
.mc-stock-rebuilt .mc-price-logo{
 flex-basis:40px;width:40px;height:40px;font-size:18px;border-radius:10px
}
.mc-stock-rebuilt .mc-price-company-details h2{font-size:clamp(20px,2.4vw,27px)}
.mc-stock-rebuilt .mc-price-summary{margin-top:9px}
.mc-stock-rebuilt .mc-price-main #mc-stock-current-price{
 font-size:clamp(30px,4vw,42px)
}
.mc-stock-rebuilt .mc-price-currency{font-size:13px}
.mc-stock-rebuilt .mc-price-move{font-size:13px;padding:3px 7px}
.mc-stock-rebuilt .mc-price-absolute{font-size:14px}
.mc-stock-rebuilt .mc-price-timestamp{margin-top:4px;font-size:11px}
.mc-stock-rebuilt .mc-price-card .mc-stock-range{margin:12px 0 3px;padding-bottom:7px}
.mc-stock-rebuilt .mc-price-card .mc-stock-range button{min-height:30px;padding:6px 4px;font-size:12px}
.mc-stock-rebuilt .mc-price-card .mc-stock-own-chart{padding:3px 0 2px;min-height:125px}
.mc-stock-rebuilt .mc-price-key-stats{margin-top:4px;padding:7px 0 2px;gap:1px 20px}
.mc-stock-rebuilt .mc-price-stat{padding:3px 6px 3px 0}
.mc-stock-rebuilt .mc-price-stat span{font-size:11px}
.mc-stock-rebuilt .mc-price-stat strong{font-size:12px}
.mc-stock-rebuilt .mc-public-verdict{padding:20px 22px}
.mc-stock-rebuilt .mc-public-verdict h2{margin:5px 0 12px;font-size:23px}
.mc-public-verdict-head{padding:9px 0 13px;border-bottom:1px solid #edf6ef}
.mc-public-verdict-head>strong{display:block;font-size:18px;color:#173b53}
.mc-public-verdict-head>.mc-stock-note{margin:6px 0 0;color:#5a7284;font-size:13px;line-height:1.5}
.mc-public-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:15px}
.mc-public-evidence{border:1px solid #dce6df;border-radius:12px;padding:14px;background:#f9fbfd}
.mc-public-evidence.positive{border-left:3px solid #5aa789}
.mc-public-evidence.caution{border-left:3px solid #d7a060}
.mc-public-evidence h3{margin:0 0 10px;font-size:14px;color:#183a52}
.mc-public-evidence ul{margin:0;padding-left:17px}
.mc-public-evidence li{margin:0 0 10px;font-size:12px;line-height:1.5;color:#445d70}
.mc-public-evidence li:last-child{margin-bottom:0}
.mc-public-evidence li strong{display:block;font-size:12.5px;color:#213d51}
.mc-public-evidence li p{margin:3px 0 0;color:#587083}
.mc-public-segment{display:block;margin-bottom:2px;font-size:11px;color:#5d8294}
.mc-public-pending{margin:14px 0 4px;padding:10px 12px;background:#f4f8fb;border-radius:9px;color:#526e80;font-size:12px;line-height:1.5}
.mc-public-references{margin-top:12px;font-size:12px;color:#597184}
.mc-public-references summary{cursor:pointer;font-weight:600}
.mc-public-references ul{margin:8px 0 0;padding-left:18px}
.mc-public-references li{margin:4px 0}
@media(max-width:690px){
 .mc-stock-rebuilt .mc-public-verdict{padding:15px 13px}
 .mc-public-evidence-grid{grid-template-columns:1fr;gap:10px}
 .mc-stock-rebuilt .mc-price-card{padding:13px}
 .mc-stock-rebuilt .mc-price-main #mc-stock-current-price{font-size:clamp(28px,8vw,37px)}
 .mc-stock-rebuilt .mc-price-card .mc-stock-range{
  display:flex;margin:11px -2px 1px;padding-bottom:7px;overflow-x:auto
 }
 .mc-stock-rebuilt .mc-price-card .mc-stock-range button{min-width:50px;flex:0 0 50px}
}


/* Compact stock quote header and key facts; remove excessive vertical gaps. */
.mc-stock-rebuilt .mc-price-card{padding:12px 16px 10px}
.mc-stock-rebuilt .mc-price-card-top{gap:8px}
.mc-stock-rebuilt .mc-price-company-details .section-kicker{
 display:block;margin:0 0 2px;line-height:1.2;font-size:10px;letter-spacing:.13em
}
.mc-stock-rebuilt .mc-price-company-details h2{
 margin:0 0 1px;line-height:1.12;font-size:clamp(19px,2.2vw,26px)
}
.mc-stock-rebuilt .mc-price-company-details p{margin:0;line-height:1.22;font-size:12px}
.mc-stock-rebuilt .mc-price-summary{margin-top:5px}
.mc-stock-rebuilt .mc-price-card .mc-stock-range{margin:8px 0 2px;padding-bottom:6px}
.mc-stock-rebuilt .mc-price-card .mc-stock-own-chart{padding:1px 0;min-height:100px}
.mc-stock-rebuilt .mc-price-key-stats{
 grid-auto-rows:minmax(23px,auto);row-gap:0;column-gap:16px;
 margin:1px 0 0;padding:5px 0 2px
}
.mc-stock-rebuilt .mc-price-stat{padding:2px 4px 2px 0;min-height:22px}
.mc-stock-rebuilt .mc-price-card #mc-stock-price-source{margin:1px 0 0}
.mc-stock-rebuilt .mc-price-logo.mc-logo-verified{
 background:#fff;border-color:#e3e9ed;overflow:hidden;padding:3px
}
.mc-stock-rebuilt .mc-price-logo.mc-logo-verified img{
 display:block;width:100%;height:100%;object-fit:contain
}
.mc-stock-rebuilt #mc-stock-price-type{
 max-width:195px;overflow:hidden;text-overflow:ellipsis
}
@media(max-width:690px){
 .mc-stock-rebuilt .mc-price-card{padding:11px 12px 9px}
 .mc-stock-rebuilt .mc-price-key-stats{grid-auto-rows:minmax(23px,auto);column-gap:12px}
 .mc-stock-rebuilt .mc-price-stat{min-height:22px}
}


/* Prefix autocomplete: fast shortlist, keyboard selection and clear hierarchy. */
.mc-company-search-controls input[role="combobox"]{min-width:0}
.mc-company-search-controls .mc-stock-suggestions{
 display:block;max-height:min(340px,55vh);overflow:auto;
 border-radius:12px;padding:5px;
 box-shadow:0 14px 34px rgba(20,53,78,.17)
}
.mc-company-search-controls .mc-stock-suggestions[hidden]{display:none!important}
.mc-company-search-controls .mc-stock-suggestions .mc-stock-suggestion-option{
 display:flex;flex-direction:column;align-items:flex-start;
 width:100%;gap:1px;padding:9px 11px;white-space:normal;
 border-radius:7px;border:0;border-bottom:1px solid #eef3f7;
 background:transparent;text-align:left;cursor:pointer;
}
.mc-stock-suggestions .mc-stock-suggestion-option:last-child{border-bottom:0}
.mc-stock-suggestions .mc-stock-suggestion-option:hover,
.mc-stock-suggestions .mc-stock-suggestion-option.active,
.mc-stock-suggestions .mc-stock-suggestion-option:focus-visible{
 background:#edf6ef;outline:0
}
.mc-stock-suggestion-name{display:block;font-size:13px;font-weight:700;color:#143c57;line-height:1.4}
.mc-stock-suggestion-ticker{font-size:11px;color:#668498;font-weight:560;line-height:1.4}
.mc-stock-suggestion-empty{padding:11px 12px;margin:0;font-size:12px;color:#708696}
@media(max-width:650px){
 .mc-company-search-controls .mc-stock-suggestions{max-height:min(300px,50vh)}
 .mc-company-search-controls .mc-stock-suggestions .mc-stock-suggestion-option{padding:11px 10px}
}


/* Peer comparison: compact financial screener with safe horizontal overflow. */
.mc-stock-rebuilt .mc-company-peer-panel{padding:18px 20px}
.mc-stock-rebuilt .mc-company-peer-panel h2{margin:5px 0 12px;font-size:22px}
.mc-peer-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #edf6ef;border-radius:11px}
.mc-peer-table{width:100%;min-width:940px;border-collapse:separate;border-spacing:0;table-layout:auto;font-size:12px}
.mc-peer-table thead th{background:#f3f8fb;text-align:right;font-size:11px;font-weight:750;color:#45667d;padding:11px 10px;white-space:nowrap;border-bottom:1px solid #dce6df}
.mc-peer-table tbody td{text-align:right;vertical-align:top;padding:11px 10px;white-space:nowrap;border-bottom:1px solid #edf1f5;color:#304c5d;font-variant-numeric:tabular-nums}
.mc-peer-table tbody tr:last-child td{border-bottom:0}
.mc-peer-table thead th:first-child,.mc-peer-table tbody td:first-child{text-align:left;position:sticky;left:0;z-index:1;min-width:188px;max-width:250px;background:#fff;white-space:normal;box-shadow:4px 0 10px -9px #557286}
.mc-peer-table thead th:first-child{z-index:2;background:#f3f8fb}
.mc-peer-table tbody tr.mc-peer-selected td{background:#edf6ef;font-weight:700}
.mc-peer-table tbody tr.mc-peer-selected td:first-child{background:#edf6ef}
.mc-peer-table tbody td:first-child strong{display:block;line-height:1.35;color:#1f4561;font-size:12px}
.mc-peer-table tbody td small{display:block;margin-top:3px;color:#73899a;font-size:10px;font-weight:500}
.mc-peer-table tbody td:first-child small{color:#618096}
.mc-peer-interpretation{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:11px}
.mc-stock-rebuilt .mc-peer-interpretation p{margin:0;color:#087a35;font-weight:650;font-size:12px;line-height:1.6}
.mc-stock-rebuilt .mc-peer-source{font-size:11px;color:#61798c;line-height:1.6;margin:10px 0 0}
.mc-stock-rebuilt .mc-peer-note{font-size:12px;color:#647a89;margin:0}
@media(max-width:690px){
 .mc-stock-rebuilt .mc-company-peer-panel{padding:15px 12px}
 .mc-peer-table{min-width:880px}
 .mc-peer-table thead th,.mc-peer-table tbody td{padding:10px 9px}
 .mc-peer-table thead th:first-child,.mc-peer-table tbody td:first-child{min-width:146px;max-width:175px}
}


/* Source-verified banking and insurance ratio context (not investment approval). */
.mc-stock-rebuilt .mc-peer-sector-title{font-size:15px;line-height:1.35;font-weight:750;color:#21455e;margin:20px 0 4px}
.mc-stock-rebuilt .mc-peer-sector-intro{font-size:11px;line-height:1.6;color:#677e8d;margin:4px 0 10px}
.mc-stock-rebuilt .mc-peer-sector-scroll{margin-top:7px}
.mc-stock-rebuilt .mc-peer-sector-table{min-width:1040px}
.mc-stock-rebuilt .mc-peer-sector-table th,.mc-stock-rebuilt .mc-peer-sector-table td{font-variant-numeric:tabular-nums}
.mc-stock-rebuilt .mc-peer-sector-table td a{font-size:11px;font-weight:670;color:#087a35;text-decoration:underline;text-underline-offset:2px}
.mc-stock-rebuilt .mc-peer-sector-table td a+a{margin-left:8px}
.mc-stock-rebuilt .mc-peer-sector-table td small{color:#718799;font-size:10px}
.mc-stock-rebuilt .mc-peer-sector-table tr:hover td:not(:first-child){background:#f7fbfd}
@media(max-width:690px){.mc-stock-rebuilt .mc-peer-sector-title{margin-top:16px}.mc-stock-rebuilt .mc-peer-sector-table{min-width:1050px}}

/* Explicit statement basis and user-curated industry comparisons. */
.mc-stock-rebuilt .mc-accounting-basis,.mc-stock-rebuilt .mc-peer-customize{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 12px}
.mc-stock-rebuilt .mc-accounting-basis span,.mc-stock-rebuilt .mc-peer-customize label{font-size:12px;font-weight:700;color:#425e72;margin-right:5px}
.mc-stock-rebuilt .mc-accounting-basis button,.mc-stock-rebuilt .mc-peer-customize button{border:1px solid #dce6df;border-radius:8px;background:#fff;color:#234a62;padding:7px 12px;font-size:12px;cursor:pointer}
.mc-stock-rebuilt .mc-accounting-basis button.active{background:#174d70;color:white;border-color:#174d70}
.mc-stock-rebuilt .mc-peer-customize input{min-width:120px;max-width:190px;width:100%;border:1px solid #dce6df;border-radius:8px;padding:8px 10px;font-size:12px}
.mc-stock-rebuilt .mc-peer-remove{display:inline-block;margin:3px 0 0;padding:2px 6px;font-size:10px;border:1px solid #dce6df;border-radius:5px;background:#fff;color:#476c82;cursor:pointer}
.mc-stock-rebuilt .mc-peer-segment-context{margin-top:13px;padding:11px 13px;border:1px solid #dce6df;border-radius:9px}
.mc-stock-rebuilt .mc-peer-segment-context strong{font-size:12px;color:#174d70}
.mc-stock-rebuilt .mc-peer-segment-context p{font-size:12px;color:#5b7385;line-height:1.5;margin:5px 0 0}

/* Keep both financial switches right-aligned and visually identical. */
.mc-stock-rebuilt .mc-financial-switches{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-left:auto}
.mc-stock-rebuilt .mc-financial-switches .mc-accounting-basis{margin:0;display:flex;flex-wrap:nowrap;gap:3px;background:#f1f6fa;border:1px solid #dce6df;padding:4px;border-radius:10px}
.mc-stock-rebuilt .mc-financial-switches .mc-accounting-basis button{cursor:pointer;border:0;border-radius:7px;background:transparent;box-shadow:none;color:#607a8a;font-weight:700;font-size:12px;padding:8px 16px;white-space:nowrap}
.mc-stock-rebuilt .mc-financial-switches .mc-accounting-basis button.active{background:#fff;box-shadow:0 1px 5px #00000015;color:#087a35}
@media(max-width:650px){.mc-stock-rebuilt .mc-financial-switches{align-items:flex-start;margin-left:0}}


/* Readable chart layout: prioritize legibility over three cramped cards. */
#mc-financial-graphs,#mc-cashflow-graphs{
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:18px;
 margin:22px 0 18px;
}
#mc-financial-graphs .mc-stock-finchart,
#mc-cashflow-graphs .mc-stock-finchart{
 padding:19px 18px 14px;
}
#mc-financial-graphs .mc-stock-finchart h3,
#mc-cashflow-graphs .mc-stock-finchart h3{
 font-size:15px;
 line-height:1.4;
 margin:1px 0 13px;
 color:#244b63;
}
@media(max-width:700px){
 #mc-financial-graphs,#mc-cashflow-graphs{
  grid-template-columns:minmax(0,1fr);
  gap:14px;
 }
 #mc-financial-graphs .mc-stock-finchart,
 #mc-cashflow-graphs .mc-stock-finchart{padding:14px 12px 12px}
}

/* Both sections now have four equally sized charts in a 2x2 grid. */
#mc-financial-graphs>.mc-stock-finchart,
#mc-cashflow-graphs>.mc-stock-finchart{
 width:100%;
 min-width:0;
 align-self:stretch;
}


/* One financial section with accessible Upstox-style statement tabs. */
.mc-financial-combined .mc-financial-tabs{
 display:flex;
 gap:22px;
 border-bottom:1px solid #dce6df;
 margin:16px 0 18px;
 overflow-x:auto;
}
.mc-financial-combined .mc-financial-tabs button{
 appearance:none;
 border:0;
 border-bottom:3px solid transparent;
 border-radius:0;
 margin:0 0 -1px;
 padding:11px 3px 12px;
 color:#64778a;
 background:transparent;
 font:inherit;
 font-size:15px;
 font-weight:650;
 white-space:nowrap;
 cursor:pointer;
}
.mc-financial-combined .mc-financial-tabs button.active{
 color:#164b6d;
 border-bottom-color:#062348;
}
.mc-financial-combined .mc-financial-tabs button:focus-visible{
 outline:2px solid #062348;
 outline-offset:-2px;
}
.mc-financial-combined [role="tabpanel"][hidden]{display:none!important}

/* Distinct equal-size plot cards: never blend into the surrounding panel. */
#mc-financial-graphs>.mc-stock-finchart,
#mc-cashflow-graphs>.mc-stock-finchart{
 border:2px solid #b8cedc;
 border-radius:14px;
 background:#fff;
 box-shadow:0 2px 7px rgba(24,66,94,.06);
}
#mc-financial-graphs>.mc-stock-finchart h3,
#mc-cashflow-graphs>.mc-stock-finchart h3{
 color:#173f5b;
}
@media(max-width:650px){
 .mc-financial-combined .mc-financial-tabs{gap:18px}
 .mc-financial-combined .mc-financial-tabs button{font-size:14px}
}

/* Cash flow provides annual periods only; don't imply quarterly data exists. */
.mc-stock-rebuilt .mc-financial-switches .mc-stock-period button:disabled{
 opacity:.42;
 cursor:not-allowed;
 box-shadow:none;
}
.mc-stock-rebuilt .mc-financial-switches .mc-cash-period-note{
 margin:0;
 font-size:11px;
 line-height:1.35;
 color:#5c7487;
 text-align:right;
}
@media(max-width:650px){
 .mc-stock-rebuilt .mc-financial-switches .mc-cash-period-note{text-align:left}
}

/* Visible latest QoQ movement without crowding twelve quarterly bars. */
#mc-financial-graphs .mc-stock-finchart h3{
 display:flex;
 align-items:center;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:6px 12px;
}
#mc-financial-graphs .mc-finchart-growth{
 font-size:13px;
 font-weight:750;
 white-space:nowrap;
 font-variant-numeric:tabular-nums;
}
#mc-financial-graphs .mc-finchart-growth.positive{color:#078056}
#mc-financial-graphs .mc-finchart-growth.negative{color:#c33c49}

/* Upstox supplies a current P/E ratio, not a P/E historical series.
   Keep the fourth tile equal-size without implying an invented trend. */
#mc-financial-graphs .mc-stock-pe-snapshot{
 display:flex;flex-direction:column;
}
#mc-financial-graphs .mc-stock-pe-value{
 flex:1;min-height:160px;display:flex;flex-direction:column;
 align-items:center;justify-content:center;gap:10px;
}
#mc-financial-graphs .mc-stock-pe-value strong{
 color:#183f59;font-size:clamp(30px,3.2vw,48px);
 line-height:1.1;font-weight:750;font-variant-numeric:tabular-nums;
}
#mc-financial-graphs .mc-stock-pe-value span{
 color:#667f92;font-size:13px;
}
#mc-financial-graphs .mc-stock-pe-snapshot>.mc-stock-note{
 margin:4px 0 0;text-align:center;
}

/* Universal stock lookup — one responsive layout for every ticker. */
.mc-stock-rebuilt .mc-company-app{gap:12px}
.mc-stock-rebuilt .mc-company-searchbox{
 display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,580px);
 gap:clamp(16px,3vw,36px);align-items:center;min-height:112px;
 padding:19px clamp(16px,2.2vw,29px);border-radius:16px;
 background:linear-gradient(110deg,#f4f9fe,#fbfdff);border:1px solid #dce6df;
}
.mc-stock-rebuilt .mc-company-search-intro{
 display:flex;flex-direction:column;align-items:flex-start;
 justify-content:center;text-align:left;gap:3px;min-width:0;
}
.mc-stock-rebuilt .mc-company-search-intro .section-kicker{
 display:block;position:static;transform:none;font-size:10px;
 letter-spacing:.1em;font-weight:800;white-space:nowrap;
 color:#087a35;
}
.mc-stock-rebuilt .mc-company-search-intro h2{
 font-size:clamp(20px,2vw,25px);line-height:1.2;
 letter-spacing:-.025em;text-align:left;margin:0;
}
.mc-stock-rebuilt .mc-company-search-intro p{
 margin:1px 0 0;font-size:12px;line-height:1.45;color:#698095;
}
.mc-stock-rebuilt .mc-company-search-controls{
 display:flex;align-items:stretch;justify-self:end;position:relative;
 gap:10px;flex:none;width:100%;max-width:580px;min-width:0;
}
.mc-stock-rebuilt .mc-stock-search-field{
 position:relative;flex:1 1 auto;min-width:0;
}
.mc-stock-rebuilt .mc-stock-search-icon{
 position:absolute;left:15px;top:50%;transform:translateY(-50%);
 color:#6b879e;pointer-events:none;z-index:1;
}
.mc-stock-rebuilt .mc-stock-search-field input{
 display:block;box-sizing:border-box;width:100%;height:52px;
 min-width:0;padding:12px 16px 12px 44px;
 border:1px solid #afd8b9;border-radius:11px;background:#fff;
 font:inherit;font-size:14px;font-weight:500;color:#173f5c;
 box-shadow:0 2px 8px rgba(17,53,85,.045);
}
.mc-stock-rebuilt .mc-stock-search-field input::placeholder{
 color:#7c91a3;opacity:1;
}
.mc-stock-rebuilt .mc-stock-search-field input:focus{
 outline:2px solid #afd8b9;outline-offset:1px;border-color:#66b7ac;
}
.mc-stock-rebuilt .mc-company-search-controls button#mc-stock-company-go{
 width:116px;min-width:116px;min-height:52px;height:52px;
 flex:0 0 116px;padding:0 14px;border-radius:11px;
 font-size:14px;font-weight:750;white-space:nowrap;
}
.mc-stock-rebuilt .mc-stock-search-field .mc-stock-suggestions{
 position:absolute;left:0;right:0;top:calc(100% + 6px);
 z-index:75;width:100%;max-height:292px;
 border:1px solid #dce6df;border-radius:11px;
 background:#fff;box-shadow:0 15px 32px rgba(13,48,79,.13);
}
.mc-stock-rebuilt .mc-stock-visually-hidden{
 position:absolute!important;width:1px!important;height:1px!important;
 padding:0!important;margin:-1px!important;overflow:hidden!important;
 clip:rect(0,0,0,0)!important;white-space:nowrap!important;
 border:0!important;clip-path:inset(50%)!important;
}
.mc-stock-rebuilt .mc-company-notice{
 margin:-4px 0 0;padding:0 2px;border:0;border-radius:0;
 background:none;box-shadow:none;color:#688095;
 font-size:11px;line-height:1.4;
}
.mc-stock-rebuilt .mc-company-notice.mc-search-has-error{
 color:#b13e42;font-weight:650;
}
.mc-stock-rebuilt .mc-company-links{margin:0 0 7px}
@media(max-width:800px){
 .mc-stock-rebuilt .mc-company-searchbox{
  grid-template-columns:minmax(0,1fr);gap:13px;min-height:0;padding:16px;
 }
 .mc-stock-rebuilt .mc-company-search-controls{max-width:none;justify-self:stretch}
 .mc-stock-rebuilt .mc-company-search-intro h2{font-size:22px}
 .mc-stock-rebuilt .mc-company-search-intro p{font-size:11px}
}
@media(max-width:480px){
 .mc-stock-rebuilt .mc-company-searchbox{padding:14px}
 .mc-stock-rebuilt .mc-company-search-controls{flex-direction:column;gap:9px}
 .mc-stock-rebuilt .mc-company-search-controls button#mc-stock-company-go{
  width:100%;min-width:0;flex:0 0 46px;min-height:46px;height:46px;
 }
 .mc-stock-rebuilt .mc-stock-search-field input{height:48px;font-size:14px}
}

/* Keep the preferred stock-page headline on one line at desktop widths. */
@media(min-width:800px){
 #page-stocks .mc-next-heading h1{
  white-space:nowrap;
  font-size:clamp(25px,2.7vw,40px);
  letter-spacing:-.025em;
 }
}
@media(max-width:799px){
 #page-stocks .mc-next-heading h1{
  white-space:normal;
  overflow-wrap:normal;
 }
}
/* Keep scrolled-to stock sections visible below the sticky site header. */
.mc-stock-rebuilt .mc-company-panel{scroll-margin-top:115px}
.mc-stock-rebuilt .mc-company-links button:focus-visible{outline:2px solid #087a35;outline-offset:2px}

/* Scrolled stock identity strip, inspired by compact broker company headers.
   Fixed beneath the main nav; does not affect chart or section layout. */
#mc-stock-sticky-header[hidden]{display:none!important}
#mc-stock-sticky-header{
 position:fixed;
 left:0;
 right:0;
 z-index:95;
 background:rgba(255,255,255,.98);
 border-bottom:1px solid #dce6df;
 box-shadow:0 5px 18px rgba(17,54,82,.08);
 backdrop-filter:blur(10px);
 color:#193c55;
}
#mc-stock-sticky-header .mc-stock-sticky-inner{
 max-width:1180px;
 margin:auto;
 padding:9px 18px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:20px;
 min-height:58px;
}
#mc-stock-sticky-header .mc-stock-sticky-identity{
 display:flex;align-items:center;gap:10px;min-width:0;
}
#mc-stock-sticky-header #mc-stock-sticky-mark{
 display:grid;place-items:center;
 width:38px;height:38px;flex:0 0 38px;
 border:1px solid #dce6df;border-radius:9px;
 background:#edf6ef;overflow:hidden;
 color:#087a35;font-size:19px;font-weight:800;
}
#mc-stock-sticky-header #mc-stock-sticky-mark img{
 display:block;width:100%;height:100%;object-fit:contain;
}
#mc-stock-sticky-header .mc-stock-sticky-names{
 display:flex;flex-direction:column;min-width:0;gap:2px;
}
#mc-stock-sticky-header #mc-stock-sticky-name{
 display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 font-size:15px;line-height:1.25;color:#173a54;
}
#mc-stock-sticky-header #mc-stock-sticky-ticker{
 font-size:11px;color:#6c8092;
}
#mc-stock-sticky-header .mc-stock-sticky-quote{
 display:flex;flex-direction:column;gap:2px;align-items:flex-end;
 flex-shrink:0;font-variant-numeric:tabular-nums;
}
#mc-stock-sticky-header #mc-stock-sticky-price{
 font-size:17px;color:#17394e;line-height:1.15;
}
#mc-stock-sticky-header #mc-stock-sticky-change{
 font-size:12px;font-weight:650;
}
#mc-stock-sticky-header .mc-sticky-positive{color:#00875a}
#mc-stock-sticky-header .mc-sticky-negative{color:#c63f52}
@media(max-width:650px){
 #mc-stock-sticky-header .mc-stock-sticky-inner{padding:7px 13px;min-height:54px;gap:10px}
 #mc-stock-sticky-header #mc-stock-sticky-name{font-size:13px}
 #mc-stock-sticky-header #mc-stock-sticky-price{font-size:14px}
 #mc-stock-sticky-header #mc-stock-sticky-mark{width:32px;height:32px;flex-basis:32px}
}

/* Include the fixed compact stock strip when jumping to sections. */
.mc-stock-rebuilt .mc-company-panel{scroll-margin-top:175px}

/* Keep stock section shortcuts visible beneath both the site navigation
   and the compact stock summary while scrolling through company research. */
.mc-stock-rebuilt .mc-company-links{
 position:sticky;
 top:var(--mc-stock-shortcuts-top, 90px);
 z-index:94;
 align-self:start;
 display:flex;
 align-items:center;
 gap:9px;
 flex-wrap:nowrap;
 overflow-x:auto;
 overflow-y:hidden;
 padding:9px 12px;
 margin:0 0 7px;
 background:rgba(255,255,255,.98);
 border:1px solid #dce6df;
 border-radius:12px;
 box-shadow:0 3px 12px rgba(20,68,104,.06);
 scrollbar-width:thin;
}
.mc-stock-rebuilt .mc-company-links button{flex-shrink:0}
.mc-stock-rebuilt .mc-company-panel{
 scroll-margin-top:var(--mc-stock-section-offset, 220px);
}
@media(max-width:650px){
 .mc-stock-rebuilt .mc-company-links{gap:7px;padding:7px 9px}
 .mc-stock-rebuilt .mc-company-links button{font-size:11px;padding:7px 11px}
}

/* Stock shortcuts now occupy the unused center of the compact identity strip.
   The original shortcut row stays in the page flow but is not sticky. */
.mc-stock-rebuilt .mc-company-links{
 position:static;
 top:auto;
 z-index:auto;
 box-shadow:none;
}
#mc-stock-sticky-header .mc-stock-sticky-identity{
 flex:0 1 280px;
 min-width:140px;
}
#mc-stock-sticky-header .mc-stock-sticky-links{
 flex:1 1 auto;
 min-width:0;
 display:flex;
 justify-content:center;
 align-items:center;
 gap:5px;
 overflow-x:auto;
 white-space:nowrap;
 scrollbar-width:thin;
 padding:3px 2px;
}
#mc-stock-sticky-header .mc-stock-sticky-links button{
 flex:0 0 auto;
 appearance:none;
 border:1px solid #dce6df;
 border-radius:999px;
 background:#fff;
 color:#087a35;
 font:inherit;
 font-size:11px;
 font-weight:650;
 padding:8px 10px;
 cursor:pointer;
}
#mc-stock-sticky-header .mc-stock-sticky-links button:hover{
 background:#edf6ef;
}
#mc-stock-sticky-header .mc-stock-sticky-links button:focus-visible{
 outline:2px solid #062348;
 outline-offset:2px;
}
#mc-stock-sticky-header .mc-stock-sticky-quote{
 flex:0 0 135px;
}
@media(max-width:900px){
 #mc-stock-sticky-header .mc-stock-sticky-inner{
  flex-wrap:wrap;
  column-gap:12px;
  row-gap:4px;
 }
 #mc-stock-sticky-header .mc-stock-sticky-identity{
  flex:1 1 50%;
 }
 #mc-stock-sticky-header .mc-stock-sticky-quote{flex:0 0 auto}
 #mc-stock-sticky-header .mc-stock-sticky-links{
  flex:1 1 100%;
  order:3;
  justify-content:flex-start;
  padding-bottom:4px;
 }
}


/* Retain the original MoneyClear pastel SWOT colours, 22px rounded
   quadrants, large circular S/W/O/T watermarks and original spacing.
   Only source link styling is additive. */
.mc-stock-rebuilt .mc-swot-evidence-links{
 display:flex;flex-wrap:wrap;gap:8px;margin-top:7px;
}
.mc-stock-rebuilt .mc-swot-evidence-links a{
 font-size:11px;color:#1564a2;text-decoration:underline;
}


/* MoneyClear recommendation: concise interpretation after peer comparison.
 * All research readiness states are neutral, not implied buy/sell signals. */
.mc-price-analysis-tags{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto}
.mc-price-card-top .mc-chart-research-score{
 display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;
 min-width:137px;border:1px solid #bfcfd9;border-radius:13px;padding:8px 12px;
 background:#fff;color:#163a50;cursor:pointer;font-family:inherit;text-align:center;
 box-shadow:0 2px 8px rgba(20,55,75,.04);
}
.mc-chart-research-score span{font-size:11px;line-height:1.2;font-weight:760}
.mc-chart-research-score strong{font-size:23px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums}
.mc-chart-research-score small{font-size:10px;color:#69808e;line-height:1.2}
.mc-chart-research-score:focus-visible{outline:3px solid #569ac8;outline-offset:3px}
.mc-company-recommendation-panel{padding:24px 25px}
.mc-company-recommendation-panel>h2{margin:6px 0 8px}
.mc-rec-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;
 margin:16px 0;border:1px solid #dce6df;border-radius:15px;padding:17px 19px;background:#f7fafc}
.mc-rec-identity{flex:1;min-width:0}
.mc-rec-identity h3{font-size:20px;line-height:1.3;color:#173a52;margin:6px 0}
.mc-rec-eyebrow{color:#5e8198;font-size:10px;letter-spacing:.055em;font-weight:800}
.mc-rec-score{text-align:right;min-width:125px;display:flex;flex-direction:column;gap:3px}
.mc-rec-score strong{font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums;color:#173a52}
.mc-rec-score small{color:#667f8d;font-size:10px}
.mc-rec-thesis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0 22px}
.mc-rec-thesis{border-radius:13px;padding:16px 18px;background:#f6faf7;border:1px solid #d6e7dc}
.mc-rec-thesis.caution{background:#fff9f5;border-color:#efdccf}
.mc-rec-thesis h3{font-size:15px;color:#1e4358;margin:0 0 10px}
.mc-rec-thesis ul{margin:0;padding-left:17px}
.mc-rec-thesis li{font-size:12px;line-height:1.5;margin:0 0 12px;color:#415d6d}
.mc-rec-thesis li:last-child{margin-bottom:0}
.mc-rec-thesis li strong{display:block;color:#204458}
.mc-rec-thesis li p{margin:3px 0}
.mc-rec-thesis li a,.mc-rec-factor a{font-size:11px;color:#087a35;text-decoration:underline}
.mc-rec-basis-heading{margin-top:15px}
.mc-rec-basis-heading h3{font-size:17px;margin-bottom:5px;color:#163c54}
.mc-rec-basis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.mc-rec-factor{min-width:0;border:1px solid #edf6ef;border-radius:12px;padding:13px 14px;background:#fff}
.mc-rec-factor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;margin-bottom:8px}
.mc-rec-factor-head strong{font-size:12px;line-height:1.3;color:#17394c}
.mc-rec-factor p{font-size:12px;line-height:1.5;color:#4b6576;margin:0 0 7px}
.mc-rec-factor a{display:inline-block;overflow-wrap:anywhere}
.mc-rec-evidence-state{flex-shrink:0;font-size:10px;color:#5b7080;border:1px solid #dce6df;
 background:#f5f8fa;border-radius:25px;padding:3px 7px;white-space:nowrap}
.mc-rec-reviewed{color:#205d48;background:#edf7f1;border-color:#d1e7d8}
.mc-rec-data_available{color:#35637d;background:#edf6ef;border-color:#dce6df}
.mc-rec-conclusion{background:#f7fafc;border-left:3px solid #8aaabf;padding:15px 17px;border-radius:8px}
.mc-rec-conclusion strong{color:#163a50}
.mc-rec-conclusion p{font-size:12px;line-height:1.55;color:#415f71;margin:8px 0 0}
@media(max-width:720px){
 .mc-price-card-top{flex-wrap:wrap}
 .mc-price-analysis-tags{flex-direction:row;align-items:center;justify-content:space-between;width:100%}
 .mc-price-card-top .mc-chart-research-score{flex-direction:row;gap:7px;min-width:unset}
 .mc-chart-research-score strong{font-size:17px}
 .mc-chart-research-score small{display:none}
 .mc-rec-basis,.mc-rec-thesis-grid{grid-template-columns:1fr}
 .mc-rec-summary{flex-direction:column}
 .mc-rec-score{text-align:left;min-width:0}
 .mc-rec-factor-head{flex-wrap:wrap}
 .mc-company-recommendation-panel{padding:19px 16px}
}

/* Optional source-completeness audit: collapsed by default to avoid clutter. */
.mc-rec-coverage-tracker{margin:12px 0 18px;background:#f8fafc;border:1px solid #dce6df;border-radius:12px;padding:12px 15px}
.mc-rec-coverage-tracker summary{color:#087a35;cursor:pointer;font-size:12px;font-weight:740;line-height:1.45}
.mc-rec-coverage-tracker>.mc-stock-note{font-size:11px;line-height:1.5;margin:10px 0}
.mc-rec-coverage-list{list-style:none;padding:0;margin:10px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 13px}
.mc-rec-coverage-list li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf0f4;padding:6px 0;font-size:11px}
.mc-rec-coverage-list li span{color:#36566a}
.mc-rec-coverage-list li small{color:#718595;text-align:right}
@media(max-width:620px){.mc-rec-coverage-list{grid-template-columns:1fr}.mc-rec-coverage-tracker{padding:10px 12px}}

/* MoneyClear peer comparison v3: focus on meaningful direct peers. */
.mc-peer-overview{background:#f6f9fc;border:1px solid #dce6df;
 border-radius:13px;padding:14px 16px;margin:0 0 13px}
.mc-peer-overview-heading strong{font-size:15px;color:#163d55}
.mc-peer-overview-heading p{margin:5px 0 0;color:#637d90;font-size:11px;line-height:1.5}
.mc-peer-overview-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.mc-peer-comparison-stat{display:flex;flex-direction:column;gap:3px;
 padding:10px 12px;background:#fff;border-radius:10px;border:1px solid #edf6ef;min-width:0}
.mc-peer-comparison-stat small{font-size:10px;color:#5d798d}
.mc-peer-comparison-stat strong{font-size:20px;line-height:1.2;
 color:#173d55;font-variant-numeric:tabular-nums}
.mc-peer-comparison-stat span{font-size:10px;color:#657d8d;line-height:1.4}
.mc-peer-business-table{min-width:1175px;font-size:11px}
.mc-peer-business-table thead th,.mc-peer-business-table tbody td{padding:10px 8px}
.mc-peer-business-table thead th:first-child,.mc-peer-business-table tbody td:first-child{
 min-width:190px;max-width:265px;text-align:left;white-space:normal;
 position:sticky;left:0;z-index:1;background:#fff}
.mc-peer-business-table thead th:first-child{background:#f3f8fb;z-index:2}
.mc-peer-business-table tbody tr.mc-peer-selected td{background:#edf6ef}
.mc-peer-business-table tbody tr.mc-peer-selected td:first-child{background:#edf6ef}
.mc-peer-business-table tbody tr.mc-peer-context td{background:#fcfcfd;color:#657b87}
.mc-peer-business-table tbody tr.mc-peer-context td:first-child{background:#fcfcfd}
.mc-peer-business-table tbody tr.mc-peer-median-row td{background:#edf6f9;font-weight:750;color:#183f55}
.mc-peer-business-table tbody tr.mc-peer-median-row td:first-child{background:#edf6f9}
.mc-peer-name-cell strong{display:block;color:#163a50;font-size:11px}
.mc-peer-name-cell small{display:block;white-space:normal;line-height:1.45}
.mc-peer-relation-tag{display:inline-block;font-size:10px;font-weight:750;border-radius:7px;
 color:#6b7789;background:#f0f3f7;padding:2px 6px;margin:5px 0 3px}
.mc-peer-relation-tag.mc-peer-relation-direct{background:#eaf5ee;color:#316a52}
.mc-peer-context-note{margin:11px 0 0!important;color:#617488!important;
 font-size:11px!important;line-height:1.6!important}
.mc-peer-interpretation-copy{margin:12px 0 0!important;color:#415f75!important;
 font-size:12px!important;line-height:1.55!important}
@media(max-width:720px){
 .mc-peer-overview-stats{grid-template-columns:1fr}
 .mc-peer-business-table{min-width:1120px}
 .mc-peer-business-table thead th:first-child,.mc-peer-business-table tbody td:first-child{
  min-width:155px;max-width:200px}
 .mc-peer-comparison-stat strong{font-size:17px}
}

.mc-peer-selection-source{display:inline-block;margin:4px 0 5px;font-size:10px;
 color:#087a35!important;text-decoration:underline;overflow-wrap:anywhere}

/* Conglomerates: compare operating segments, not consolidated P/E multiples. */
.mc-peer-segment-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:12px}
.mc-peer-segment-group{padding:14px 15px;border:1px solid #dce6df;border-radius:11px;background:#fafdff}
.mc-peer-segment-group h3{margin:0 0 10px;color:#21475d;font-size:13px}
.mc-peer-segment-group ul{list-style:none;padding:0;margin:0}
.mc-peer-segment-group li{margin-bottom:10px;font-size:12px;line-height:1.45}
.mc-peer-segment-group li:last-child{margin-bottom:0}
.mc-peer-segment-group li strong{display:block;color:#27475c}
.mc-peer-segment-group li small{display:block;color:#6d8492;margin-top:3px}
@media(max-width:840px){.mc-peer-segment-groups{grid-template-columns:1fr}}

/* Peer comparison transpose 2026-11-29. Companies are columns, metrics rows. */
.mc-peer-compact-summary{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;
 margin:3px 0 11px;color:#47657a;font-size:12px;line-height:1.35}
.mc-peer-compact-summary strong{color:#153e57;font-size:12px;font-weight:750}
.mc-peer-compact-summary span{border-left:1px solid #dce6df;padding-left:13px;
 font-variant-numeric:tabular-nums}
.mc-peer-transposed-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;
 overscroll-behavior-x:contain;border:1px solid #dce6df;border-radius:11px}
.mc-peer-transposed-table{border-spacing:0;border-collapse:separate;width:max-content;
 min-width:100%;font-size:12px;color:#345267}
.mc-peer-transposed-table thead th{background:#f4f8fb;font-weight:700;
 color:#25465e;position:relative;border-bottom:1px solid #dce6df;
 padding:10px 15px;min-width:133px;max-width:175px;text-align:center;
 vertical-align:middle;white-space:normal}
.mc-peer-transposed-table thead th:first-child{position:sticky;left:0;z-index:3;
 min-width:154px;width:154px;text-align:left;background:#edf6ef}
.mc-peer-column-heading strong{display:block;line-height:1.3;font-size:12px;
 max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-peer-column-heading small{display:block;font-size:10px;color:#718798;
 font-weight:500;margin-top:2px}
.mc-peer-column-heading .mc-peer-column-type{font-size:10px;color:#427058}
.mc-peer-column-selected{background:#edf6ef!important}
.mc-peer-column-selected strong{color:#154b70}
.mc-peer-median-heading{background:#e8f4ee!important;color:#285c45!important}
.mc-peer-median-heading small{display:block;color:#5b7c65;font-size:10px;margin-top:3px}
.mc-peer-mini-remove{position:absolute;top:2px;right:3px;background:transparent;
 border:0;border-radius:5px;color:#758b9b;font-size:15px;cursor:pointer;
 padding:0 4px;line-height:19px}
.mc-peer-mini-remove:hover,.mc-peer-mini-remove:focus-visible{color:#a24137;
 background:#fbeded;outline:1px solid #e3b8b4}
.mc-peer-transposed-table tbody th{position:sticky;left:0;z-index:2;
 width:154px;min-width:154px;background:#fff;text-align:left;white-space:nowrap;
 font-size:12px;font-weight:700;color:#2c5067}
.mc-peer-transposed-table tbody th,.mc-peer-transposed-table tbody td{
 padding:10px 14px;border-bottom:1px solid #eaf0f4;line-height:1.25}
.mc-peer-transposed-table tbody td{text-align:center;white-space:nowrap;
 font-variant-numeric:tabular-nums;min-width:133px}
.mc-peer-transposed-table tbody tr:nth-child(even) td{background:#f9fbfd}
.mc-peer-transposed-table tbody tr:nth-child(even) th{background:#f7fafc}
.mc-peer-transposed-table tbody tr:last-child th,.mc-peer-transposed-table tbody tr:last-child td{border-bottom:0}
.mc-peer-transposed-table .mc-peer-value-selected{background:#edf6ef!important;
 color:#144765;font-weight:750}
.mc-peer-transposed-table .mc-peer-value-median{background:#f0f8f3!important;
 color:#285e43;font-weight:740}
.mc-peer-context-details,.mc-peer-method-details{margin:10px 0 0;border-top:1px solid #edf6ef;
 padding:9px 0 0;color:#597184;font-size:11px;line-height:1.5}
.mc-peer-context-details summary,.mc-peer-method-details summary{cursor:pointer;
 color:#087a35;font-weight:700;font-size:11px}
.mc-peer-context-details[open],.mc-peer-method-details[open]{padding-bottom:8px}
.mc-peer-context-details .mc-peer-transposed-scroll{margin-top:10px}
.mc-peer-transposed-secondary thead th{background:#f7f8fa}
.mc-peer-context-detail-list{margin:10px 0 3px;padding-left:18px;display:grid;gap:5px;
 color:#586f80;font-size:11px}
.mc-peer-context-detail-list li strong{font-weight:700;color:#314e62}
.mc-peer-context-detail-list li a{color:#087a35;text-decoration:underline}
.mc-peer-method-details p{margin:8px 0 3px;color:#64788a}
.mc-peer-compact-segments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:7px;margin:8px 0 5px}
.mc-peer-compact-segment{padding:11px 13px;border:1px solid #dce6df;
 border-radius:9px;background:#fbfcfe;display:flex;flex-direction:column;gap:5px}
.mc-peer-compact-segment strong{font-size:12px;color:#234861}
.mc-peer-compact-segment span{font-size:12px;color:#526d7b;line-height:1.4}
.mc-peer-compact-note{margin:8px 0 0!important;font-size:11px!important;color:#657d8e!important}
@media(max-width:720px){
 .mc-peer-transposed-table thead th,.mc-peer-transposed-table tbody td{min-width:124px;padding:10px 9px}
 .mc-peer-transposed-table thead th:first-child,.mc-peer-transposed-table tbody th{
  min-width:125px;width:125px;padding:9px}
 .mc-peer-compact-summary{gap:6px 12px}
 .mc-peer-compact-summary span{padding-left:9px}
 .mc-peer-compact-segments{grid-template-columns:1fr}
}

/* Peer search, filters and comparative color scale — dense, accessible UI. */
.mc-stock-rebuilt .mc-peer-customize{gap:8px 10px;margin-bottom:9px}
.mc-stock-rebuilt .mc-peer-customize .mc-peer-picker{
 position:relative;flex:1 1 270px;min-width:175px;max-width:430px;overflow:visible
}
.mc-stock-rebuilt .mc-peer-customize .mc-peer-picker input{
 width:100%;max-width:none;min-width:0;padding:9px 12px;font-size:12px
}
.mc-peer-suggestions[hidden]{display:none!important}
.mc-peer-suggestions{display:block;position:absolute;top:calc(100% + 4px);left:0;right:0;
 z-index:80;max-height:280px;overflow-y:auto;overscroll-behavior:contain;
 background:#fff;border:1px solid #dce6df;border-radius:11px;
 box-shadow:0 12px 30px rgba(16,47,76,.18)}
.mc-stock-rebuilt .mc-peer-customize .mc-peer-suggestion-option{
 display:flex;flex-direction:column;gap:3px;align-items:flex-start;text-align:left;
 width:100%;border:0;border-bottom:1px solid #edf1f5;border-radius:0;
 padding:10px 12px;cursor:pointer;background:#fff;color:#087a35;line-height:1.35
}
.mc-peer-suggestion-option strong{font-size:12px;font-weight:700}
.mc-peer-suggestion-option small{font-size:10px;color:#73899a}
.mc-stock-rebuilt .mc-peer-customize .mc-peer-suggestion-option:hover,
.mc-stock-rebuilt .mc-peer-customize .mc-peer-suggestion-option.active,
.mc-stock-rebuilt .mc-peer-customize .mc-peer-suggestion-option:focus-visible{
 background:#edf6ef;outline:none;color:#14466a
}
.mc-peer-suggestion-empty{margin:0!important;padding:11px;font-size:11px!important;color:#657b8d}
.mc-peer-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.mc-peer-filter{display:inline-flex;align-items:center;gap:7px;cursor:pointer;
 padding:7px 12px;border:1px solid #dce6df;border-radius:100px;
 background:#f8fbfd;font-weight:650;font-size:11px;color:#385a70;line-height:1.2}
.mc-peer-filter:has(input:checked){border-color:#a8c9da;background:#edf6ef;color:#155574}
.mc-peer-filter input{accent-color:#087a35;width:15px;height:15px;margin:0;cursor:pointer}
.mc-peer-filter:focus-within{outline:2px solid #087a35;outline-offset:2px}
.mc-company-peer-panel .mc-peer-status{font-size:11px;color:#71879a;margin:4px 0 11px;line-height:1.4}
.mc-peer-column-direct{background:#f4f8fc!important;box-shadow:inset 2px 0 #9cb9d1,inset -1px 0 #dce6df!important}
.mc-peer-column-direct .mc-peer-column-type{color:#385f7d!important}
.mc-peer-column-adjacent{background:#fff8e7!important}
.mc-peer-column-adjacent .mc-peer-column-type{color:#966a1a!important}
.mc-peer-column-segment{background:#f3f0fc!important}
.mc-peer-column-segment .mc-peer-column-type{color:#7057a8!important}
.mc-peer-column-context{background:#f2f5f7!important}
.mc-peer-column-context .mc-peer-column-type{color:#64788a!important}
.mc-peer-value-context{color:#738696!important;background:#fafbfd}
.mc-peer-transposed-table .mc-peer-value-selected.mc-peer-relative-strong{
 background:#dff3e9!important;color:#216947!important;font-weight:800
}
.mc-peer-transposed-table .mc-peer-value-selected.mc-peer-relative-weak{
 background:#fff0eb!important;color:#a6533b!important;font-weight:800
}
.mc-peer-transposed-table .mc-peer-value-selected.mc-peer-relative-premium{
 background:#fff2d9!important;color:#915e1b!important;font-weight:800
}
.mc-peer-transposed-table .mc-peer-value-selected.mc-peer-relative-discount{
 background:#edf6ef!important;color:#087a35!important;font-weight:800
}
.mc-peer-source-brief{margin:10px 0 0!important;color:#728798!important;
 font-size:10px!important;line-height:1.35!important}
@media(max-width:600px){
 .mc-stock-rebuilt .mc-peer-customize .mc-peer-picker{flex:1 1 100%;max-width:none}
 .mc-peer-filters{gap:6px}
 .mc-peer-filter{padding:7px 10px}
 .mc-peer-suggestions{max-height:240px}
}

/* Quarterly EPS provenance. Keep source links compact and unobtrusive. */
#mc-financial-graphs .mc-quarterly-eps-provenance{
 margin:6px 0 0;font-size:10px;line-height:1.5;color:#657f91
}
#mc-financial-graphs .mc-quarterly-eps-unavailable .mc-stock-empty{
 font-size:12px;line-height:1.55
}
#mc-financial-graphs .mc-stock-finchart svg a rect{
 cursor:pointer
}
#mc-financial-graphs .mc-stock-finchart svg a:hover rect,
#mc-financial-graphs .mc-stock-finchart svg a:focus-visible rect{
 stroke:#123e60;stroke-width:2
}

/* Compact research reading: preserve evidence behind an explicit disclosure. */
.mc-swot-investment-matrix .mc-swot-bullets li{margin-bottom:8px;line-height:1.36}
.mc-swot-investment-matrix .mc-swot-bullets strong{font-size:12px;line-height:1.4;display:block}
.mc-swot-investment-matrix .mc-swot-item-detail{margin-top:4px}
.mc-swot-investment-matrix .mc-swot-item-detail summary{cursor:pointer;font-size:10px;font-weight:650;color:#476b83;list-style:revert}
.mc-swot-investment-matrix .mc-swot-item-detail p{margin:6px 0;font-size:11px;line-height:1.45}
.mc-swot-investment-matrix .mc-swot-evidence-links{font-size:10px}
/* Relation colours describe business categories, not positive stock signals. */
.mc-peer-transposed-table .mc-peer-column-heading{border-left:1px solid #dce7f0!important;border-right:1px solid #dce7f0!important;border-bottom:2px solid #b5cadd!important}
.mc-peer-transposed-table .mc-peer-column-adjacent{border-bottom-color:#dbbf7d!important}
.mc-peer-transposed-table .mc-peer-column-segment{border-bottom-color:#c1b3dd!important}
.mc-peer-transposed-table .mc-peer-column-selected{border-bottom-color:#087a35!important}

/* Airier universal financial charts; retain a 2-column desktop grid. */
#mc-financial-graphs,#mc-cashflow-graphs{gap:22px;margin:25px 0 20px}
#mc-financial-graphs>.mc-stock-finchart,
#mc-cashflow-graphs>.mc-stock-finchart{padding:22px 22px 17px;min-height:252px}
#mc-financial-graphs .mc-stock-finchart svg,
#mc-cashflow-graphs .mc-stock-finchart svg{max-width:100%;min-height:185px}
#mc-financial-graphs .mc-stock-finchart h3,
#mc-cashflow-graphs .mc-stock-finchart h3{margin-bottom:17px}
@media(max-width:700px){
 #mc-financial-graphs,#mc-cashflow-graphs{gap:15px}
 #mc-financial-graphs>.mc-stock-finchart,
 #mc-cashflow-graphs>.mc-stock-finchart{padding:16px 14px;min-height:215px}
}

/* 25-company research batch link: keep search compact and explain coverage. */
.mc-stock-rebuilt .mc-swot-batch-portal{
 margin:-6px 1px 1px;
 color:#617d90;font-size:11px;line-height:1.5;
}
.mc-stock-rebuilt .mc-swot-batch-portal a{
 font-weight:750;color:#106ba9;text-decoration:underline;text-underline-offset:2px;
}

/* Diversified-business segment research: issuer-wide ratios, never parent benchmarks. */
.mc-stock-rebuilt .mc-peer-compact-segment{
 gap:0;
 background:#fbfdff;
}
.mc-peer-compact-segment .mc-peer-segment-title{
 display:block;font-size:12px;letter-spacing:.01em;color:#1d4d6b;
 margin:0 0 6px;
}
.mc-peer-segment-company{
 display:flex;flex-direction:column;gap:5px;
 border-top:1px solid #edf6ef;padding:9px 0 7px;
}
.mc-peer-segment-company:last-child{padding-bottom:0}
.mc-peer-segment-company-head{
 display:flex;align-items:center;gap:5px 9px;flex-wrap:wrap;
}
.mc-peer-segment-link{
 font-size:12px;color:#087a35;text-decoration:none;font-weight:750;
 text-underline-offset:3px;
}
.mc-peer-segment-link:hover,
.mc-peer-segment-link:focus-visible{text-decoration:underline}
.mc-peer-segment-company-head small{
 font-size:10px;font-weight:700;color:#778b9b;
}
.mc-peer-segment-ratios{
 display:flex;flex-wrap:wrap;align-items:center;gap:6px;
}
.mc-peer-compact-segment .mc-peer-segment-ratio{
 display:inline-flex;gap:5px;align-items:center;
 font-variant-numeric:tabular-nums;
 border:1px solid #dce6df;border-radius:5px;
 padding:3px 7px;background:#fff;color:#315c72;
}
.mc-peer-segment-ratio small{font-size:10px;color:#6f8493;font-weight:650}
.mc-peer-segment-ratio b{font-size:11px;color:#087a35;font-weight:780}
.mc-peer-segment-reason,.mc-peer-segment-unavailable{
 font-size:10px!important;line-height:1.45;
 color:#6c7f8d;margin:1px 0 0!important;
}

/* Universal peer source provenance, no decorative success certification. */
.mc-stock-rebuilt .mc-peer-research-grade{
 margin:2px 0 11px;
 font-size:11px;line-height:1.55;
 font-weight:650;
 color:#527186;
}
