﻿.gcx-metric-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0rem;
    margin-bottom: 1rem;
    width: 100%;
}

.metric-card-draggable--target-met .gcx-metric-card {
    box-shadow: 0 0 0 2px #29B576, 0 4px 14px rgba(41, 181, 118, 0.18);
}

.metric-card-draggable--target-met .gcx-metric-card--quantitative-hub .gcx-metric-body,
.metric-card-draggable--target-met .gcx-metric-card:not(.gcx-metric-card--configurator) .gcx-metric-body {
    background: linear-gradient(180deg, rgba(41, 181, 118, 0.07) 0%, #ffffff 100%);
}

.metric-card-draggable--target-missed .gcx-metric-card {
    box-shadow: 0 0 0 2px #FF6F61, 0 4px 14px rgba(255, 111, 97, 0.16);
}

.metric-card-draggable--target-missed .gcx-metric-card--quantitative-hub .gcx-metric-body,
.metric-card-draggable--target-missed .gcx-metric-card:not(.gcx-metric-card--configurator) .gcx-metric-body {
    background: linear-gradient(180deg, rgba(255, 111, 97, 0.07) 0%, #ffffff 100%);
}

.text-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.qualitative-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 0.5rem;
    width: 100%;
}

.qualitative-form-grid .metric-card-draggable--qualitative-form {
    grid-column: 1 / -1;
    width: 100%;
}

.qualitative-text-entry-grid {
    --qual-card-grid-columns: 4;
    --metric-card-min-width: 0;
    display: grid;
    grid-template-columns: repeat(var(--qual-card-grid-columns), minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 1.25rem;
    margin-top: 0.5rem;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.metric-card-grid.metric-card-grid--qual-widths {
    --qual-card-grid-columns: 4;
    grid-template-columns: repeat(var(--qual-card-grid-columns), minmax(0, 1fr));
}

.metric-card-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-quarter,
.qualitative-text-entry-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-quarter {
    grid-column: span 1;
}

.metric-card-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-half,
.qualitative-text-entry-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-half {
    grid-column: span 2;
}

.metric-card-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-full,
.qualitative-text-entry-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-full {
    grid-column: span var(--qual-card-grid-columns, 4);
}

@media (max-width: 639px) {
    .qualitative-text-entry-grid,
    .metric-card-grid.metric-card-grid--qual-widths {
        --qual-card-grid-columns: 1;
        grid-template-columns: 1fr;
    }

    .metric-card-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-quarter,
    .metric-card-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-half,
    .metric-card-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-full,
    .qualitative-text-entry-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-quarter,
    .qualitative-text-entry-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-half,
    .qualitative-text-entry-grid > .report-builder-card-slot.qualitative-text-entry-slot--width-full {
        grid-column: 1 / -1;
    }
}

.qualitative-text-entry-card {
    width: 100%;
}

.qualitative-text-entry-card-shell {
    width: 100%;
}

.qualitative-text-entry-body {
    padding: 1rem 1.25rem 1.25rem;
}

.qualitative-text-entry-input-wrap {
    min-width: -webkit-fill-available;
    width: 100%;
}

.qualitative-text-entry-field--auto {
    width: 100%;
    min-height: 2.5rem;
    max-height: 2.75rem;
    resize: none;
    overflow: hidden;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
    field-sizing: content;
    padding: 0.45rem 0.75rem;
    border: 1.5px solid #e3ebf3;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    color: #243444;
    background-color: #fafcfe;
    transition: min-height 0.18s ease, max-height 0.18s ease, border-color 0.2s, background-color 0.2s;
}

.qualitative-text-entry-field--auto:focus {
    min-height: 8rem;
    max-height: none;
    overflow: auto;
    resize: vertical;
    border-color: #1078be;
    background-color: #ffffff;
}

.qualitative-text-entry-field--expanded {
    width: 100%;
    min-height: 8rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e3ebf3;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    color: #243444;
    background-color: #fafcfe;
    resize: vertical;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.qualitative-text-entry-field--expanded:focus {
    border-color: #1078be;
    background-color: #ffffff;
}

.qualitative-text-entry-field--expanded::placeholder {
    color: #8a9aab;
}

/* Lined-paper notepad shared by card + drill-down narrative entry */
.qualitative-text-entry-notebook,
.qualitative-text-entry-card .qualitative-response-form-field__textarea-wrap,
.qualitative-text-entry-card .qualitative-response-form-field__display,
.pinnacle-drilldown-text-entry .qualitative-response-form-field__textarea-wrap,
.pinnacle-drilldown-text-entry .qualitative-response-form-field__display,
.cf-economic-card .qualitative-response-form-field__textarea-wrap,
.cf-economic-card .qualitative-response-form-field__display {
    --qual-notebook-line: 1.875rem;
    --qual-notebook-margin: 2.1rem;
    --qual-notebook-paper: #ffffff;
    --qual-notebook-rule: #a8c8e8;
    --qual-notebook-margin-colour: #f0a0a0;
    --qual-notebook-ink: #1a56b0;
    --qual-notebook-ink-muted: #7a9cc8;
    --qual-notebook-script: 'Patrick Hand', 'Caveat', 'Segoe Script', 'Bradley Hand', cursive;
    --qual-notebook-font-size: 1.3125rem;
    --qual-notebook-paper-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.08);
    --qual-notebook-paper-border: 1px solid #e5e7eb;
    --qual-notebook-surface-image:
        linear-gradient(
            90deg,
            transparent calc(var(--qual-notebook-margin) - 1px),
            var(--qual-notebook-margin-colour) calc(var(--qual-notebook-margin) - 1px),
            var(--qual-notebook-margin-colour) var(--qual-notebook-margin),
            transparent var(--qual-notebook-margin)
        ),
        repeating-linear-gradient(
            to bottom,
            transparent,
            transparent calc(var(--qual-notebook-line) - 1px),
            var(--qual-notebook-rule) calc(var(--qual-notebook-line) - 1px),
            var(--qual-notebook-rule) var(--qual-notebook-line)
        );
    box-sizing: border-box;
    min-height: calc(var(--qual-notebook-line) * 3);
    border: var(--qual-notebook-paper-border);
    border-radius: 2px;
    background-color: var(--qual-notebook-paper);
    background-image: var(--qual-notebook-surface-image);
    background-attachment: local;
    background-origin: padding-box;
    background-clip: padding-box;
    box-shadow: var(--qual-notebook-paper-shadow);
}

.qualitative-text-entry-card .qualitative-response-form-field__textarea,
.pinnacle-drilldown-text-entry .qualitative-response-form-field__textarea,
.cf-economic-card .qualitative-response-form-field__textarea {
    width: 100%;
    min-height: calc(var(--qual-notebook-line) * 3);
    resize: none;
    border: 0;
    border-radius: 2px;
    padding: 0 0.75rem 0 calc(var(--qual-notebook-margin) + 0.45rem);
    font-family: var(--qual-notebook-script);
    font-size: var(--qual-notebook-font-size);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: var(--qual-notebook-line);
    color: var(--qual-notebook-ink);
    background: transparent;
}

.qualitative-text-entry-card .qualitative-response-form-field__textarea::placeholder,
.pinnacle-drilldown-text-entry .qualitative-response-form-field__textarea::placeholder,
.cf-economic-card .qualitative-response-form-field__textarea::placeholder {
    font-family: var(--qual-notebook-script);
    font-size: var(--qual-notebook-font-size);
    font-style: italic;
    color: var(--qual-notebook-ink-muted);
    opacity: 1;
}

.qualitative-text-entry-card .qualitative-response-form-field__display,
.pinnacle-drilldown-text-entry .qualitative-response-form-field__display,
.cf-economic-card .qualitative-response-form-field__display {
    padding: 0 0.75rem 0 calc(var(--qual-notebook-margin) + 0.45rem);
    font-family: var(--qual-notebook-script);
    font-size: var(--qual-notebook-font-size);
    line-height: var(--qual-notebook-line);
    color: var(--qual-notebook-ink);
    white-space: pre-wrap;
    word-break: break-word;
}

@supports not (field-sizing: content) {
    .qualitative-text-entry-field--auto {
        min-height: 2.5rem;
        resize: vertical;
    }
}

.qualitative-text-entry-card .gcx-metric-header-title {
    position: relative;
    padding-left: 0.75rem;
    padding-right: 2.5rem;
}

.qualitative-text-entry-card .qualitative-text-entry-header-text {
    text-align: left;
}

.qualitative-text-entry-width-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.5rem 0.75rem 0;
    border-bottom: 1px solid #e8eef4;
}

.qualitative-text-entry-width-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6b7a;
}

.qualitative-text-entry-width-options {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qualitative-text-entry-width-btn {
    background: #ffffff;
    border: 1.5px solid #0b8aa8;
    border-radius: 8px;
    color: #0b4f7a;
    font-size: 0.8125rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    min-width: 5.25rem;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s, box-shadow 0.15s, color 0.15s, border-color 0.15s;
}

.qualitative-text-entry-width-btn:hover,
.qualitative-text-entry-width-btn.active {
    background-color: #00B6D5;
    border-color: #00B6D5;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 182, 213, 0.18);
}

.qualitative-text-entry-drilldown-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: inherit;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    opacity: 0.75;
}

.qualitative-text-entry-drilldown-btn:hover {
    opacity: 1;
}

.gcx-metric-header-action-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: inherit;
    width: auto;
    height: auto;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    opacity: 0.85;
    box-shadow: none;
}

.gcx-metric-header-action-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

.gcx-metric-card--quantitative-hub .gcx-metric-header-title {
    position: relative;
    padding-left: 2.25rem;
    padding-right: 2.5rem;
}

.gcx-metric-card--quantitative-hub .gcx-metric-header-title > .pinnacle-hover-tooltip:has(.metric-drag-handle--in-header) {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    z-index: 2;
}

.gcx-metric-card--quantitative-hub .metric-drag-handle--in-header {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    background: transparent;
    opacity: 0.75;
    padding: 0.15rem;
    font-size: 1.1rem;
    color: inherit;
}

.gcx-metric-card--quantitative-hub .metric-drag-handle--in-header:hover,
.gcx-metric-card--quantitative-hub:hover .metric-drag-handle--in-header {
    opacity: 1;
    color: inherit;
}

.gcx-metric-card--quantitative-hub .card-header-text {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.qualitative-text-entry-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.qualitative-text-entry-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6b7a;
}

.qualitative-text-entry-year {
    display: inline-block;
}

.qualitative-text-entry-field {
    width: 100%;
    max-width: 100%;
}

.qualitative-text-entry-counter {
    font-size: 0.75rem;
    color: #5c6b7a;
    text-align: right;
}

.qualitative-text-entry-readonly {
    min-height: 2rem;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
}

.report-builder-cascade-layout,
.report-builder-cascade-layout .disclosure-hub-section-box {
    position: relative;
    z-index: 1;
}

.report-builder-cascade-layout .metric-card-grid,
.report-builder-cascade-layout .text-card-grid,
.report-builder-cascade-layout .qualitative-text-entry-grid {
    position: relative;
    z-index: 1;
}

.report-builder-toolbar {
    margin: 0 10px 1.25rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: #f4f8fc;
    border: 1px solid #c5d4e3;
    color: #3d4f5f;
}

.report-builder-toolbar-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.report-builder-toolbar-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.report-builder-toolbar-summary {
    margin: 0;
    font-size: 0.8rem;
    color: #5c6b7a;
}

.report-builder-toolbar-empty {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.report-builder-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.report-builder-toolbar-btn {
    border: 1px solid #c5d4e3;
    border-radius: 999px;
    background: #ffffff;
    color: #3d4f5f;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.report-builder-toolbar-btn:hover {
    background: #eef4fa;
    border-color: #9eb8d4;
}

.report-builder-toolbar-btn--primary {
    background: #1078be;
    border-color: #1078be;
    color: #ffffff;
}

.report-builder-toolbar-btn--primary:hover {
    background: #0d629e;
    border-color: #0d629e;
}

.disclosure-workspace-toolbar-panel {
    margin: 0 auto 1rem;
    max-width: 1320px;
    padding: 1rem 1.25rem;
    border: 1px solid #d7e3ef;
    border-radius: 12px;
    background: #f7fafc;
}

.disclosure-workspace-toolbar-panel:has(+ .disclosure-container.disclosure-container--cards),
.disclosure-workspace-toolbar-panel:has(+ .disclosure-container.disclosure-container--mini-cards),
.disclosure-workspace-toolbar-panel:has(+ .disclosure-container.disclosure-container--table),
.disclosure-container.disclosure-container--cards + .disclosure-workspace-toolbar .disclosure-workspace-toolbar-panel,
.disclosure-container.disclosure-container--mini-cards + .disclosure-workspace-toolbar .disclosure-workspace-toolbar-panel,
.disclosure-container.disclosure-container--table + .disclosure-workspace-toolbar .disclosure-workspace-toolbar-panel {
    max-width: none;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.disclosure-hub-chrome:has(~ .disclosure-container.disclosure-container--cards) .domain-filter-wrapper,
.disclosure-hub-chrome:has(~ .disclosure-container.disclosure-container--mini-cards) .domain-filter-wrapper,
.disclosure-hub-chrome:has(~ .disclosure-container.disclosure-container--table) .domain-filter-wrapper {
    max-width: none;
}

.disclosure-workspace-toolbar-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.disclosure-workspace-toolbar-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #243444;
}

.disclosure-workspace-toolbar-subtitle {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #5c6b7a;
}

.disclosure-workspace-toolbar-summary {
    margin: 0;
    font-size: 0.8rem;
    color: #5c6b7a;
}

.disclosure-workspace-toolbar-empty {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #5c6b7a;
}

.disclosure-workspace-toolbar-start,
.disclosure-workspace-toolbar-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.disclosure-workspace-toolbar-end {
    margin-left: auto;
}

.disclosure-workspace-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.disclosure-workspace-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #c5d4e3;
    border-radius: 999px;
    background: #ffffff;
    color: #3d4f5f;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    cursor: pointer;
}

.disclosure-workspace-toolbar-panel--compact {
    margin-top: 0.75rem;
    margin-bottom: 0;
    padding: 0.65rem 0.75rem;
    background: transparent;
    border: none;
}

.disclosure-workspace-toolbar-view-row--compact {
    margin-top: 0;
    justify-content: space-between;
}

.disclosure-workspace-bottom-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.disclosure-workspace-toolbar-btn--primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #1078be;
    border-color: #1078be;
    color: #ffffff;
}

.disclosure-workspace-toolbar-btn-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    line-height: 1.2;
}

.disclosure-container--row-list {
    max-width: none;
}

.disclosure-workspace-toolbar-btn--primary:hover {
    background: #0d629e;
    border-color: #0d629e;
}

.disclosure-workspace-toolbar-btn--all-activated,
.disclosure-workspace-toolbar-btn--all-activated:disabled {
    background: #e8edf2;
    border-color: #c5d4e3;
    color: #6b7c8f;
    opacity: 1;
    cursor: not-allowed;
}

.disclosure-workspace-toolbar-btn--all-activated:hover,
.disclosure-workspace-toolbar-btn--all-activated:disabled:hover {
    background: #e8edf2;
    border-color: #c5d4e3;
    color: #6b7c8f;
}

.disclosure-hub-cascade-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto 1.5rem;
    max-width: 1320px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.disclosure-container--cards .disclosure-hub-cascade-layout,
.disclosure-container--mini-cards .disclosure-hub-cascade-layout,
.disclosure-container--form .disclosure-hub-cascade-layout,
.disclosure-container--table .disclosure-hub-cascade-layout,
.disclosure-container--table .disclosure-hierarchy-table-wrap {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.disclosure-container--cards .disclosure-hub-section-box__body,
.disclosure-container--mini-cards .disclosure-hub-section-box__body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.disclosure-container--cards .metric-card-grid,
.disclosure-container--mini-cards .metric-card-grid,
.disclosure-container--cards .text-card-grid,
.disclosure-container--mini-cards .text-card-grid,
.disclosure-container--cards .qualitative-text-entry-grid,
.disclosure-container--mini-cards .qualitative-text-entry-grid {
    padding-left: 0;
    padding-right: 0;
}

.disclosure-container--cards .report-builder-cascade-layout,
.disclosure-container--mini-cards .report-builder-cascade-layout,
.disclosure-container--cards .report-builder-custom-layout,
.disclosure-container--mini-cards .report-builder-custom-layout {
    margin-left: 0;
    margin-right: 0;
}

.disclosure-container--cards .report-builder-cascade-layout .disclosure-hub-section-box__body,
.disclosure-container--mini-cards .report-builder-cascade-layout .disclosure-hub-section-box__body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.disclosure-container--cards .report-section-heading,
.disclosure-container--mini-cards .report-section-heading {
    padding-left: 0;
    padding-right: 0;
}

.disclosure-container--cards .drop-down-content,
.disclosure-container--mini-cards .drop-down-content {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.disclosure-hub-section-box {
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: #fcfdfe;
    overflow: hidden;
}

.disclosure-hub-section-box:has(.quantitative-response-form-field-host--open) {
    overflow: visible;
    position: relative;
    z-index: 4;
}

.disclosure-hub-section-box:has(.quantitative-response-form-field-host--open) .disclosure-hub-section-box__body {
    padding-bottom: 1.5rem;
}

/* Sub-element focus mode — dull non-active sections when one is open for editing */
.disclosure-container--form:has(.disclosure-hub-section-box:not(.disclosure-hub-section-box--collapsed))
    .disclosure-hub-domain-box:not(:has(.disclosure-hub-section-box:not(.disclosure-hub-section-box--collapsed))),
.disclosure-container--cards:has(.disclosure-hub-section-box--inline-expanded)
    .disclosure-hub-domain-box:not(:has(.disclosure-hub-section-box--inline-expanded)),
.disclosure-container--mini-cards:has(.disclosure-hub-section-box--inline-expanded)
    .disclosure-hub-domain-box:not(:has(.disclosure-hub-section-box--inline-expanded)),
.disclosure-container--table:has(.disclosure-hub-section-box--inline-expanded)
    .disclosure-hub-domain-box:not(:has(.disclosure-hub-section-box--inline-expanded)) {
    opacity: 0.4;
    filter: saturate(0.45);
}

.disclosure-container--form:has(.disclosure-hub-section-box:not(.disclosure-hub-section-box--collapsed))
    .disclosure-hub-domain-box:has(.disclosure-hub-section-box:not(.disclosure-hub-section-box--collapsed))
    .disclosure-hub-section-box--collapsed,
.disclosure-container--cards:has(.disclosure-hub-section-box--inline-expanded)
    .disclosure-hub-section-box:not(.disclosure-hub-section-box--inline-expanded),
.disclosure-container--mini-cards:has(.disclosure-hub-section-box--inline-expanded)
    .disclosure-hub-section-box:not(.disclosure-hub-section-box--inline-expanded),
.disclosure-container--table:has(.disclosure-hub-section-box--inline-expanded)
    .disclosure-hub-section-box:not(.disclosure-hub-section-box--inline-expanded) {
    opacity: 0.4;
    filter: saturate(0.45);
}

.disclosure-container--form:has(.disclosure-hub-section-box:not(.disclosure-hub-section-box--collapsed))
    .disclosure-hub-section-box:not(.disclosure-hub-section-box--collapsed),
.disclosure-container--cards:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-section-box--inline-expanded,
.disclosure-container--mini-cards:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-section-box--inline-expanded,
.disclosure-container--table:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-section-box--inline-expanded {
    position: relative;
    z-index: 3;
    opacity: 1;
    filter: none;
    box-shadow:
        0 0 0 1px #1078be,
        0 16px 40px rgba(0, 48, 135, 0.18);
}

@media (prefers-reduced-motion: no-preference) {
    .disclosure-container--form:has(.disclosure-hub-section-box:not(.disclosure-hub-section-box--collapsed))
        .disclosure-hub-domain-box,
    .disclosure-container--form:has(.disclosure-hub-section-box:not(.disclosure-hub-section-box--collapsed))
        .disclosure-hub-section-box,
    .disclosure-container--cards:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-domain-box,
    .disclosure-container--cards:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-section-box,
    .disclosure-container--mini-cards:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-domain-box,
    .disclosure-container--mini-cards:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-section-box,
    .disclosure-container--table:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-domain-box,
    .disclosure-container--table:has(.disclosure-hub-section-box--inline-expanded) .disclosure-hub-section-box {
        transition:
            opacity 0.22s ease,
            filter 0.22s ease,
            box-shadow 0.22s ease;
    }
}

.disclosure-hub-domain-box {
    border: none;
    border-radius: 16px;
    background: #f4f9fd;
    overflow: hidden;
    box-shadow: none;
}

.disclosure-hub-domain-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.35rem 0.85rem 1.5rem;
    background: linear-gradient(135deg, #d4e9f8 0%, #b8daf0 55%, #a8d0eb 100%);
    border-bottom: none;
}

.disclosure-hub-domain-box__header-actions {
    flex-shrink: 0;
}

.disclosure-hub-domain-box__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #003087;
}

.disclosure-hub-domain-box__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.15rem 1.15rem 1.35rem;
}

.disclosure-hub-cascade-layout--domain-grouped {
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.disclosure-container--cards .disclosure-hub-domain-box__body,
.disclosure-container--mini-cards .disclosure-hub-domain-box__body,
.disclosure-container--form .disclosure-hub-domain-box__body {
    padding: 0.95rem 0.75rem 1rem 0.95rem;
}

.disclosure-hub-domain-box:has(.quantitative-response-form-field-host--open) {
    overflow: visible;
}

.disclosure-hub-section-box__header {
    padding: 0;
    background: linear-gradient(135deg, #e8f4fc 0%, #d4e9f8 52%, #c5e2f5 100%);
    border-bottom: 1px solid #9ec5e8;
}

.disclosure-hub-section-box__body {
    padding: 1rem 1.25rem 1.25rem;
}

.disclosure-hub-section-box__body .report-section-heading {
    padding: 0;
}

.disclosure-view-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem;
    border: 1px solid #c5d4e3;
    border-radius: 999px;
    background: #ffffff;
}

.disclosure-view-mode-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #5c6b7a;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.disclosure-view-mode-toggle-btn:hover:not(.disclosure-view-mode-toggle-btn--active) {
    background: #f3f8fc;
    color: #243444;
}

.disclosure-view-mode-toggle-btn--active {
    background: #1078be;
    color: #ffffff;
}

.disclosure-mini-card-grid {
    --metric-card-min-width: 10.5rem;
    gap: 1rem;
    align-items: stretch;
}

.disclosure-mini-card-grid > .report-builder-card-slot {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 0.15rem;
}

.disclosure-mini-card-grid > .report-builder-card-slot > .disclosure-mini-metric-card {
    flex: 1;
}

.disclosure-mini-card-grid .report-builder-card-action-rail {
    right: 0.35rem;
}

.disclosure-mini-card-grid .report-builder-card-action-rail__btn {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.65rem;
}

/* Standard (non-mini) cards: slightly compact layout. Do not zoom chart cards — CSS zoom breaks
   Chart.js canvas sizing and causes flicker / missing charts under Blazor Server load. */
.disclosure-container--cards {
    --disclosure-standard-card-scale: 0.8;
}

.disclosure-container--cards .metric-card-grid:not(.disclosure-mini-card-grid),
.disclosure-container--cards .text-card-grid:not(.disclosure-mini-card-grid),
.disclosure-container--cards .qualitative-text-entry-grid:not(.disclosure-mini-card-grid) {
    gap: 0.65rem;
}

.disclosure-container--cards .metric-card-grid:not(.disclosure-mini-card-grid) > .report-builder-card-slot > .text-metric-card,
.disclosure-container--cards .text-card-grid:not(.disclosure-mini-card-grid) > .report-builder-card-slot > .text-metric-card,
.disclosure-container--cards .qualitative-text-entry-grid:not(.disclosure-mini-card-grid) > .report-builder-card-slot > .text-metric-card {
    zoom: var(--disclosure-standard-card-scale);
}

.disclosure-workspace-toolbar-view-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.disclosure-report-view-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.75rem auto 0.5rem;
    max-width: 1320px;
}

.disclosure-container--cards .disclosure-report-view-toolbar,
.disclosure-container--mini-cards .disclosure-report-view-toolbar {
    max-width: none;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.report-builder-card-slot {
    position: relative;
    min-width: 0;
    width: 100%;
}

.report-builder-card-slot:has(.report-builder-card-action-rail) {
    padding-top: 0.8rem;
}

.report-builder-card-action-rail {
    position: absolute;
    top: 0;
    right: 0.65rem;
    z-index: 5;
    display: inline-flex;
    align-items: stretch;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d7e3ef;
    box-shadow: 0 2px 10px rgba(36, 52, 68, 0.14);
    overflow: hidden;
}

.report-builder-card-action-rail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.72rem;
    line-height: 1;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.report-builder-card-action-rail__btn--configure {
    color: #1078be;
}

.report-builder-card-action-rail__btn--drag {
    color: #6c757d;
    cursor: grab;
    border-right: 1px solid #e8eef4;
}

.report-builder-card-action-rail__btn--drag:active {
    cursor: grabbing;
}

.report-builder-card-action-rail:hover .report-builder-card-action-rail__btn--drag {
    color: #00B6D5;
}

.report-builder-card-action-rail__btn--configure:hover {
    background: #f0f7fc;
    color: #0b5a8f;
}

.report-builder-card-action-rail__btn--remove {
    color: #8a3b3b;
    border-left: 1px solid #e8eef4;
}

.report-builder-card-action-rail__btn--remove.report-builder-card-action-rail__btn--solo {
    border-left: none;
}

.report-builder-card-action-rail__btn--remove:hover {
    background: #fff5f5;
    color: #b42318;
}

/* Move, configure, and remove live on the action rail when present. */
.report-builder-card-slot:has(.report-builder-card-action-rail) .gcx-metric-header-action-btn,
.report-builder-card-slot:has(.report-builder-card-action-rail) .pinnacle-metric-drilldown-btn,
.report-builder-card-slot:has(.report-builder-card-action-rail) .disclosure-mini-metric-card__configure-btn,
.report-builder-card-slot:has(.report-builder-card-action-rail) .disclosure-mini-metric-card__expand-btn,
.report-builder-card-slot:has(.report-builder-card-action-rail) .qualitative-text-entry-drilldown-btn,
.report-builder-card-slot:has(.report-builder-card-action-rail) .text-metric-card-expand-btn,
.report-builder-card-slot:has(.report-builder-card-action-rail) .metric-card-draggable .metric-drag-handle,
.report-builder-card-slot:has(.report-builder-card-action-rail) .metric-reorder-btns {
    display: none !important;
}

.report-builder-card-slot:has(.report-builder-card-action-rail) .gcx-metric-card--quantitative-hub .gcx-metric-header-title {
    padding-left: 1rem;
    padding-right: 1rem;
}

.report-builder-card-slot:has(.report-builder-card-action-rail) .disclosure-mini-metric-card__header {
    padding-right: 0;
}

.report-builder-modal-empty {
    margin: 0;
    color: #5c6b7a;
}

.report-builder-modal-domain-filter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-builder-modal-domain-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #5c6b7a;
}

.report-builder-modal-domain-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.report-builder-modal-domain-pill {
    border: 1px solid #d7e3ef;
    border-radius: 999px;
    background: #ffffff;
    color: #243444;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    cursor: pointer;
}

.report-builder-modal-domain-pill:hover,
.report-builder-modal-domain-pill--active {
    border-color: #1078be;
    background: #f0f7fc;
    color: #1078be;
}

.report-builder-modal-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 24rem;
    overflow-y: auto;
}

.report-builder-modal-group-path {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #5c6b7a;
    margin-bottom: 0.35rem;
}

.report-builder-modal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    border: 1px solid #d7e3ef;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.65rem 0.85rem;
    text-align: left;
    cursor: pointer;
}

.report-builder-modal-item-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #b8c9d9;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.75rem;
}

.report-builder-modal-item-check--selected {
    border-color: #1078be;
    background: #1078be;
}

.report-builder-modal-item-name {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #243444;
}

.report-builder-modal-item:hover,
.report-builder-modal-item--selected {
    border-color: #1078be;
    background: #f0f7fc;
}

.report-layout-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.report-layout-choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    border: 1px solid #c5d4e3;
    border-radius: 12px;
    background: #ffffff;
    padding: 0.9rem 1rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.report-layout-choice:hover,
.report-layout-choice--selected {
    border-color: #1078be;
    background: #f0f7fc;
    box-shadow: 0 0 0 1px rgba(16, 120, 190, 0.15);
}

.report-layout-choice-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #243444;
}

.report-layout-choice-text {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #5c6b7a;
}

.report-builder-toolbar-mode {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: #5c6b7a;
}

.report-builder-toolbar-mode-value {
    font-weight: 700;
    color: #243444;
}

.report-builder-toolbar-active-section {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: #5c6b7a;
}

.report-builder-section-hint {
    margin: 0;
    font-size: 0.8rem;
    color: #5c6b7a;
}

.report-builder-custom-layout,
.report-builder-cascade-layout.disclosure-hub-cascade-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0 10px 1.5rem;
}

.report-builder-cascade-topic,
.report-builder-cascade-element,
.report-builder-cascade-sub {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.report-builder-cascade-topic {
    border: 1px solid #d5e0eb;
    border-radius: 14px;
    padding: 1rem 1.1rem 1.15rem;
    background: #fafcfe;
}

.report-builder-cascade-element {
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    padding: 0.85rem 0.95rem 0.95rem;
    background: #fcfdfe;
}

.report-builder-cascade-sub {
    border: 1px solid #e3ebf3;
    border-radius: 10px;
    padding: 0.75rem 0.85rem 0.9rem;
    background: #ffffff;
}

.report-builder-cascade-heading {
    margin: 0;
    font-weight: 700;
    color: #243444;
}

.report-builder-cascade-heading--topic {
    font-size: 1.2rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e3ebf3;
}

.report-builder-cascade-heading--element {
    font-size: 1rem;
    color: #334155;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #eef3f8;
}

.report-builder-cascade-heading--sub {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 600;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #f1f5f9;
}

.report-builder-cascade-cards {
    margin-bottom: 0.25rem;
}

.report-builder-custom-section {
    border: 1px solid #c5d4e3;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.report-builder-custom-section--active {
    border-color: #1078be;
    box-shadow: 0 0 0 1px rgba(16, 120, 190, 0.12);
}

.report-builder-custom-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: #f4f8fc;
    border-bottom: 1px solid #d7e3ef;
}

.report-builder-custom-section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #243444;
}

.report-builder-custom-section-subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #5c6b7a;
}

.report-builder-custom-section-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.report-builder-custom-section-expand-btn {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    border-radius: 999px;
}

.report-builder-section-action-btn {
    border: 1px solid #c5d4e3;
    border-radius: 999px;
    background: #ffffff;
    color: #3d4f5f;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    cursor: pointer;
}

.report-builder-section-action-btn--active {
    background: #1078be;
    border-color: #1078be;
    color: #ffffff;
}

.report-builder-section-action-btn--danger {
    color: #b42318;
}

.report-builder-custom-section-content {
    padding: 1.1rem 1.25rem 1.25rem;
}

.report-builder-add-content-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px dashed #9eb8d4;
    border-radius: 10px;
    background: #f8fbfe;
    color: #3d4f5f;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
}

.report-builder-content-menu--expanded {
    width: 100%;
}

.report-builder-content-menu-panel {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.report-builder-content-menu-heading {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6b7a;
}

.report-builder-content-menu-cancel {
    align-self: flex-start;
    border: none;
    background: transparent;
    color: #5c6b7a;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.report-builder-section-block-grid {
    width: 100%;
}

.report-builder-section-add-more {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #d7e3ef;
}

.report-builder-custom-section-cards {
    margin-top: 1rem;
}

.disclosure-report-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.disclosure-edit-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
}

.disclosure-edit-report-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.add-report-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.pinnacle-drilldown-design-deferred {
    margin: 0;
    padding: 1rem 0;
    color: #5c6b7a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.report-section-heading {
    margin: 1.25rem 0 0;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5c6b7a;
}

.report-section-heading--text {
    margin-top: 1rem;
}

.disclosure-hub-tabs,
.disclosure-view-tabs {
    width: calc(100% - 20px);
}

.disclosure-tab-empty {
    margin: 2rem auto;
    max-width: 40rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: #5c6b7a;
    background: #f8fafc;
    border: 1px dashed #c5d0db;
    border-radius: 12px;
}

.disclosure-tab-empty p {
    margin: 0;
}

.text-metric-card-response {
    white-space: pre-wrap;
    word-break: break-word;
    color: #333;
    line-height: 1.5;
    min-height: 2rem;
}

.gcx-metric-card--text .text-metric-card-content,
.gcx-metric-card--qualitative-form .gcx-qualitative-bx {
    min-height: 4rem;
}

.qualitative-form-section {
    width: 100%;
}

.gcx-metric-header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    max-height: 87px;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #F5F5F5;
}

/* Design/configurator toolbar: static labels, wrap to two lines when needed */
.gcx-metric-card--configurator .gcx-metric-header--design-toolbar {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.65rem;
    max-height: none;
    padding: 0.6rem 0.75rem;
}

.gcx-metric-card--configurator .gcx-metric-header--design-toolbar .gcx-upload-wrapper {
    margin-right: 0;
}

.gcx-metric-card--configurator .gcx-metric-header--design-toolbar .gcx-metric-upload-btn-cont {
    width: auto;
    min-height: 32px;
    height: auto;
    border-radius: 20px;
    padding: 0 0.65rem 0 0.4rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.gcx-metric-card--configurator .gcx-metric-header--design-toolbar .gcx-metric-upload-btn-cont:hover {
    width: auto;
    border-radius: 20px;
}

.gcx-metric-card--configurator .gcx-metric-header--design-toolbar .gcx-metric-upload-btn-cont.active {
    width: auto;
    border-radius: 20px 20px 0 0;
}

.gcx-metric-card--configurator .gcx-metric-header--design-toolbar .gcx-metric-upload-btn-cont .gcx-metric-upload-text,
.gcx-metric-card--configurator .gcx-metric-header--design-toolbar .gcx-upload-wrapper.active .gcx-metric-upload-text {
    display: flex;
}

.gcx-metric-card--configurator .gcx-metric-header--design-toolbar .gcx-metric-report-chart-pick-container {
    flex-shrink: 0;
}

.gcx-metric-card--configurator .gcx-metric-header--design-toolbar > .d-flex {
    margin-left: 0 !important;
}

.gcx-metric-card-txt {
    line-height: 100%;
    font-size: 24px;
    font-family: 'Lato';
}

.gcx-metric-icon-img {
    width: 85px;
    height: 85px;
    background: linear-gradient(to right, #1078BE, #034093);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem;
}

.gcx-metric-footer {
    display: flex;
    margin-top: 1rem;
    align-items: center;
    justify-content: flex-start;
}

.gcx-metric-footer-ticker-txt {
    color: #B82C42;
    font-size: 18px;
    line-height: 100%;
    font-family: 'Montserrat';
    font-weight: 700;
}

.gcx-metric-footer-comparison-txt {
    color: #B82C42;
    font-size: 15px;
    line-height: 100%;
    font-family: 'Montserrat';
    font-weight: 600;
}

.gcx-metric-footer-ticker-icon {
    width: 20px;
    height: 20px;
}

.gcx-metric-footer-ticker-icon-bx {
    background-color: #B82C42;
    border-radius: 50%;
    display: flex;
    margin-right: 1rem;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
}

.gcx-metric-report-container {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 168px;
    transform: translateX(-50%);
    border-radius: 0px 0px 20px 20px;
    transition: border-color 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1000;
}

    .gcx-metric-report-container.open {
        border: 1px solid #00B6D5;
        border-top: none;
    }

.gcx-metric-report-btn {
    background-color: white;
    color: #00B6D5;
    border: none;
    padding: 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gcx-metric-report-dropdown-item-bx {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.gcx-metric-report-dropdown-item-check {
    margin-right: 1rem;
}

.gcx-metric-report-dropdown-item-txt {
    font-family: "Lato";
    font-weight: 400;
    font-size: 12px;
    width: 100%;
    padding: 0.5rem 0;
    line-height: 100%;
    border-bottom: 1px solid #EBEDED;
}

.gcx-metric-report-dropdown {
    width: 100%;
    background: linear-gradient(to bottom, #F2F2F2, #FFFFFF);
    border-radius: 0 0 21px 21px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 0;
    opacity: 0;
    padding-left: 0.5rem;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.gcx-metric-report-container.open .gcx-metric-report-dropdown {
    min-height: fit-content;
    opacity: 1;
    background: linear-gradient(to bottom, #F2F2F2, #FFFFFF);
}

.gcx-metric-report-dropdown label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.gcx-metric-report-dropdown-item-check input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #89CFD3;
    border-radius: 50%;
    background: #FFFFFF;
    cursor: pointer;
    position: relative;
}

.gcx-metric-report-dropdown-item-check input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(to bottom, #00B6D5, #29B576);
    border-radius: 50%;
}

.gcx-metric-chart-type select {
    background-color: #e0f7fa;
    color: #006064;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
}

.gcx-metric-chart-bx {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.gcx-metric-chart-host {
    position: relative;
    width: 100%;
    min-width: 0;
    height: clamp(220px, 32vw, 300px);
}

.gcx-metric-radial-chart-area.gcx-metric-chart-host {
    height: clamp(160px, 28vw, 200px);
    max-width: min(200px, 100%);
    margin: 0 auto;
}

.gcx-metric-chart {
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    display: block;
}

.gcx-metric-chart-years {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.gcx-metric-target-gauge-centre {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    max-width: 60%;
    line-height: 1.2;
}

.gcx-metric-target-gauge-value {
    font-family: 'Lato', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.gcx-metric-target-gauge-status {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 0.35rem;
    text-transform: uppercase;
}

.gcx-metric-target-gauge-deviation {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.gcx-metric-card .text-success,
.gcx-metric-card .gcx-text-graph-heading-blue-small .text-success,
.gcx-metric-target-gauge-deviation .text-success {
    color: #29B576 !important;
}

.gcx-metric-card .text-danger,
.gcx-metric-card .gcx-text-graph-heading-blue-small .text-danger,
.gcx-metric-target-gauge-deviation .text-danger {
    color: #FF6F61 !important;
}

.gcx-metric-target-gauge-target {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.25rem;
    opacity: 0.85;
}

.gcx-metric-chart-bx:has(.gcx-metric-radial-wrap) {
    overflow: visible;
    align-items: stretch;
    width: 100%;
}

.gcx-metric-radial-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.gcx-metric-radial-chart-area {
    width: 100%;
    max-width: min(200px, 100%);
    position: relative;
    flex-shrink: 0;
    margin: 0 auto;
}

.gcx-metric-radial-chart {
    width: 100% !important;
    max-width: 100%;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none;
    margin: 0 auto;
}

.gcx-metric-radial-legend {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 0.25rem;
    box-sizing: border-box;
}

.gcx-metric-radial-legend-unit {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.75;
    margin-bottom: 0.1rem;
    text-align: center;
}

.gcx-metric-radial-legend-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    min-width: 0;
}

.gcx-metric-radial-legend-swatch {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gcx-metric-radial-legend-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    flex: 0 0 auto;
}

.gcx-metric-radial-legend-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: auto;
    text-align: right;
    min-width: 0;
    flex: 1 1 auto;
}

.gcx-metric-year-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-family: 'Lato';
    font-size: 17px;
    font-weight: 700;
    line-height: 1.0;
    color: #000;
    margin-bottom: 5px;
}

.gcx-metric-radial-value {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.gcx-metric-year-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    display: inline-block;
}

.gcx-metric-content {
    text-align: center;
}

.gcx-metric-description {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gcx-metric-chart-canvas {
    max-height: 300px;
    margin: 0 auto;
}

.gcx-metric-empty-chart {
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 5px;
    color: #666;
}

.gcx-metric-change {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.gcx-metric-increase {
    color: #00c4b4;
}

.gcx-metric-decrease {
    color: #ff5252;
}

.gcx-metric-toggle {
    margin-top: 1rem;
    text-align: center;
}

.gcx-metric-toggle button {
    background-color: #ddd;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.gcx-metric-report-chart-pick-bx {
    background-color:  #00B6D5;
    border-radius: 20px;
    padding: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gcx-metric-report-chart-pick-icon {
    display: flex;
    align-items: center;
    height: 26px;
    margin-right: 0.5rem;
    width: 26px;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    cursor: pointer; 
}


.gcx-metric-report-chart-pick-container {
    position: relative;
}

.gcx-metric-report-chart-pick-dropdown {
    position: absolute;
    top: 0;
    left: 2rem;
    width: 180px;
    background: #FFFFFF;
    border: 2px solid #89CFD3;
    border-radius: 21px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.gcx-metric-report-chart-pick-container.open .gcx-metric-report-chart-pick-dropdown {
    max-height: 420px;
    opacity: 1;
    padding: 0.5rem;
    overflow-y: auto;
}

.gcx-metric-report-chart-pick-item-bx {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.gcx-metric-report-chart-pick-item-icon {
    margin-right: 1rem;
}

.gcx-metric-report-chart-pick-item-icon img {
    width: 20px;
    height: 20px;
}

.gcx-metric-report-chart-pick-item-txt {
    font-family: "Lato";
    font-weight: 400;
    font-size: 12px;
    width: 100%;
    padding: 0.5rem 0;
    line-height: 100%;
    border-bottom: 1px solid #EBEDED;
}

.gcx-text-graph-bx {
    width: 100%;
    font-family: 'Lato';
    padding-top: 2rem;
}

.gcx-text-graph-heading {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 2rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.gcx-text-graph-heading-blue {
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    margin-bottom: 1rem;
    color: #006DB2;
    font-family: 'Montserrat';
}

.gcx-text-graph-vs {
    border: 1px solid #00B6D5; 
    display: flex; 
    align-items: center; 
    color: #00B6D5; 
    justify-content: center;
    width: 42px; 
    height: 42px;
    border-radius: 50%;
}

.gcx-text-graph-heading-blue-small {
    font-weight: 700;
    font-size: 22px;
    margin-top: 1rem;
    color: #006DB2;
    font-family: 'Montserrat';
}

.gcx-text-graph-custom {
    font-size: 24px;
    font-weight: 400;
    font-size: 18px;
    color: #707070;
    margin-bottom: 2rem;
}

.gcx-metric-upload-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.4rem;
    width: 40px; 
    height: 40px;
    border: 2px solid #00B6D5; 
    border-radius: 50%; 
    background-color: white;
    cursor: pointer;
    overflow: hidden;
    transition: width 0.3s ease-in-out; 
    position: relative;
}

.gcx-metric-upload-icon {
    font-size: 18px;
    color: #00B6D5;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;


    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gcx-metric-upload-text {
    display: none; 
    color: #00B6D5; 
    font-family: 'Lato', sans-serif; 
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap; 
    margin-left: 8px; 
}


.gcx-upload-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 10px; 
}

.gcx-upload-wrapper.active {
    z-index: 9999;
}

.qcb-editor.qcb-upload-open {
    z-index: 9999;
}

.gcx-metric-upload-btn-cont {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: 1px solid #00B6D5;
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0;
    background-color: white;
    cursor: pointer;

    transition: width 0.6s ease-in-out 0.15s, border-radius 0.6s ease-in-out 0.15s;
    overflow: hidden;
}

    .gcx-metric-upload-btn-cont:hover {
        transition-delay: 0s;
        width: 168px;
        border-radius: 20px;
    }

    .gcx-metric-upload-btn-cont.active {
        max-width: max-content;
        width: 168px;
        border-bottom: none;
        border-radius: 20px 20px 0px 0px;
    }



.gcx-upload-wrapper.active .gcx-metric-upload-text {
    display: flex;
}

.gcx-metric-upload-btn-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding-left: 0.4rem;
}

.gcx-metric-upload-btn-cont .gcx-metric-upload-icon {
    width: 18px;
    height: 18px;
}

.gcx-metric-upload-btn-cont .gcx-metric-upload-text {
    display: none;
    color: #00B6D5;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 8px;
    margin-right: 8px;
}

.gcx-metric-upload-btn-cont:hover .gcx-metric-upload-text {
    display: flex;
}

.gcx-upload-wrapper .gcx-upload-dropdown {
    top: calc(100% + 8px);
    left: 0;
    top: 0;
    width: 320px;
    background: #E8EBF0;

    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 9999;
}

.gcx-upload-wrapper .gcx-upload-header,
.gcx-upload-wrapper .gcx-upload-footer {
    background: #E8EBF0;
}

.gcx-upload-body {
    background: #E8EBF0;
    padding: 10px 10px 0px;
}

.transparent-textarea {
    background-color: #FFFFFF !important;
    border: 2px dashed #B7BEC9;
    border-radius: 8px;
    padding: 0.75rem; 
    box-shadow: none; 
    resize: none; 
    outline: none;
}

.spell-check-btn {
    width: 23px; 
    height: 23px; 
    padding: 0; 
    border: 1px solid #00B6D5; 
    border-radius: 50%; 
    background: white; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .spell-check-btn img {
        width: 18px; 
        height: auto;
    }

.new-comment-btn, .data-disclosure-btn {
    background-color: #00B6D5;
    border-radius: 18px;
    font-size: 12px;
    padding: 2px 15px;
    color: #FFFFFF;
}

.file-upload-text {
    font-size: 12px;
    color: #444445;
}

.data-disclosure-btn-cancel {
    background-color: #FFFFFF;
    border-radius: 18px;
    font-size: 12px;
    padding: 2px 15px;
    color: #00B6D5;
    border: 1px solid #00B6D5;
}


.new-comment-cancel-btn {
    background-color: #FFFFFF;
    border-radius: 18px;
    font-size: 12px;
    padding: 2px 15px;
    color: #00B6D5;
}

.existing-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #89CFD3; 
    border-radius: 8px; 
    padding: 0.75rem 1rem; 
    margin-bottom: 0.5rem; 
    background: white; 
}

.existing-item--editing {
    flex-direction: column; 
    align-items: stretch; 
    padding: 1rem; 
    border: none;
    background-color: transparent;
}


    .existing-item--editing textarea {
        width: 100%;
        margin-bottom: 0.75rem;
        box-sizing: border-box; 
    }


    .existing-item--editing .btn {
        margin-right: 0.5rem;
    }


    .existing-item--editing .existing-item-text,
    .existing-item--editing .existing-item-edit {
        display: none;
    }





.existing-item-text {
    flex: 1;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
    margin-right: 0.25rem;
    word-break: break-word;
}

.existing-comments-list {
    margin: 0;
    padding: 0 0 0 1.15rem;
    list-style: disc;
}

.existing-comments-list > li {
    list-style: disc;
}

.existing-item-sep {
    white-space: pre;
    color: #64748b;
}

.existing-item-meta {
    font-size: 0.75rem;
    font-style: italic;
    color: #64748b;
}

.existing-item-edit {
    background-color: #00BCD5; 
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.existing-item-delete {
    position: absolute;
    top: -9px;
    right: -14px;
    width: 24px;
    height: 24px;
    line-height: 0;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
}

.gcx-metric-header-title {
    background-image: -webkit-linear-gradient(top, #00B6D5, #00ADCD);
    background-image: -moz-linear-gradient(top, #00B6D5, #00ADCD);
    background-image: -ms-linear-gradient(top, #00B6D5, #00ADCD);
    background-image: -o-linear-gradient(top, #00B6D5, #00ADCD);
    background-image: linear-gradient(to bottom, #00B6D5, #00ADCD);
    width: 100%;
    height: 65px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    min-height: fit-content;

}

.card-header-text {
    font-size: 18px;
    color: #FFFFFF;
    text-align: center;
}

.gcx-metric-uploaded-files {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: center;
    overflow: auto;
}

.gcx-metric-card-thumb {
    max-width: 250px;
    max-height: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
    cursor: pointer;
}

.gcx-metric-body {
    overflow: hidden;
    position: relative;
}

.gcx-metric-body--data-entry-clickable {
    cursor: pointer;
}

.gcx-metric-body--data-entry-clickable:hover {
    background-color: rgba(16, 120, 190, 0.04);
}

.gcx-metric-body-container {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
    gap: 0.75rem;
}

.gcx-metric-body-container--side-by-side {
    display: grid;
    grid-template-columns: minmax(0, var(--metric-card-min-width, 300px)) minmax(0, 1fr);
    align-items: start;
    flex-wrap: nowrap;
    min-width: 0;
}

.gcx-metric-card--wide-layout .gcx-metric-body-container--side-by-side,
.gcx-metric-card--with-comments .gcx-metric-body-container--side-by-side {
    display: grid;
}

.gcx-metric-body-container--side-by-side > .gcx-metric-chart-bx {
    flex: none;
    min-width: 0;
    max-width: var(--metric-card-min-width, 300px);
    width: 100%;
}

.gcx-metric-body-container--side-by-side > .gcx-metric-side-content {
    min-width: 0;
    width: 100%;
}

/* Tooltip wrapper around the drag handle must not shift card content downward. */
.metric-card-draggable > .pinnacle-hover-tooltip:has(.metric-drag-handle) {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 0;
    height: 0;
    overflow: visible;
}

.gcx-metric-card--wide-layout .gcx-metric-chart-bx {
    flex: none;
    width: 100%;
    max-width: var(--metric-card-min-width, 300px);
}

.gcx-metric-card--wide-layout .gcx-metric-chart-host {
    width: 100%;
    max-width: var(--metric-card-min-width, 300px);
}

.gcx-metric-card--wide-layout .gcx-metric-radial-wrap {
    max-width: min(200px, 100%);
}

.gcx-metric-side-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gcx-metric-side-content-files {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gcx-metric-chart-bx {
    flex: 1 1 220px;
    min-width: 0;
}

.comment-card-container {
    max-width: 350px;
    min-width: 0;
    flex: 1 1 240px;
    margin-left: 0;
}

.gcx-metric-card-hero {
    width: 100%;
    max-width: 350px;
    min-width: 0;
    height: auto;
}

/* Clickable image preview */
.gcx-image-preview-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.gcx-clickable-image {
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}


.gcx-preview-image {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    object-fit: contain;
}

.comment-card {
    background-color: #F5F5F5;
    padding: 1rem;
    border-radius: 8px;
}


    .comment-card .gcx-metric-comments .gcx-metric-comment {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #C8E6E8;
        font-size: 0.9rem;
        line-height: 1.4;
        color: #333;
    }


    .comment-card .gcx-metric-comment .read-more {
        color: #007B8A;
        font-weight: 600;
        margin-left: 0.5rem;
        cursor: pointer;
    }


    .comment-card .gcx-metric-urls {
        margin-top: 1rem;
    }


    .comment-card .gcx-metric-url {
        display: block;
        color: #007B8A;
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        text-decoration: none;
        word-break: break-all;
    }


        .comment-card .gcx-metric-url:hover {
            text-decoration: underline;
        }

.url-list-item {
    word-break: break-all;
}

.comment-text {
    max-height: 5.2em;
    overflow: hidden;
    transition: max-height 0.3s ease;
    line-height: 1.3em;
    word-break: break-all;
}


    .comment-text.open {
        max-height: none;
    }


        .comment-text.open.scrollable {
            max-height: 15em; 
            overflow-y: auto;
            padding-right: 0.5em; 
        }


.read-more {
    display: inline-block;
    margin-top: 0.25rem;
    color: #007B8A;
    font-weight: 600;
    cursor: pointer;
}

.existing-doc-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: .75rem 1rem;
    margin-bottom: .75rem;
    border: 1px solid #EBEDED;
    border-radius: 6px;
    background: #FFF;
    border: 1px solid #89CFD3;
}


.file-icon {
    flex: 0 0 32px;
    margin-right: .75rem;
}

    .file-icon img {
        width: 100%;
        height: auto;
    }


.file-details {
    flex: 1;
}

.file-name {
    display: block;
    margin: 0 0 .4rem;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 600;
    color: #444;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.existing-image-item__preview-btn {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}



.delete-btn {
    position: absolute;
    top: -5px;
    right: -15px;
    cursor: pointer;
}

.existing-image-item {
    position: relative;
    display: inline-block;
    margin-right: 0.5rem;
}

    .existing-image-item .delete-btn {
        position: absolute;
        top: -4px;
        right: -14px;
        cursor: pointer;
        z-index: 10;
    }

.gcx-metric-card {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.comment-card-container-vertical {
    min-width: 100%;
}

@media (min-width: 2244px) {
    .mobile-comment-image-footer {
        display: none;
    }

}

@media (max-width: 2244px) {

    .desktop-comment-image-footer {
        display: none;
    }

    
}

.single-image-desktop-metric-card {
    min-width: 100%;
}

.gcx-unit-legend {
    position: absolute;
    left: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 5;
}

.previous-years-select {
    padding: 6px;
    border: 1px solid #ccc;
    width: 100px;
    font-size: 14px;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-radius: 25px;
    height: 32px;
    width: 120px;
    padding: 0.3rem 0.8rem;
    color: #006DB2;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

    .previous-years-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

.gcx-metric-report-dropdown-section-header {
    font-weight: 600;
    padding: 8px 12px;
    color: #333;
    font-size: 14px;
}

.gcx-metric-report-dropdown-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 8px 0;
}

.previous-years-container {
    position: relative;
    z-index: 1000;
    padding: 8px 10px;
    overflow: visible !important;
}

.gcx-metric-report-dropdown {
    overflow: visible !important;
}

.gcx-metric-report-container {
    overflow: visible !important;
}

.previous-years-select {
    padding: 6px;
    border: 1px solid #ccc;
    width: 100px;
    font-size: 14px;
    outline: none;
    position: relative;
}


.gcx-metric-report-dropdown-item-bx select:focus + .gcx-metric-report-dropdown-item-txt {
    pointer-events: none;
    width: 30%;
    background-color: white;
    border-radius: 25px;
    margin-top: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gcx-metric-label-quarterly {
    position: absolute !important;
    left: 0 !important;
}

/* Document preview styles - similar to image preview */
.gcx-document-preview-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.gcx-clickable-document {
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.gcx-clickable-document:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Custom dropdown styles for previous years selection */
.gcx-metric-report-dropdown-item-select {
    position: relative !important;
}

.dropdown-options {
    position: relative;
    margin-top: -3px;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-option {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    background-color: white;
    min-height: 40px;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #006DB2;
    cursor: pointer;
    font-weight: bold;
}

.dropdown-option:last-child {
    border-bottom: none;
    border-radius: 0 0 4px 4px;
}

.dropdown-option:hover {
    background-color: #f0f8ff;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
    margin-left: 8px;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

/* Update previous-years-select to support the new structure */
.previous-years-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
/* ── Qualitative KPI ── */
.gcx-qualitative-chart-bx {
    overflow: visible !important;
    align-items: stretch !important;
}

.gcx-qualitative-bx {
    width: 100%;
    padding-top: 1.5rem;
    font-family: 'Lato';
}

.gcx-qualitative-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem 1rem;
    border: 1.5px solid #EBEDED;
    border-radius: 10px;
    font-family: 'Lato';
    font-size: 14px;
    color: #333;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    background-color: #FAFAFA;
    line-height: 1.5;
}

.gcx-qualitative-textarea:focus {
    border-color: #00B6D5;
    background-color: #fff;
}

.gcx-qualitative-textarea::placeholder {
    color: #ADADAD;
}

.gcx-qualitative-readonly {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Lato';
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ── Qualitative Block Layout ── */
.gcx-qualitative-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #ADADAD;
}

.gcx-qualitative-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.gcx-qualitative-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.gcx-qualitative-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.gcx-qualitative-col > .qcb-editor {
    flex: 1;
}


.gcx-qualitative-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.gcx-qualitative-add-btn {
    background: none;
    border: 1.5px dashed #00B6D5;
    border-radius: 8px;
    color: #00B6D5;
    font-size: 13px;
    font-family: 'Lato';
    padding: 6px 14px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.gcx-qualitative-add-btn:hover {
    background-color: #f0f9ff;
}

.gcx-qualitative-clear-btn {
    border-color: #f87171;
    color: #dc2626;
}

.gcx-qualitative-clear-btn:hover {
    background-color: #fee2e2;
}

/* ── QualitativeContentBlockEditor (qcb-*) ── */
.qcb-editor {
    position: relative;
    padding: 0.6rem 0.85rem;
    min-height: 40px;
    font-family: 'Lato';
}

.qcb-modal-body .qcb-editor {
    border: 1px solid #d0d0d0;
    border-radius: 4px;
}

.qcb-clickable {
    cursor: text;
}

.qcb-clickable:hover::after {
    content: "Click to edit";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #ADADAD;
    font-family: 'Lato';
    pointer-events: none;
}

.qcb-editing {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 0 0 3px rgba(0, 182, 213, 0.12) !important;
}

/* Hover controls */
.qcb-hover-controls {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
    gap: 4px;
    z-index: 10;
}

.qcb-hover-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    color: #666;
    padding: 0;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.qcb-hover-btn:hover {
    border-color: #00B6D5;
    color: #00B6D5;
    background-color: #f0f9ff;
}

.qcb-delete-btn:hover {
    border-color: #f87171 !important;
    color: #dc2626 !important;
    background-color: #fee2e2 !important;
}

.qcb-add-col-btn:hover {
    border-color: #7c3aed !important;
    color: #7c3aed !important;
    background-color: #f5f3ff !important;
}

/* Toolbar */
.qcb-toolbar-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.qcb-type-select {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 12px;
    font-family: 'Lato';
    color: #444;
    background: #fff;
    cursor: pointer;
    height: 28px;
}

.qcb-fmt-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    color: #555;
    padding: 0;
    transition: background-color 0.1s, border-color 0.1s;
}

.qcb-fmt-btn.active {
    background-color: #e0f4ff;
    border-color: #00B6D5;
    color: #0093b5;
}

.qcb-fmt-btn:hover {
    background-color: #f0f9ff;
    border-color: #00B6D5;
}

/* Edit panel content */
.qcb-edit-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qcb-textarea {
    width: 100%;
    border: 1px solid #EBEDED;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-family: 'Lato';
    font-size: 14px;
    color: #333;
    resize: vertical;
    outline: none;
    background: #FAFAFA;
    line-height: 1.5;
    transition: border-color 0.2s;
}

.qcb-textarea:focus {
    border-color: #00B6D5;
    background: #fff;
}

.qcb-textarea::placeholder {
    color: #ADADAD;
}

.qcb-url-input {
    width: 100%;
    border: 1px solid #BDBDBD;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-family: 'Lato';
    font-size: 13px;
    color: #333;
    outline: none;
    background: #fff;
}

.qcb-url-input:focus {
    border-color: #00B6D5;
}

.qcb-url-input::placeholder {
    color: #ADADAD;
}

.qcb-caption-input {
    width: 100%;
    border: 1px solid #EBEDED;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-family: 'Lato';
    font-size: 13px;
    color: #555;
    outline: none;
    background: #FAFAFA;
}

.qcb-caption-input:focus {
    border-color: #00B6D5;
}

.qcb-file-input {
    font-size: 12px;
    font-family: 'Lato';
}

.qcb-preview-image {
    max-width: 100%;
    max-height: 160px;
    border-radius: 6px;
    display: block;
    margin-bottom: 0.25rem;
}

.qcb-divider-hint {
    font-size: 12px;
    color: #ADADAD;
    margin: 0;
    font-style: italic;
}

.qcb-divider-settings {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.qcb-settings-label {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.qcb-edit-actions {
    display: flex;
    gap: 6px;
}

/* ── Qualitative view-mode footer & edit trigger ── */
.gcx-qualitative-view-footer {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #EBEDED;
}

.gcx-qualitative-edit-trigger {
    background: none;
    border: 1.5px solid #00B6D5;
    border-radius: 8px;
    color: #00B6D5;
    font-size: 13px;
    font-family: 'Lato';
    padding: 6px 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.15s, box-shadow 0.15s;
}

.gcx-qualitative-edit-trigger:hover {
    background-color: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(0, 182, 213, 0.1);
}

/* ── Qualitative edit modal ── */
.qcb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(2px);
}

.qcb-modal {
    background: #fff;
    border-radius: 16px;
    width: 95vw;
    max-width: 1400px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.qcb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    border-bottom: 1.5px solid #EBEDED;
    flex-shrink: 0;
    background: #FAFBFC;
}

.qcb-modal-title {
    font-family: 'Lato';
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
}

.qcb-modal-close-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.qcb-modal-close-btn:hover {
    background-color: #fee2e2;
    border-color: #f87171;
    color: #dc2626;
}

.qcb-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.qcb-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 1rem 1.5rem;
    border-top: 1.5px solid #EBEDED;
    flex-shrink: 0;
    background: #FAFBFC;
}

.qcb-save-btn {
    background-color: #00B6D5;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 13px;
    font-family: 'Lato';
    cursor: pointer;
    transition: background-color 0.15s;
}

.qcb-save-btn:hover {
    background-color: #0093b5;
}

.qcb-cancel-btn {
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 13px;
    font-family: 'Lato';
    cursor: pointer;
    transition: background-color 0.15s;
}

.qcb-cancel-btn:hover {
    background-color: #f5f5f5;
}

/* Block type rendering */
.qcb-text {
    font-family: 'Lato';
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.qcb-heading-text {
    font-family: 'Lato';
    color: #222;
    line-height: 1.3;
    margin: 0;
}

.qcb-blockquote {
    border-left: 3px solid #00B6D5;
    margin: 0;
    padding: 0.4rem 1rem;
    font-family: 'Lato';
    font-size: 14px;
    color: #555;
    font-style: italic;
    line-height: 1.6;
}

.qcb-divider-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.qcb-divider {
    border: none;
    border-top-style: solid;
    border-top-color: #555;
    border-top-width: 2px;
    width: 100%;
    margin: 0.5rem 0;
}

.qcb-image-wrapper {
    width: 100%;
}

.qcb-document-wrapper {
    width: 100%;
}

.qcb-document-icon {
    display: block;
    object-fit: contain;
}

.qcb-document-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qcb-document-link {
    display: inline-flex;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.qcb-document-title {
    font-family: 'Lato';
    font-size: 12px;
    color: #555;
    text-align: center;
    margin-top: 6px;
    word-break: break-word;
}

.qcb-align-left { display: flex; flex-direction: column; align-items: flex-start; }
.qcb-align-center { display: flex; flex-direction: column; align-items: center; }
.qcb-align-right { display: flex; flex-direction: column; align-items: flex-end; }

.qcb-image-wrapper > img.qcb-image {
    max-width: 100%;
    border-radius: 6px;
    display: block;
}

.qcb-image-caption {
    font-family: 'Lato';
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 4px;
}

.qcb-image-placeholder {
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1.5px dashed #ccc;
    border-radius: 6px;
    color: #ADADAD;
    font-size: 13px;
    font-family: 'Lato';
}

/* Chart block in qualitative editor */
.qcb-chart-type-label {
    font-size: 11px;
    color: #888;
    margin: 0 4px;
    white-space: nowrap;
}

.qcb-chart-placeholder-view {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: 13px;
    font-family: 'Lato';
    padding: 6px 0;
}

.qcb-chart-block {
    min-height: 40px;
}

/* Qualitative edit modal toolbar */
.qcb-modal-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-bottom: 1px solid #EBEDED;
    flex-wrap: wrap;
}

/* Chart canvas inside qualitative block */
.qcb-chart-canvas-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
}

.qcb-chart-canvas {
    width: 100% !important;
    height: 100% !important;
}

.gcx-metric-missing-data-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.gcx-metric-missing-data-badge--editable,
.gcx-metric-missing-data-badge--warning {
    background-color: #fdecea;
    border: 1px solid #f5c2c0;
    color: #b3261e;
}

.gcx-metric-missing-data-badge--derived {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.gcx-metric-missing-data-badge--partial {
    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
}

.gcx-metric-missing-data-badge--complete {
    background-color: #ecfdf3;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.gcx-metric-missing-data-badge--api {
    background-color: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1d4ed8;
}

.gcx-metric-missing-data-dot {
    --missing-dot-core: #b91c1c;
    --missing-dot-mid: #ef4444;
    --missing-dot-soft: #fecaca;
    --missing-dot-ring: rgba(185, 28, 28, 0.42);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 38% 32%,
        var(--missing-dot-mid) 0%,
        var(--missing-dot-core) 38%,
        var(--missing-dot-soft) 62%,
        #ffffff 100%
    );
    flex-shrink: 0;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.12),
        0 0 0 1.5px #ffffff,
        0 0 0 3px var(--missing-dot-ring);
}

.gcx-metric-missing-data-dot--partial,
.gcx-metric-missing-data-dot--derived {
    --missing-dot-core: #ea580c;
    --missing-dot-mid: #f97316;
    --missing-dot-soft: #fed7aa;
    --missing-dot-ring: rgba(234, 88, 12, 0.35);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.1),
        0 0 0 1px #ffffff;
}

.gcx-metric-missing-data-dot--complete {
    --missing-dot-core: #16a34a;
    --missing-dot-mid: #22c55e;
    --missing-dot-soft: #bbf7d0;
    --missing-dot-ring: rgba(22, 163, 74, 0.35);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.1),
        0 0 0 1px #ffffff;
}

.gcx-metric-missing-data-dot--fully-missing {
    animation: gcx-missing-data-dot-fully-missing-pulse 1.6s ease-in-out infinite;
}

@keyframes gcx-missing-data-dot-fully-missing-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gcx-metric-missing-data-dot--fully-missing {
        animation: none;
        opacity: 1;
    }
}

.gcx-metric-missing-data-badge-slot {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    z-index: 2;
    max-width: calc(100% - 2rem);
    pointer-events: none;
}

.gcx-metric-missing-data-badge-slot .gcx-metric-missing-data-badge {
    pointer-events: auto;
}

.gcx-metric-goal-target-badge-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 1rem 0.65rem;
}

.gcx-metric-goal-target-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    cursor: default;
}

.gcx-metric-goal-target-badge--goal {
    background-color: #ecfdf3;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.gcx-metric-goal-target-badge--target {
    background-color: #e6f9fc;
    border: 1px solid #99e6f0;
    color: #00889e;
}

/* Quant card footer — frequency + formula/calculated source badges */
.gcx-quant-card-meta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.25;
    white-space: nowrap;
}

.gcx-quant-card-meta-badge--icon {
    min-width: 1.35rem;
    padding: 0.18rem 0.42rem;
}

.gcx-quant-card-meta-badge__icon {
    font-size: 0.68rem;
    line-height: 1;
}

.gcx-quant-card-meta-badge__glyph {
    font-family: 'Lato', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 0.78rem;
    line-height: 1;
}

.gcx-quant-card-meta-badge--frequency,
.gcx-quant-card-meta-badge--frequency-quarterly {
    background: rgba(0, 182, 213, 0.24);
    border: 1px solid rgba(0, 182, 213, 0.52);
    color: #007a91;
}

.gcx-quant-card-meta-badge--frequency-annually {
    background: rgba(16, 120, 190, 0.22);
    border: 1px solid rgba(0, 109, 178, 0.5);
    color: #006db2;
}

.gcx-quant-card-meta-badge--frequency-monthly {
    background: rgba(41, 181, 118, 0.22);
    border: 1px solid rgba(41, 181, 118, 0.48);
    color: #1f8f5f;
}

.gcx-quant-card-meta-badge--formula {
    background: rgba(107, 75, 158, 0.22);
    border: 1px solid rgba(107, 75, 158, 0.48);
    color: #5a3d88;
}

.gcx-quant-card-meta-badge--calculated {
    background: rgba(16, 120, 190, 0.24);
    border: 1px solid rgba(0, 109, 178, 0.52);
    color: #006db2;
}

/* Disclosure hub — form view cards (shell aligned with disclosure-mini-metric-card) */
.disclosure-response-form-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    border: 1px solid #c5d4e3;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(36, 52, 68, 0.08);
    overflow: hidden;
    transition:
        background-color 0.65s ease,
        box-shadow 0.65s ease,
        border-color 180ms ease;
}

.disclosure-response-form-card--busy {
    border-color: #94a3b8;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35), 0 2px 10px rgba(15, 23, 42, 0.1);
}

.disclosure-response-form-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(248, 250, 252, 0.72);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
}

.disclosure-response-form-card-overlay__spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid #cbd5e1;
    border-top-color: #1078be;
    border-radius: 50%;
    animation: disclosure-response-form-card-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes disclosure-response-form-card-spin {
    to {
        transform: rotate(360deg);
    }
}

.disclosure-response-form-card.quantitative-response-form-field--expanded {
    overflow: visible;
    pointer-events: none;
}

.quantitative-response-form-field-host--open .quantitative-response-form-field--expanded {
    overflow: visible;
}

.disclosure-response-form-card--recently-edited {
    background: #e8f4fc;
    border-color: #c5d4e3;
    box-shadow: 0 2px 10px rgba(16, 120, 190, 0.14);
}

.disclosure-response-form-card__header {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.35rem 0.5rem;
    flex-shrink: 0;
    min-height: 2.5rem;
    padding: 0.35rem 0.5rem 0.35rem 0.55rem;
    background: linear-gradient(135deg, #1078be 0%, #0b5a8f 100%);
    color: #ffffff;
    overflow: hidden;
}

.disclosure-response-form-card__header .disclosure-response-form-card__header-actions .metric-drag-handle,
.disclosure-response-form-card__header .quantitative-response-form-field__drag-handle {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    opacity: 1;
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 0.95rem;
}

.disclosure-response-form-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #0b5a8f;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.disclosure-response-form-card__index--derived,
.disclosure-response-form-card__index--partial {
    background-color: #ea580c;
    border-color: rgba(255, 255, 255, 0.95);
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(234, 88, 12, 0.35);
}

.disclosure-response-form-card__index--incomplete {
    background-color: #b91c1c;
    border-color: rgba(255, 255, 255, 0.95);
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(185, 28, 28, 0.35);
}

/* Inline expandable data entry cards (Data Entry hub) */
.disclosure-data-entry-kpi-workspace .qualitative-response-form-workspace__fields {
    margin: 0;
    padding: 0;
    list-style: none;
}

.disclosure-data-entry-kpi-workspace .qualitative-response-form-workspace__field-item {
    margin: 0;
    padding: 0;
}

.disclosure-data-entry-kpi-workspace .qualitative-response-form-workspace__field-item + .qualitative-response-form-workspace__field-item {
    margin-top: 1.25rem;
}

.disclosure-inline-data-entry-field__header-index {
    flex-shrink: 0;
}

.disclosure-inline-data-entry-field__header-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.disclosure-inline-data-entry-field__header-toggle:hover {
    filter: brightness(1.03);
}

.disclosure-inline-data-entry-field__header-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
    border-radius: 0.35rem;
}

.disclosure-inline-data-entry-field .disclosure-response-form-card__title {
    text-align: left;
}

.disclosure-inline-data-entry-field__chevron {
    color: inherit;
    opacity: 0.9;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.disclosure-inline-data-entry-field--expanded .disclosure-inline-data-entry-field__chevron {
    transform: rotate(180deg);
}

.disclosure-inline-data-entry-field__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.disclosure-inline-data-entry-field__summary-uom {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #003087;
}

.disclosure-inline-data-entry-field__summary-frequency {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pinnacle-text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.disclosure-inline-data-entry-field__panel {
    padding-top: 0.35rem;
}

.disclosure-response-form-card__header .quantitative-response-form-field__header-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.disclosure-response-form-card__header .quantitative-response-form-field__header-toggle:hover {
    filter: brightness(1.03);
}

.disclosure-response-form-card__header .quantitative-response-form-field__header-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
    border-radius: 0.35rem;
}

.quantitative-response-form-field .disclosure-response-form-card__title {
    text-align: left;
}

.disclosure-response-form-card__title-wrap {
    min-width: 0;
    width: 100%;
}

.disclosure-response-form-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: calc(0.78rem + 2pt);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.01em;
    word-break: break-word;
    color: inherit;
}

.disclosure-response-form-card__header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem 0.45rem;
    margin: 0.2rem 0 0;
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    color: inherit;
    opacity: 0.9;
}

.disclosure-response-form-card__header-meta-description {
    min-width: 0;
    word-break: break-word;
}

.disclosure-response-form-card__header-meta-separator {
    opacity: 0.75;
}

.disclosure-response-form-card__header-meta-uom {
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.qualitative-response-form-field .disclosure-response-form-card__header-meta {
    text-align: left;
    justify-content: flex-start;
}

.disclosure-response-form-card--full-description .disclosure-response-form-card__title {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    text-align: left;
}

.quantitative-response-form-field.disclosure-response-form-card--full-description .disclosure-response-form-card__title {
    text-align: left;
}

.disclosure-response-form-card--full-description .disclosure-response-form-card__header-meta-description {
    display: block;
    overflow: visible;
    white-space: pre-wrap;
}

.disclosure-response-form-card__header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}

.disclosure-response-form-card__header-actions .btn {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
}

.disclosure-response-form-card__header-actions .btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
}

.disclosure-response-form-card__header-actions .gcx-metric-missing-data-badge {
    font-size: 0.62rem;
    padding: 0.15rem 0.45rem;
    line-height: 1.25;
}

.disclosure-response-form-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem 0.65rem;
}

.qualitative-calculated-response-form-field__primary {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.disclosure-response-form-card__description {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

.disclosure-response-form-card__metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: 0.5rem;
}

.disclosure-response-form-card__metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid #e3ebf3;
    border-radius: 0.5rem;
    background: #f8fafc;
}

.disclosure-response-form-card__metric-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.disclosure-response-form-card__metric-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #707070;
}

.disclosure-response-form-card__metric-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #006db2;
    word-break: break-word;
}

.disclosure-response-form-card__metric-deviation {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.disclosure-response-form-card__metric-deviation--favourable {
    background: rgba(41, 181, 118, 0.14);
    color: #1f8f5f;
}

.disclosure-response-form-card__metric-deviation--unfavourable {
    background: rgba(255, 111, 97, 0.14);
    color: #d64545;
}
