/* MBCA Research Portal — navy / gold, matches the MBCA report style */
.mbca-wrap { --mbca-navy: #13294b; --mbca-gold: #b8975a; --mbca-ink: #1f2933; --mbca-muted: #6b7280; --mbca-line: #e3e6ea; --mbca-bg: #f7f8fa;
	max-width: 1100px; margin: 0 auto; color: var(--mbca-ink); font-size: 15px; line-height: 1.6; }
.mbca-wrap a { color: var(--mbca-navy); }
.mbca-btn { display: inline-block; background: var(--mbca-navy); color: #fff !important; border: 0; padding: 9px 18px; border-radius: 4px; font-weight: 600; text-decoration: none; cursor: pointer; font-size: 14px; }
.mbca-btn:hover { background: #0d1d36; }
.mbca-error { background: #fdecec; border-left: 4px solid #c0392b; padding: 10px 14px; margin: 12px 0; }
.mbca-small { font-size: 13px; color: var(--mbca-muted); }
.mbca-note { color: var(--mbca-muted); }
.mbca-lang a { text-decoration: none; color: var(--mbca-muted); }
.mbca-lang a.on { color: var(--mbca-navy); font-weight: 700; }

/* Login */
.mbca-login { max-width: 420px; background: #fff; border: 1px solid var(--mbca-line); border-top: 3px solid var(--mbca-gold); padding: 24px 28px; margin: 24px auto; }
.mbca-login-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mbca-login h2 { margin: 0 0 4px; font-size: 22px; color: var(--mbca-navy); }
.mbca-login form label { display: block; margin: 12px 0 0; font-size: 13px; color: var(--mbca-muted); }
.mbca-login form input[type=text], .mbca-login form input[type=password] { display: block; width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid #cfd4da; border-radius: 4px; font-size: 15px; margin-top: 4px; }
.mbca-login .mbca-check { display: flex; align-items: center; gap: 6px; }
.mbca-login .mbca-btn { margin-top: 16px; width: 100%; padding: 11px; }

/* Portal — insight feed */
.mbca-portal { max-width: none; width: min(1240px, calc(100vw - 32px)); position: relative; left: 50%; transform: translateX(-50%); }
.mbca-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; background: var(--mbca-navy); color: #fff; padding: 12px 18px; border-radius: 8px 8px 0 0; border-bottom: 3px solid var(--mbca-gold); }
.mbca-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: .03em; }
.mbca-logo { background: var(--mbca-gold); color: var(--mbca-navy); font-weight: 800; font-size: 12px; padding: 4px 7px; border-radius: 3px; letter-spacing: .08em; }
.mbca-user { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #cdd5e0; }
.mbca-user a { color: #cdd5e0 !important; text-decoration: none; }
.mbca-top .mbca-lang a { color: #9aa7b8 !important; }
.mbca-top .mbca-lang a.on { color: #fff !important; }
.mbca-me { display: flex; align-items: center; gap: 7px; color: #fff; }
.mbca-av { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mbca-gold); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; flex: none; }
.mbca-av-lg { width: 40px; height: 40px; font-size: 14px; background: var(--mbca-navy); border: 2px solid var(--mbca-gold); }

.mbca-searchbar { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--mbca-line); border-top: 0; padding: 14px 18px; position: relative; }
.mbca-searchbar input[type=search] { flex: 1; min-width: 0; padding: 11px 12px 11px 38px; border: 1px solid #cfd4da; border-radius: 6px; font-size: 15px; background: var(--mbca-bg); }
.mbca-searchbar input[type=search]:focus { outline: 2px solid var(--mbca-gold); background: #fff; }
.mbca-search-ico { position: absolute; left: 31px; width: 14px; height: 14px; border: 2px solid #8a94a3; border-radius: 50%; }
.mbca-search-ico:after { content: ""; position: absolute; width: 2px; height: 7px; background: #8a94a3; transform: rotate(-45deg); left: 13px; top: 11px; }
.mbca-searchbar .mbca-btn { padding: 11px 22px; }

.mbca-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--mbca-line); margin: 18px 0 0; overflow-x: auto; }
.mbca-tabs a { padding: 10px 16px; text-decoration: none; color: var(--mbca-muted) !important; font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent; white-space: nowrap; }
.mbca-tabs a.on { color: var(--mbca-navy) !important; border-bottom-color: var(--mbca-gold); }
.mbca-tabs a:hover { color: var(--mbca-navy) !important; }

.mbca-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; margin-top: 18px; }
.mbca-side details > summary { list-style: none; font-weight: 700; color: var(--mbca-navy); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 2px solid var(--mbca-navy); cursor: pointer; }
.mbca-side details > summary::-webkit-details-marker { display: none; }
.mbca-fgroup { padding: 12px 0; border-bottom: 1px solid var(--mbca-line); }
.mbca-fgroup h4 { margin: 0 0 6px; font-size: 12px; color: var(--mbca-muted); font-weight: 600; letter-spacing: .04em; }
.mbca-fgroup a { display: flex; align-items: center; gap: 7px; padding: 4px 8px; margin: 0 -8px; border-radius: 4px; text-decoration: none; color: var(--mbca-ink) !important; font-size: 14px; }
.mbca-fgroup a span { margin-left: auto; color: var(--mbca-muted); font-size: 12px; }
.mbca-fgroup a:hover { background: var(--mbca-bg); }
.mbca-fgroup a.on { background: #f3ede2; color: var(--mbca-navy) !important; font-weight: 700; }
.mbca-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }

.mbca-feedhead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.mbca-count { color: var(--mbca-muted); font-size: 13px; margin: 0 6px 0 0; }
.mbca-fchip { background: var(--mbca-navy); color: #fff !important; text-decoration: none; font-size: 12px; padding: 3px 10px; border-radius: 12px; }
.mbca-reset { font-size: 12px; color: var(--mbca-muted) !important; }

.mbca-card { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px; background: #fff; border: 1px solid var(--mbca-line); border-radius: 8px; padding: 16px; margin-bottom: 14px; transition: box-shadow .15s, border-color .15s; }
.mbca-card:hover { box-shadow: 0 6px 20px rgba(19, 41, 75, .09); border-color: #d6cbb5; }
.mbca-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: #f5f6f8; border-radius: 6px; overflow: hidden; border: 1px solid #eef0f3; }
.mbca-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.mbca-ph { flex-direction: column; background: linear-gradient(135deg, #13294b 0%, #24406b 100%); text-decoration: none; border: 0; }
.mbca-ph-code { color: var(--mbca-gold); font-size: 26px; font-weight: 800; letter-spacing: .06em; }
.mbca-ph-sec { color: #cdd5e0; font-size: 12px; margin-top: 4px; }
.mbca-card-body { min-width: 0; display: flex; flex-direction: column; }
.mbca-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; color: var(--mbca-muted); }
.mbca-type { color: var(--mbca-gold); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mbca-new { background: #c0392b; color: #fff; font-weight: 700; font-size: 10px; padding: 1px 6px; border-radius: 3px; letter-spacing: .05em; }
.mbca-card h3 { margin: 6px 0 8px; font-size: 18px; line-height: 1.45; font-weight: 700; }
.mbca-card h3 a { color: var(--mbca-navy) !important; text-decoration: none; }
.mbca-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--mbca-gold); }
.mbca-exec { list-style: none; margin: 0 0 10px; padding: 0; }
.mbca-exec li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.6; color: #4b5563; margin-bottom: 3px; }
.mbca-exec li:before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--mbca-gold); }
.mbca-card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-top: 8px; border-top: 1px dashed var(--mbca-line); }
.mbca-chip { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 12px; background: var(--mbca-bg); border: 1px solid var(--mbca-line); color: #4b5563 !important; text-decoration: none; }
.mbca-chip-co { background: #eef2f8; border-color: #d5deeb; color: var(--mbca-navy) !important; }
.mbca-chip-co:hover { border-color: var(--mbca-navy); }
.mbca-author { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mbca-muted); }

.mbca-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding: 20px; border-top: 3px solid var(--mbca-gold); }
.mbca-hero .mbca-thumb { aspect-ratio: 16 / 10; align-self: start; }
.mbca-hero h3 { font-size: 22px; }

.mbca-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 10px; color: #fff; white-space: nowrap; letter-spacing: .02em; }
.mbca-bullish, .mbca-positive { background: #2e8b57; }
.mbca-neutral { background: #a07c3c; }
.mbca-bearish, .mbca-negative { background: #c0392b; }
.mbca-empty { padding: 24px 0; color: var(--mbca-muted); }
.mbca-pager { display: flex; gap: 16px; justify-content: center; margin: 20px 0; font-size: 14px; }

/* Report page */
.mbca-crumb { margin: 18px 0 14px; font-size: 13px; color: var(--mbca-muted); }
.mbca-crumb a { text-decoration: none; }
.mbca-detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
.mbca-article { background: #fff; border: 1px solid var(--mbca-line); border-radius: 8px; padding: 26px 30px; }
.mbca-h1 { color: var(--mbca-navy); font-size: 26px; line-height: 1.4; margin: 10px 0 16px; font-weight: 700; }
.mbca-byline { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--mbca-line); font-size: 14px; }
.mbca-byline span { color: var(--mbca-muted); font-size: 13px; }
.mbca-byline .mbca-av { color: #fff; }
.mbca-es { background: #faf7f1; border-left: 4px solid var(--mbca-gold); border-radius: 0 6px 6px 0; padding: 16px 20px; margin: 22px 0; }
.mbca-es h4 { margin: 0 0 10px; color: var(--mbca-navy); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mbca-es ul { margin: 0; padding-left: 18px; }
.mbca-es li { margin-bottom: 8px; line-height: 1.7; }
.mbca-es li::marker { color: var(--mbca-gold); }
.mbca-viewer { border: 1px solid var(--mbca-line); border-radius: 8px; overflow: hidden; padding: 0 !important; margin: 0; }
.mbca-es { margin: 22px 0 !important; }
.mbca-viewer-bar { display: flex; align-items: center; gap: 12px; background: var(--mbca-bg); padding: 8px 12px; border-bottom: 1px solid var(--mbca-line); flex-wrap: wrap; }
.mbca-viewer-title { font-weight: 700; color: var(--mbca-navy); font-size: 14px; }
.mbca-seg { display: inline-flex; border: 1px solid #cfd4da; border-radius: 6px; overflow: hidden; }
.mbca-seg button { border: 0; background: #fff; padding: 5px 14px; font-size: 13px; cursor: pointer; color: var(--mbca-ink); }
.mbca-seg button.on { background: var(--mbca-navy); color: #fff; }
.mbca-open { margin-left: auto; font-size: 13px; text-decoration: none; }
.mbca-frame { display: block; width: 100%; height: 1100px; border: 0; background: #525659; }
.mbca-rail { display: flex; flex-direction: column; gap: 16px; }
.mbca-box { background: #fff; border: 1px solid var(--mbca-line); border-radius: 8px; padding: 16px 18px; }
.mbca-box h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mbca-muted); }
.mbca-entity { border-top: 3px solid var(--mbca-navy); }
.mbca-entity-code { font-size: 13px; font-weight: 700; color: var(--mbca-gold); letter-spacing: .06em; }
.mbca-entity-name { font-size: 20px; font-weight: 700; color: var(--mbca-navy); margin: 2px 0; }
.mbca-entity-view { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; padding: 8px 0; border-top: 1px solid var(--mbca-line); border-bottom: 1px solid var(--mbca-line); font-size: 13px; color: var(--mbca-muted); }
.mbca-link { font-size: 13px; font-weight: 600; text-decoration: none; }
.mbca-file { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--mbca-line); }
.mbca-file:last-child { border-bottom: 0; }
.mbca-pdfico { background: #c0392b; color: #fff; font-size: 10px; font-weight: 800; padding: 4px 5px; border-radius: 3px; }
.mbca-mini { list-style: none; margin: 0; padding: 0; }
.mbca-mini li { padding: 9px 0; border-bottom: 1px solid var(--mbca-line); font-size: 13px; line-height: 1.5; }
.mbca-mini li:last-child { border-bottom: 0; }
.mbca-mini a { text-decoration: none; font-weight: 600; display: block; }
.mbca-mini span { display: flex; gap: 8px; align-items: center; color: var(--mbca-muted); font-size: 12px; margin-top: 3px; }
.mbca-mini span .mbca-badge { color: #fff; display: inline-block; margin: 0; font-size: 10px; padding: 1px 7px; }
.mbca-disclaimer { margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--mbca-line); font-size: 12px; color: var(--mbca-muted); }

@media (max-width: 960px) {
	.mbca-detail { grid-template-columns: 1fr; }
	.mbca-hero { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
	.mbca-layout { grid-template-columns: 1fr; gap: 12px; }
	.mbca-card { grid-template-columns: 1fr; }
	.mbca-thumb { aspect-ratio: 16 / 8; }
	.mbca-article { padding: 18px 16px; }
	.mbca-h1 { font-size: 21px; }
	.mbca-frame { height: 70vh; }
	.mbca-user .mbca-me { display: none; }
	.mbca-searchbar { padding: 12px; }
	.mbca-search-ico { left: 25px; }
}

/* v1.3: portal navigation, coverage, company pages, earnings calendar */
.mbca-nav { display: flex; gap: 2px; margin-right: auto; margin-left: 18px; flex-wrap: wrap; }
.mbca-nav a { color: #cdd5e0 !important; text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 4px; }
.mbca-nav a:hover { color: #fff !important; background: rgba(255, 255, 255, .08); }
.mbca-nav a.on { color: #fff !important; font-weight: 700; box-shadow: inset 0 -2px 0 var(--mbca-gold); border-radius: 0; }
.mbca-pagehead { margin: 22px 0 16px; }
.mbca-pagehead h2 { margin: 0 0 4px; color: var(--mbca-navy); font-size: 24px; }
.mbca-pagehead p { margin: 0; }
.mbca-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mbca-pills a { font-size: 13px; padding: 5px 13px; border-radius: 999px; border: 1px solid #cfd6e4; color: var(--mbca-navy) !important; text-decoration: none; background: #fff; }
.mbca-pills a.on { background: var(--mbca-navy); border-color: var(--mbca-navy); color: #fff !important; }
.mbca-tscroll { overflow-x: auto; }
.mbca-cov { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; margin: 0 0 10px; }
.mbca-cov th { background: var(--mbca-navy); color: #fff; font-weight: 600; text-align: left; padding: 9px 12px; font-size: 13px; border: 0; }
.mbca-cov td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--mbca-line); vertical-align: middle; }
.mbca-cov tr:hover td { background: #faf8f3; }
.mbca-cov .r { text-align: right; }
.mbca-cov a { text-decoration: none; }
.mbca-strong { font-weight: 700; }
.mbca-muted { color: var(--mbca-muted); }
.mbca-cal { list-style: none; margin: 0 0 8px; padding: 0; }
.mbca-cal li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mbca-line); }
.mbca-cal li:last-child { border-bottom: 0; }
.mbca-cal-d { flex: none; width: 50px; text-align: center; background: var(--mbca-navy); color: #fff; border-radius: 6px; padding: 4px 0 5px; line-height: 1.15; align-self: flex-start; }
.mbca-cal-d small { display: block; color: var(--mbca-gold); font-size: 11px; }
.mbca-cal-d b { font-size: 19px; }
.mbca-cal-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.5; }
.mbca-cal-b a, .mbca-cal-b b { font-weight: 700; text-decoration: none; font-size: 14px; color: var(--mbca-navy); }
.mbca-cal-t { color: var(--mbca-muted); font-size: 12px; }
.mbca-cal-f { color: var(--mbca-ink); }
.mbca-side-cal { margin-top: 18px; padding: 14px 14px 10px; }
.mbca-side-cal .mbca-cal-d { width: 42px; }
.mbca-month { margin: 18px 0 6px; font-size: 15px; color: var(--mbca-navy); border-bottom: 2px solid var(--mbca-navy); padding-bottom: 4px; }
.mbca-month:first-child { margin-top: 0; }
.mbca-cohead { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; background: #fff; border: 1px solid var(--mbca-line); border-top: 3px solid var(--mbca-gold); border-radius: 8px; padding: 20px 24px; margin-bottom: 18px; }
.mbca-cohead .mbca-h1 { margin: 6px 0 2px; }
.mbca-stats { display: flex; gap: 26px; margin: 0; }
.mbca-stats div { text-align: right; }
.mbca-stats dt { font-size: 12px; color: var(--mbca-muted); margin: 0; }
.mbca-stats dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; color: var(--mbca-navy); }
.mbca-es-title { margin: 0 0 8px; font-weight: 700; }
.mbca-es-title a { text-decoration: none; }
.mbca-sub { font-size: 16px; color: var(--mbca-navy); margin: 8px 0 4px; }
.mbca-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--mbca-line); }
.mbca-timeline li { position: relative; padding: 12px 0 12px 8px; border-bottom: 1px solid var(--mbca-line); }
.mbca-timeline li:last-child { border-bottom: 0; }
.mbca-timeline li:before { content: ""; position: absolute; left: -26px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--mbca-gold); }
.mbca-tl-title { display: block; font-weight: 700; font-size: 16px; line-height: 1.45; margin: 4px 0 6px; text-decoration: none; }
@media (max-width: 820px) {
	.mbca-nav { order: 3; width: 100%; margin: 4px 0 0; }
	.mbca-stats { gap: 18px; }
	.mbca-stats div { text-align: left; }
	.mbca-cohead { padding: 16px; }
}

/* v1.4 */
.mbca-pills small { opacity: .65; margin-left: 2px; }
.mbca-covfilter { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #cfd4da; border-radius: 6px; font-size: 14px; margin: 0 0 12px; background: var(--mbca-bg); }
