html, body {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    background: #f1f1f1;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.mud-main-content,
.mud-main-content > .mud-container {
    background: #f1f1f1;
}

.ohr-header-appbar {
    background-image: url('headerbg.png') !important;
    background-size: cover !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    box-shadow: none !important;
}

.ohr-hero {
    margin: -16px -16px 16px -16px;
    height: 120px;
    background-image: url('headerbg.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Company Profiles landing — clickable company cards */
.ohr-company-card {
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    height: 100%;
}

.ohr-company-card:hover {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.ohr-company-card .ohr-company-card__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Toplist results grid (frozen columns) ───────────────────────────────────
   Two side-by-side panels. The left panel (Rank + Company) is fixed; the right
   panel scrolls horizontally inside its own clipped container, so nothing can
   bleed into the frozen columns. Fixed row heights keep both panels aligned. */
.ohr-tl-page {
    background: #f1f1f1;
    font-family: 'Poppins', 'Helvetica', 'Arial', sans-serif;
    min-height: 100%;
    padding-bottom: 1.75rem;
}

.ohr-tl-hero-title {
    color: #fff;
    font-weight: 600;
}

.ohr-tl-filter-section {
    width: 100%;
    background: #f1f1f1;
    border-bottom: 0;
    box-shadow: none;
    padding: 0.75rem 1rem 0;
    margin-bottom: 0 !important;
}

.ohr-tl-filterbar {
    padding: 0.45rem 1rem;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #a71f40;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.ohr-tl-filterbar-row {
    min-height: 32px;
    gap: 0.2rem !important;
}

.ohr-tl-filterbar-title {
    color: #a71f40;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 28px;
    white-space: nowrap;
}

.ohr-tl-vertical-line {
    display: inline-block;
    height: 15px;
    margin: 0 0.05rem;
    border-left: 1.5px solid #000;
}

.ohr-tl-filter-control {
    flex: 0 0 auto;
    margin: 0 !important;
    align-self: center;
}

.ohr-tl-filter-control--year {
    width: 120px;
}

.ohr-tl-filter-control--region {
    width: 190px;
}

.ohr-tl-filter-control--country {
    width: 190px;
}

.ohr-tl-filter-control--search {
    width: 250px;
}

.ohr-tl-filter-control .mud-input-control-input-container {
    margin: 0;
}

.ohr-tl-filter-control .mud-input-control {
    margin: 0;
}

.ohr-tl-filter-control .mud-input,
.ohr-tl-filter-control .mud-input-outlined {
    height: 28px;
    min-height: 28px;
    font-size: 0.72rem;
    background: #fff;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
}

.ohr-tl-filter-control .mud-input > input.mud-input-slot,
.ohr-tl-filter-control .mud-input > input.mud-select-input,
.ohr-tl-filter-control .mud-select-input {
    min-height: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    text-align: left;
}

.ohr-tl-filter-control .mud-input-adornment,
.ohr-tl-filter-control .mud-input-adornment-end,
.ohr-tl-filter-control .mud-input-adornment-start {
    height: 28px;
    margin-top: 0 !important;
    align-self: center;
    display: flex;
    align-items: center;
}

.ohr-tl-filter-control .mud-input-outlined-border {
    border-color: #a71f40 !important;
    border-radius: 0 !important;
}

.mud-popover.ohr-tl-filter-popover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12) !important;
}

.mud-popover.ohr-tl-filter-popover .mud-list-item {
    min-height: 32px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.ohr-tl-filter-actions {
    margin-left: auto;
    gap: 0.25rem !important;
}

.ohr-tl-action-button {
    min-width: 0 !important;
    height: 28px !important;
    padding: 0 0.55rem !important;
    border-radius: 0 !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.ohr-tl-action-button .mud-icon-root {
    font-size: 16px !important;
}

.ohr-tl-action-button--clear {
    background: #f1f1f1 !important;
    color: #000 !important;
}

.ohr-tl-tier-alert {
    margin: 0.75rem 1rem 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ohr-tl-report-block {
    background: #fff;
    padding: 0 0.75rem 0.5rem;
    border-radius: 0;
    margin: 0.5rem 1rem 0;
    box-shadow: none;
}

.ohr-tl-controls {
    flex: 0 0 auto;
}

.ohr-tl-controls-row {
    padding: 0.45rem 0;
    margin: 0 0.25rem;
    background: #fff;
}

.ohr-tl-report-actions {
    margin-left: auto;
    gap: 0.4rem !important;
}

.ohr-tl-report-button {
    min-width: 0 !important;
    height: 28px !important;
    padding: 0 0.55rem !important;
    border: 1px solid #d8d8de !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #4a4d55 !important;
    font-size: 0.7rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.ohr-tl-report-button:hover:not(.mud-button-disabled) {
    background: #f8f8f9 !important;
    border-color: #c9c9cf !important;
    color: #3f424a !important;
}

.ohr-tl-report-button .mud-button-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.ohr-tl-report-button .mud-icon-root {
    color: #4a4d55 !important;
    font-size: 16px !important;
}

.ohr-tl-report-button--export {
    min-width: 0 !important;
}

.ohr-tl-report-button--fullscreen {
    min-width: 0 !important;
}

.ohr-tl-table-wrapper {
    overflow: auto;
    max-height: clamp(500px, calc(100vh - 210px), 650px);
    margin-bottom: 0;
    position: relative;
    isolation: isolate;
    z-index: 1;
    padding: 0;
    background: #fff;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.ohr-tl-table-shell {
    overflow: visible;
    width: max-content;
    max-width: 100%;
    background: #fff;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ohr-tl-footer-strip {
    display: block;
    margin: 0.5rem 1rem 0;
    padding: 0.4rem 0.75rem;
    background: #f1f1f1;
    color: #4b5563 !important;
    text-align: left;
    border-top: 1px solid #e5e5e5;
}

@media (max-height: 720px) {
    .ohr-tl-table-wrapper {
        max-height: min(500px, calc(100vh - 170px));
    }
}

.ohr-tl-fullscreen-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.75rem 0.75rem;
    margin: 0;
}

.ohr-tl-fullscreen-container .ohr-tl-controls {
    background: #fff;
}

.ohr-tl-fullscreen-container .ohr-tl-table-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    margin-bottom: 0;
}

.ohr-spin {
    animation: ohr-spin-anim 1s linear infinite;
}

@keyframes ohr-spin-anim {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ohr-tl {
    --ohr-tl-header-bg: #f6e8eb;
    --ohr-tl-header-sorted-bg: #efd4da;
    --ohr-tl-brand: #a71f36;
    --ohr-tl-stripe-even: #f1f1f1;
    --ohr-tl-border: #e5e5e5;
    --ohr-tl-hover-odd: #fafafa;
    --ohr-tl-hover-even: #ececec;
    --ohr-tl-appbar-offset: 56px;
    --ohr-tl-filterbar-height: 66px;
    display: flex;
    width: max-content;
    max-width: 100%;
    align-items: flex-start;
    font-family: 'Poppins', 'Helvetica', 'Arial', sans-serif;
    color: #000;
}

.ohr-tl-frozen {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    background: var(--mud-palette-surface);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}

.ohr-tl-scrollwrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.ohr-tl-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

.ohr-tl-sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

.ohr-tl-sticky-scroll {
    width: 100%;
    overflow: hidden;
}

.ohr-tl-sticky-scroll-inner {
    will-change: transform;
}

.ohr-tl-body-grid .ohr-tl-head {
    display: none;
}

.ohr-tl-scroll-inner {
    width: max-content;
    min-width: 100%;
}

/* Floating horizontal-scroll arrows — hidden by default, revealed by JS when the
   panel can scroll in that direction. */
.ohr-tl-arrow {
    position: absolute;
    top: 96px;            /* JS repositions this to the hovered row */
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 50%;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    cursor: pointer;
    z-index: 3;
    opacity: 1;
    transition: background .15s ease, border-color .15s ease, color .15s ease,
                box-shadow .15s ease, transform .1s ease, top .08s ease;
}

.ohr-tl-arrow:hover {
    background: var(--mud-palette-surface);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-darken);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .24);
}

.ohr-tl-arrow:active {
    transform: translateY(-50%) scale(.92);
}

.ohr-tl-arrow--left {
    left: 6px;
}

.ohr-tl-arrow--right {
    right: 6px;
}

/* Arrows appear only while hovering the panel and only in a scrollable
   direction. JS positions them vertically on the hovered row. */
.ohr-tl-scrollwrap:hover .ohr-tl-scroll.ohr-can-left ~ .ohr-tl-arrow--left {
    display: flex;
}

.ohr-tl-scrollwrap:hover .ohr-tl-scroll.ohr-can-right ~ .ohr-tl-arrow--right {
    display: flex;
}

.ohr-tl-row {
    display: flex;
    box-sizing: border-box;
}

.ohr-tl-row--body {
    transition: background-color .12s ease;
}

.ohr-tl-row--total > .ohr-tl-cell,
.ohr-tl-row--total .mud-typography-body2,
.ohr-tl-row--total span[style*="monospace"] {
    font-weight: 700;
}

.ohr-tl-row--body.ohr-tl-row--hover > .ohr-tl-cell--stripe-odd {
    background-color: var(--ohr-tl-hover-odd) !important;
}

.ohr-tl-row--body.ohr-tl-row--hover > .ohr-tl-cell--stripe-even {
    background-color: var(--ohr-tl-hover-even) !important;
}

.ohr-tl-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    padding: 0.34rem 0.45rem;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 400;
    color: #000;
    border-bottom: 1px solid var(--ohr-tl-border);
    border-right: none;
}

.ohr-tl-cell .mud-typography-body2 {
    color: #000;
    font-size: 0.75rem;
    line-height: 1.2;
}

.ohr-tl-cell .mud-typography-body2[style*="monospace"],
.ohr-tl-cell span[style*="monospace"] {
    font-variant-numeric: tabular-nums;
}

.ohr-tl-cell--stripe-odd {
    background-color: #fff;
}

.ohr-tl-cell--stripe-even {
    background-color: var(--ohr-tl-stripe-even);
}

.ohr-tl-cell--company {
    justify-content: flex-start;
    text-align: left;
    font-weight: 500;
}

.ohr-tl-cell--company a,
.ohr-tl-cell--company .mud-link {
    color: #000 !important;
    font-weight: 500 !important;
    text-decoration: none;
}

.ohr-tl-cell--num {
    justify-content: center;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Header */
.ohr-tl-head .ohr-tl-cell {
    background-color: var(--ohr-tl-header-bg) !important;
    border-bottom: 1px solid var(--ohr-tl-border);
    position: relative;
    z-index: 1;
}

.ohr-tl-head {
    position: relative;
    z-index: 50;
    will-change: transform;
}

.ohr-tl-hcell {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
    color: #000;
}

.ohr-tl-hcell--left {
    align-items: flex-start;
}

.ohr-tl-hcell--center {
    align-items: center;
}

.ohr-tl-hcell--sortable {
    cursor: pointer;
    user-select: none;
}

.ohr-tl-hcell--sortable:hover {
    background-color: var(--ohr-tl-header-sorted-bg) !important;
}

.ohr-tl-hlabel-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    min-height: 100%;
    max-width: 100%;
    min-width: 0;
    line-height: 1.05;
}

.ohr-tl-hlabel-row .ohr-tl-ellipsis {
    text-align: left;
}

.ohr-tl-hmeta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 0;
    line-height: 1;
}

.ohr-tl-sort-icon {
    flex-shrink: 0;
}

.ohr-tl-sort-icon--idle {
    opacity: 0.35;
    transition: opacity .15s ease;
}

.ohr-tl-hcell--sortable:hover .ohr-tl-sort-icon--idle {
    opacity: 0.75;
}

.ohr-tl-sort-icon--active {
    opacity: 1;
    color: var(--ohr-tl-brand);
}

.ohr-tl-hcell--sorted {
    background-color: var(--ohr-tl-header-sorted-bg) !important;
    box-shadow: inset 0 -3px 0 0 var(--ohr-tl-brand);
}

.ohr-tl-ellipsis {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ohr-tl-cell-text {
    display: block;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
    font-size: 0.75rem;
    line-height: 1.2;
}

.ohr-tl-text-tooltip {
    max-width: 100%;
}

.mud-popover.ohr-tl-text-tooltip,
.mud-popover:has(.ohr-tl-text-tooltip-content) {
    width: max-content;
    max-width: min(420px, calc(100vw - 32px));
}

body:has(.ohr-tl-fullscreen-container) .mud-popover.ohr-tl-text-tooltip,
body:has(.ohr-tl-fullscreen-container) .mud-popover:has(.ohr-tl-text-tooltip-content) {
    z-index: 10010 !important;
}

body:has(.mud-popover .ohr-tl-text-tooltip-content) .ohr-tl-arrow {
    opacity: 0;
    pointer-events: none;
}

.mud-popover:has(.ohr-tl-text-tooltip-content) .mud-tooltip-arrow {
    display: none !important;
}

.ohr-tl-text-tooltip-content {
    display: block;
    position: relative;
    width: max-content;
    max-width: min(420px, calc(100vw - 32px));
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    text-align: left;
    line-height: 1.35;
}

.ohr-tl-text-tooltip-content::after {
    content: "";
    position: absolute;
    left: var(--ohr-tl-tooltip-arrow-left, 50%);
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #616161;
    pointer-events: none;
}

.ohr-tl-tag {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .4px;
    line-height: 1;
}

.ohr-tl-tag--sub {
    position: absolute;
    left: 0;
    bottom: 3px;
    transform: none;
    margin-left: 0 !important;
    font-size: 8px;
    letter-spacing: .35px;
    text-align: left;
    pointer-events: none;
}

.ohr-tl-tag--locked {
    color: var(--mud-palette-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.ohr-tl-hcell.ohr-tl-cell--num {
    align-items: center;
}

.ohr-tl-hcell.ohr-tl-cell--num .ohr-tl-hlabel-row {
    justify-content: center;
}

.ohr-tl-hcell.ohr-tl-cell--num .ohr-tl-tag--sub {
    left: 50%;
    transform: translateX(-50%);
}

/* Masked (tier-locked) cell value — a random, data-free token rendered blurred
   so it is not even legible. The real value is stripped server-side and never
   reaches the browser. */
.ohr-tl-masked {
    font-family: monospace;
    color: var(--mud-palette-text-secondary);
    letter-spacing: 1px;
    cursor: help;
    user-select: none;
    filter: blur(3px);
}

/* ── Company profile report layout ─────────────────────────────────────────── */
.ohr-company-report {
    max-width: 900px;
}

.ohr-profile-section-bar {
    height: 4px;
    background: #a71f40;
    margin: 1.25rem 0 0.75rem;
}

.ohr-profile-na {
    color: #4b5563;
    font-size: 0.875rem;
    margin: 0 0 1rem;
}

.ohr-profile-section-title {
    color: #a71f40;
    font-size: 1rem;
    font-weight: 700;
    margin: 1.75rem 0 0.75rem;
}

.ohr-profile-narrative {
    margin: 1.25rem 0;
    line-height: 1.65;
    color: #2c2c2c;
}

.ohr-profile-narrative .rich-text-content p {
    margin-bottom: 0.75rem;
}

.ohr-profile-table-wrap {
    overflow-x: auto;
    margin-bottom: 0.5rem;
}

.ohr-profile-table-wrap + .ohr-profile-section-title {
    margin-top: 1.5rem;
}

.ohr-profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.ohr-profile-table th,
.ohr-profile-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.ohr-profile-table--info td:first-child {
    width: 38%;
    color: #4b5563;
    font-weight: 500;
}

.ohr-profile-table--info tbody tr:nth-child(odd) {
    background: #f9fafb;
}

.ohr-profile-table--info tbody tr:nth-child(even) {
    background: #ffffff;
}

.ohr-profile-table--indicators thead th {
    background: #a71f40;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    border-bottom: none;
}

.ohr-profile-table--indicators thead th:first-child {
    text-align: left;
}

.ohr-profile-table--indicators tbody tr:nth-child(odd) {
    background: #fdf2f4;
}

.ohr-profile-table--indicators tbody tr:nth-child(even) {
    background: #ffffff;
}

.ohr-profile-table--indicators td:not(:first-child) {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.ohr-profile-table--indicators .ohr-profile-rank-row td:first-child {
    font-weight: 600;
}

.ohr-profile-masked {
    font-family: monospace;
    color: #9ca3af;
    letter-spacing: 1px;
    cursor: help;
    user-select: none;
    filter: blur(3px);
}

.ohr-profile-chart {
    margin: 0.5rem 0 1.5rem;
}

/* Dashboard / hub card grids — equal height within each row */
.ohr-card-grid > .mud-grid-item {
    display: flex;
}

.ohr-stat-card,
.ohr-toplist-card,
.ohr-forecast-card {
    width: 100%;
}

.ohr-card-grid .ohr-stat-card,
.ohr-card-grid .ohr-toplist-card,
.ohr-card-grid .ohr-forecast-card {
    height: 100%;
}

.ohr-stat-card {
    border-top: 3px solid var(--mud-palette-primary);
    transition: box-shadow 0.2s ease;
}

.ohr-stat-card:hover {
    box-shadow: 0 4px 20px rgba(167, 31, 54, 0.15) !important;
}

.ohr-toplist-card {
    border-left: 3px solid var(--mud-palette-primary);
    transition: box-shadow 0.2s ease;
    cursor: pointer;
}

.ohr-toplist-card:hover {
    box-shadow: 0 4px 16px rgba(167, 31, 54, 0.12) !important;
}

.ohr-toplist-card > .d-flex {
    width: 100%;
}

/* Multi-year forecast report */
.ohr-forecast-card {
    border-left: 3px solid var(--mud-palette-primary);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.ohr-forecast-card:hover {
    box-shadow: 0 4px 16px rgba(167, 31, 54, 0.16) !important;
}

/* Small laptop and below — uniform card heights when titles wrap */
@media (max-width: 1279.98px) {
    .ohr-stat-card {
        min-height: 8.125rem;
    }

    .ohr-stat-card__caption {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ohr-toplist-card,
    .ohr-forecast-card {
        min-height: 9.375rem;
    }

    .ohr-toplist-card .mud-typography-body1,
    .ohr-forecast-card .mud-typography-body1 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.75rem;
    }
}

.ohr-forecast-page {
    margin: -16px;
}

.ohr-forecast-hero {
    display: flex;
    min-height: 120px;
    align-items: center;
    padding: 0 2rem;
}

.ohr-forecast-filterbar {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.ohr-forecast-filter {
    width: 190px;
}

.ohr-forecast-year {
    width: 92px;
}

.ohr-forecast-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.ohr-forecast-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.ohr-forecast-legend-swatch {
    width: 0.85rem;
    height: 0.85rem;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 2px;
    background: var(--mud-palette-surface);
}

.ohr-forecast-legend-swatch--fc {
    background: color-mix(in srgb, var(--mud-palette-warning) 15%, var(--mud-palette-surface));
}

.ohr-forecast-year-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1;
}

.ohr-forecast-report {
    padding: 1rem;
    background: var(--mud-palette-background);
}

.ohr-forecast-nav-row {
    margin-bottom: 0.35rem;
}

.ohr-forecast-view-switch {
    display: inline-flex;
    align-items: stretch;
    gap: 0.25rem;
    margin: 0.15rem 0 0.85rem;
    padding: 0.3rem;
    background: #ececec;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    width: fit-content;
    max-width: 100%;
}

.ohr-forecast-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.55rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #555;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ohr-forecast-view-btn:hover {
    background: #f7f7f7;
    color: var(--mud-palette-primary);
}

.ohr-forecast-view-btn.is-active {
    background: #fff;
    color: var(--mud-palette-primary);
    border-color: color-mix(in srgb, var(--mud-palette-primary) 28%, #ccc);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ohr-forecast-view-btn .mud-icon-root {
    font-size: 1.05rem;
}

.ohr-forecast-panel-box {
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    padding: 0.85rem 1rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    min-width: 0;
}

.ohr-forecast-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #ececec;
}

.ohr-forecast-panel-heading {
    min-width: 0;
    flex: 1 1 220px;
}

.ohr-forecast-panel-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ohr-forecast-tab-caption {
    margin: 0 !important;
    color: var(--mud-palette-text-secondary);
}

.ohr-forecast-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1400;
    overflow: auto;
    background: var(--mud-palette-background);
    padding: 1rem 1.25rem;
}

.ohr-forecast-fullscreen-title {
    color: var(--mud-palette-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.ohr-forecast-table-wrap {
    max-height: calc(100vh - 360px);
    overflow: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
}

.ohr-forecast-fullscreen .ohr-forecast-table-wrap {
    max-height: calc(100vh - 140px);
}

@media (max-width: 600px) {
    .ohr-forecast-view-switch {
        width: 100%;
    }

    .ohr-forecast-view-btn {
        flex: 1 1 0;
        justify-content: center;
    }

    .ohr-forecast-panel-actions {
        width: 100%;
    }
}

.ohr-forecast-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.78rem;
}

.ohr-forecast-table th,
.ohr-forecast-table td {
    min-width: 110px;
    padding: 0.45rem 0.65rem;
    border-right: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ohr-forecast-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    color: #fff;
    background: var(--mud-palette-primary);
}

.ohr-forecast-table .ohr-forecast-sortable {
    cursor: pointer;
    user-select: none;
}

.ohr-forecast-table .ohr-forecast-country-col {
    text-align: left;
}

.ohr-forecast-table .ohr-forecast-company-col {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 240px;
    text-align: left;
    background: var(--mud-palette-surface);
}

.ohr-forecast-table thead .ohr-forecast-company-col {
    z-index: 3;
    color: #fff;
    background: var(--mud-palette-primary);
}

.ohr-forecast-table .is-forecast {
    background: color-mix(in srgb, var(--mud-palette-warning) 15%, var(--mud-palette-surface));
}

.ohr-forecast-table thead .is-forecast {
    color: #fff;
    background: color-mix(in srgb, var(--mud-palette-warning) 45%, var(--mud-palette-primary));
}

.ohr-forecast-table tfoot th {
    position: sticky;
    bottom: 0;
    font-weight: 700;
    background: var(--mud-palette-surface);
}

.ohr-forecast-metrics-table .ohr-forecast-field-col {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 220px;
    text-align: left;
    background: var(--mud-palette-surface);
}

.ohr-forecast-metrics-table thead .ohr-forecast-field-col {
    z-index: 3;
    color: #fff;
    background: var(--mud-palette-primary);
}

.ohr-forecast-metrics-table .is-computed {
    font-style: italic;
}

.ohr-forecast-metrics-table .ohr-forecast-ranking-row > td {
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, var(--mud-palette-surface));
}

.ohr-forecast-metrics-table .ohr-forecast-ranking-row > td.is-forecast {
    background: color-mix(in srgb, var(--mud-palette-warning) 18%, var(--mud-palette-surface));
}

.ohr-forecast-metrics-table .ohr-forecast-ranking-row > .ohr-forecast-field-col {
    font-weight: 600;
}

.ohr-forecast-ranking-badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.35rem;
    border: 1px solid var(--mud-palette-primary);
    border-radius: 3px;
    color: var(--mud-palette-primary);
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.2;
    vertical-align: middle;
}

.ohr-forecast-metric-value {
    display: block;
}

.ohr-forecast-yoy {
    display: block;
    margin-top: 0.1rem;
    color: var(--mud-palette-text-secondary);
    font-size: 0.68rem;
    font-weight: 500;
}

@media (max-width: 600px) {
    .ohr-forecast-filter,
    .ohr-forecast-year {
        width: 100%;
    }
}