.report-hq {
    --report-hq-graphite: var(--vigor-graphite, #2f3437);
    --report-hq-charcoal: var(--primary-2, #1f2427);
    --report-hq-red: var(--vigor-red, #c41f2b);
    --report-hq-red-dark: var(--vigor-red-dark, #981923);
    --report-hq-red-soft: var(--secondary-faint, #f7e7e9);
    --report-hq-silver: var(--vigor-silver, #eef0f2);
    --report-hq-gray: var(--vigor-gray, #70777d);
    --report-hq-ink: var(--primary-2, #1f2427);
    --report-hq-muted: var(--secondary-2, #70777d);
    --report-hq-border: #dfe3e5;
    --report-hq-surface: #ffffff;
    --report-hq-canvas: #f4f5f6;
    --report-hq-danger: var(--vigor-red, #c41f2b);
    --report-hq-danger-soft: var(--secondary-faint, #f7e7e9);
    --report-hq-success: #217a59;
    --report-hq-success-soft: #edf8f3;
    --report-hq-scrollbar-track: var(--primary-faint, #eef0f2);
    --report-hq-scrollbar-thumb: var(--primary, #2f3437);
    --report-hq-scrollbar-thumb-hover: var(--secondary, #c41f2b);
    --report-hq-scrollbar-thumb-active: var(--primary-link-3, #981923);
    --report-hq-shadow: 0 12px 35px rgba(var(--primary-rgb, 47, 52, 55), 0.09);
    color: var(--report-hq-ink);
    font-family: inherit;
    line-height: 1.45;
}

.report-hq *,
.report-hq *::before,
.report-hq *::after {
    box-sizing: border-box;
}

.report-hq [hidden] {
    display: none !important;
}

.report-hq-shell {
    overflow: hidden;
    border: 1px solid var(--report-hq-border);
    border-radius: 18px;
    background: var(--report-hq-canvas);
    box-shadow: var(--report-hq-shadow);
}

.report-hq-masthead {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    min-height: 168px;
    padding: 30px 36px;
    border-bottom: 4px solid var(--report-hq-red);
    color: #fff;
    background:

        var(--vigor-modal-gradient, linear-gradient(90deg, #2f3437 0%, #981923 62%, #c41f2b 100%));
}

.report-hq-masthead::before,
.report-hq-masthead::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    content: "";
    pointer-events: none;
}

.report-hq-masthead::before {
    top: -125px;
    right: -42px;
    width: 330px;
    height: 330px;
}

.report-hq-masthead::after {
    right: 155px;
    bottom: -175px;
    width: 260px;
    height: 260px;
}

.report-hq-masthead__copy,
.report-hq-registry-count {
    position: relative;
    z-index: 1;
}

.report-hq-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.report-hq-masthead__title {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.1;
}

.report-hq-masthead__subtitle {
    max-width: 720px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.report-hq-registry-count {
    display: flex;
    align-items: baseline;
    min-width: 150px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
}

.report-hq-registry-count strong {
    margin-right: 7px;
    color: #fff;
    font-size: 26px;
    line-height: 1;
}

.report-hq-registry-count span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.report-hq-layout {
    display: grid;
    grid-template-columns: minmax(260px, 310px) minmax(0, 1fr);
    align-items: start;
    gap: 0;
}

.report-hq-sidebar {
    position: sticky;
    top: 15px;
    align-self: start;
    overflow-y: auto;
    max-height: calc(100vh - 30px);
    padding: 25px 18px 30px;
    border-right: 1px solid var(--report-hq-border);
    background: #f8f9f9;
    scrollbar-color: var(--report-hq-scrollbar-thumb) var(--report-hq-scrollbar-track);
    scrollbar-width: thin;
}

.report-hq-sidebar::-webkit-scrollbar {
    width: 8px;
}

.report-hq-sidebar::-webkit-scrollbar-track {
    background: var(--report-hq-scrollbar-track);
    border-radius: 999px;
}

.report-hq-sidebar::-webkit-scrollbar-thumb {
    min-height: 42px;
    border: 2px solid var(--report-hq-scrollbar-track);
    border-radius: 999px;
    background: var(--report-hq-scrollbar-thumb);
    background-clip: padding-box;
}

.report-hq-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--report-hq-scrollbar-thumb-hover);
    background-clip: padding-box;
}

.report-hq-sidebar::-webkit-scrollbar-thumb:active {
    background: var(--report-hq-scrollbar-thumb-active);
    background-clip: padding-box;
}


.report-hq-sidebar__header {
    padding: 0 8px 18px;
}

.report-hq-sidebar__header h3,
.report-hq-section-heading h3 {
    margin: 0;
    color: var(--report-hq-graphite);
    font-size: 17px;
    font-weight: 700;
}

.report-hq-sidebar__header p,
.report-hq-section-heading p {
    margin: 5px 0 0;
    color: var(--report-hq-muted);
    font-size: 12px;
}

.report-hq-search {
    position: relative;
    display: block;
    margin: 0 5px 21px;
}

.report-hq-search__icon {
    position: absolute;
    top: 50%;
    left: 13px;
    color: var(--report-hq-muted);
    font-size: 20px;
    line-height: 1;
    transform: translateY(-53%);
    pointer-events: none;
}

.report-hq-search__input {
    width: 100%;
    height: 40px;
    padding: 8px 12px 8px 38px;
    border: 1px solid var(--report-hq-border);
    border-radius: 10px;
    outline: 0;
    background: #fff;
    color: var(--report-hq-ink);
    font-size: 13px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.report-hq-search__input:focus {
    border-color: var(--report-hq-red);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb, 196, 31, 43), 0.12);
}

.report-hq-catalogue__group + .report-hq-catalogue__group {
    margin-top: 22px;
}

.report-hq-catalogue__group-title {
    margin: 0 8px 8px;
    color: var(--report-hq-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.report-hq-report-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 3px 0;
    padding: 10px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    outline: 0;
    background: transparent;
    color: var(--report-hq-ink);
    text-align: left;
    cursor: pointer;
    transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.report-hq-report-button:hover {
    border-color: var(--report-hq-border);
    background: #fff;
    color: var(--report-hq-red);
    transform: translateX(2px);
}

.report-hq-report-button:focus-visible {
    border-color: var(--report-hq-red);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb, 196, 31, 43), 0.14);
}

.report-hq-report-button.is-active {
    border-color: #edc7cb;
    background: var(--report-hq-red-soft);
    color: var(--report-hq-red-dark);
}

.report-hq-report-button.is-active::after {
    position: absolute;
    top: 12px;
    right: 8px;
    bottom: 12px;
    width: 3px;
    border-radius: 99px;
    background: var(--report-hq-red);
    content: "";
}

.report-hq-report-button__icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    border-radius: 9px;
    background: var(--report-hq-silver);
    color: var(--report-hq-gray);
    font-size: 20px;
}

.report-hq-report-button.is-active .report-hq-report-button__icon {
    background: #fff;
    color: var(--report-hq-red);
    box-shadow: 0 3px 10px rgba(var(--primary-rgb, 47, 52, 55), 0.08);
}

.report-hq-report-button__copy {
    display: block;
    min-width: 0;
    padding-right: 10px;
}

.report-hq-report-button__copy strong,
.report-hq-report-button__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-hq-report-button__copy strong {
    font-size: 12px;
    font-weight: 700;
}

.report-hq-report-button__copy small {
    margin-top: 2px;
    color: var(--report-hq-muted);
    font-size: 10px;
}

.report-hq-catalogue__empty {
    margin: 12px 8px;
    padding: 14px;
    border: 1px dashed var(--report-hq-border);
    border-radius: 10px;
    color: var(--report-hq-muted);
    font-size: 12px;
    text-align: center;
}

.report-hq-workspace {
    min-width: 0;
    padding: 25px;
}

.report-hq-definition,
.report-hq-criteria,
.report-hq-results {
    margin-bottom: 20px;
    border: 1px solid var(--report-hq-border);
    border-radius: 14px;
    background: var(--report-hq-surface);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb, 47, 52, 55), 0.04);
}

.report-hq-definition {
    padding: 24px;
}

.report-hq-definition__top {
    display: flex;
    align-items: flex-start;
}

.report-hq-definition__icon {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-right: 17px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--report-hq-red-soft), #fffafb);
    color: var(--report-hq-red);
    font-size: 28px;
}

.report-hq-definition__copy {
    min-width: 0;
}

.report-hq-definition__group {
    display: block;
    margin-bottom: 4px;
    color: var(--report-hq-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.report-hq-definition__title {
    margin: 0;
    color: var(--report-hq-graphite);
    font-size: 23px;
    font-weight: 700;
}

.report-hq-definition__description {
    max-width: 880px;
    margin: 8px 0 0;
    color: var(--report-hq-muted);
    font-size: 13px;
}

.report-hq-definition__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 0;
}

.report-hq-definition__meta-item {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #eceeef;
    border-radius: 10px;
    background: #fafafa;
}

.report-hq-definition__meta dt,
.report-hq-inline-metrics dt {
    margin: 0 0 3px;
    color: var(--report-hq-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.report-hq-definition__meta dd,
.report-hq-inline-metrics dd {
    margin: 0;
    color: var(--report-hq-ink);
    font-size: 11px;
    font-weight: 600;
}

.report-hq-criteria,
.report-hq-results {
    overflow: hidden;
}

.report-hq-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--report-hq-border);
    background: #fafafa;
}

.report-hq-form {
    padding: 22px;
}

.report-hq-fields {
    display: grid;
    gap: 14px;
}

.report-hq-fields + .report-hq-field,
.report-hq-field + .report-hq-fields,
.report-hq-fields + .report-hq-fields {
    margin-top: 18px;
}

.report-hq-fields--dates,
.report-hq-fields--filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-hq-field {
    display: block;
    min-width: 0;
    margin: 0;
}

.report-hq-field--categories {
    min-width: 0;
    margin: 18px 0 0;
    padding: 0;
    border: 0;
}

.report-hq-label {
    display: block;
    margin: 0 0 7px;
    color: #4e5559;
    font-size: 11px;
    font-weight: 700;
}

.report-hq-control {
    display: block;
    width: 100%;
    height: 42px;
    padding: 8px 11px;
    border: 1px solid #cfd4d6;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: var(--report-hq-ink);
    font-size: 12px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.report-hq-control:hover:not(:disabled) {
    border-color: #aeb4b8;
}

.report-hq-control:focus {
    border-color: var(--report-hq-red);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb, 196, 31, 43), 0.12);
}

.report-hq-control:disabled {
    background: #f4f5f6;
    color: #8a9297;
    cursor: not-allowed;
}

.report-hq-control.is-invalid {
    border-color: var(--report-hq-danger);
    box-shadow: 0 0 0 3px rgba(180, 61, 72, 0.09);
}

.report-hq-field-error,
.report-hq-field-hint {
    display: block;
    min-height: 15px;
    margin-top: 4px;
    font-size: 10px;
}

.report-hq-field-error {
    color: var(--report-hq-danger);
}

.report-hq-field-hint {
    color: var(--report-hq-muted);
}

.report-hq-segmented {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--report-hq-border);
    border-radius: 10px;
    background: var(--report-hq-silver);
}

.report-hq-segmented__button {
    min-width: 105px;
    padding: 8px 18px;
    border: 0;
    border-radius: 7px;
    outline: 0;
    background: transparent;
    color: var(--report-hq-muted);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.report-hq-segmented__button:hover {
    color: var(--report-hq-red);
}

.report-hq-segmented__button:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb, 196, 31, 43), 0.14);
}

.report-hq-segmented__button.is-active {
    background: #fff;
    color: var(--report-hq-red-dark);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb, 47, 52, 55), 0.1);
}

.report-hq-form-status {
    margin-top: 16px;
    padding: 10px 12px;
    border: 1px solid var(--report-hq-border);
    border-radius: 9px;
    background: #f8f9f9;
    color: var(--report-hq-muted);
    font-size: 11px;
}

.report-hq-form-status.is-loading {
    border-color: #efcbd0;
    background: var(--report-hq-red-soft);
    color: var(--report-hq-red-dark);
}

.report-hq-form-status.is-error {
    border-color: #efccd0;
    background: var(--report-hq-danger-soft);
    color: var(--report-hq-danger);
}

.report-hq-form-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eceeef;
}

.report-hq-form-actions__hint {
    color: var(--report-hq-muted);
    font-size: 10px;
}

.report-hq-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    outline: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.report-hq-button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.report-hq-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb, 196, 31, 43), 0.16);
}

.report-hq-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.report-hq-button--primary {
    min-width: 150px;
    background: var(--report-hq-red);
    color: #fff;
    box-shadow: 0 5px 14px rgba(var(--secondary-rgb, 196, 31, 43), 0.2);
}

.report-hq-button--primary:hover:not(:disabled) {
    background: var(--report-hq-red-dark);
    color: #fff;
}

.report-hq-button--secondary {
    border-color: #d9dde0;
    background: #fff;
    color: var(--report-hq-red-dark);
}

.report-hq-button--secondary:hover:not(:disabled) {
    border-color: var(--report-hq-red);
    background: var(--report-hq-red-soft);
}

.report-hq-button--pdf {
    border-color: #e2cfa9;
    background: #fff9ee;
    color: #8a5b12;
}

.report-hq-button--pdf:hover {
    border-color: var(--report-hq-red);
    background: #fff3dd;
    color: #71480a;
}

.report-hq-results__heading {
    align-items: flex-start;
}

.report-hq-results__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.report-hq-result-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    padding: 35px;
    color: var(--report-hq-muted);
    text-align: left;
}

.report-hq-result-state__icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: 15px;
    border: 1px solid #dfe3e5;
    border-radius: 50%;
    background: #f8f9f9;
    color: var(--report-hq-red);
    font-size: 20px;
    font-weight: 700;
}

.report-hq-result-state strong {
    display: block;
    color: var(--report-hq-graphite);
    font-size: 14px;
}

.report-hq-result-state p {
    max-width: 560px;
    margin: 5px 0 0;
    font-size: 11px;
}

.report-hq-result-state.is-loading .report-hq-result-state__icon {
    animation: report-hq-spin 1s linear infinite;
}

.report-hq-result-state.is-error {
    background: var(--report-hq-danger-soft);
}

.report-hq-result-state.is-error .report-hq-result-state__icon {
    border-color: #ecc1c6;
    background: #fff;
    color: var(--report-hq-danger);
}

.report-hq-result-state.is-empty .report-hq-result-state__icon {
    border-color: #ead8b7;
    background: #fffaf1;
    color: #9a6b21;
}

@keyframes report-hq-spin {
    to {
        transform: rotate(360deg);
    }
}

.report-hq-preview {
    padding: 22px;
}

.report-hq-preview__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--report-hq-border);
}

.report-hq-preview__header .report-hq-eyebrow {
    margin-bottom: 5px;
    color: var(--report-hq-red);
}

.report-hq-preview__header h4 {
    margin: 0;
    color: var(--report-hq-graphite);
    font-size: 20px;
    font-weight: 700;
}

.report-hq-preview__header p {
    margin: 5px 0 0;
    color: var(--report-hq-muted);
    font-size: 11px;
}

.report-hq-preview__count {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.report-hq-preview__count strong {
    color: var(--report-hq-red);
    font-size: 23px;
}

.report-hq-preview__count span {
    margin-left: 5px;
    color: var(--report-hq-muted);
    font-size: 10px;
}

.report-hq-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.report-hq-metric {
    min-width: 0;
    padding: 14px;
    border: 1px solid #dfe3e5;
    border-radius: 11px;
    background: linear-gradient(145deg, #fafafa, #fff);
}

.report-hq-metric span {
    display: block;
    overflow: hidden;
    color: var(--report-hq-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.report-hq-metric strong {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 6px;
    color: var(--report-hq-graphite);
    font-size: 17px;
    font-weight: 700;
}

.report-hq-preview-section {
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--report-hq-border);
    border-radius: 11px;
    background: #fff;
}

.report-hq-preview-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--report-hq-border);
    background: #f8f9f9;
}

.report-hq-preview-section__header h5 {
    margin: 0;
    color: var(--report-hq-graphite);
    font-size: 13px;
    font-weight: 700;
}

.report-hq-preview-section__count {
    padding: 3px 8px;
    border-radius: 99px;
    background: var(--report-hq-red-soft);
    color: var(--report-hq-red-dark);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.report-hq-inline-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    border-bottom: 1px solid var(--report-hq-border);
    background: #fbfbfb;
}

.report-hq-inline-metrics > div {
    min-width: 120px;
    padding: 6px 10px;
    border-right: 1px solid var(--report-hq-border);
}

.report-hq-table-scroll {
    overflow: auto;
    max-height: 560px;
}

.report-hq-table {
    width: 100%;
    margin: 0;
    border-spacing: 0;
    border-collapse: separate;
    color: var(--report-hq-graphite);
    font-size: 10px;
}

.report-hq-table th,
.report-hq-table td {
    min-width: 105px;
    max-width: 320px;
    padding: 9px 10px;
    border-right: 1px solid #eceeef;
    border-bottom: 1px solid #eceeef;
    overflow-wrap: anywhere;
    text-align: left;
    vertical-align: top;
}

.report-hq-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--report-hq-silver);
    color: #343a3e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.report-hq-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.report-hq-table tbody tr:hover td {
    background: #fff8f8;
}

.report-hq-table th:last-child,
.report-hq-table td:last-child {
    border-right: 0;
}

.report-hq-table tbody tr:last-child td {
    border-bottom: 0;
}

.report-hq-table .report-hq-table__number {
    min-width: 48px;
    width: 48px;
    max-width: 48px;
    color: var(--report-hq-muted);
    text-align: right;
}

.report-hq-preview-limit,
.report-hq-preview-section__empty {
    margin: 0;
    padding: 11px 14px;
    color: var(--report-hq-muted);
    font-size: 10px;
}

.report-hq-preview-limit {
    border-top: 1px solid var(--report-hq-border);
    background: #fffaf0;
    color: #7d5a20;
}

.report-hq-preview-section__empty {
    text-align: center;
}

.report-hq .sr-only {
    position: absolute !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

@media (max-width: 1180px) {
    .report-hq-layout {
        grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
    }

    .report-hq-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .report-hq-layout {
        display: block;
    }

    .report-hq-sidebar {
        position: static;
        overflow: visible;
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid var(--report-hq-border);
    }

    .report-hq-catalogue {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .report-hq-catalogue__group + .report-hq-catalogue__group {
        margin-top: 0;
    }

    .report-hq-definition__meta,
    .report-hq-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .report-hq-masthead {
        display: block;
        min-height: 0;
        padding: 25px 20px;
    }

    .report-hq-registry-count {
        width: max-content;
        margin-top: 20px;
    }

    .report-hq-workspace {
        padding: 14px;
    }

    .report-hq-definition,
    .report-hq-form,
    .report-hq-preview {
        padding: 17px;
    }

    .report-hq-definition__top {
        display: block;
    }

    .report-hq-definition__icon {
        margin: 0 0 13px;
    }

    .report-hq-definition__meta,
    .report-hq-fields--dates,
    .report-hq-fields--filters,
    .report-hq-metrics,
    .report-hq-catalogue {
        grid-template-columns: 1fr;
    }

    .report-hq-section-heading,
    .report-hq-preview__header {
        display: block;
    }

    .report-hq-results__actions,
    .report-hq-preview__count {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .report-hq-form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-hq-button--primary {
        width: 100%;
    }

    .report-hq-result-state {
        align-items: flex-start;
        min-height: 160px;
        padding: 25px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .report-hq *,
    .report-hq *::before,
    .report-hq *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .report-hq-masthead,
    .report-hq-sidebar,
    .report-hq-criteria,
    .report-hq-results__actions {
        display: none !important;
    }

    .report-hq-shell,
    .report-hq-definition,
    .report-hq-results,
    .report-hq-preview-section {
        border: 0;
        box-shadow: none;
    }

    .report-hq-layout {
        display: block;
    }

    .report-hq-workspace,
    .report-hq-preview {
        padding: 0;
    }

    .report-hq-table-scroll {
        overflow: visible;
        max-height: none;
    }

    .report-hq-table th {
        position: static;
    }
}
