/* Dense portal layout inspired by familiar Korean directory patterns.
   All assets, copy and components are original to the Loan Korea demo. */
.benchmark-ui { background: #fff; }
.benchmark-ui .shell { width: min(calc(100% - 40px), 1240px); }

/* Multi-level portal header */
.platform-strip { min-height: 34px; color: #dce7f6; background: #13253d; }
.platform-strip__inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.platform-strip p { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 11px; }
.platform-strip p strong { color: #fff; }
.platform-strip p span { color: #9fb0c6; }
.platform-strip nav { display: flex; align-items: center; gap: 0; }
.platform-strip nav a { min-height: 34px; padding: 9px 13px; border-left: 1px solid rgba(255,255,255,.09); color: #c8d5e6; font-size: 11px; }
.benchmark-header { position: sticky; z-index: 120; top: 0; height: auto; border: 0; background: #fff; box-shadow: 0 3px 14px rgba(17,39,70,.08); }
.benchmark-header__top { display: grid; grid-template-columns: 220px minmax(280px, 500px) 1fr; gap: 30px; align-items: center; min-height: 86px; }
.benchmark-brand { display: flex; align-items: center; width: 205px; height: 58px; overflow: hidden; }
.brand-logo { display: block; object-fit: contain; }
.brand-logo--full { width: 205px; height: 58px; }
.brand-logo--symbol { display: none; }
.brand-mobile-text { display: none; }
.benchmark-header .wordmark { position: relative; display: inline-flex; align-items: baseline; width: max-content; min-height: auto; color: #03428f; font-size: 27px; font-weight: 950; letter-spacing: -.075em; }
.benchmark-header .wordmark span { color: #0868e7; }
.benchmark-header .wordmark small { position: absolute; right: 0; bottom: -10px; color: #8090a5; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.header-company-search { position: relative; display: flex; height: 46px; }
.header-company-search input { width: 100%; padding: 0 52px 0 16px; border: 2px solid #1267d6; border-radius: 5px; color: #182235; outline: 0; background: #fff; font-size: 14px; }
.header-company-search input:focus { border-color: #004bae; box-shadow: 0 0 0 3px rgba(8,103,242,.13); }
.header-company-search button { position: absolute; top: 2px; right: 2px; display: grid; width: 44px; height: 42px; place-items: center; border: 0; color: #fff; background: #0867df; }
.benchmark-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.benchmark-header__actions > a { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 13px; border: 1px solid #d6dde7; border-radius: 4px; color: #536175; background: #fff; font-size: 12px; font-weight: 750; }
.benchmark-header__actions .ad-inquiry { color: #fff; border-color: #0867df; background: #0867df; }
.benchmark-header .portfolio-chip { margin-right: 2px; }
.benchmark-header .menu-button { display: none; }
.benchmark-primary-nav { border-top: 1px solid #e4e9ef; background: linear-gradient(180deg, #0870ec, #075bc8); }
.benchmark-primary-nav .shell { display: grid; grid-template-columns: repeat(8, 1fr); }
.benchmark-primary-nav a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 51px; border-left: 1px solid rgba(255,255,255,.13); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.benchmark-primary-nav a:last-child { border-right: 1px solid rgba(255,255,255,.13); }
.benchmark-primary-nav a:hover, .benchmark-primary-nav a[aria-current="page"] { background: rgba(0,38,108,.32); }
.benchmark-mobile-menu { display: none; }

/* Alert and hero */
.transaction-alert { border-bottom: 1px solid #e1e7ee; background: #f8fbff; }
.transaction-alert .shell { display: flex; align-items: center; min-height: 45px; color: #42516a; }
.transaction-alert .shell > .icon { flex: 0 0 auto; margin-right: 8px; color: #0870e9; }
.transaction-alert strong { margin-right: 13px; color: #172a45; font-size: 12px; }
.transaction-alert p { margin: 0; font-size: 12px; }
.transaction-alert a { display: inline-flex; align-items: center; gap: 4px; min-height: 42px; margin-left: auto; color: #075fcf; font-size: 11px; font-weight: 800; }
.benchmark-hero { padding: 34px 0 0; background: linear-gradient(128deg, #f7fbff 0%, #eef6ff 53%, #e2efff 100%); }
.benchmark-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(370px, .7fr); gap: 42px; min-height: 285px; padding-bottom: 66px; }
.benchmark-hero__copy { position: relative; padding: 30px 0 0 17px; }
.benchmark-hero__copy::before { position: absolute; top: 33px; bottom: 28px; left: 0; width: 4px; border-radius: 9px; background: #0870e9; content: ""; }
.benchmark-kicker { color: #0870e9; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.benchmark-hero h1 { margin: 10px 0 0; color: #0c2342; font-size: 37px; line-height: 1.24; letter-spacing: -.055em; }
.benchmark-hero h1 em { color: #0867df; font-style: normal; }
.benchmark-hero__copy > p { margin: 14px 0 0; color: #52627a; font-size: 14px; }
.benchmark-stats { display: flex; gap: 0; margin-top: 28px; }
.benchmark-stats div { display: flex; flex-direction: column; min-width: 130px; padding: 0 24px; border-left: 1px solid #c8d7e9; }
.benchmark-stats div:first-child { padding-left: 0; border-left: 0; }
.benchmark-stats strong { color: #0c3f85; font-size: 23px; line-height: 1.2; }
.benchmark-stats span { margin-top: 4px; color: #738197; font-size: 11px; }
.benchmark-quick-panel { align-self: start; margin-top: 12px; overflow: hidden; border: 1px solid #cbdced; border-radius: 7px; background: #fff; box-shadow: 0 12px 28px rgba(21,63,110,.11); }
.benchmark-quick-panel > div { display: flex; align-items: baseline; gap: 9px; min-height: 50px; padding: 14px 17px; border-bottom: 1px solid #e1e7ee; }
.benchmark-quick-panel h2 { margin: 0; color: #1e2d43; font-size: 15px; }
.benchmark-quick-panel > div span { color: #8792a2; font-size: 10px; }
.benchmark-quick-panel nav { display: grid; grid-template-columns: repeat(2, 1fr); }
.benchmark-quick-panel nav a { position: relative; display: grid; grid-template-columns: 37px 1fr; grid-template-rows: auto auto; column-gap: 9px; min-height: 82px; align-content: center; padding: 12px 11px; border-right: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.benchmark-quick-panel nav a:nth-child(even) { border-right: 0; }
.benchmark-quick-panel nav a:nth-child(n+3) { border-bottom: 0; }
.benchmark-quick-panel nav a > .icon { grid-row: 1 / 3; align-self: center; width: 37px; height: 37px; padding: 8px; border-radius: 50%; color: #0867df; background: #eaf3ff; }
.benchmark-quick-panel nav a:nth-child(3) > .icon { color: #e24d38; background: #fff0ed; }
.benchmark-quick-panel nav a:nth-child(4) > .icon { color: #099c99; background: #e8f9f7; }
.benchmark-quick-panel b { color: #2a3444; font-size: 12px; }
.benchmark-quick-panel small { color: #8993a1; font-size: 9px; }
.benchmark-search-wrap { position: relative; z-index: 3; margin-top: -48px; }
.benchmark-search { display: grid; grid-template-columns: 200px repeat(3, minmax(145px, 1fr)) 150px; gap: 0; min-height: 96px; padding: 16px; border: 1px solid #bed0e5; border-radius: 7px; background: #fff; box-shadow: 0 12px 28px rgba(21,59,102,.13); }
.benchmark-search__title { display: flex; flex-direction: column; justify-content: center; padding: 0 17px 0 5px; }
.benchmark-search__title strong { color: #122a4b; font-size: 16px; }
.benchmark-search__title span { margin-top: 4px; color: #8791a1; font-size: 10px; }
.benchmark-search label { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 7px 14px; border: solid #e0e6ed; border-width: 1px 0 1px 1px; }
.benchmark-search label > span { margin-bottom: 3px; color: #6d7889; font-size: 9px; font-weight: 800; }
.benchmark-search select, .benchmark-search input { width: 100%; min-width: 0; height: 31px; padding: 0; border: 0; color: #1e2b3d; outline: 0; background: #fff; font-size: 13px; font-weight: 700; }
.benchmark-search input::placeholder { color: #8e98a7; font-weight: 500; }
.benchmark-search button { display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 0 4px 4px 0; color: #fff; background: #0767df; font-size: 14px; font-weight: 850; }

/* Dense directory home sections */
.benchmark-section { padding: 39px 0; }
.explore-section { padding-top: 48px; border-bottom: 1px solid #e7ecf2; background: #fff; }
.explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.explore-panel { min-width: 0; padding: 22px; border: 1px solid #dce3eb; border-radius: 6px; background: #fff; }
.explore-panel header, .benchmark-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.explore-panel header { margin-bottom: 17px; padding-bottom: 14px; border-bottom: 2px solid #1e3b63; }
.explore-panel header span, .benchmark-heading > div > span { display: block; margin-bottom: 3px; color: #0870e9; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.explore-panel h2, .benchmark-heading h2 { margin: 0; color: #172943; font-size: 20px; letter-spacing: -.035em; }
.explore-panel header > a, .benchmark-heading > a { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; color: #667387; font-size: 11px; font-weight: 750; }
.benchmark-region-grid, .benchmark-product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.benchmark-region-grid a, .benchmark-product-grid a { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 4px 6px; border: 1px solid #e0e5ec; border-radius: 3px; color: #4b596c; background: #f8f9fb; font-size: 11px; font-weight: 750; }
.benchmark-region-grid a:first-child { color: #fff; border-color: #0867df; background: #0867df; }
.benchmark-region-grid span { display: none; }
.premium-section { background: #f4f7fb; }
.benchmark-heading { margin-bottom: 19px; }
.benchmark-heading p { margin: 4px 0 0; color: #8993a0; font-size: 10px; }
.benchmark-premium-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.benchmark-premium-grid .company-card--reference { min-height: 144px; padding: 16px 15px 0; border-radius: 5px; border-top: 3px solid #0867df; }
.benchmark-premium-grid .company-card__title-line h3 { font-size: 17px; }
.benchmark-premium-grid .company-card__detail { min-height: 36px; margin-top: 10px; }
.benchmark-premium-grid .bookmark-button { top: 10px; }
.directory-preview-section { padding-bottom: 48px; background: #fff; }
.directory-preview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: start; }
.benchmark-heading--line { padding-bottom: 15px; border-bottom: 2px solid #183a65; }
.benchmark-heading--line a b { color: #0867df; }
.benchmark-company-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.benchmark-company-list .company-card--reference { min-height: 130px; border: 0; border-bottom: 1px solid #dfe5ec; border-radius: 0; padding: 19px 10px 0 4px; }
.benchmark-company-list .company-card--reference:hover { border-color: #9fc0e9; box-shadow: none; background: #f9fbfe; }
.benchmark-company-list .company-card__detail { min-height: 34px; margin-top: 6px; }
.benchmark-side-info { display: grid; gap: 13px; }
.benchmark-side-info > section { padding: 16px; border: 1px solid #dfe5ed; border-radius: 5px; background: #fff; }
.benchmark-side-info header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 11px; border-bottom: 2px solid #1a3b66; }
.benchmark-side-info h2 { margin: 0; color: #1b2c45; font-size: 15px; }
.benchmark-side-info header a { color: #788393; font-size: 10px; }
.benchmark-side-info ol { margin: 0; padding: 7px 0 0; list-style: none; }
.benchmark-side-info li a { display: grid; grid-template-columns: 25px minmax(0,1fr) auto; align-items: center; min-height: 39px; border-bottom: 1px solid #edf0f4; }
.benchmark-side-info li b { color: #0867df; font-size: 10px; }
.benchmark-side-info li span { overflow: hidden; color: #3f4b5c; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.benchmark-side-info li small { color: #949da9; font-size: 8px; }
.benchmark-side-links { display: grid; }
.benchmark-side-links h2 { margin-bottom: 8px; }
.benchmark-side-links a { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; min-height: 51px; padding: 0 4px; border-top: 1px solid #edf0f4; color: #4a5769; }
.benchmark-side-links a > .icon:first-child { width: 31px; height: 31px; padding: 7px; border-radius: 50%; color: #0867df; background: #ebf3ff; }
.benchmark-side-links a b { padding-left: 8px; font-size: 11px; }
.safety-summary { border-top: 1px solid #e0e6ed; background: #f7f9fc; }
.safety-summary-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid #dce3eb; background: #fff; }
.safety-summary-grid article { min-height: 145px; padding: 20px; border-left: 1px solid #e4e9ef; }
.safety-summary-grid article:first-child { border-left: 0; }
.safety-summary-grid b { display: block; color: #90b7e9; font-size: 20px; }
.safety-summary-grid strong { display: block; margin-top: 8px; color: #21334c; font-size: 13px; }
.safety-summary-grid p { margin: 7px 0 0; color: #68768a; font-size: 11px; line-height: 1.7; }

/* Portal footer */
.benchmark-footer { color: #aebccd; background: #15263c; }
.benchmark-footer__nav { display: flex; min-height: 49px; align-items: center; gap: 31px; border-bottom: 1px solid rgba(255,255,255,.1); }
.benchmark-footer__nav a { color: #d8e2ee; font-size: 11px; }
.benchmark-footer__body { display: grid; grid-template-columns: 190px 1fr 230px; gap: 30px; align-items: start; padding-top: 29px; padding-bottom: 24px; }
.benchmark-footer .wordmark--footer { display: inline-block; color: #d6e7ff; font-size: 23px; font-weight: 950; letter-spacing: -.06em; }
.benchmark-footer .wordmark--footer span { color: #63a8ff; }
.benchmark-footer-logo { display: flex; align-items: center; justify-content: center; width: 178px; height: 56px; overflow: hidden; border-radius: 4px; background: #fff; }
.benchmark-footer-logo img { width: 166px; height: 48px; object-fit: contain; }
.benchmark-footer__body strong { color: #fff; font-size: 12px; }
.benchmark-footer__body p { margin: 5px 0 0; color: #9eacbd; font-size: 10px; line-height: 1.6; }
.benchmark-footer__help { display: flex; flex-direction: column; align-items: flex-end; }
.benchmark-footer__help span { font-size: 10px; }
.benchmark-footer__help strong { margin-top: 4px; font-size: 16px; }
.benchmark-footer__help a { margin-top: 5px; color: #7eb8ff; font-size: 11px; }
.benchmark-footer__legal { padding-top: 14px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.09); color: #8998ab; font-size: 9px; }

/* Existing internal pages under the denser global header */
.benchmark-ui .directory-page, .benchmark-ui .safety-reference-page, .benchmark-ui .section--compact { background: #fff; }
.benchmark-ui .directory-title { margin-top: 7px; }
.benchmark-ui .directory-title h1, .benchmark-ui .safety-title h1 { color: #172943; }

/* Portal home: clean-room reconstruction of the supplied information hierarchy. */
.portal-visual { position: relative; overflow: hidden; color: #fff; background: linear-gradient(110deg, #052c64 0%, #075cbd 58%, #0875e8 100%); }
.portal-visual::before, .portal-visual::after { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.portal-visual::before { top: -240px; right: -110px; width: 620px; height: 620px; }
.portal-visual::after { right: 130px; bottom: -260px; width: 500px; height: 500px; }
.portal-visual__inner { position: relative; z-index: 2; min-height: 285px; padding: 46px 0 35px; text-align: center; }
.portal-visual__eyebrow { display: inline-block; padding: 5px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #cce1ff; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.portal-visual h1 { margin: 12px 0 0; font-size: 34px; line-height: 1.32; letter-spacing: -.05em; }
.portal-visual h1 em { color: #8fc5ff; font-style: normal; }
.portal-visual__inner > p { margin: 10px 0 0; color: #dceaff; font-size: 13px; }
.portal-counts { display: flex; justify-content: center; margin-top: 27px; }
.portal-counts div { display: flex; align-items: baseline; min-width: 170px; padding: 0 23px; border-left: 1px solid rgba(255,255,255,.22); }
.portal-counts div:first-child { border-left: 0; }
.portal-counts span { margin-right: 9px; color: #b9d4f7; font-size: 10px; }
.portal-counts strong { color: #fff; font-size: 19px; }
.portal-stage { padding: 28px 0 48px; background: #eff2f6; }
.portal-layout { display: grid; grid-template-columns: 132px minmax(0, 1fr) 132px; gap: 15px; align-items: start; }
.portal-left-rail, .portal-right-rail { position: sticky; top: 154px; display: grid; gap: 9px; }
.rail-fraud { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 92px; border: 1px solid #075ccf; color: #fff; background: #0867df; text-align: center; }
.rail-fraud .icon { margin-bottom: 4px; }
.rail-fraud strong { font-size: 12px; }
.rail-fraud small { margin-top: 2px; color: #c9e0ff; font-size: 8px; }
.rail-free { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 116px; border: 1px solid #d6dde6; color: #40516a; background: #fff; text-align: center; }
.rail-free b { color: #5f6d81; font-size: 9px; }
.rail-free strong { margin-top: 4px; color: #0867df; font-size: 17px; }
.rail-free span { font-size: 10px; }
.rail-recent { border: 1px solid #d6dde6; background: #fff; }
.rail-recent h2 { margin: 0; padding: 11px 9px; border-bottom: 1px solid #e1e6ed; color: #27364c; font-size: 11px; }
.rail-recent ol { margin: 0; padding: 5px 8px; list-style: none; }
.rail-recent li a { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: center; min-height: 27px; }
.rail-recent li b { color: #0a6bdd; font-size: 8px; }
.rail-recent li span { overflow: hidden; color: #4f5c6f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.rail-recent li small { display: none; }
.rail-recent > a { display: block; min-height: 34px; padding: 9px; border-top: 1px solid #e7ebf0; color: #657287; font-size: 8px; text-align: center; }
.rail-faq { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; border: 1px solid #d6dde6; color: #26456c; background: #fff; font-size: 10px; font-weight: 800; }
.portal-right-rail > a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 96px; border: 1px solid #d5dde7; color: #26496f; background: #fff; text-align: center; }
.portal-right-rail > a .icon { margin-bottom: 7px; color: #0867df; }
.portal-right-rail > a strong { font-size: 10px; line-height: 1.5; }
.portal-right-rail > section { padding: 10px; border: 1px solid #d5dde7; background: #fff; }
.portal-right-rail > section h2 { margin: 0 0 5px; padding-bottom: 7px; border-bottom: 1px solid #e1e6ec; color: #293a51; font-size: 10px; }
.portal-right-rail > section a { display: flex; align-items: center; min-height: 30px; color: #5d697b; font-size: 8px; }
.rail-demo { min-height: 90px; padding: 14px 9px; color: #fff; background: linear-gradient(145deg, #132d51, #075ec9); text-align: center; }
.rail-demo span, .rail-demo strong, .rail-demo small { display: block; }
.rail-demo span { color: #7fb7ff; font-size: 8px; letter-spacing: .1em; }
.rail-demo strong { margin-top: 5px; font-size: 12px; }
.rail-demo small { margin-top: 5px; color: #c1d8f6; font-size: 7px; line-height: 1.5; }
.portal-center { min-width: 0; }
.portal-premium { border: 1px solid #cfd8e4; background: #fff; }
.portal-premium > header { display: flex; align-items: baseline; gap: 9px; min-height: 42px; padding: 11px 14px; border-bottom: 1px solid #e0e5eb; }
.portal-premium h2 { margin: 0; color: #075fcf; font-size: 14px; }
.portal-premium header span { color: #8a94a2; font-size: 8px; }
.portal-premium-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 83px; }
.portal-premium-list > a { position: relative; display: grid; grid-template-columns: 1fr auto; padding: 13px; border-left: 1px solid #e2e7ed; }
.portal-premium-list > a:first-child { border-left: 0; }
.portal-premium-list strong, .portal-premium-list span, .portal-premium-list p, .portal-premium-list em { display: block; }
.portal-premium-list strong { overflow: hidden; color: #172d4c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.portal-premium-list span { margin-top: 2px; color: #0867df; font-size: 9px; font-weight: 750; }
.portal-premium-list p { grid-column: 1 / -1; margin: 8px 0 0; overflow: hidden; color: #586579; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.portal-premium-list p b { display: inline-block; margin-right: 5px; padding: 2px 5px; border-radius: 999px; color: #fff; background: #0b8dca; font-size: 7px; }
.portal-premium-list em { position: absolute; top: 13px; right: 12px; color: #7b8695; font-size: 7px; font-style: normal; }
.portal-search-panels { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.portal-search-panel { border: 1px solid #d3dbe5; background: #fff; }
.portal-search-panel header { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 13px; border-bottom: 1px solid #e1e6ec; }
.portal-search-panel h2 { margin: 0; color: #25374f; font-size: 12px; }
.portal-search-panel header a { color: #7b8797; font-size: 8px; }
.portal-region-grid, .portal-product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 8px; }
.portal-region-grid a, .portal-product-grid a { display: flex; align-items: center; justify-content: center; min-height: 33px; border: 1px solid #e2e7ed; border-right: 0; border-bottom: 0; color: #536074; background: #fff; font-size: 9px; }
.portal-region-grid a:nth-child(5n), .portal-product-grid a:nth-child(5n) { border-right: 1px solid #e2e7ed; }
.portal-region-grid a:nth-last-child(-n+5), .portal-product-grid a:nth-last-child(-n+5) { border-bottom: 1px solid #e2e7ed; }
.portal-region-grid a:first-child, .portal-product-grid a:first-child { color: #fff; border-color: #0867df; background: #0867df; }
.portal-region-grid span { display: none; }
.portal-main-companies { margin-top: 18px; }
.portal-main-companies > header { position: relative; display: flex; align-items: center; justify-content: center; min-height: 75px; border-bottom: 2px solid #18395f; }
.portal-main-companies > header h2 { margin: 0; color: #142944; font-size: 22px; text-align: center; }
.portal-main-companies > header p { margin: 3px 0 0; color: #8993a1; font-size: 8px; text-align: center; }
.portal-main-companies > header > a { position: absolute; right: 0; display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; color: #fff; background: #0867df; font-size: 9px; }
.portal-company-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; padding-top: 12px; }
.portal-company-card { overflow: hidden; border: 1px solid #d8dfe8; background: #fff; transition: border-color .18s, transform .18s; }
.portal-company-card:hover { border-color: #4388df; transform: translateY(-2px); }
.portal-company-card__visual { position: relative; display: flex; min-height: 97px; flex-direction: column; justify-content: center; padding: 16px; color: #fff; background: linear-gradient(145deg, #0b60b7, #0d8ed0); }
.portal-company-card__visual::after { position: absolute; right: -22px; bottom: -35px; width: 105px; height: 105px; border: 13px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.portal-company-card--2 .portal-company-card__visual, .portal-company-card--6 .portal-company-card__visual { background: linear-gradient(145deg, #153b76, #5b75c7); }
.portal-company-card--3 .portal-company-card__visual, .portal-company-card--7 .portal-company-card__visual { background: linear-gradient(145deg, #087b8d, #18aca2); }
.portal-company-card--4 .portal-company-card__visual, .portal-company-card--8 .portal-company-card__visual { background: linear-gradient(145deg, #2661a9, #3e93e8); }
.portal-company-card__visual span { width: max-content; padding: 2px 6px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: 7px; }
.portal-company-card__visual strong { margin-top: 8px; font-size: 15px; letter-spacing: -.03em; }
.portal-company-card__visual small { margin-top: 3px; color: #d8ebff; font-size: 8px; }
.portal-company-card__body { min-height: 147px; padding: 12px; }
.portal-company-card__body h3 { margin: 0; overflow: hidden; color: #203149; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.portal-company-card__body > p { min-height: 38px; margin: 6px 0 7px; overflow: hidden; color: #667286; font-size: 8px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.portal-company-card dl { margin: 0; padding: 6px 0; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.portal-company-card dl div { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 4px; }
.portal-company-card dt, .portal-company-card dd { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.portal-company-card dt { color: #8a94a2; }
.portal-company-card dd { margin: 0; color: #3e4c60; }
.portal-company-card__body > span { display: flex; justify-content: flex-end; align-items: center; margin-top: 7px; color: #0867df; font-size: 7px; font-weight: 800; }
.portal-more-companies { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 13px; border: 1px solid #bed2ec; color: #075fcf; background: #fff; font-size: 11px; font-weight: 800; }
.portal-more-companies b { margin: 0 3px; }
.portal-safety { padding: 34px 0 42px; border-top: 1px solid #dfe5ec; background: #fff; }
.portal-safety header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.portal-safety h2 { margin: 0; color: #1d3049; font-size: 17px; }
.portal-safety header a { color: #6e7a8c; font-size: 9px; }
.portal-safety .shell > div { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #dce3eb; }
.portal-safety article { min-height: 112px; padding: 16px; border-left: 1px solid #e3e8ee; }
.portal-safety article:first-child { border-left: 0; }
.portal-safety article b { color: #75a8e9; font-size: 15px; }
.portal-safety article strong { display: block; margin-top: 5px; color: #25374e; font-size: 11px; }
.portal-safety article p { margin: 5px 0 0; color: #687487; font-size: 9px; line-height: 1.65; }

@media (max-width: 1180px) {
  .portal-layout { grid-template-columns: 1fr; }
  .portal-left-rail, .portal-right-rail { display: none; }
}

@media (max-width: 900px) {
  .portal-company-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 740px) {
  .portal-visual__inner { min-height: 255px; padding: 31px 14px 25px; }
  .portal-visual h1 { font-size: 25px; }
  .portal-visual__inner > p { font-size: 11px; }
  .portal-counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 21px; border: 1px solid rgba(255,255,255,.2); }
  .portal-counts div { min-width: 0; min-height: 44px; justify-content: center; padding: 0 5px; border: solid rgba(255,255,255,.16); border-width: 0 0 1px 1px; }
  .portal-counts div:nth-child(odd) { border-left: 0; }
  .portal-counts div:nth-child(n+3) { border-bottom: 0; }
  .portal-counts span { font-size: 8px; }
  .portal-counts strong { font-size: 14px; }
  .portal-stage { padding: 14px; }
  .portal-premium-list { grid-template-columns: 1fr; }
  .portal-premium-list > a { min-height: 72px; border: solid #e2e7ed; border-width: 1px 0 0; }
  .portal-premium-list > a:first-child { border-top: 0; }
  .portal-search-panels { grid-template-columns: 1fr; }
  .portal-region-grid, .portal-product-grid { grid-template-columns: repeat(4, 1fr); }
  .portal-region-grid a:nth-child(n), .portal-product-grid a:nth-child(n) { min-height: 39px; border: 1px solid #e2e7ed; border-right: 0; border-bottom: 0; }
  .portal-region-grid a:nth-child(4n), .portal-product-grid a:nth-child(4n) { border-right: 1px solid #e2e7ed; }
  .portal-region-grid a:nth-last-child(-n+4), .portal-product-grid a:nth-last-child(-n+4) { border-bottom: 1px solid #e2e7ed; }
  .portal-main-companies > header { min-height: 66px; }
  .portal-main-companies > header h2 { font-size: 19px; }
  .portal-main-companies > header > a { min-width: 44px; min-height: 44px; font-size: 0; }
  .portal-main-companies > header > a::after { content: "+"; font-size: 18px; }
  .portal-company-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
  .portal-company-card__visual { min-height: 84px; padding: 12px; }
  .portal-company-card__visual strong { font-size: 13px; }
  .portal-company-card__body { min-height: 143px; padding: 10px; }
  .portal-company-card__body h3 { font-size: 11px; }
  .portal-company-card__body > p { min-height: 35px; }
  .portal-safety { padding: 25px 14px; }
  .portal-safety h2 { font-size: 15px; }
  .portal-safety header a { min-height: 44px; display: flex; align-items: center; }
  .portal-safety .shell > div { grid-template-columns: 1fr; }
  .portal-safety article { min-height: 88px; border: 0; border-top: 1px solid #e3e8ee; }
  .portal-safety article:first-child { border-top: 0; }
}

@media (max-width: 1024px) {
  .benchmark-header__top { grid-template-columns: 185px minmax(250px, 1fr) auto; gap: 16px; }
  .benchmark-header__actions > a { display: none; }
  .benchmark-primary-nav a { font-size: 11px; }
  .benchmark-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 25px; }
  .benchmark-hero h1 { font-size: 32px; }
  .benchmark-search { grid-template-columns: 170px repeat(3, 1fr) 125px; }
  .benchmark-region-grid, .benchmark-product-grid { grid-template-columns: repeat(4, 1fr); }
  .benchmark-premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safety-summary-grid { grid-template-columns: repeat(3, 1fr); }
  .safety-summary-grid article:nth-child(4) { border-left: 0; border-top: 1px solid #e4e9ef; }
  .safety-summary-grid article:nth-child(5) { border-top: 1px solid #e4e9ef; }
}

@media (max-width: 740px) {
  .benchmark-ui { padding-bottom: 72px; }
  .benchmark-ui .shell { width: 100%; }
  .platform-strip { display: none; }
  .benchmark-header { top: 0; }
  .benchmark-header__top { display: flex; min-height: 68px; padding: 0 15px; }
  .benchmark-brand { width: auto; height: 48px; gap: 7px; overflow: visible; }
  .brand-logo--full { display: none; }
  .brand-logo--symbol { display: block; width: 35px; height: 35px; border-radius: 50%; }
  .brand-mobile-text { display: inline; color: #101826; font-size: 18px; font-weight: 950; letter-spacing: -.055em; }
  .benchmark-header .wordmark { min-height: 44px; font-size: 21px; }
  .benchmark-header .wordmark small, .header-company-search { display: none; }
  .benchmark-header__actions { margin-left: auto; }
  .benchmark-header .portfolio-chip { display: inline-flex; font-size: 9px; }
  .benchmark-header .menu-button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; color: #314157; background: transparent; }
  .benchmark-primary-nav { overflow-x: auto; scrollbar-width: none; }
  .benchmark-primary-nav::-webkit-scrollbar { display: none; }
  .benchmark-primary-nav .shell { display: flex; width: max-content; }
  .benchmark-primary-nav a { min-width: 110px; min-height: 45px; padding: 0 14px; font-size: 11px; }
  .benchmark-mobile-menu { position: fixed; z-index: 180; top: 68px; right: 0; bottom: 0; left: 0; overflow-y: auto; padding: 13px 15px 90px; background: #fff; }
  .benchmark-mobile-menu:not([hidden]) { display: block; }
  .benchmark-mobile-menu nav { display: grid; }
  .benchmark-mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 53px; border-bottom: 1px solid #e3e8ef; color: #26364c; font-size: 14px; font-weight: 800; }
  .benchmark-mobile-menu p { margin: 18px 0 0; padding: 14px; color: #657387; background: #f4f7fb; font-size: 11px; }
  .transaction-alert .shell { min-height: 49px; padding: 0 14px; }
  .transaction-alert strong { margin: 0; font-size: 11px; }
  .transaction-alert p { display: none; }
  .transaction-alert a { min-height: 44px; font-size: 10px; }
  .benchmark-hero { padding-top: 0; }
  .benchmark-hero__grid { display: block; min-height: auto; padding: 28px 15px 76px; }
  .benchmark-hero__copy { padding: 8px 0 0 13px; }
  .benchmark-hero__copy::before { top: 9px; bottom: 14px; }
  .benchmark-hero h1 { font-size: 27px; }
  .benchmark-hero__copy > p { font-size: 12px; line-height: 1.7; }
  .benchmark-stats { margin-top: 21px; }
  .benchmark-stats div { min-width: 0; flex: 1; padding: 0 10px; }
  .benchmark-stats strong { font-size: 19px; }
  .benchmark-stats span { font-size: 9px; }
  .benchmark-quick-panel { display: none; }
  .benchmark-search-wrap { margin-top: -56px; padding: 0 14px; }
  .benchmark-search { display: grid; grid-template-columns: repeat(2, 1fr); min-height: auto; padding: 12px; border-radius: 7px; }
  .benchmark-search__title { grid-column: 1 / -1; min-height: 49px; padding: 2px 2px 9px; }
  .benchmark-search label { min-height: 61px; padding: 7px 10px; border-width: 1px 0 0 1px; }
  .benchmark-search label:nth-of-type(3) { grid-column: 1 / -1; border-right: 1px solid #e0e6ed; }
  .benchmark-search label:nth-of-type(2) { border-right: 1px solid #e0e6ed; }
  .benchmark-search button { grid-column: 1 / -1; min-height: 50px; margin-top: 9px; border-radius: 4px; }
  .benchmark-section { padding: 29px 14px; }
  .explore-section { padding-top: 30px; }
  .explore-grid { grid-template-columns: 1fr; gap: 10px; }
  .explore-panel { padding: 16px; }
  .explore-panel h2, .benchmark-heading h2 { font-size: 18px; }
  .benchmark-region-grid, .benchmark-product-grid { grid-template-columns: repeat(4, 1fr); }
  .benchmark-region-grid a, .benchmark-product-grid a { min-height: 42px; }
  .benchmark-heading { align-items: center; }
  .benchmark-heading p { max-width: 230px; }
  .benchmark-heading > a { min-width: 44px; min-height: 44px; font-size: 0; }
  .benchmark-premium-grid { grid-template-columns: 1fr; gap: 8px; }
  .benchmark-premium-grid .company-card--reference { min-height: 126px !important; border-top-width: 2px; }
  .benchmark-premium-grid .company-card--reference:nth-child(n+5) { display: none; }
  .directory-preview-grid { display: block; }
  .benchmark-company-list { grid-template-columns: 1fr; }
  .benchmark-company-list .company-card--reference { min-height: 122px !important; }
  .benchmark-company-list .company-card--reference:nth-child(n+7) { display: none; }
  .benchmark-side-info { margin-top: 20px; }
  .safety-summary-grid { grid-template-columns: 1fr; }
  .safety-summary-grid article, .safety-summary-grid article:nth-child(n) { min-height: 105px; padding: 16px; border: 0; border-top: 1px solid #e4e9ef; }
  .safety-summary-grid article:first-child { border-top: 0; }
  .safety-summary-grid b { float: left; width: 42px; font-size: 17px; }
  .safety-summary-grid strong, .safety-summary-grid p { margin-left: 42px; }
  .benchmark-footer { display: none; }
}
