:root {
    --radar-navy: #12304a;
    --radar-blue: #1f5f8f;
    --radar-green: #2f8f5b;
    --radar-amber: #c58a22;
    --radar-red: #b94444;
    --radar-bg: #f4f7fa;
    --radar-border: #d9e2ea;
    --radar-text: #1f2933;
}

.territory-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.territory-tile {
    border: 1px solid var(--radar-border, #d9dee8);
    border-left-width: 0.35rem;
    border-radius: 8px;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 112px;
    padding: 0.9rem;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.territory-tile:hover,
.territory-tile:focus-visible {
    border-color: var(--radar-blue, #2563eb);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    color: inherit;
    transform: translateY(-1px);
}

.territory-tile span {
    color: var(--radar-muted, #64748b);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.territory-tile strong {
    font-size: 1rem;
    line-height: 1.25;
}

.territory-tile small {
    color: var(--radar-muted, #64748b);
}

.territory-tile--baixo {
    border-left-color: #5b8f7b;
}

.territory-tile--moderado {
    border-left-color: #b88728;
}

.territory-tile--alto {
    border-left-color: #c75f2b;
}

.territory-tile--critico {
    border-left-color: #b42318;
}

.territory-tile--indeterminado {
    border-left-color: #6b7280;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--radar-bg);
    color: var(--radar-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    text-decoration: none;
}

.btn,
.form-control,
.alert,
.panel,
.metric-card,
.login-card {
    border-radius: 8px;
}

.btn-primary {
    --bs-btn-bg: var(--radar-blue);
    --bs-btn-border-color: var(--radar-blue);
    --bs-btn-hover-bg: #174b72;
    --bs-btn-hover-border-color: #174b72;
}

.preview-access-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 12%, rgba(47, 111, 181, 0.16), transparent 30%),
        radial-gradient(circle at 82% 22%, rgba(34, 197, 94, 0.10), transparent 26%),
        linear-gradient(135deg, #f6f9fc 0%, #eef4f9 100%);
}

.preview-access {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.preview-access__card {
    width: min(100%, 480px);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid rgba(31, 51, 84, 0.1);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(16, 36, 56, 0.12);
    backdrop-filter: blur(10px);
}

.preview-access h1 {
    margin: 0 0 0.75rem;
    color: #162436;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
}

.preview-access__text {
    margin: 0 0 1.25rem;
    color: #526173;
    line-height: 1.55;
}

.preview-access__form {
    display: grid;
    gap: 0.85rem;
}

.preview-access__form .form-label {
    margin-bottom: -0.25rem;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.preview-access__form .form-control {
    min-height: 3rem;
    border-color: #d8e1ee;
    border-radius: 0.95rem;
}

.preview-access__form .form-control:focus {
    border-color: rgba(31, 95, 143, 0.45);
    box-shadow: 0 0 0 0.22rem rgba(31, 95, 143, 0.1);
}

.preview-access__form .btn {
    min-height: 3rem;
    border-radius: 0.95rem;
}

.preview-access__note {
    margin: 1rem 0 0;
    color: #7b8794;
    font-size: 0.82rem;
    line-height: 1.45;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    width: 280px;
    height: 100vh;
    flex: 0 0 280px;
    overflow-y: auto;
    padding: 22px 18px;
    background: #ffffff;
    border-right: 1px solid var(--radar-border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--radar-navy);
    margin-bottom: 28px;
}

.brand:hover {
    color: var(--radar-blue);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 8px;
    background: var(--radar-navy);
    color: #ffffff;
    font-weight: 800;
}

.brand-mark--logo {
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 0 0 1px var(--radar-border);
}

.brand-mark--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-mark--login {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    padding: 4px;
}

.terms-accept-shell {
    min-height: 100vh;
    padding: 32px 18px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(31, 95, 143, 0.14), transparent 32%),
        var(--radar-bg);
}

.terms-accept-card {
    width: min(980px, 100%);
    padding: 28px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(16, 36, 56, 0.12);
}

.terms-accept-card__header {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 20px;
}

.terms-accept-card__header h1 {
    margin: 0 0 8px;
    color: var(--radar-navy);
    font-weight: 900;
}

.terms-accept-card__header p:not(.eyebrow) {
    margin: 0;
    color: #526173;
}

.terms-accept-notice {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 12px;
    background: linear-gradient(135deg, #fffbeb, #fff);
    color: #92400e;
}

.terms-accept-notice strong {
    color: #78350f;
    font-weight: 900;
}

.terms-accept-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
    gap: 16px;
    align-items: stretch;
}

.terms-accept-layout--single {
    grid-template-columns: 1fr;
}

.terms-accept-meta {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.terms-accept-meta div {
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.terms-accept-meta span {
    display: block;
    color: #607080;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.terms-accept-meta strong {
    color: var(--radar-navy);
}

.terms-accept-content {
    max-height: 44vh;
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #fbfdff;
    color: #24384a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.65;
    white-space: pre-wrap;
}

.terms-accept-side {
    display: grid;
    gap: 12px;
    align-content: start;
}

.terms-accept-info-card {
    padding: 16px;
    border: 1px solid rgba(31, 95, 143, 0.16);
    border-radius: 12px;
    background: #f8fbff;
    color: #24384a;
}

.terms-accept-info-card--soft {
    background: #ffffff;
}

.terms-accept-info-card span {
    display: block;
    margin-bottom: 0.3rem;
    color: #607080;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.terms-accept-info-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--radar-navy);
    font-weight: 900;
}

.terms-accept-info-card p {
    margin: 0;
    color: #526173;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-accept-info-card .btn {
    margin-top: 0.85rem;
}

.terms-accept-form {
    margin-top: 16px;
}

.terms-accept-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid rgba(31, 95, 143, 0.18);
    border-radius: 12px;
    background: #f7fafc;
    color: #24384a;
}

.terms-accept-check input {
    margin-top: 0.25rem;
}

.terms-accept-check strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--radar-navy);
    font-weight: 900;
}

.terms-accept-check small {
    display: block;
    color: #526173;
    font-weight: 700;
    line-height: 1.45;
}

.terms-accept-actions {
    display: grid;
    margin-bottom: 10px;
}

.terms-accept-decline {
    margin-top: 0.35rem;
}

.terms-public-card {
    width: min(1080px, 100%);
}

.terms-public-content {
    max-height: none;
    min-height: 24rem;
}

.terms-public-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.terms-admin-content {
    max-width: 920px;
    margin-inline: auto;
    color: #24384a;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    white-space: pre-line;
}

.terms-admin-content::first-line {
    color: var(--radar-navy);
    font-weight: 800;
}

.import-progress-modal .modal-content,
.process-modal .modal-content {
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(16, 36, 56, 0.22);
}

.import-progress-modal .modal-header,
.process-modal .modal-header {
    align-items: flex-start;
    background: #f7fafc;
    border-bottom: 1px solid var(--radar-border);
}

.import-progress-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.process-modal__status {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.process-modal__heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.process-modal__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid #dbe7f2;
    border-radius: 8px;
    background: #ffffff;
    color: var(--radar-blue);
}

.process-modal__meta,
.process-modal__progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.process-modal__meta {
    margin-bottom: 16px;
}

.process-modal__progress-header {
    margin-bottom: 10px;
}

.process-modal__label {
    display: block;
    color: #607080;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.process-modal__percent {
    color: var(--radar-navy);
    font-size: 1.35rem;
    line-height: 1;
}

.process-modal__progress {
    height: 18px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: #e8eef4;
    overflow: hidden;
}

.process-modal__progress .progress-bar {
    min-width: 0;
    background-color: var(--radar-blue);
    font-size: 0.72rem;
    font-weight: 800;
    transition: width 0.25s ease;
}

.process-modal__message {
    margin-bottom: 0.25rem;
    color: var(--radar-navy);
    font-weight: 700;
}

.import-progress-bar {
    height: 24px;
    border-radius: 8px;
    background: #e8eef4;
}

.import-progress-bar .progress-bar {
    background-color: var(--radar-blue);
    font-weight: 800;
}

.import-progress-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.import-progress-grid div {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #fbfdff;
}

.import-progress-grid span {
    display: block;
    color: #607080;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.import-progress-grid strong {
    display: block;
    margin-top: 4px;
    color: var(--radar-navy);
    font-size: 1.15rem;
}

.brand small,
.eyebrow {
    display: block;
    color: #607080;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-nav {
    gap: 4px;
}

.sidebar-nav__section-title {
    display: block;
    margin: 8px 10px 6px;
    color: #748392;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-nav__section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--radar-border);
}

.sidebar-nav .nav-link {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #405160;
    border-radius: 8px;
    padding: 0.58rem 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.sidebar-nav .nav-link svg,
.sidebar-nav .nav-link i {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #6b7b8c;
    stroke-width: 2.1;
    transition: color 160ms ease;
}

.sidebar-nav .nav-link span {
    min-width: 0;
}

.sidebar-nav__badge {
    min-width: 1.45rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0 0.42rem;
    border-radius: 999px;
    background: rgba(31, 95, 143, 0.12);
    color: var(--radar-blue);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.sidebar-nav__badge--warning {
    background: rgba(197, 138, 34, 0.16);
    color: #9a6816;
}

.sidebar-nav__badge + .sidebar-nav__chevron {
    margin-left: 2px;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus-visible {
    background: #eef5fb;
    color: var(--radar-blue);
}

.sidebar-nav .nav-link:hover svg,
.sidebar-nav .nav-link:hover i,
.sidebar-nav .nav-link:focus-visible svg,
.sidebar-nav .nav-link:focus-visible i {
    color: var(--radar-blue);
}

.sidebar-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(31, 95, 143, 0.15), rgba(31, 95, 143, 0.07));
    color: var(--radar-navy);
    font-weight: 800;
    box-shadow: inset 3px 0 0 var(--radar-blue);
}

.sidebar-nav .nav-link.active svg,
.sidebar-nav .nav-link.active i {
    color: var(--radar-blue);
}

.sidebar-nav .nav-link.active .sidebar-nav__badge {
    background: var(--radar-blue);
    color: #ffffff;
}

.sidebar-nav .nav-link.active .sidebar-nav__badge--warning {
    background: var(--radar-amber);
    color: #ffffff;
}

.sidebar-nav__group-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.sidebar-nav__chevron {
    margin-left: auto;
    transition: transform 160ms ease;
}

.sidebar-nav__group-toggle[aria-expanded="true"] .sidebar-nav__chevron {
    transform: rotate(180deg);
}

.sidebar-nav__submenu {
    margin-top: 4px;
    padding-left: 14px;
}

.sidebar-nav__submenu .nav-link {
    min-height: 38px;
    padding-left: 0.7rem;
    font-size: 0.92rem;
}

.main-shell {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.topbar {
    min-height: 76px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 16px 28px;
    background: #ffffff;
    border-bottom: 1px solid var(--radar-border);
}

.support-mode-banner {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: -4px 0 2px;
    padding: 10px 12px;
    border: 1px solid rgba(146, 64, 14, 0.22);
    border-radius: 8px;
    background: #fff7ed;
    color: #7c2d12;
}

.support-mode-banner > div {
    display: grid;
    gap: 2px;
}

.support-mode-banner strong {
    font-size: 0.84rem;
    text-transform: uppercase;
}

.support-mode-banner span {
    font-size: 0.9rem;
    font-weight: 600;
}

.support-mode-banner form {
    margin: 0;
    flex: 0 0 auto;
}

.subscription-expired-banner {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: -4px 0 2px;
    padding: 10px 12px;
    border: 1px solid rgba(185, 28, 28, 0.24);
    border-radius: 8px;
    background: #fef2f2;
    color: #7f1d1d;
}

.subscription-expired-banner > div {
    display: grid;
    gap: 2px;
}

.subscription-expired-banner strong {
    font-size: 0.84rem;
    text-transform: uppercase;
}

.subscription-expired-banner span {
    font-size: 0.9rem;
    font-weight: 600;
}

.subscription-expired-banner .btn {
    flex: 0 0 auto;
    color: #7f1d1d;
    border-color: rgba(185, 28, 28, 0.18);
}

.topbar-title {
    min-width: 180px;
}

.topbar-search {
    position: relative;
    width: min(440px, 38vw);
    margin-left: auto;
}

.topbar-search > svg,
.topbar-search > i {
    position: absolute;
    top: 50%;
    left: 12px;
    z-index: 2;
    width: 18px;
    height: 18px;
    color: #748392;
    transform: translateY(-50%);
}

.topbar-search .form-control {
    height: 42px;
    padding-left: 38px;
    border-color: var(--radar-border);
    background: #f7fafc;
}

.topbar-search .form-control:focus {
    background: #ffffff;
    border-color: rgba(31, 95, 143, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(31, 95, 143, 0.12);
}

.topbar-search__results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1060;
    display: none;
    max-height: 360px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(16, 36, 56, 0.18);
}

.topbar-search.is-open .topbar-search__results {
    display: grid;
    gap: 4px;
}

.topbar-search__item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--radar-text);
}

.topbar-search__item:hover,
.topbar-search__item:focus {
    background: #eef5fb;
    color: var(--radar-blue);
    outline: none;
}

.topbar-search__item strong,
.topbar-search__item span {
    display: block;
}

.topbar-search__item span,
.topbar-search__empty {
    color: #607080;
    font-size: 0.82rem;
}

.topbar-search__empty {
    display: none;
    padding: 12px;
}

.topbar-search.has-empty .topbar-search__empty {
    display: block;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-icon-button {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--radar-border);
    border-radius: 50%;
    background: #ffffff;
    color: #405160;
}

.topbar-icon-button:hover,
.topbar-icon-button:focus-visible {
    border-color: rgba(31, 95, 143, 0.35);
    background: #eef5fb;
    color: var(--radar-blue);
}

.topbar-icon-button svg,
.topbar-icon-button i {
    width: 19px;
    height: 19px;
}

.topbar-icon-button__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: var(--radar-red);
    color: #ffffff;
    font-size: 0.67rem;
    font-weight: 900;
    line-height: 1;
}

.topbar-notification-menu {
    width: min(390px, calc(100vw - 24px));
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(16, 36, 56, 0.18);
}

.topbar-notification-menu__header,
.topbar-notification-menu__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f7fafc;
}

.topbar-notification-menu__header small {
    display: block;
    color: #607080;
    font-size: 0.78rem;
}

.topbar-notification-menu__body {
    max-height: 330px;
    overflow-y: auto;
    padding: 6px;
}

.topbar-notification-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    padding: 10px;
    border-radius: 8px;
    color: var(--radar-text);
}

.topbar-notification-item:hover,
.topbar-notification-item:focus {
    background: #eef5fb;
    color: var(--radar-text);
    outline: none;
}

.topbar-notification-item.is-read {
    opacity: 0.72;
}

.topbar-notification-item__dot {
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--radar-blue);
}

.topbar-notification-item strong,
.topbar-notification-item small {
    display: block;
}

.topbar-notification-item small {
    color: #607080;
}

.topbar-notification-item__count {
    min-width: 1.35rem;
    padding: 0.12rem 0.38rem;
    border-radius: 999px;
    background: rgba(31, 95, 143, 0.12);
    color: var(--radar-blue);
    font-size: 0.72rem;
    font-weight: 900;
    text-align: center;
}

.topbar-notification-item__priority {
    margin: 3px 0 4px;
}

.topbar-notification-empty {
    padding: 18px 12px;
    color: #607080;
    text-align: center;
}

.topbar-notification-menu__footer form {
    margin: 0;
}

.topbar-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    overflow: hidden;
    border: 2px solid #d9e2ea;
    border-radius: 50%;
    background: var(--radar-navy);
    color: #ffffff;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(18, 48, 74, 0.12);
}

.topbar-avatar:hover,
.topbar-avatar:focus {
    border-color: var(--radar-blue);
    color: #ffffff;
    outline: none;
}

.topbar-avatar:focus-visible {
    box-shadow: 0 0 0 3px rgba(31, 95, 143, 0.22);
}

.topbar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topbar-user-menu {
    flex: 0 0 auto;
}

.topbar-user-trigger {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0.18rem 0.42rem 0.18rem 0.22rem;
    border: 1px solid var(--radar-border);
    border-radius: 999px;
    background: #ffffff;
    color: #405160;
    box-shadow: 0 8px 22px rgba(16, 36, 56, 0.04);
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.topbar-user-trigger:hover,
.topbar-user-trigger:focus-visible,
.topbar-user-trigger[aria-expanded="true"] {
    border-color: rgba(31, 95, 143, 0.35);
    background: #eef5fb;
    box-shadow: 0 12px 28px rgba(16, 36, 56, 0.08);
}

.topbar-user-trigger:focus-visible {
    outline: 3px solid rgba(31, 95, 143, 0.22);
    outline-offset: 2px;
}

.topbar-user-trigger > svg,
.topbar-user-trigger > i {
    width: 16px;
    height: 16px;
    color: #607080;
    transition: transform 0.18s ease;
}

.topbar-user-trigger[aria-expanded="true"] > svg,
.topbar-user-trigger[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

.topbar-user-trigger__text {
    min-width: 0;
    justify-items: start;
    line-height: 1.1;
}

.topbar-user-trigger__name {
    max-width: 150px;
    overflow: hidden;
    color: var(--radar-navy);
    font-size: 0.86rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-user-trigger__text small {
    max-width: 150px;
    overflow: hidden;
    color: #607080;
    font-size: 0.68rem;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.topbar-user-dropdown {
    width: min(340px, calc(100vw - 24px));
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--radar-border);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(16, 36, 56, 0.18);
}

.topbar-user-dropdown__summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(31, 95, 143, 0.11), transparent 60%),
        #f7fafc;
}

.topbar-avatar--menu {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
}

.topbar-user-dropdown__summary strong,
.topbar-user-dropdown__summary span,
.topbar-user-dropdown__summary small {
    display: block;
}

.topbar-user-dropdown__summary strong {
    overflow: hidden;
    color: var(--radar-navy);
    font-size: 0.98rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-user-dropdown__summary span,
.topbar-user-dropdown__summary small {
    overflow: hidden;
    color: #607080;
    font-size: 0.8rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-user-dropdown__summary small span {
    display: inline;
}

.topbar-user-dropdown__group {
    display: grid;
    gap: 2px;
    padding: 8px;
    border-top: 1px solid #edf2f7;
}

.topbar-user-dropdown__label {
    padding: 0.32rem 0.54rem 0.18rem;
    color: #7a8896;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar-user-dropdown__item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 0.48rem 0.54rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #405160;
    font-size: 0.9rem;
    font-weight: 750;
    text-align: left;
    text-decoration: none;
}

.topbar-user-dropdown__item svg,
.topbar-user-dropdown__item i {
    width: 17px;
    height: 17px;
    color: #607080;
}

.topbar-user-dropdown__item:hover,
.topbar-user-dropdown__item:focus-visible {
    background: #eef5fb;
    color: var(--radar-navy);
    outline: none;
}

.topbar-user-dropdown__item--disabled {
    cursor: default;
    opacity: 0.62;
}

.topbar-user-dropdown__item--disabled:hover {
    background: transparent;
    color: #405160;
}

.topbar-user-dropdown__item small {
    padding: 0.12rem 0.42rem;
    border-radius: 999px;
    background: #edf2f7;
    color: #607080;
    font-size: 0.68rem;
    font-weight: 850;
}

.topbar-user-dropdown__logout {
    margin: 0;
    padding: 8px;
    border-top: 1px solid #edf2f7;
    background: #ffffff;
}

.topbar-user-dropdown__item--logout {
    color: #963636;
}

.topbar-user-dropdown__item--logout svg,
.topbar-user-dropdown__item--logout i {
    color: #b94444;
}

.topbar-user-dropdown__item--logout:hover,
.topbar-user-dropdown__item--logout:focus-visible {
    background: rgba(185, 68, 68, 0.09);
    color: #7f2c2c;
}

.notification-center-list {
    display: grid;
    gap: 12px;
}

.notification-bulk-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f8fafc;
}

.notification-bulk-toolbar__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
}

.notification-bulk-toolbar__form .form-select {
    min-width: 190px;
}

.notification-center-item {
    display: grid;
    grid-template-columns: 24px 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(16, 36, 56, 0.06);
}

.notification-center-item.is-read {
    background: #fbfdff;
    opacity: 0.78;
}

.notification-center-item__selection {
    display: flex;
    justify-content: center;
}

.notification-center-item__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(31, 95, 143, 0.11);
    color: var(--radar-blue);
}

.notification-center-item__icon svg,
.notification-center-item__icon i {
    width: 22px;
    height: 22px;
}

.notification-center-item__body h3 {
    margin: 8px 0 4px;
    color: var(--radar-navy);
    font-size: 1rem;
    font-weight: 900;
}

.notification-center-item__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.notification-center-item__body p {
    margin: 0;
    color: #526173;
}

.notification-priority {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.18rem 0.52rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}

.notification-priority--critica {
    border-color: rgba(190, 24, 24, 0.22);
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.notification-priority--alta {
    border-color: rgba(180, 83, 9, 0.22);
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
}

.notification-priority--normal {
    border-color: rgba(31, 95, 143, 0.18);
    background: rgba(31, 95, 143, 0.11);
    color: var(--radar-blue);
}

.notification-priority--informativa {
    border-color: rgba(71, 85, 105, 0.16);
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
}

.notification-status {
    align-self: flex-start;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(31, 95, 143, 0.12);
    color: var(--radar-blue);
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.notification-status--read {
    background: #edf2f7;
    color: #607080;
}

.notification-status--archived {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.notification-center-item__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.notification-center-item__actions form {
    margin: 0;
}

.novidade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.novidade-card,
.novidade-detail-card {
    border: 1px solid var(--radar-border);
    border-radius: 0.95rem;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(16, 36, 56, 0.06);
}

.novidade-card {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    padding: 1rem;
}

.novidade-card--featured,
.novidade-detail-card--featured {
    border-color: rgba(31, 95, 143, 0.28);
    background: linear-gradient(135deg, #ffffff, #f4f9fd);
}

.novidade-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.82rem;
}

.novidade-card h3 {
    margin: 0;
    color: var(--radar-navy);
    font-size: 1rem;
    font-weight: 900;
}

.novidade-card p {
    margin: 0;
    color: #526173;
    line-height: 1.55;
}

.novidade-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.novidade-detail-card {
    padding: 1.25rem;
}

.novidade-detail-card .lead {
    color: #526173;
}

.novidade-detail-card__content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--radar-border);
    color: #24384a;
    line-height: 1.7;
    white-space: pre-wrap;
}

.content {
    width: 100%;
    max-width: 1480px;
    padding: 28px;
}

.metric-card,
.panel {
    background: #ffffff;
    border: 1px solid var(--radar-border);
    box-shadow: 0 10px 30px rgba(16, 36, 56, 0.06);
}

.metric-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
}

.metric-card span {
    color: #607080;
    font-weight: 700;
}

.metric-card strong {
    font-size: clamp(1.7rem, 2vw, 2.25rem);
    color: var(--radar-navy);
}

.panel {
    padding: 20px;
}

.keyword-table-wrap {
    min-height: 16rem;
}

.keyword-table-wrap .dropdown-menu {
    z-index: 1080;
}

@media (min-width: 768px) {
    .keyword-table-wrap .table-responsive {
        overflow: visible;
    }
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-header h2 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--radar-navy);
}

/* Shared interface components
   Reuse these classes in Thymeleaf pages before adding page-specific CSS. */
.app-page-panel {
    border: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.98)),
        #ffffff;
    box-shadow: 0 18px 44px rgba(31, 51, 84, 0.08);
}

.theme-purple {
    --page-accent: #6941c6;
    --page-accent-rgb: 111, 66, 193;
    --page-accent-soft: #f4efff;
}

.theme-blue {
    --page-accent: #0b5ed7;
    --page-accent-rgb: 13, 110, 253;
    --page-accent-soft: #eef4ff;
}

.page-hero {
    --page-accent: var(--radar-blue);
    --page-accent-rgb: 31, 95, 143;
    --page-accent-soft: #e7f1f8;
    align-items: flex-start;
    gap: 1.5rem;
    margin: -1rem -1rem 1rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(var(--page-accent-rgb), 0.16), transparent 32rem),
        linear-gradient(135deg, #f7fbff 0%, #ffffff 58%, #f9fbff 100%);
}

.page-hero--purple {
    --page-accent: #6941c6;
    --page-accent-rgb: 111, 66, 193;
    --page-accent-soft: #f4efff;
    background:
        radial-gradient(circle at top right, rgba(var(--page-accent-rgb), 0.16), transparent 32rem),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 58%, #fbf9ff 100%);
}

.page-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    background: rgba(var(--page-accent-rgb), 0.10);
    color: var(--page-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero__actions,
.action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    font-weight: 600;
    letter-spacing: 0;
}

.btn-icon i,
.btn-icon svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    display: inline-block;
    opacity: 0.82;
    stroke-width: 1.95;
    vertical-align: -0.12em;
}

.btn-sm.btn-icon i,
.btn-sm.btn-icon svg {
    width: 0.92rem;
    height: 0.92rem;
}

.training-module-actions {
    align-items: center;
}

.training-module-actions .btn,
.training-module-actions form {
    width: auto;
    flex: 0 0 auto;
}

.training-module-actions .btn {
    min-height: 2rem;
    padding-block: 0.35rem;
    white-space: nowrap;
}

.training-questionnaire-toggle__icon--close {
    display: none !important;
}

.training-questionnaire-toggle[aria-expanded="true"] .training-questionnaire-toggle__icon--open {
    display: none !important;
}

.training-questionnaire-toggle[aria-expanded="true"] .training-questionnaire-toggle__icon--close {
    display: inline-block !important;
}

.training-lesson-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.training-lesson-item__status {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: var(--surface-muted, #f3f6fb);
    color: var(--muted-color, #64748b);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.training-lesson-item__status svg {
    width: 0.95rem;
    height: 0.95rem;
}

.training-lesson-item__status--completed {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    border-color: rgba(22, 163, 74, 0.25);
}

.training-lesson-item__content {
    min-width: 0;
}

.training-lesson-item__title {
    display: block;
    font-weight: 600;
    line-height: 1.25;
}

.training-lesson-item__meta {
    display: block;
    color: var(--muted-color, #64748b);
}

.training-lesson-item--completed:not(.active) {
    background: rgba(22, 163, 74, 0.045);
}

.list-group-item.active .training-lesson-item__status {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.36);
}

.list-group-item.active .training-lesson-item__meta {
    color: rgba(255, 255, 255, 0.82);
}

.training-module-questionnaire-item {
    background: rgba(37, 99, 235, 0.035);
}

.training-module-questionnaire-item--locked {
    opacity: 0.72;
    cursor: not-allowed;
}

.training-module-questionnaire-item--locked:hover {
    background: rgba(148, 163, 184, 0.08);
}

.visual-time-picker {
    position: relative;
}

.visual-time-picker__trigger {
    display: inline-flex;
    width: 100%;
    align-items: center;
    gap: 0.55rem;
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    border: 1px solid #d8e1ee;
    border-radius: 0.85rem;
    background: #ffffff;
    color: #172033;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.visual-time-picker__trigger:hover,
.visual-time-picker__trigger[aria-expanded="true"] {
    border-color: rgba(var(--page-accent-rgb, 31, 95, 143), 0.45);
    box-shadow: 0 0 0 0.22rem rgba(var(--page-accent-rgb, 31, 95, 143), 0.10);
}

.visual-time-picker__trigger svg {
    width: 1rem;
    height: 1rem;
    color: rgba(var(--page-accent-rgb, 31, 95, 143), 0.92);
}

.visual-time-picker__panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.65rem);
    left: 0;
    width: min(22rem, calc(100vw - 2rem));
    padding: 1.15rem;
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 1.35rem;
    background: #fffafe;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.visual-time-picker__display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
    color: #1f0b4d;
    font-size: 2.2rem;
    font-weight: 700;
}

.visual-time-picker__display-part {
    min-width: 4.25rem;
    padding: 0.45rem 0.7rem;
    border: 0;
    border-radius: 0.65rem;
    background: #e9e1ee;
    color: #202024;
    font: inherit;
    line-height: 1.15;
}

.visual-time-picker__display-part.is-active {
    background: #e6d6ff;
    color: #25006b;
}

.visual-time-picker__body {
    min-height: 17rem;
}

.visual-time-picker__clock {
    position: relative;
    width: 17rem;
    height: 17rem;
    margin: 0 auto;
    border-radius: 50%;
    background: #e8e0ea;
}

.visual-time-picker__clock::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #6d4ab8;
    transform: translate(-50%, -50%);
}

.visual-time-picker__hand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6.4rem;
    height: 2px;
    background: #6d4ab8;
    transform-origin: left center;
    transform: rotate(-90deg);
    pointer-events: none;
}

.visual-time-picker__minute {
    position: absolute;
    width: 2.9rem;
    height: 2.9rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #17101c;
    font-weight: 500;
    transform: translate(-50%, -50%);
}

.visual-time-picker__minute.is-active {
    background: #6d4ab8;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(109, 74, 184, 0.28);
}

.visual-time-picker__minute--0 { top: 10%; left: 50%; }
.visual-time-picker__minute--5 { top: 15.4%; left: 70%; }
.visual-time-picker__minute--10 { top: 30%; left: 84.6%; }
.visual-time-picker__minute--15 { top: 50%; left: 90%; }
.visual-time-picker__minute--20 { top: 70%; left: 84.6%; }
.visual-time-picker__minute--25 { top: 84.6%; left: 70%; }
.visual-time-picker__minute--30 { top: 90%; left: 50%; }
.visual-time-picker__minute--35 { top: 84.6%; left: 30%; }
.visual-time-picker__minute--40 { top: 70%; left: 15.4%; }
.visual-time-picker__minute--45 { top: 50%; left: 10%; }
.visual-time-picker__minute--50 { top: 30%; left: 15.4%; }
.visual-time-picker__minute--55 { top: 15.4%; left: 30%; }

.visual-time-picker__hours {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.visual-time-picker__hours button {
    min-height: 2.7rem;
    border: 1px solid rgba(109, 74, 184, 0.18);
    border-radius: 0.85rem;
    background: #f4effb;
    color: #24104f;
    font-weight: 700;
}

.visual-time-picker__hours button.is-active {
    background: #6d4ab8;
    color: #ffffff;
}

.visual-time-picker__actions {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

@media (max-width: 575.98px) {
    .visual-time-picker__panel {
        position: fixed;
        top: 1rem;
        left: 1rem;
        right: 1rem;
        width: auto;
    }

    .visual-time-picker__clock {
        width: 15.5rem;
        height: 15.5rem;
    }
}

.dropdown-item-icon {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 500;
}

.dropdown-item-icon i,
.dropdown-item-icon svg {
    width: 0.95rem;
    height: 0.95rem;
    flex: 0 0 auto;
    color: #667085;
    stroke-width: 1.95;
}

.dropdown-item-icon.text-danger i,
.dropdown-item-icon.text-danger svg {
    color: currentColor;
}

.soft-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 800;
}

.soft-badge--info {
    background: #eef4ff;
    color: #175cd3;
}

.soft-badge--warning {
    background: #fffaeb;
    color: #b54708;
}

.soft-badge--danger {
    background: #fff1f3;
    color: #b42318;
}

.surface-card {
    padding: 1rem;
    border: 1px solid rgba(31, 51, 84, 0.09);
    border-radius: 1.15rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(31, 51, 84, 0.06);
}

.surface-card--muted {
    background: #f7fafc;
}

.surface-card--accent {
    border-color: rgba(var(--page-accent-rgb, 31, 95, 143), 0.14);
    background:
        radial-gradient(circle at bottom right, rgba(var(--page-accent-rgb, 31, 95, 143), 0.10), transparent 26rem),
        #ffffff;
}

.form-card .form-label,
.surface-card .form-label {
    color: #344054;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-card .form-control,
.form-card .form-select,
.surface-card .form-control,
.surface-card .form-select {
    border-color: #d8e1ee;
    border-radius: 0.85rem;
}

.form-card .form-control:focus,
.form-card .form-select:focus,
.surface-card .form-control:focus,
.surface-card .form-select:focus {
    border-color: rgba(var(--page-accent-rgb, 31, 95, 143), 0.45);
    box-shadow: 0 0 0 0.22rem rgba(var(--page-accent-rgb, 31, 95, 143), 0.10);
}

.report-generate-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.95fr) minmax(220px, 1fr) minmax(180px, 1fr) minmax(170px, 0.8fr);
    gap: 1rem;
    align-items: end;
}

.report-generate-field {
    min-width: 0;
}

.report-generate-field--conta {
    grid-column: 1;
    grid-row: 1;
}

.report-generate-field--politico {
    grid-column: 2 / span 2;
    grid-row: 1;
}

.report-generate-field--tipo {
    grid-column: 4;
    grid-row: 1;
}

.report-generate-field--nivel,
.report-generate-field--inicio,
.report-generate-field--fim {
    grid-row: 2;
}

.report-generate-field--social {
    grid-column: 1;
    grid-row: 3;
}

.report-generate-field--prompt {
    grid-column: 2 / span 2;
    grid-row: 3;
}

.report-generate-action {
    grid-column: 4;
    grid-row: 3;
    align-self: end;
}

.report-generate-action .btn {
    min-height: 2.85rem;
}

.report-option-check {
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(var(--page-accent-rgb, 31, 95, 143), 0.14);
    border-radius: 0.75rem;
    background: rgba(var(--page-accent-rgb, 31, 95, 143), 0.04);
}

.report-generate-message {
    grid-column: 1 / -1;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(var(--page-accent-rgb, 31, 95, 143), 0.12);
    border-radius: 0.85rem;
    background: rgba(var(--page-accent-rgb, 31, 95, 143), 0.05);
}

@media (max-width: 1199.98px) {
    .report-generate-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .report-generate-field {
        grid-column: span 2;
        grid-row: auto;
    }

    .report-generate-field--conta,
    .report-generate-field--politico {
        grid-column: span 3;
    }

    .report-generate-field--prompt {
        grid-column: span 4;
        grid-row: auto;
    }

    .report-generate-action {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 767.98px) {
    .report-generate-grid {
        grid-template-columns: 1fr;
    }

    .report-generate-field,
    .report-generate-field--conta,
    .report-generate-field--politico,
    .report-generate-field--tipo,
    .report-generate-field--nivel,
    .report-generate-field--inicio,
    .report-generate-field--fim,
    .report-generate-field--prompt,
    .report-generate-action {
        grid-column: auto;
        grid-row: auto;
    }
}

.politico-form-card {
    padding: 1.25rem;
}

.politico-tabs {
    gap: 0.35rem;
    border-bottom-color: #d8e1ee;
}

.politico-tabs .nav-link {
    border-radius: 0.85rem 0.85rem 0 0;
    color: #526173;
    font-weight: 800;
}

.politico-tabs .nav-link.active {
    color: var(--radar-blue);
    border-color: #d8e1ee #d8e1ee #ffffff;
}

.politico-tab-content {
    padding-top: 1.25rem;
}

.action-card-grid,
.summary-card-grid,
.meta-card-grid {
    display: grid;
    gap: 0.85rem;
}

.action-card-grid {
    grid-template-columns: repeat(var(--action-card-columns, 3), minmax(0, 1fr));
}

.action-card-grid--two {
    --action-card-columns: 2;
}

.summary-card-grid {
    grid-template-columns: repeat(var(--summary-card-columns, 4), minmax(0, 1fr));
}

.summary-card-grid--5 {
    --summary-card-columns: 5;
}

.summary-card-grid--6 {
    --summary-card-columns: 6;
}

.meta-card-grid {
    grid-template-columns: repeat(var(--meta-card-columns, 4), minmax(0, 1fr));
    margin-bottom: 1rem;
}

.meta-card-grid--3 {
    --meta-card-columns: 3;
}

.action-card {
    display: flex;
    flex-direction: column;
    min-height: 13rem;
    padding: 1rem;
    border: 1px solid rgba(31, 51, 84, 0.08);
    border-radius: 1.15rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(31, 51, 84, 0.06);
}

.action-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.85rem;
    border-radius: 0.9rem;
    background: rgba(var(--page-accent-rgb, 31, 95, 143), 0.11);
    color: var(--page-accent, var(--radar-blue));
    font-weight: 900;
}

.action-card h3 {
    margin-bottom: 0.35rem;
    color: #1d2939;
    font-size: 1.05rem;
    font-weight: 800;
}

.action-card p {
    color: #667085;
    font-size: 0.9rem;
}

.action-card__footer {
    margin-top: auto;
}

.summary-card,
.meta-card {
    position: relative;
    overflow: hidden;
    padding: 0.95rem;
    border: 1px solid rgba(31, 51, 84, 0.08);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(31, 51, 84, 0.05);
}

.summary-card::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    bottom: -0.75rem;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 999px;
    background: var(--summary-accent, rgba(var(--page-accent-rgb, 31, 95, 143), 0.12));
}

.summary-card span,
.meta-card span {
    display: block;
    color: #667085;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.summary-card strong {
    display: block;
    margin-top: 0.2rem;
    color: #1d2939;
    font-size: 1.7rem;
    line-height: 1;
}

.meta-card {
    min-height: 5.6rem;
}

.meta-card strong {
    display: block;
    margin-top: 0.25rem;
    color: #1d2939;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.meta-card a {
    display: block;
    margin-top: 0.25rem;
    color: var(--page-accent, var(--radar-blue));
    font-size: 0.95rem;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.meta-card a:hover {
    text-decoration: underline;
}

.summary-card--success {
    --summary-accent: rgba(18, 183, 106, 0.14);
}

.summary-card--warning {
    --summary-accent: rgba(247, 144, 9, 0.16);
}

.summary-card--danger {
    --summary-accent: rgba(240, 68, 56, 0.14);
}

.surface-panel {
    border: 1px solid rgba(31, 51, 84, 0.08);
    border-radius: 1.15rem;
    box-shadow: 0 12px 30px rgba(31, 51, 84, 0.05);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.58rem;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.status-pill[data-status="CONCLUIDA"],
.status-pill[data-status="CONCLUIDO"],
.status-pill[data-status="ATIVA"],
.status-pill[data-status="PUBLICADO"],
.status-pill[data-status="SUCESSO"],
.status-pill[data-status="RESOLVIDO"],
.status-pill[data-status="RESPONDIDA"],
.status-pill[data-status="NOVO"],
.status-pill[data-status="BAIXO"],
.status-pill[data-status="EM_EXERCICIO"],
.status-pill[data-status="CONCLUIDO"],
.status-pill[data-status="APROVADO"],
.status-pill[data-status="ENVIADO"],
.status-pill[data-ia-status="GERADO_COM_IA"],
.status-pill--success {
    background: #ecfdf3;
    color: #027a48;
}

.status-pill[data-status="PROCESSANDO"],
.status-pill[data-status="EM_EXECUCAO"],
.status-pill[data-status="EM_ANALISE"],
.status-pill[data-status="EM_ANDAMENTO"],
.status-pill[data-status="EM_REVISAO"],
.status-pill[data-status="REGISTRADO"],
.status-pill[data-status="AGENDADA"],
.status-pill[data-status="MODERADO"],
.status-pill[data-status="SUPLENTE_EM_EXERCICIO"],
.status-pill[data-status="LICENCIADO"],
.status-pill[data-status="GERANDO"],
.status-pill[data-ia-status="GERANDO"],
.status-pill--info {
    background: #eef4ff;
    color: #175cd3;
}

.status-pill[data-status="CONCLUIDA_COM_ERROS"],
.status-pill[data-status="BASICO_SEM_IA"],
.status-pill[data-status="PENDENTE"],
.status-pill[data-status="PENDENTE_VALIDACAO"],
.status-pill[data-status="RASCUNHO"],
.status-pill[data-status="NOVA"],
.status-pill[data-status="PAUSADA"],
.status-pill[data-status="NUNCA_EXECUTADA"],
.status-pill[data-status="SUCESSO_COM_ALERTAS"],
.status-pill[data-status="ABERTO"],
.status-pill[data-status="DUPLICADO"],
.status-pill[data-status="ALTO"],
.status-pill[data-status="TRIAL"],
.status-pill[data-status="INADIMPLENTE"],
.status-pill[data-status="TESTE"],
.status-pill[data-status="AGUARDANDO_PAGAMENTO"],
.status-pill[data-status="VENCIDA"],
.status-pill[data-status="SUSPENSA"],
.status-pill[data-status="NAO_INICIADO"],
.status-pill[data-status="PARCIALMENTE_CONCLUIDO"],
.status-pill[data-status="PENDENTE_EVIDENCIA"],
.status-pill[data-status="AGUARDANDO_TERCEIRO"],
.status-pill[data-status="PARALISADO"],
.status-pill[data-status="PRECISA_COMUNICACAO_PUBLICA"],
.status-pill[data-status="INTERINO"],
.status-pill[data-status="SEM_DADOS"],
.status-pill[data-status="SIMULADO"],
.status-pill[data-ia-status="BASICO_SEM_IA"],
.status-pill--warning {
    background: #fff4e5;
    color: #b54708;
}

.status-pill[data-status="ERRO"],
.status-pill[data-status="COM_ERRO"],
.status-pill[data-status="BLOQUEADA"],
.status-pill[data-status="INVALIDO"],
.status-pill[data-status="INATIVO"],
.status-pill[data-status="INATIVA"],
.status-pill[data-status="CANCELADA"],
.status-pill[data-status="IGNORADO"],
.status-pill[data-status="CRITICO"],
.status-pill[data-status="CANCELADO"],
.status-pill[data-status="ARQUIVADO"],
.status-pill[data-status="ARQUIVADA"],
.status-pill[data-status="REPROVADO"],
.status-pill[data-status="ERRO_PAGAMENTO"],
.status-pill[data-status="ENCERRADO"],
.status-pill[data-status="HISTORICO"],
.status-pill[data-status="DESCONHECIDO"],
.status-pill[data-ia-status="ERRO"],
.status-pill--danger {
    background: #fff1f3;
    color: #c01048;
}

.status-pill[data-status="GERADO_COM_FALLBACK"],
.status-pill[data-ia-status="GERADO_COM_FALLBACK"],
.status-pill--teal {
    background: #e6f7fb;
    color: #087f95;
}

.quick-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.quick-filter-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(var(--page-accent-rgb, 31, 95, 143), 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--page-accent, var(--radar-blue));
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.quick-filter-pill:hover {
    background: rgba(var(--page-accent-rgb, 31, 95, 143), 0.08);
}

.alert-timeline {
    display: grid;
    gap: 1rem;
}

.alert-timeline__item {
    display: grid;
    grid-template-columns: 0.9rem 1fr;
    gap: 0.75rem;
}

.alert-timeline__marker {
    width: 0.7rem;
    height: 0.7rem;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: var(--page-accent, var(--radar-blue));
    box-shadow: 0 0 0 0.25rem rgba(var(--page-accent-rgb, 31, 95, 143), 0.12);
}

.data-table {
    margin-bottom: 0;
}

.data-table thead th {
    border-bottom: 1px solid rgba(31, 51, 84, 0.08);
    color: #667085;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.data-table tbody td {
    border-color: rgba(31, 51, 84, 0.06);
    vertical-align: middle;
}

.data-table tr[data-status="ERRO"] td,
.data-table tr[data-status="CONCLUIDA_COM_ERROS"] td,
.data-table tr.row-attention td {
    background: rgba(255, 244, 229, 0.42);
}

.intelligence-actions-table-wrap {
    min-height: 18rem;
}

.intelligence-actions-table-wrap .dropdown-menu {
    z-index: 1080;
}

.trend-comparison-chart {
    position: relative;
    height: 28rem;
    min-height: 28rem;
}

.trend-comparison-chart canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: none;
}

.trend-comparison-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.trend-comparison-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.trend-comparison-actions .btn {
    white-space: nowrap;
}

.trend-comparison-range {
    align-items: center;
    border-bottom: 1px solid var(--radar-border);
    display: flex;
    justify-content: space-between;
    padding-bottom: .75rem;
}

.trend-comparison-range .form-select {
    min-width: 7.5rem;
}

.trend-comparison-indicators .summary-card strong {
    font-size: 1.05rem;
    line-height: 1.25;
}

.dashboard-search-trends .dashboard-panel {
    gap: 1rem;
}

.trend-dashboard-list,
.trend-dashboard-comparison-grid {
    display: grid;
    gap: .75rem;
}

.trend-dashboard-card,
.trend-dashboard-comparison {
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    color: inherit;
    display: block;
    padding: .85rem;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.trend-dashboard-card:hover,
.trend-dashboard-card:focus-visible,
.trend-dashboard-comparison:hover,
.trend-dashboard-comparison:focus-visible {
    border-color: var(--radar-blue);
    box-shadow: 0 14px 32px rgba(18, 48, 74, .12);
    color: inherit;
    transform: translateY(-1px);
}

.trend-dashboard-card {
    align-items: start;
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.trend-dashboard-card__main {
    min-width: 0;
}

.trend-dashboard-card__main strong,
.trend-dashboard-comparison__header strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trend-dashboard-card__main small,
.trend-dashboard-comparison__header small,
.trend-dashboard-comparison__terms small {
    color: #64748b;
    display: block;
}

.trend-dashboard-spark-wrap {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    grid-column: 1 / -1;
    padding: .55rem .65rem .4rem;
}

.trend-dashboard-spark-wrap small {
    color: #64748b;
    display: block;
    font-size: .7rem;
    margin-top: .25rem;
    text-align: right;
}

.trend-dashboard-spark {
    align-items: end;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    gap: .32rem;
    height: 3.75rem;
    min-width: 100%;
    padding: .25rem .1rem 0;
}

.trend-dashboard-spark span {
    background: linear-gradient(180deg, #2563eb 0%, #1f5f8f 100%);
    border-radius: 6px 6px 0 0;
    display: block;
    flex: 1 1 0;
    min-height: .35rem;
    opacity: .9;
    height: max(.35rem, var(--trend-height));
    transition: opacity .16s ease, transform .16s ease;
}

.trend-dashboard-spark span:hover {
    opacity: 1;
    transform: scaleY(1.04);
}

.trend-dashboard-spark .trend-dashboard-spark__bar--empty {
    background: #cbd5e1;
    min-height: .2rem;
    opacity: .55;
}

.trend-dashboard-comparison__header {
    align-items: flex-start;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.trend-dashboard-comparison__header > div {
    min-width: 0;
}

.trend-dashboard-comparison__header > span {
    background: #eef4ff;
    border-radius: 999px;
    color: var(--radar-blue);
    flex: 0 0 auto;
    font-size: .75rem;
    font-weight: 700;
    max-width: 11rem;
    overflow: hidden;
    padding: .2rem .5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trend-dashboard-comparison__terms {
    display: grid;
    gap: .45rem;
}

.trend-dashboard-comparison__term {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: .65rem;
    grid-template-columns: minmax(8rem, .75fr) minmax(7rem, 1fr) auto;
    min-height: 3rem;
    padding: .5rem .65rem;
}

.trend-dashboard-comparison__term-label {
    min-width: 0;
}

.trend-dashboard-comparison__term-label strong {
    display: block;
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trend-dashboard-comparison__term-label small {
    color: #64748b;
    display: block;
    font-size: .76rem;
    line-height: 1.1;
}

.trend-dashboard-comparison__bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: .5rem;
    overflow: hidden;
}

.trend-dashboard-comparison__bar span {
    background: linear-gradient(90deg, #2563eb 0%, #16a34a 100%);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: .35rem;
    width: var(--trend-width);
}

.trend-dashboard-comparison__delta {
    min-width: 2.25rem;
    text-align: center;
}

.trend-dashboard-comparison__term:nth-child(2n) .trend-dashboard-comparison__bar span {
    background: linear-gradient(90deg, #0f766e 0%, #f59e0b 100%);
}

.trend-dashboard-comparison__term:nth-child(3n) .trend-dashboard-comparison__bar span {
    background: linear-gradient(90deg, #7c3aed 0%, #2563eb 100%);
}

@media (min-width: 768px) {
    .intelligence-actions-table-wrap .table-responsive {
        overflow: visible;
    }
}

@media (max-width: 991.98px) {
    .trend-comparison-heading,
    .trend-comparison-range {
        display: block;
    }

    .trend-comparison-actions {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .trend-comparison-chart {
        height: 24rem;
        min-height: 24rem;
    }

    .trend-dashboard-card {
        grid-template-columns: 1fr;
    }

    .trend-dashboard-spark {
        width: 100%;
    }

    .trend-dashboard-comparison__header {
        display: block;
    }

    .trend-dashboard-comparison__header > span {
        display: inline-block;
        margin-top: .5rem;
        max-width: 100%;
    }

    .trend-dashboard-comparison__term {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .trend-dashboard-comparison__bar {
        grid-column: 1 / -1;
        order: 3;
    }
}

.cell-message {
    max-width: 24rem;
    color: #667085;
    font-size: 0.82rem;
}

.responsive-card {
    padding: 0.95rem;
    border: 1px solid rgba(31, 51, 84, 0.08);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(31, 51, 84, 0.05);
}

.responsive-card + .responsive-card {
    margin-top: 0.8rem;
}

.responsive-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.responsive-card__meta--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    color: #667085;
    font-size: 0.85rem;
}

.responsive-card__meta--grid strong {
    display: block;
    color: #1d2939;
}

.empty-state {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #667085;
}

.empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.75rem;
    border-radius: 1rem;
    background: var(--page-accent-soft, #eef4ff);
    color: var(--page-accent, #175cd3);
    font-weight: 900;
}

.info-card {
    height: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(31, 51, 84, 0.08);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.info-card__label {
    color: #667085;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alert-soft {
    border: 0;
    border-radius: 1rem;
}

.alert-soft--legal {
    background: #fff8e1;
    color: #624a00;
}

.alert-soft--info {
    background: #eef4ff;
    color: #175cd3;
}

.alert-soft--warning {
    background: #fffaeb;
    color: #93370d;
}

.alert-soft--danger {
    padding: 1.2rem;
    border: 1px solid rgba(240, 68, 56, 0.16);
    background: #fff1f3;
    color: #912018;
}

.toolbar-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(31, 51, 84, 0.08);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.technical-card {
    border: 1px solid rgba(31, 51, 84, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
}

.technical-card .accordion-button {
    font-weight: 800;
}

.copy-feedback {
    color: #027a48;
    font-size: 0.85rem;
    font-weight: 700;
}

.text-pre-line {
    white-space: pre-line;
}

.text-pre-wrap {
    white-space: pre-wrap;
}

.text-clamp-2,
.text-clamp-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.text-clamp-2 {
    -webkit-line-clamp: 2;
}

.text-clamp-3 {
    -webkit-line-clamp: 3;
}

.column-fit {
    width: 1%;
    white-space: nowrap;
}

.column-select {
    width: 2.75rem;
}

.column-actions-sm {
    width: 80px;
}

.column-order {
    width: 110px;
}

.column-active {
    width: 120px;
}

.column-featured {
    width: 130px;
}

.column-number-sm {
    width: 90px;
}

.column-number {
    width: 100px;
}

.column-color {
    width: 140px;
}

.column-label {
    width: 170px;
}

.column-description-min {
    min-width: 240px;
}

.column-icon-min {
    min-width: 190px;
}

.max-w-520 {
    max-width: 520px;
}

.w-17 {
    width: 17%;
}

.sticky-top-1 {
    top: 1rem;
}

.dynamic-width {
    width: var(--dynamic-width, 0%);
}

.dynamic-height {
    height: var(--dynamic-height, 0%);
}

.dynamic-min-height {
    height: var(--dynamic-height, 0%);
    min-height: var(--dynamic-min-height, 0);
}

.dynamic-bg {
    background: var(--dynamic-bg, #6c757d);
}

.color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

@media (max-width: 1199.98px) {
    .action-card-grid,
    .summary-card-grid,
    .meta-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        margin-inline: -0.75rem;
        padding: 1rem;
    }

    .page-hero__actions,
    .action-row {
        justify-content: stretch;
    }

    .page-hero__actions .btn,
    .action-row .btn,
    .action-row .dropdown {
        width: 100%;
    }

    .training-module-actions {
        justify-content: flex-end;
    }

    .training-module-actions .btn,
    .training-module-actions form {
        width: auto;
    }

    .action-card-grid,
    .summary-card-grid,
    .meta-card-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-title-icon {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.dashboard-panel-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    background: #f7fafc;
}

.dashboard-panel-icon img {
    width: 18px;
    height: 18px;
    display: block;
}

.chart-placeholder {
    min-height: 280px;
    display: grid;
    grid-template-columns: repeat(7, minmax(24px, 1fr));
    align-items: end;
    gap: 12px;
    padding: 18px;
    background: #f7fafc;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
}

.chart-placeholder div {
    min-height: 36px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, var(--radar-blue), var(--radar-green));
}

.sentiment-list {
    display: grid;
    gap: 12px;
}

.sentiment-list div {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--radar-border);
}

.sentiment-list div:last-child {
    border-bottom: 0;
}

.report-content {
    white-space: pre-wrap;
    line-height: 1.7;
    padding: 18px;
    background: #f7fafc;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
}

.legal-note {
    border-color: #bdd7eb;
}

.executive-report {
    display: grid;
    gap: 16px;
}

.executive-report__summary {
    padding: 18px;
    border: 1px solid #cfe0ee;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbfe, #ffffff);
}

.executive-report__summary p {
    margin: 0;
    color: #24384a;
    font-size: 1rem;
    line-height: 1.7;
}

.executive-report__summary-list {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.executive-report__summary-list li {
    padding-left: 12px;
    border-left: 3px solid #9fb8cf;
    color: #33495f;
    line-height: 1.45;
}

.executive-report__indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.executive-report__indicators article {
    padding: 14px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 36, 56, 0.05);
}

.executive-report__indicators span {
    display: block;
    color: #607080;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.executive-report__indicators strong {
    display: block;
    margin-top: 6px;
    color: var(--radar-navy);
    font-size: 1.35rem;
}

.executive-report__sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.executive-section {
    min-width: 0;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.executive-section__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--radar-border);
    background: #f7fafc;
}

.executive-section__number {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 8px;
    background: var(--radar-navy);
    color: #ffffff;
    font-weight: 900;
}

.executive-section__header h3 {
    margin: 0;
    color: var(--radar-navy);
    font-size: 0.95rem;
}

.executive-section__body {
    padding: 16px;
    color: #24384a;
    line-height: 1.65;
}

.executive-section__body p:last-child {
    margin-bottom: 0;
}

.executive-section__body ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.executive-section__body li {
    padding-left: 14px;
    border-left: 3px solid #cfe0ee;
}

.executive-section--riscos .executive-section__body li {
    border-left-color: var(--radar-red);
}

.executive-section--oportunidades .executive-section__body li,
.executive-section--recomendacoes .executive-section__body li {
    border-left-color: var(--radar-green);
}

.executive-evidence {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.executive-evidence span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #eef5fb;
    color: var(--radar-blue);
    font-size: 0.75rem;
    font-weight: 800;
}

.executive-raw .accordion-button {
    font-weight: 800;
    color: var(--radar-navy);
}

@media (max-width: 992px) {
    .executive-report__sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .executive-report__summary,
    .executive-section__body,
    .executive-section__header {
        padding: 14px;
    }

    .executive-report__indicators {
        grid-template-columns: 1fr;
    }
}

.review-summary-card {
    min-height: 118px;
}

.review-summary-card strong {
    color: var(--radar-blue);
}

.review-summary-card--warning strong {
    color: var(--radar-amber);
}

.review-summary-card--danger strong {
    color: var(--radar-red);
}

.review-filter,
.review-batch {
    padding: 14px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.review-batch {
    background: #ffffff;
}

.review-table-wrap {
    border: 1px solid var(--radar-border);
    border-radius: 8px;
}

.review-table {
    min-width: 980px;
    margin-bottom: 0;
}

.review-table thead th {
    color: #405160;
    background: #f7fafc;
    border-bottom: 1px solid var(--radar-border);
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.review-table tbody td {
    vertical-align: top;
    border-color: #e6edf3;
}

.review-select-col {
    width: 56px;
}

.review-mention-cell {
    width: 42%;
    min-width: 360px;
}

.review-mention-title {
    color: var(--radar-navy);
}

.review-mention-excerpt,
.review-justification {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

.review-mention-excerpt {
    max-width: 680px;
    color: #344757;
    font-size: 0.92rem;
    line-height: 1.45;
    -webkit-line-clamp: 3;
}

.review-mention-excerpt--modal {
    max-width: none;
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.review-justification {
    max-width: 240px;
    -webkit-line-clamp: 2;
}

.review-badge {
    padding: 0.42rem 0.55rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
}

.review-badge--positive,
.review-badge--success {
    color: #17633c;
    background: #e5f5ec;
    border-color: #bfdfcd;
}

.review-badge--neutral,
.review-badge--status {
    color: #1f5f8f;
    background: #e7f1f8;
    border-color: #c7ddec;
}

.review-badge--negative,
.review-badge--danger {
    color: #9f2d2d;
    background: #f8e8e8;
    border-color: #edc5c5;
}

.review-badge--warning {
    color: #8a5d10;
    background: #fbf0d9;
    border-color: #ead09d;
}

.review-badge--muted {
    color: #506070;
    background: #eef3f7;
    border-color: #d7e0e8;
}

.fonte-filter {
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.source-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.source-url {
    max-width: 360px;
    overflow-wrap: anywhere;
    font-size: 0.88rem;
}

.source-editor .alert {
    border-radius: 1rem;
}

.source-editor-form {
    display: grid;
    gap: 1rem;
}

.source-form-main {
    display: grid;
    gap: 1rem;
}

.source-section-card {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border: 1px solid rgba(31, 51, 84, 0.09);
    border-radius: 1.15rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(31, 51, 84, 0.06);
}

.source-section-card--primary {
    border-color: rgba(var(--page-accent-rgb, 31, 95, 143), 0.14);
    background:
        radial-gradient(circle at top right, rgba(var(--page-accent-rgb, 31, 95, 143), 0.10), transparent 24rem),
        #ffffff;
}

.source-section-card__header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.source-section-card__header p {
    margin: 0.25rem 0 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.45;
}

.source-section-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    border-radius: 0.9rem;
    background: rgba(var(--page-accent-rgb, 31, 95, 143), 0.10);
    color: var(--page-accent, var(--radar-blue));
}

.source-section-card__icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.source-form-section {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--radar-navy);
    font-size: 1.02rem;
    font-weight: 900;
}

.source-section-card .form-label {
    color: #344054;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.source-section-card .form-control,
.source-section-card .form-select {
    border-color: #d8e1ee;
    border-radius: 0.85rem;
}

.source-section-card .form-control:focus,
.source-section-card .form-select:focus {
    border-color: rgba(var(--page-accent-rgb, 31, 95, 143), 0.45);
    box-shadow: 0 0 0 0.22rem rgba(var(--page-accent-rgb, 31, 95, 143), 0.10);
}

.source-form-guidance {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(var(--page-accent-rgb, 31, 95, 143), 0.12);
    border-radius: 1rem;
    background: rgba(var(--page-accent-rgb, 31, 95, 143), 0.05);
}

.source-form-guidance span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #526173;
    font-size: 0.86rem;
    font-weight: 700;
}

.source-form-guidance svg {
    width: 1rem;
    height: 1rem;
    color: var(--page-accent, var(--radar-blue));
}

.source-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(31, 51, 84, 0.09);
    border-radius: 1.15rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(31, 51, 84, 0.06);
}

.source-form-actions strong {
    display: block;
    color: var(--radar-navy);
    font-weight: 900;
}

.source-form-actions span {
    color: #667085;
    font-size: 0.9rem;
}

.source-form-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

@media (max-width: 767.98px) {
    .source-section-card,
    .source-form-actions {
        border-radius: 1rem;
    }

    .source-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .source-form-actions__buttons,
    .source-form-actions__buttons .btn {
        width: 100%;
    }
}

.import-file-page .alert {
    line-height: 1.55;
}

.import-help-card {
    padding: 18px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #fbfdff;
}

.import-help-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.import-help-card__header h3 {
    margin: 0 0 4px;
    color: var(--radar-navy);
    font-size: 1rem;
    font-weight: 800;
}

.import-help-card__header p {
    margin: 0;
    color: #607080;
}

.import-template-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.import-field-guide {
    margin: 0;
    padding: 14px;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    background: #ffffff;
}

.import-field-guide dt {
    color: var(--radar-navy);
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.import-field-guide dd {
    margin: 4px 0 12px;
    color: #526173;
    font-size: 0.9rem;
    line-height: 1.55;
}

.import-field-guide dd:last-child {
    margin-bottom: 0;
}

.import-field-guide code {
    color: #174b72;
}

.termometro-rule-form .alert {
    line-height: 1.55;
}

.termometro-form-block {
    height: 100%;
    padding: 18px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #fbfdff;
}

.termometro-form-block--compact {
    padding: 16px;
}

.termometro-form-block__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.termometro-form-block__header h3 {
    margin: 0 0 4px;
    color: var(--radar-navy);
    font-size: 1rem;
    font-weight: 800;
}

.termometro-form-block__header p {
    margin: 0;
    color: #607080;
}

.termometro-calculation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.termometro-field-card {
    min-height: 130px;
    padding: 12px;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    background: #ffffff;
}

.termometro-field-card .form-label {
    margin-bottom: 6px;
    color: var(--radar-navy);
    font-size: 0.88rem;
    font-weight: 800;
}

.termometro-field-card .form-control {
    min-height: 38px;
}

.termometro-field-card .form-text {
    margin-top: 6px;
    color: #607080;
    font-size: 0.78rem;
    line-height: 1.35;
}

.termometro-formula-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 14px;
    align-items: stretch;
}

.termometro-formula {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    background: #ffffff;
    overflow-wrap: anywhere;
}

.termometro-formula span {
    color: #607080;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.termometro-formula code {
    color: #174b72;
    font-size: 0.92rem;
    line-height: 1.5;
    white-space: normal;
}

.termometro-formula small {
    color: #607080;
}

.termometro-formula-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.termometro-formula-summary div {
    padding: 10px 12px;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    background: #ffffff;
}

.termometro-formula-summary strong {
    display: block;
    margin-bottom: 4px;
    color: var(--radar-navy);
    font-size: 0.85rem;
}

.termometro-formula-summary p {
    margin: 0;
    color: #607080;
    font-size: 0.82rem;
    line-height: 1.4;
}

.termometro-formula-note {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid #f0d9a5;
    border-radius: 8px;
    background: #fff8e8;
    color: #6f4b0f;
    font-size: 0.84rem;
    line-height: 1.45;
}

.termometro-help-card,
.termometro-test-result {
    padding: 16px;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    background: #ffffff;
}

.termometro-help-card h4 {
    margin: 0 0 8px;
    color: var(--radar-navy);
    font-size: 0.95rem;
    font-weight: 800;
}

.termometro-test-result {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background:
        linear-gradient(135deg, rgba(31, 95, 143, 0.08), rgba(47, 143, 91, 0.08)),
        #ffffff;
}

.termometro-test-result span {
    color: #607080;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.termometro-test-result strong {
    color: var(--radar-navy);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.termometro-test-result b {
    color: var(--radar-blue);
}

.termometro-test-result p,
.termometro-test-result small {
    margin: 0;
    color: #526173;
}

@media (max-width: 991.98px) {
    .termometro-formula-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .termometro-form-block__header {
        display: block;
    }

    .termometro-form-block__header .btn {
        margin-top: 12px;
        width: 100%;
    }

    .termometro-calculation-grid,
    .termometro-formula-summary {
        grid-template-columns: 1fr;
    }
}

.source-check {
    height: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.source-check:hover {
    background: transparent;
    box-shadow: none;
}

.source-check .form-check-input {
    margin: 0;
    width: 0.95rem;
    height: 0.95rem;
}

.source-check .form-check-label {
    color: #344054;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.25;
}

.review-subjects {
    max-width: 260px;
}

.review-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    min-width: 240px;
}

.dashboard-page {
    max-width: 1560px;
}

.dashboard-hero {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #cfdbe5;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(31, 95, 143, 0.08), transparent 38%),
        linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: 0 16px 42px rgba(18, 48, 74, 0.08);
}

.dashboard-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 22px;
    align-items: start;
    margin-bottom: 18px;
}

.dashboard-hero__main {
    min-width: 0;
}

.dashboard-hero h1 {
    margin: 4px 0 6px;
    color: var(--radar-navy);
    font-size: clamp(1.55rem, 2.3vw, 2.25rem);
    font-weight: 800;
}

.dashboard-hero__account {
    display: inline-flex;
    margin-bottom: 8px;
    color: #405160;
    font-size: 0.95rem;
}

.dashboard-hero p {
    margin: 0;
    color: #607080;
    line-height: 1.6;
}

.dashboard-hero__brief {
    display: grid;
    gap: 3px;
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #d6e3ee;
    border-left: 4px solid var(--radar-blue);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: #405160;
}

.dashboard-hero__brief > span {
    color: #607080;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.dashboard-hero__brief strong {
    color: var(--radar-navy);
    font-size: 0.92rem;
    line-height: 1.35;
}

.dashboard-hero__brief small {
    color: #607080;
    font-size: 0.78rem;
    font-weight: 700;
}

.dashboard-hero__context {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 11px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.dashboard-hero__context > span {
    position: relative;
    min-height: 50px;
    flex: 0 1 auto;
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: start;
    gap: 5px;
    padding: 0.9rem 0.62rem 0.42rem;
    border: 1px solid #d6e3ee;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #405160;
}

.dashboard-hero__context-icon {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d6e3ee;
    border-radius: 7px;
    background: #ffffff;
    color: var(--radar-blue);
    box-shadow: 0 4px 10px rgba(18, 48, 74, 0.08);
}

.dashboard-hero__context-icon svg,
.dashboard-hero__context-icon i {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
}

.dashboard-hero__context-text {
    display: grid;
    gap: 2px;
    justify-items: center;
    min-width: 0;
    max-width: 100%;
    text-align: center;
}

.dashboard-hero__context strong {
    display: block;
    color: #607080;
    font-size: 0.62rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
}

.dashboard-hero__context-text > span {
    overflow: hidden;
    color: #32485b;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.22;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-hero__side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
}

.dashboard-mobile-priority {
    display: none;
}

.dashboard-mobile-priority__item {
    display: grid;
    gap: 2px;
    min-width: 0;
    min-height: 74px;
    padding: 10px;
    border: 1px solid #d6e3ee;
    border-left: 4px solid var(--radar-blue);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(16, 36, 56, 0.05);
}

.dashboard-mobile-priority__item span,
.dashboard-mobile-priority__item small {
    overflow: hidden;
    color: #607080;
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1.15;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-mobile-priority__item strong {
    color: var(--radar-navy);
    font-size: 1.45rem;
    line-height: 1;
}

.dashboard-mobile-priority__item--score {
    border-left-color: var(--radar-green);
}

.dashboard-mobile-priority__item--alert,
.dashboard-mobile-priority__item--crisis {
    border-left-color: var(--radar-amber);
}

.dashboard-hero__score,
.dashboard-hero__sentiment {
    min-height: 112px;
    border: 1px solid #d6e3ee;
    border-radius: 8px;
    background: linear-gradient(180deg, #f7fafc, #ffffff);
}

.dashboard-hero__score {
    --hero-thermo-color: var(--radar-blue);
    display: grid;
    grid-template-columns: 28px minmax(58px, 0.75fr) minmax(94px, 1fr);
    gap: 11px;
    align-items: center;
    padding: 14px;
}

.dashboard-hero__score.thermo-status-critico {
    --hero-thermo-color: var(--radar-red);
}

.dashboard-hero__score.thermo-status-atencao {
    --hero-thermo-color: var(--radar-amber);
}

.dashboard-hero__score.thermo-status-estavel {
    --hero-thermo-color: var(--radar-blue);
}

.dashboard-hero__score.thermo-status-positivo,
.dashboard-hero__score.thermo-status-excelente {
    --hero-thermo-color: var(--radar-green);
}

.dashboard-hero__thermo {
    position: relative;
    width: 24px;
    height: 76px;
    justify-self: center;
}

.dashboard-hero__thermo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7px;
    width: 10px;
    height: 58px;
    border: 1px solid #cfdbe5;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 3px #f7fafc;
}

.dashboard-hero__thermo span {
    position: absolute;
    left: 10px;
    bottom: 18px;
    width: 4px;
    height: var(--hero-thermo-score);
    max-height: 50px;
    min-height: 3px;
    border-radius: 999px;
    background: var(--hero-thermo-color);
    z-index: 1;
}

.dashboard-hero__thermo::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #cfdbe5;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.78), transparent 30%),
        var(--hero-thermo-color);
    box-shadow: inset 0 0 0 4px #ffffff;
}

.dashboard-hero__score > div:last-child {
    min-width: 0;
}

.dashboard-hero__score > div:last-child span,
.dashboard-hero__score small {
    display: block;
    color: #607080;
    font-weight: 700;
}

.dashboard-hero__score strong {
    display: block;
    color: var(--hero-thermo-color);
    font-size: 2.35rem;
    line-height: 1;
}

.dashboard-hero__thermo-legend {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-hero__thermo-legend-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    color: #607080;
    font-size: 0.66rem;
    line-height: 1.1;
    white-space: nowrap;
}

.dashboard-hero__thermo-legend-item span {
    color: #728294;
    font-weight: 800;
}

.dashboard-hero__thermo-legend-item strong {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #405160;
    font-size: 0.68rem;
    line-height: 1.1;
}

.dashboard-hero__thermo-legend-item strong::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #94a3b8;
}

.dashboard-hero__thermo-legend-item--critico strong::before {
    background: var(--radar-red);
}

.dashboard-hero__thermo-legend-item--atencao strong::before {
    background: var(--radar-amber);
}

.dashboard-hero__thermo-legend-item--estavel strong::before {
    background: var(--radar-blue);
}

.dashboard-hero__thermo-legend-item--positivo strong::before,
.dashboard-hero__thermo-legend-item--excelente strong::before {
    background: var(--radar-green);
}

.dashboard-hero__sentiment {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.dashboard-hero__sentiment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard-hero__sentiment-head > strong {
    color: var(--radar-navy);
    font-size: 0.94rem;
}

.dashboard-hero__sentiment-head > span {
    flex: 0 1 auto;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    background: #eef6ff;
    color: var(--radar-blue);
    font-size: 0.68rem;
    font-weight: 850;
    white-space: nowrap;
}

.dashboard-hero__sentiment-trend--warning {
    background: rgba(247, 144, 9, 0.14) !important;
    color: #b35c00 !important;
}

.dashboard-hero__sentiment-trend--success {
    background: rgba(18, 183, 106, 0.13) !important;
    color: #087443 !important;
}

.dashboard-hero__sentiment-trend--danger {
    background: rgba(240, 68, 56, 0.12) !important;
    color: #b42318 !important;
}

.dashboard-hero__sentiment-list {
    display: grid;
    gap: 9px;
}

.dashboard-hero__sentiment-row {
    display: grid;
    gap: 5px;
    color: #405160;
    font-size: 0.78rem;
}

.dashboard-hero__sentiment-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard-hero__sentiment-line span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dashboard-hero__sentiment-line span::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #94a3b8;
}

.dashboard-hero__sentiment-row--positive .dashboard-hero__sentiment-line span::before,
.dashboard-hero__sentiment-row--positive .dashboard-hero__sentiment-bar > span {
    background: var(--radar-green);
}

.dashboard-hero__sentiment-row--neutral .dashboard-hero__sentiment-line span::before,
.dashboard-hero__sentiment-row--neutral .dashboard-hero__sentiment-bar > span {
    background: var(--radar-blue);
}

.dashboard-hero__sentiment-row--negative .dashboard-hero__sentiment-line span::before,
.dashboard-hero__sentiment-row--negative .dashboard-hero__sentiment-bar > span {
    background: var(--radar-red);
}

.dashboard-hero__sentiment-row--muted .dashboard-hero__sentiment-line span::before,
.dashboard-hero__sentiment-row--muted .dashboard-hero__sentiment-bar > span {
    background: #94a3b8;
}

.dashboard-hero__sentiment-line span,
.dashboard-hero__sentiment-line strong {
    min-width: 0;
    white-space: nowrap;
}

.dashboard-hero__sentiment-line strong {
    color: var(--radar-navy);
    font-size: 0.8rem;
}

.dashboard-hero__sentiment-bar {
    display: block;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7eef5;
}

.dashboard-hero__sentiment-bar > span {
    display: block;
    height: 100%;
    max-width: 100%;
    border-radius: inherit;
}

.dashboard-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 18px;
}

.dashboard-toolbar .btn {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-toolbar-action {
    gap: 0.4rem;
    font-weight: 700;
}

.dashboard-toolbar-action i,
.dashboard-toolbar-action svg {
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 auto;
    stroke-width: 2.1;
}

.dashboard-filter-toggle {
    position: relative;
    gap: 0.4rem;
}

.dashboard-filter-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(225deg);
    transition: transform 0.18s ease;
}

.dashboard-filter-toggle.is-collapsed::after {
    transform: rotate(45deg);
}

.dashboard-filter {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 12px;
    align-items: end;
    padding: 14px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.dashboard-filter.collapse:not(.show) {
    display: none;
}

.dashboard-filter__wide {
    grid-column: span 2;
}

.dashboard-filter .form-label {
    color: #405160;
    font-size: 0.82rem;
    font-weight: 800;
}

.dashboard-filter__actions {
    display: grid;
    gap: 8px;
}

.dashboard-filter-presets,
.dashboard-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dashboard-filter-presets {
    align-items: center;
}

.dashboard-filter-presets > span {
    color: #607080;
    font-size: 0.82rem;
    font-weight: 850;
}

.dashboard-filter-presets a,
.dashboard-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 32px;
    padding: 0.34rem 0.72rem;
    border: 1px solid #d8e5ef;
    border-radius: 999px;
    background: #ffffff;
    color: #405160;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-filter-presets a {
    color: var(--radar-blue);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dashboard-filter-presets a:hover,
.dashboard-filter-presets a:focus-visible {
    transform: translateY(-1px);
    border-color: #c4d7e7;
    background: #eef6ff;
    color: var(--radar-navy);
}

.dashboard-filter-presets a:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 3px;
}

.dashboard-filter-chip {
    background: rgba(255, 255, 255, 0.78);
}

.dashboard-filter-chip strong {
    color: var(--radar-navy);
}

.dashboard-section {
    display: grid;
    gap: 14px;
}

.dashboard-section__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
}

.dashboard-section__header h2 {
    margin: 2px 0 0;
    color: var(--radar-navy);
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    font-weight: 850;
}

.dashboard-section__microcopy {
    margin: 0.35rem 0 0;
    color: #667085;
    font-size: 0.9rem;
}

.dashboard-section__hint {
    max-width: 420px;
    color: #607080;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: right;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-metric {
    position: relative;
    min-height: 134px;
    overflow: hidden;
    border-left: 4px solid var(--radar-blue);
    background:
        linear-gradient(145deg, rgba(31, 95, 143, 0.05), transparent 42%),
        #ffffff;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

a.dashboard-card-link {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.dashboard-card-link:focus-visible {
    outline: 3px solid rgba(31, 95, 143, 0.28);
    outline-offset: 3px;
}

.dashboard-card-link__cue {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.55rem;
    color: var(--radar-blue);
    font-size: 0.76rem;
    font-weight: 900;
}

.dashboard-card-link__cue::after {
    content: "→";
    transition: transform 0.18s ease;
}

.dashboard-card-link:hover .dashboard-card-link__cue::after,
.dashboard-card-link:focus-visible .dashboard-card-link__cue::after {
    transform: translateX(3px);
}

.dashboard-metric::after {
    content: "";
    position: absolute;
    inset: auto -28px -34px auto;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(31, 95, 143, 0.06);
    pointer-events: none;
}

.dashboard-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(18, 48, 74, 0.12);
}

.dashboard-metric__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.dashboard-metric__top span {
    margin: 0;
}

.dashboard-card-icon,
.dashboard-metric__top i {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #dbe6ef;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(30, 111, 166, 0.18), rgba(30, 111, 166, 0.04));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.dashboard-card-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.dashboard-metric--total .dashboard-card-icon,
.dashboard-metric--total .dashboard-metric__top i {
    background:
        linear-gradient(135deg, rgba(30, 111, 166, 0.18), rgba(30, 111, 166, 0.04));
}

.dashboard-metric--success {
    border-left-color: var(--radar-green);
}

.dashboard-metric--success::after {
    background: rgba(47, 143, 91, 0.08);
}

.dashboard-metric--success .dashboard-card-icon,
.dashboard-metric--success .dashboard-metric__top i {
    background:
        linear-gradient(135deg, rgba(35, 137, 87, 0.20), rgba(35, 137, 87, 0.05));
}

.dashboard-metric--danger {
    border-left-color: var(--radar-red);
}

.dashboard-metric--danger::after {
    background: rgba(185, 68, 68, 0.08);
}

.dashboard-metric--danger .dashboard-card-icon,
.dashboard-metric--danger .dashboard-metric__top i {
    background:
        linear-gradient(135deg, rgba(198, 67, 67, 0.18), rgba(198, 67, 67, 0.04));
}

.dashboard-metric--warning {
    border-left-color: var(--radar-amber);
}

.dashboard-metric--warning::after,
.dashboard-metric--alert::after {
    background: rgba(197, 138, 34, 0.10);
}

.dashboard-metric--warning .dashboard-card-icon,
.dashboard-metric--alert .dashboard-card-icon,
.dashboard-metric--warning .dashboard-metric__top i,
.dashboard-metric--alert .dashboard-metric__top i {
    background:
        linear-gradient(135deg, rgba(212, 146, 44, 0.22), rgba(212, 146, 44, 0.05));
}

.dashboard-metric--neutral {
    border-left-color: #607080;
}

.dashboard-metric--neutral::after {
    background: rgba(96, 112, 128, 0.08);
}

.dashboard-metric--neutral .dashboard-card-icon,
.dashboard-metric--neutral .dashboard-metric__top i {
    background:
        linear-gradient(135deg, rgba(96, 112, 128, 0.18), rgba(96, 112, 128, 0.04));
}

.dashboard-metric--sources {
    border-left-color: #317da8;
}

.dashboard-metric--score {
    border-left-color: var(--radar-green);
}

.dashboard-metric--sources::after,
.dashboard-metric--score::after {
    background: rgba(49, 125, 168, 0.08);
}

.dashboard-metric--score .dashboard-card-icon,
.dashboard-metric--sources .dashboard-card-icon,
.dashboard-metric--score .dashboard-metric__top i,
.dashboard-metric--sources .dashboard-metric__top i {
    background:
        linear-gradient(135deg, rgba(49, 125, 168, 0.18), rgba(49, 125, 168, 0.04));
}

.dashboard-metric small {
    color: #607080;
    line-height: 1.45;
}

.dashboard-metric__links {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.dashboard-metric__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(197, 138, 34, 0.25);
    border-radius: 10px;
    background: rgba(255, 248, 235, 0.8);
    color: #805500;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dashboard-metric__links a:hover,
.dashboard-metric__links a:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(197, 138, 34, 0.42);
    background: #fff4d8;
}

.dashboard-metric__links a:focus-visible {
    outline: 2px solid rgba(197, 138, 34, 0.24);
    outline-offset: 3px;
}

.dashboard-metric__links strong {
    color: #5f4000;
    font-size: 0.94rem;
    line-height: 1;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
    gap: 18px;
}

.dashboard-panel {
    min-height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-panel:hover {
    border-color: #c8d7e4;
    box-shadow: 0 16px 42px rgba(16, 36, 56, 0.09);
}

.dashboard-panel--wide {
    grid-column: 1 / -1;
}

.dashboard-panel--termometro {
    overflow: hidden;
}

.dashboard-panel--insights {
    min-height: auto;
    padding: 16px 18px;
}

.dashboard-panel--insights .panel-header {
    margin-bottom: 12px;
}

.dashboard-ops-grid {
    display: grid;
    grid-template-columns: minmax(360px, 1.4fr) minmax(260px, 0.9fr) minmax(260px, 0.9fr);
    gap: 18px;
}

.dashboard-panel--comparison {
    grid-column: span 2;
}

.dashboard-panel--actions {
    grid-column: span 2;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.comparison-card {
    display: block;
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ffffff, #f7fafc);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.comparison-card:hover,
.comparison-card:focus-visible {
    transform: translateY(-1px);
    border-color: #c8d7e4;
    box-shadow: 0 10px 24px rgba(16, 36, 56, 0.06);
}

.comparison-card:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 3px;
}

.comparison-card span:first-child {
    display: block;
    color: #607080;
    font-size: 0.82rem;
    font-weight: 800;
}

.comparison-grid strong {
    display: block;
    color: var(--radar-navy);
    font-size: 1.7rem;
}

.comparison-grid small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #607080;
}

.comparison-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.comparison-card__links a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0.22rem 0.52rem;
    border: 1px solid #d8e5ef;
    border-radius: 999px;
    background: #ffffff;
    color: var(--radar-blue);
    font-size: 0.76rem;
    font-weight: 850;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.comparison-card__links a:hover,
.comparison-card__links a:focus-visible {
    border-color: #c4d7e7;
    background: #eef6ff;
    color: var(--radar-navy);
}

.comparison-card__links a:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 3px;
}

.crisis-summary {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.crisis-summary > strong {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background:
        radial-gradient(circle at 35% 28%, rgba(185, 68, 68, 0.14), transparent 45%),
        #f7fafc;
    color: var(--radar-red);
    font-size: 2rem;
}

.crisis-summary span {
    color: #607080;
    font-weight: 800;
}

.crisis-summary p {
    margin: 4px 0 0;
    color: #344757;
    line-height: 1.45;
}

.dashboard-panel-action-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    color: var(--radar-blue);
    font-size: 0.86rem;
    font-weight: 850;
    text-decoration: none;
}

.dashboard-panel-action-link::after {
    content: "→";
    margin-left: 0.35rem;
    transition: transform 0.18s ease;
}

.dashboard-panel-action-link:hover,
.dashboard-panel-action-link:focus-visible {
    color: var(--radar-navy);
}

.dashboard-panel-action-link:hover::after,
.dashboard-panel-action-link:focus-visible::after {
    transform: translateX(3px);
}

.data-quality {
    display: grid;
    gap: 14px;
}

.data-quality__bar {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eff5;
}

.data-quality__bar span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--radar-green);
}

.data-quality__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.data-quality__items div,
.data-quality__items a {
    display: block;
    padding: 10px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(16, 36, 56, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.data-quality__items a:hover,
.data-quality__items a:focus-visible {
    transform: translateY(-1px);
    border-color: #c8d7e4;
    box-shadow: 0 12px 28px rgba(16, 36, 56, 0.08);
}

.data-quality__items a:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 3px;
}

.data-quality__items span {
    display: block;
    color: #607080;
    font-size: 0.78rem;
    font-weight: 800;
}

.data-quality__items strong {
    color: var(--radar-navy);
    font-size: 1.25rem;
}

.recommended-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.recommended-action-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 96px;
    padding: 16px;
    border: 1px solid var(--radar-border);
    border-radius: 16px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(16, 36, 56, 0.07);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.recommended-action-card:hover,
.recommended-action-card:focus-visible {
    transform: translateY(-2px);
    border-color: #c8d7e4;
    box-shadow: 0 20px 42px rgba(16, 36, 56, 0.12);
}

.recommended-action-card:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 4px;
}

.recommended-action-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef5fb;
    color: var(--radar-blue);
}

.recommended-action-card strong,
.recommended-action-card small {
    display: block;
}

.recommended-action-card strong {
    color: var(--radar-navy);
    font-size: 0.98rem;
    line-height: 1.25;
}

.recommended-action-card small {
    margin-top: 3px;
    color: #607080;
    font-weight: 700;
}

.recommended-action-card > svg:last-child,
.recommended-action-card > i:last-child {
    width: 1.05rem;
    height: 1.05rem;
    color: #91a4b5;
    transition: transform 0.18s ease, color 0.18s ease;
}

.recommended-action-card:hover > svg:last-child,
.recommended-action-card:focus-visible > svg:last-child,
.recommended-action-card:hover > i:last-child,
.recommended-action-card:focus-visible > i:last-child {
    transform: translateX(3px);
    color: var(--radar-blue);
}

.recommended-action-card--warning .recommended-action-card__icon {
    background: #fff5df;
    color: #a46a00;
}

.recommended-action-card--danger .recommended-action-card__icon {
    background: #fff0f0;
    color: #b42318;
}

.recommended-action-card--info .recommended-action-card__icon {
    background: #eef6ff;
    color: var(--radar-blue);
}

.recommended-action-card--success .recommended-action-card__icon {
    background: #ecfdf3;
    color: var(--radar-green);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem 1rem;
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    padding: 0.25rem 0;
    color: var(--radar-blue);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.quick-action-btn:hover,
.quick-action-btn:focus-visible {
    color: var(--radar-navy);
    transform: translateX(2px);
}

.quick-action-btn:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 4px;
}

.quick-action-btn i,
.quick-action-btn svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    color: var(--radar-blue);
    stroke-width: 2.2;
}

.quick-action-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-action-btn--primary {
    color: var(--radar-navy);
}

.quick-action-btn--primary i,
.quick-action-btn--primary svg {
    color: var(--radar-navy);
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.insight-card {
    min-height: 92px;
    padding: 12px 14px;
    border: 1px solid var(--radar-border);
    border-left: 4px solid var(--radar-blue);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(16, 36, 56, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.insight-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(16, 36, 56, 0.08);
}

.insight-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--radar-navy);
}

.insight-card p {
    margin: 0;
    color: #405160;
    line-height: 1.45;
}

.insight-card--warning {
    border-left-color: var(--radar-amber);
}

.insight-card--danger {
    border-left-color: var(--radar-red);
}

.insight-card--success {
    border-left-color: var(--radar-green);
}

.insight-card--secondary {
    border-left-color: #8a98a6;
}

.reputation-thermometer {
    --thermo-color: var(--radar-green);
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.reputation-thermometer--critico {
    --thermo-color: var(--radar-red);
}

.reputation-thermometer--atencao {
    --thermo-color: var(--radar-amber);
}

.reputation-thermometer--estavel {
    --thermo-color: var(--radar-blue);
}

.reputation-thermometer--positivo {
    --thermo-color: var(--radar-green);
}

.reputation-thermometer--excelente {
    --thermo-color: #23764a;
}

.reputation-thermometer__visual {
    position: relative;
    min-height: 278px;
    display: grid;
    grid-template-columns: 42px 54px;
    gap: 12px;
    justify-content: center;
    align-items: end;
    padding-bottom: 22px;
}

.reputation-thermometer__scale {
    height: 214px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 0 8px;
    transform: translateY(-42px);
    color: #607080;
    font-size: 0.72rem;
    font-weight: 850;
    text-align: right;
}

.reputation-thermometer__tube {
    position: relative;
    width: 28px;
    height: 220px;
    align-self: start;
    justify-self: center;
    overflow: hidden;
    border: 1px solid #cfdbe5;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.94)),
        linear-gradient(180deg, rgba(35, 118, 74, 0.12), rgba(31, 95, 143, 0.10), rgba(197, 138, 34, 0.10), rgba(185, 68, 68, 0.10));
    box-shadow:
        inset 0 0 0 5px #ffffff,
        0 16px 30px rgba(16, 36, 56, 0.10);
}

.reputation-thermometer__tube::before {
    content: "";
    position: absolute;
    inset: 10px 8px;
    border-radius: inherit;
    background:
        linear-gradient(180deg, transparent 0 24%, rgba(96, 112, 128, 0.12) 24% 25%, transparent 25% 49%, rgba(96, 112, 128, 0.12) 49% 50%, transparent 50% 74%, rgba(96, 112, 128, 0.12) 74% 75%, transparent 75%);
    z-index: 1;
}

.reputation-thermometer__fill {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: var(--thermo-score);
    min-height: 8px;
    max-height: calc(100% - 16px);
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--thermo-color) 68%, #ffffff), var(--thermo-color));
    box-shadow: 0 0 18px color-mix(in srgb, var(--thermo-color) 28%, transparent);
    transition: height 0.35s ease;
}

.reputation-thermometer__bulb {
    position: absolute;
    left: 71px;
    bottom: 12px;
    width: 62px;
    height: 62px;
    border: 1px solid #cfdbe5;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.72), transparent 26%),
        var(--thermo-color);
    box-shadow:
        inset 0 0 0 8px #ffffff,
        0 16px 34px color-mix(in srgb, var(--thermo-color) 24%, transparent);
}

.reputation-thermometer__content {
    display: grid;
    gap: 14px;
}

.reputation-thermometer__score {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.reputation-thermometer__score span {
    color: #607080;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.reputation-thermometer__score strong {
    color: var(--thermo-color);
    font-size: clamp(2.7rem, 5vw, 4.1rem);
    line-height: 0.92;
}

.reputation-thermometer__score small {
    color: #607080;
    font-weight: 850;
}

.reputation-thermometer__content p {
    margin: 0;
    color: #344757;
    font-size: 1rem;
    line-height: 1.55;
}

.reputation-thermometer__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reputation-thermometer__range {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0.26rem 0.55rem;
    border: 1px solid var(--radar-border);
    border-radius: 999px;
    background: #f7fafc;
    color: #405160;
    font-size: 0.76rem;
    font-weight: 800;
}

.reputation-thermometer__range--critico {
    border-color: rgba(185, 68, 68, 0.25);
    color: #963636;
}

.reputation-thermometer__range--atencao {
    border-color: rgba(197, 138, 34, 0.28);
    color: #8a5f16;
}

.reputation-thermometer__range--estavel {
    border-color: rgba(31, 95, 143, 0.25);
    color: var(--radar-blue);
}

.reputation-thermometer__range--positivo,
.reputation-thermometer__range--excelente {
    border-color: rgba(47, 143, 91, 0.26);
    color: #216b43;
}

.reputation-thermometer__empty {
    padding: 20px;
    border: 1px dashed #c7d5e1;
    border-radius: 8px;
    background: #f9fcff;
}

.reputation-thermometer__empty strong {
    display: block;
    margin-bottom: 6px;
    color: var(--radar-navy);
    font-size: 1rem;
}

.reputation-thermometer__empty p {
    margin: 0;
    color: #607080;
    line-height: 1.5;
}

.dashboard-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-badges span {
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
    color: #405160;
    font-size: 0.86rem;
    font-weight: 700;
}

.dashboard-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0.24rem 0.55rem;
    border: 1px solid #d9e2ea;
    border-radius: 999px;
    background: #f7fafc;
    color: #405160;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-status-badge--positivo,
.dashboard-status-badge--success,
.dashboard-status-badge--baixo {
    border-color: rgba(47, 143, 91, 0.28);
    background: rgba(47, 143, 91, 0.11);
    color: #216b43;
}

.dashboard-status-badge--negativo,
.dashboard-status-badge--danger,
.dashboard-status-badge--alto,
.dashboard-status-badge--critico {
    border-color: rgba(185, 68, 68, 0.28);
    background: rgba(185, 68, 68, 0.10);
    color: #963636;
}

.dashboard-status-badge--neutro,
.dashboard-status-badge--nao_classificado,
.dashboard-status-badge--secondary {
    border-color: rgba(96, 112, 128, 0.24);
    background: rgba(96, 112, 128, 0.10);
    color: #405160;
}

.dashboard-status-badge--warning,
.dashboard-status-badge--moderado {
    border-color: rgba(197, 138, 34, 0.30);
    background: rgba(197, 138, 34, 0.13);
    color: #8a5f16;
}

.sentiment-bars {
    display: grid;
    gap: 15px;
}

.sentiment-bar > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.sentiment-bar span {
    color: #607080;
    font-weight: 700;
}

.sentiment-bar strong {
    color: var(--radar-navy);
}

.sentiment-bar__track {
    height: 13px;
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eff5;
    box-shadow: inset 0 1px 2px rgba(16, 36, 56, 0.06);
    outline: none;
}

.sentiment-bar__track span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--radar-blue);
    transition: width 0.25s ease;
}

.sentiment-bar__track:focus-visible,
.timeline-chart__bar:focus-visible {
    box-shadow:
        0 0 0 3px rgba(31, 95, 143, 0.20),
        inset 0 1px 2px rgba(16, 36, 56, 0.06);
}

.sentiment-bar--positive .sentiment-bar__track span {
    background: var(--radar-green);
}

.sentiment-bar--negative .sentiment-bar__track span {
    background: var(--radar-red);
}

.sentiment-bar--muted .sentiment-bar__track span {
    background: #8a98a6;
}

.timeline-chart {
    height: 260px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(10px, 1fr);
    align-items: end;
    gap: 7px;
    padding: 22px 14px 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background:
        repeating-linear-gradient(180deg, rgba(217, 226, 234, 0.45) 0 1px, transparent 1px 52px),
        linear-gradient(180deg, #f7fafc, #ffffff);
}

.timeline-chart__bar {
    position: relative;
    min-height: 12px;
    overflow: visible;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #2b79ad, var(--radar-blue));
    box-shadow: 0 8px 18px rgba(31, 95, 143, 0.14);
    outline: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.timeline-chart__bar:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.timeline-chart__bar--peak {
    background: linear-gradient(180deg, #3aa36a, var(--radar-green));
}

.timeline-chart__negative {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 4px;
    overflow: hidden;
    border-radius: 0 0 2px 2px;
    background: var(--radar-red);
}

.timeline-chart__bar small {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    padding: 0.12rem 0.35rem;
    border-radius: 999px;
    background: rgba(47, 143, 91, 0.12);
    color: #216b43;
    font-size: 0.62rem;
    font-weight: 850;
    transform: translateX(-50%);
    white-space: nowrap;
}

.timeline-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 12px;
    color: #607080;
    font-size: 0.82rem;
    font-weight: 750;
}

.timeline-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.timeline-legend i {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 999px;
}

.timeline-legend__total {
    background: var(--radar-blue);
}

.timeline-legend__negative {
    background: var(--radar-red);
}

.timeline-legend__peak {
    background: var(--radar-green);
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #607080;
    font-size: 0.86rem;
    font-weight: 700;
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #e1e9f0;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.rank-item:hover {
    transform: translateY(-1px);
    border-color: #c8d7e4;
    box-shadow: 0 10px 26px rgba(16, 36, 56, 0.06);
}

.rank-item > div,
.rank-item > span {
    position: relative;
    z-index: 1;
}

.rank-item strong {
    display: block;
    color: var(--radar-navy);
}

.rank-item small {
    display: block;
    margin-top: 2px;
    color: #607080;
    font-size: 0.76rem;
    font-weight: 700;
}

.rank-item > span {
    min-width: 42px;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: #eef5fb;
    color: var(--radar-blue);
    text-align: center;
    font-weight: 800;
}

.rank-item i {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    max-width: 100%;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, var(--radar-blue), #68a8cf);
}

.rank-list--source .rank-item i {
    background: linear-gradient(90deg, var(--radar-green), #79c99b);
}

.risk-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.risk-pill {
    min-height: 86px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(16, 36, 56, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.risk-pill:hover,
.risk-pill:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(16, 36, 56, 0.08);
}

.risk-pill:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 3px;
}

.risk-pill--baixo {
    border-color: rgba(47, 143, 91, 0.24);
    background: rgba(47, 143, 91, 0.07);
}

.risk-pill--moderado,
.risk-pill--medio {
    border-color: rgba(197, 138, 34, 0.28);
    background: rgba(197, 138, 34, 0.09);
}

.risk-pill--alto,
.risk-pill--critico {
    border-color: rgba(185, 68, 68, 0.28);
    background: rgba(185, 68, 68, 0.08);
}

.risk-pills span {
    color: #607080;
    font-size: 0.82rem;
    font-weight: 800;
}

.risk-pills strong {
    color: var(--radar-navy);
    font-size: 1.8rem;
}

.dashboard-feed {
    display: grid;
    gap: 10px;
}

.dashboard-feed__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
    gap: 14px;
    align-items: start;
    padding: 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #ffffff;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.dashboard-feed__item:hover {
    border-color: #d9e2ea;
    background: #f9fcff;
}

.dashboard-feed__item:last-child {
    border-bottom: 1px solid transparent;
}

.dashboard-feed__title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--radar-navy);
    font-weight: 800;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dashboard-feed__title:hover {
    color: var(--radar-blue);
}

.dashboard-feed__item p {
    margin: 5px 0 0;
    color: #607080;
    font-size: 0.9rem;
}

.dashboard-feed__side {
    display: grid;
    justify-items: end;
    gap: 6px;
}

.dashboard-feed__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.dashboard-feed__detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.62rem;
    border: 1px solid #d8e5ef;
    border-radius: 999px;
    color: var(--radar-blue);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.dashboard-feed__detail:hover,
.dashboard-feed__detail:focus-visible {
    border-color: #c4d7e7;
    background: #eef6ff;
    color: var(--radar-navy);
}

.dashboard-feed__detail:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 3px;
}

.dashboard-feed__item small {
    color: #607080;
}

.compact-list {
    display: grid;
    gap: 10px;
}

.compact-list > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #ffffff;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.compact-list > div:hover {
    border-color: #d9e2ea;
    background: #f9fcff;
}

.compact-list > div:last-child {
    border-bottom: 1px solid transparent;
}

.compact-list strong {
    color: var(--radar-navy);
}

.compact-list--two > div {
    justify-content: space-between;
}

.compact-list--two span {
    color: #607080;
    font-weight: 700;
}

.dashboard-empty-state {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 14px;
    border: 1px dashed #c7d5e1;
    border-radius: 8px;
    background: #f9fcff;
    color: #607080;
    font-weight: 700;
    text-align: center;
}

.dashboard-empty-state strong {
    color: var(--radar-navy);
}

.dashboard-empty-state span {
    max-width: 540px;
    font-weight: 600;
}

.dashboard-empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.dashboard-empty-state__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.34rem 0.72rem;
    border: 1px solid #d8e5ef;
    border-radius: 999px;
    background: #ffffff;
    color: var(--radar-blue);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.dashboard-empty-state__link:hover,
.dashboard-empty-state__link:focus-visible {
    border-color: #c4d7e7;
    background: #eef6ff;
    color: var(--radar-navy);
}

.dashboard-empty-state__link:focus-visible {
    outline: 2px solid rgba(31, 95, 143, 0.24);
    outline-offset: 3px;
}

.dashboard-legal-notes {
    display: grid;
    gap: 6px;
    width: 100%;
    margin-top: 18px;
}

.dashboard-legal-note {
    margin: 0;
    padding: 0.45rem 0.65rem;
    display: flex;
    align-items: flex-start;
    gap: 0.42rem;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1.35;
}

.dashboard-legal-note i,
.dashboard-legal-note svg {
    width: 0.82rem;
    height: 0.82rem;
    flex: 0 0 auto;
    margin-top: 0.08rem;
    stroke-width: 2.2;
}

.dashboard-legal-note.alert-soft--warning {
    border: 1px solid rgba(247, 144, 9, 0.18);
    background: rgba(255, 250, 235, 0.58);
    color: #7a3f00;
}

.dashboard-legal-note.alert-soft--info {
    border: 1px solid rgba(31, 95, 143, 0.16);
    background: rgba(238, 244, 255, 0.58);
    color: #24567d;
}

.compact-list > .dashboard-empty-state {
    display: grid;
    justify-content: center;
}

@media (max-width: 1200px) {
    .dashboard-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-filter__wide {
        grid-column: span 2;
    }

    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-ops-grid,
    .recommended-actions-grid,
    .insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-panel--comparison {
        grid-column: 1 / -1;
    }

    .comparison-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .dashboard-page {
        max-width: 100%;
    }

    .dashboard-hero__content,
    .dashboard-grid,
    .reputation-thermometer {
        grid-template-columns: 1fr;
    }

    .dashboard-hero__score {
        justify-items: start;
    }

    .dashboard-hero__side {
        width: 100%;
    }

    .dashboard-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-section__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-section__hint {
        max-width: none;
        text-align: left;
    }

    .dashboard-toolbar .btn {
        flex: 1 1 180px;
    }

    .dashboard-detail-grid {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .timeline-chart {
        height: 220px;
        grid-auto-columns: minmax(8px, 1fr);
        gap: 5px;
    }
}

@media (max-width: 720px) {
    .dashboard-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .dashboard-hero {
        padding: 12px;
        margin-right: -4px;
        margin-left: -4px;
    }

    .dashboard-filter,
    .dashboard-ops-grid,
    .insight-grid,
    .comparison-grid,
    .data-quality__items,
    .quick-actions,
    .crisis-summary,
    .risk-pills {
        grid-template-columns: 1fr;
    }

    .dashboard-metrics,
    .recommended-actions-grid,
    .risk-pills,
    .dashboard-mobile-priority {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-mobile-priority {
        display: grid;
        gap: 8px;
        margin: 10px 0 12px;
    }

    .dashboard-mobile-priority__item--score {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .dashboard-mobile-priority__item--score span,
    .dashboard-mobile-priority__item--score small {
        grid-column: 1;
    }

    .dashboard-mobile-priority__item--score strong {
        grid-row: 1 / span 2;
        grid-column: 2;
        font-size: 2rem;
    }

    .dashboard-panel--comparison {
        grid-column: auto;
    }

    .dashboard-panel--actions {
        grid-column: auto;
    }

    .dashboard-filter__wide {
        grid-column: auto;
    }

    .dashboard-hero__content {
        gap: 12px;
        margin-bottom: 8px;
    }

    .dashboard-hero h1 {
        font-size: 1.55rem;
    }

    .dashboard-hero p,
    .dashboard-section__microcopy,
    .dashboard-section__hint {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .dashboard-hero__brief {
        margin-top: 10px;
        padding: 10px 11px;
    }

    .dashboard-hero__brief strong {
        font-size: 0.86rem;
    }

    .dashboard-hero__context {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .dashboard-hero__context > span {
        min-height: 46px;
        padding: 0.8rem 0.5rem 0.38rem;
    }

    .dashboard-hero__score {
        display: none;
    }

    .dashboard-hero__sentiment {
        min-height: auto;
        padding: 11px;
    }

    .dashboard-toolbar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin: 12px 0;
    }

    .dashboard-toolbar .btn {
        min-height: 42px;
        flex: none;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        font-size: 0.78rem;
    }

    .dashboard-toolbar-action {
        gap: 0.25rem;
    }

    .dashboard-filter {
        gap: 10px;
        padding: 10px;
    }

    .dashboard-filter .form-label {
        margin-bottom: 0.25rem;
        font-size: 0.74rem;
    }

    .dashboard-filter .form-control,
    .dashboard-filter .form-select,
    .dashboard-filter .btn {
        min-height: 42px;
        font-size: 0.9rem;
    }

    .dashboard-filter-presets {
        flex-wrap: nowrap;
        gap: 6px;
        margin-right: -12px;
        margin-left: -12px;
        padding: 0 12px 4px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .dashboard-filter-presets > span {
        display: none;
    }

    .dashboard-filter-presets a {
        min-height: 36px;
        flex: 0 0 auto;
        padding: 0.34rem 0.62rem;
        font-size: 0.76rem;
    }

    .dashboard-section {
        gap: 10px;
    }

    .dashboard-section__header h2 {
        font-size: 1.12rem;
    }

    .metric-card,
    .panel {
        padding: 12px;
    }

    .dashboard-metric {
        min-height: 116px;
    }

    .dashboard-metric__top {
        gap: 6px;
        margin-bottom: 6px;
    }

    .dashboard-metric__top > span:first-child {
        font-size: 0.78rem;
        line-height: 1.2;
    }

    .dashboard-metric strong,
    .comparison-grid strong,
    .risk-pills strong {
        font-size: 1.55rem;
    }

    .dashboard-metric small {
        display: block;
        font-size: 0.72rem;
    }

    .dashboard-card-icon {
        width: 30px;
        height: 30px;
    }

    .dashboard-card-icon img {
        width: 19px;
        height: 19px;
    }

    .dashboard-metric__links {
        gap: 6px;
        margin-top: 8px;
    }

    .dashboard-metric__links a {
        min-height: 38px;
        padding: 0.36rem 0.45rem;
        font-size: 0.72rem;
    }

    .panel-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }

    .panel-header .btn,
    .panel-header .soft-badge,
    .panel-header .dashboard-status-badge {
        flex: 0 0 auto;
    }

    .dashboard-title-icon {
        min-width: 0;
        font-size: 0.96rem;
        line-height: 1.2;
    }

    .dashboard-panel-icon {
        width: 30px;
        height: 30px;
    }

    .comparison-card {
        padding: 10px;
    }

    .comparison-grid small {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .crisis-summary {
        display: flex;
        gap: 12px;
    }

    .crisis-summary > strong {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        font-size: 1.55rem;
    }

    .crisis-summary p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.84rem;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .recommended-action-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        min-height: 112px;
        padding: 12px;
        border-radius: 8px;
    }

    .recommended-action-card__icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .recommended-action-card > svg:last-child,
    .recommended-action-card > i:last-child {
        display: none;
    }

    .quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .quick-action-btn {
        min-height: 42px;
        padding: 0.45rem 0.55rem;
        border: 1px solid #d8e5ef;
        border-radius: 8px;
        background: #ffffff;
        font-size: 0.78rem;
    }

    .reputation-thermometer {
        gap: 12px;
    }

    .reputation-thermometer__visual {
        min-height: 52px;
        display: block;
        padding: 0;
    }

    .reputation-thermometer__scale {
        height: auto;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        padding: 0 2px 6px;
        transform: none;
        font-size: 0.66rem;
        text-align: left;
    }

    .reputation-thermometer__tube {
        width: 100%;
        height: 18px;
        border-radius: 999px;
        box-shadow: inset 0 0 0 4px #ffffff;
    }

    .reputation-thermometer__tube::before {
        inset: 5px 8px;
        background:
            linear-gradient(90deg, transparent 0 24%, rgba(96, 112, 128, 0.14) 24% 25%, transparent 25% 49%, rgba(96, 112, 128, 0.14) 49% 50%, transparent 50% 74%, rgba(96, 112, 128, 0.14) 74% 75%, transparent 75%);
    }

    .reputation-thermometer__fill {
        top: 5px;
        right: auto;
        bottom: 5px;
        left: 0;
        width: var(--thermo-score);
        min-width: 8px;
        max-width: 100%;
        height: auto;
    }

    .reputation-thermometer__bulb {
        display: none;
    }

    .reputation-thermometer__content {
        gap: 10px;
    }

    .reputation-thermometer__score strong {
        font-size: 2.7rem;
    }

    .reputation-thermometer__content p {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .reputation-thermometer__legend {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .reputation-thermometer__range {
        min-height: 26px;
        justify-content: center;
        padding: 0.24rem 0.42rem;
        font-size: 0.7rem;
        text-align: center;
    }

    .reputation-thermometer__range--excelente {
        grid-column: 1 / -1;
    }

    .dashboard-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .dashboard-badges span {
        min-width: 0;
        padding: 0.36rem 0.45rem;
        overflow: hidden;
        font-size: 0.72rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sentiment-bars {
        gap: 11px;
    }

    .sentiment-bar > div {
        gap: 8px;
        margin-bottom: 5px;
        font-size: 0.84rem;
    }

    .sentiment-bar__track {
        height: 10px;
    }

    .timeline-chart {
        height: 150px;
        grid-auto-flow: initial;
        grid-auto-columns: initial;
        grid-template-columns: repeat(auto-fit, minmax(7px, 1fr));
        gap: 2px;
        padding: 16px 6px 8px;
        background:
            repeating-linear-gradient(180deg, rgba(217, 226, 234, 0.34) 0 1px, transparent 1px 37px),
            linear-gradient(180deg, #f7fafc, #ffffff);
    }

    .timeline-chart__bar {
        min-height: 8px;
        border-radius: 6px 6px 2px 2px;
    }

    .timeline-chart__bar small {
        padding: 0.08rem 0.24rem;
        font-size: 0.56rem;
    }

    .timeline-legend {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 10px;
        font-size: 0.72rem;
    }

    .timeline-legend span {
        min-width: 0;
    }

    .timeline-legend span:nth-child(3) {
        grid-column: 1 / -1;
    }

    .timeline-labels {
        font-size: 0.76rem;
    }

    .rank-list {
        gap: 8px;
    }

    .rank-item {
        gap: 8px;
        padding: 10px;
    }

    .rank-item strong,
    .dashboard-feed__title,
    .compact-list strong {
        overflow-wrap: anywhere;
    }

    .risk-pill {
        min-height: 70px;
        padding: 11px;
    }

    .dashboard-feed__item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 11px;
    }

    .dashboard-feed__side {
        display: flex;
        align-items: center;
        justify-content: space-between;
        justify-items: stretch;
        gap: 8px;
    }

    .dashboard-feed__badges {
        justify-content: flex-start;
    }

    .dashboard-feed__item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .dashboard-feed__detail {
        min-height: 34px;
    }

    .compact-list > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 10px;
    }

    .dashboard-empty-state {
        padding: 12px;
        font-size: 0.84rem;
    }

    .dashboard-legal-notes {
        margin-top: 12px;
    }

    .dashboard-card-link__cue {
        margin-top: 0.35rem;
        font-size: 0.72rem;
    }
}

@media (max-width: 430px) {
    .dashboard-page {
        padding-right: 10px;
        padding-left: 10px;
    }

    .dashboard-hero {
        padding: 10px;
    }

    .dashboard-hero__context,
    .dashboard-metrics,
    .recommended-actions-grid {
        gap: 8px;
    }

    .dashboard-hero__context > span {
        min-width: 0;
    }

    .dashboard-hero__context-text > span {
        font-size: 0.74rem;
    }

    .dashboard-toolbar {
        grid-template-columns: 1fr auto auto;
    }

    .dashboard-toolbar-action span:not([data-dashboard-filter-label]) {
        display: none;
    }

    .dashboard-toolbar .btn {
        min-width: 42px;
    }

    .dashboard-filter {
        grid-template-columns: 1fr;
    }

    .dashboard-metric {
        min-height: 108px;
        border-left-width: 3px;
    }

    .dashboard-metric__top > span:first-child,
    .recommended-action-card strong {
        font-size: 0.74rem;
    }

    .dashboard-metric small,
    .recommended-action-card small {
        font-size: 0.68rem;
    }

    .dashboard-status-badge {
        min-height: 22px;
        padding: 0.18rem 0.42rem;
        font-size: 0.64rem;
    }

    .dashboard-card-icon {
        display: none;
    }

    .dashboard-mobile-priority__item {
        min-height: 68px;
        padding: 9px;
    }

    .dashboard-mobile-priority__item strong {
        font-size: 1.35rem;
    }

    .dashboard-mobile-priority__item--score strong {
        font-size: 1.8rem;
    }

    .recommended-action-card {
        min-height: 104px;
    }

    .recommended-action-card__icon {
        width: 32px;
        height: 32px;
    }

    .trend-dashboard-comparison,
    .trend-dashboard-card {
        padding: 12px;
    }

    .trend-dashboard-comparison__term {
        gap: 8px;
    }

    .trend-dashboard-comparison__delta {
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .timeline-chart {
        height: 150px;
        grid-auto-columns: minmax(5px, 1fr);
        gap: 2px;
    }

    .timeline-legend span:nth-child(3) {
        display: none;
    }

    .dashboard-feed__side {
        align-items: flex-start;
        flex-direction: column;
    }
}

.review-full-text {
    max-height: 440px;
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.review-detail-box {
    height: 100%;
    padding: 14px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
}

.review-detail-box span {
    display: block;
    margin-bottom: 4px;
    color: #607080;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.review-detail-box strong {
    color: var(--radar-navy);
}

.review-subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px 16px;
    max-height: 220px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.intelligence-filter {
    padding: 14px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.intelligence-source-filter {
    margin-top: 4px;
    padding: 12px;
    border: 1px dashed #cbd5df;
    border-radius: 8px;
    background: #ffffff;
}

.intelligence-shortcuts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #607080;
    font-size: 0.9rem;
    font-weight: 700;
}

.intelligence-saved,
.intelligence-save,
.intelligence-delete {
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
}

.intelligence-save {
    background: #f7fafc;
}

.intelligence-delete {
    display: flex;
    justify-content: flex-end;
    background: #fff8f8;
}

.intelligence-layout-manager {
    min-height: 0;
}

.intelligence-layout-list {
    display: grid;
    gap: 8px;
}

.intelligence-layout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.intelligence-layout-item > span {
    color: var(--radar-navy);
    font-weight: 800;
}

.intelligence-layout-item .btn {
    min-width: 64px;
}

.intelligence-dashboard-layout {
    display: flex;
    flex-direction: column;
}

.intelligence-layout-block {
    order: var(--layout-order, 0);
    width: 100%;
}

.intelligence-metric {
    min-height: 122px;
}

.intelligence-panel {
    min-height: 100%;
}

.intelligence-comparison {
    min-height: 0;
}

.intelligence-comparison .panel-header {
    margin-bottom: 12px;
}

.intelligence-comparison .intelligence-mini-stat {
    min-height: 82px;
    padding: 12px;
}

.intelligence-builder {
    min-height: 0;
}

.intelligence-source-analysis {
    border-color: #d7e0e8;
}

.intelligence-source-title {
    margin-bottom: 10px;
    color: #526173;
    font-size: 0.88rem;
    font-weight: 800;
}

.intelligence-source-list {
    display: grid;
    gap: 10px;
}

.intelligence-source-list > div > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.88rem;
}

.intelligence-source-list strong {
    overflow-wrap: anywhere;
}

.intelligence-source-list .progress {
    height: 7px;
    background: #edf2f7;
}

.intelligence-custom-chart {
    display: grid;
    gap: 12px;
}

.intelligence-custom-item {
    --chart-accent: var(--radar-blue);
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.intelligence-custom-item__head,
.intelligence-custom-item__foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.intelligence-custom-item__head {
    align-items: flex-start;
    margin-bottom: 8px;
}

.intelligence-custom-item__head strong {
    color: var(--radar-navy);
}

.intelligence-custom-item__head span,
.intelligence-custom-item__foot {
    color: #607080;
    font-size: 0.82rem;
    font-weight: 700;
}

.intelligence-custom-item__bar {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f7;
}

.intelligence-custom-item__bar span {
    display: block;
    height: 100%;
    min-width: 2px;
    border-radius: inherit;
    background: var(--chart-accent);
}

.intelligence-custom-item__foot {
    margin-top: 7px;
}

.intelligence-custom-item__foot a {
    color: var(--radar-blue);
}

.intelligence-custom-item--success {
    --chart-accent: var(--radar-green);
}

.intelligence-custom-item--warning {
    --chart-accent: var(--radar-amber);
}

.intelligence-custom-item--danger {
    --chart-accent: var(--radar-red);
}

.intelligence-custom-item--info {
    --chart-accent: #317da8;
}

.intelligence-custom-item--secondary {
    --chart-accent: #607080;
}

.intelligence-timeline {
    min-height: 250px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(34px, 1fr);
    align-items: end;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 4px 4px;
}

.intelligence-day {
    min-width: 34px;
    height: 230px;
    display: grid;
    grid-template-rows: 1fr auto auto;
    align-items: end;
    gap: 6px;
    text-align: center;
    color: #607080;
    font-size: 0.75rem;
}

.intelligence-day__bar {
    position: relative;
    width: 100%;
    min-height: 4px;
    overflow: hidden;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, var(--radar-blue), #7bb4d5);
}

.intelligence-day--peak .intelligence-day__bar {
    box-shadow: 0 0 0 3px rgba(197, 138, 34, 0.2);
    background: linear-gradient(180deg, var(--radar-amber), var(--radar-blue));
}

.intelligence-day--peak small,
.intelligence-day--peak span {
    color: var(--radar-amber);
    font-weight: 800;
}

.intelligence-day__negative {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--radar-red);
}

.intelligence-distribution {
    display: grid;
    gap: 15px;
}

.intelligence-distribution > div > div:first-child,
.intelligence-ranking > div > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.intelligence-distribution .progress,
.intelligence-ranking .progress,
.intelligence-thermometer .progress {
    height: 9px;
    background: #edf2f7;
}

.intelligence-ranking {
    display: grid;
    gap: 14px;
}

.intelligence-ranking strong,
.intelligence-distribution strong {
    color: var(--radar-navy);
}

.intelligence-ranking-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin: -2px 0 7px;
    color: #607080;
    font-size: 0.78rem;
    font-weight: 700;
}

.intelligence-ranking-meta a,
.intelligence-drill {
    color: var(--radar-blue);
    font-weight: 700;
}

.intelligence-drill {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.78rem;
}

.intelligence-insights {
    display: grid;
    gap: 10px;
}

.intelligence-insight {
    padding: 13px 14px;
    border: 1px solid var(--radar-border);
    border-left: 4px solid var(--radar-blue);
    border-radius: 8px;
    background: #f7fafc;
}

.intelligence-insight p {
    margin: 4px 0 0;
    color: #526575;
}

.intelligence-insight--success {
    border-left-color: var(--radar-green);
}

.intelligence-insight--warning {
    border-left-color: var(--radar-amber);
}

.intelligence-insight--danger {
    border-left-color: var(--radar-red);
}

.intelligence-insight--secondary {
    border-left-color: #607080;
}

.intelligence-thermometer {
    display: grid;
    gap: 12px;
}

.intelligence-thermometer > strong {
    color: var(--radar-navy);
    font-size: 2rem;
}

.intelligence-mini-stat {
    height: 100%;
    padding: 13px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.intelligence-mini-stat span {
    display: block;
    margin-bottom: 4px;
    color: #607080;
    font-size: 0.82rem;
    font-weight: 700;
}

.intelligence-mini-stat strong {
    color: var(--radar-navy);
    font-size: 1.25rem;
}

.app-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 28px;
    color: #607080;
    border-top: 1px solid var(--radar-border);
    background: #ffffff;
    font-size: 0.9rem;
}

.login-page {
    background:
        linear-gradient(120deg, rgba(18, 48, 74, 0.96), rgba(31, 95, 143, 0.88)),
        #12304a;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.login-panel {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
    align-items: center;
}

.login-copy {
    color: #ffffff;
}

.login-copy h1 {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.04;
}

.login-copy p {
    max-width: 580px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.login-copy .brand-mark {
    background: #ffffff;
    color: var(--radar-navy);
}

.login-copy .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.login-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.demo-users {
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--radar-border);
    color: #607080;
    font-size: 0.86rem;
}

.profile-panel {
    display: grid;
    gap: 20px;
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.profile-summary h3 {
    margin: 0;
    color: var(--radar-navy);
    font-size: 1.2rem;
}

.profile-summary p {
    margin: 2px 0;
    color: #526173;
}

.profile-summary small {
    color: #607080;
    font-weight: 700;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    flex: 0 0 64px;
    overflow: hidden;
    border: 1px solid var(--radar-border);
    border-radius: 50%;
    background: var(--radar-navy);
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar--large {
    width: 136px;
    height: 136px;
    font-size: 3rem;
}

.profile-tabs {
    border-bottom-color: var(--radar-border);
}

.profile-section {
    padding-top: 4px;
}

.profile-upload {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.profile-check {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
    font-weight: 700;
}

.schedule-editor {
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.schedule-editor__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.schedule-editor__head h3 {
    margin: 0 0 4px;
    color: var(--radar-navy);
    font-size: 1rem;
    font-weight: 800;
}

.schedule-editor__head p {
    color: #607080;
    font-size: 0.9rem;
}

.schedule-editor__head span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border: 1px solid #c7ddec;
    border-radius: 8px;
    background: #ffffff;
    color: var(--radar-blue);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.schedule-frequency {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.schedule-frequency__item {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    color: #405160;
    cursor: pointer;
    font-weight: 800;
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.schedule-frequency__item:hover,
.schedule-frequency__item.is-selected {
    border-color: var(--radar-blue);
    background: #eef5fb;
    color: var(--radar-navy);
    box-shadow: 0 8px 20px rgba(18, 48, 74, 0.08);
}

.schedule-frequency__item input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: var(--radar-blue);
}

.schedule-frequency__item span {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.schedule-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.schedule-field {
    padding: 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
}

.schedule-field--wide {
    grid-column: 1 / -1;
}

.schedule-field .form-label {
    color: #526173;
    font-size: 0.82rem;
    font-weight: 800;
}

.timeline-panel {
    padding: 18px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(16, 36, 56, 0.06);
}

.timeline-panel__title {
    margin-bottom: 18px;
    text-align: center;
}

.timeline-panel__title h2 {
    margin: 0;
    color: var(--radar-navy);
    font-size: 1.35rem;
    font-weight: 900;
}

.timeline-summary-grid {
    margin-bottom: 16px;
}

.summary-card small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 0.35rem;
    color: #667085;
    font-size: 0.78rem;
    font-weight: 700;
}

.timeline-panel__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.timeline-panel__eyebrow {
    display: inline-flex;
    margin-bottom: 4px;
    color: #607080;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.timeline-panel__header h2 {
    margin: 0;
    color: var(--radar-navy);
    font-size: 1.35rem;
    font-weight: 900;
}

.timeline-panel__header p {
    margin: 4px 0 0;
    color: #667085;
}

.timeline-panel__count {
    min-width: 150px;
    padding: 0.75rem 0.9rem;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    background: #f7fafc;
    text-align: right;
}

.timeline-panel__count strong,
.timeline-panel__count span {
    display: block;
}

.timeline-panel__count strong {
    color: var(--radar-navy);
    font-size: 1.6rem;
    line-height: 1;
}

.timeline-panel__count span {
    margin-top: 0.25rem;
    color: #607080;
    font-size: 0.78rem;
    font-weight: 800;
}

.timeline-filter-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.timeline-filter-summary span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border: 1px solid #d7e0e8;
    border-radius: 999px;
    background: #f7fafc;
    color: #405160;
    font-size: 0.78rem;
    font-weight: 800;
}

.timeline-filter-summary__label {
    border-color: transparent !important;
    background: transparent !important;
    color: #667085 !important;
    padding-left: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.timeline-list {
    position: relative;
    display: grid;
    gap: 16px;
}

.timeline-list::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 16px;
    width: 2px;
    background: #d7e0e8;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
}

.timeline-marker {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    border: 5px solid #f4f7fa;
    border-radius: 50%;
    background: var(--radar-blue);
    box-shadow: 0 0 0 1px #bdd7eb;
}

.timeline-marker--manual {
    background: var(--radar-green);
}

.timeline-marker--auto {
    background: var(--radar-blue);
}

.timeline-card {
    padding: 16px;
    border: 1px solid var(--radar-border);
    border-left: 4px solid var(--radar-blue);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(16, 36, 56, 0.06);
}

.timeline-item--sentiment-positivo .timeline-card {
    border-left-color: var(--radar-green);
}

.timeline-item--sentiment-negativo .timeline-card {
    border-left-color: var(--radar-red);
}

.timeline-item--sentiment-neutro .timeline-card,
.timeline-item--sentiment-nao_classificado .timeline-card,
.timeline-item--sentiment-misto .timeline-card {
    border-left-color: #8a98a6;
}

.timeline-item--risk-alto .timeline-card,
.timeline-item--risk-critico .timeline-card {
    box-shadow: 0 10px 28px rgba(185, 68, 68, 0.11);
}

.timeline-card--review {
    background: #fffdf7;
}

.timeline-card__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.timeline-card time {
    color: #607080;
    font-size: 0.82rem;
    font-weight: 800;
}

.timeline-card h3 {
    margin: 3px 0;
    color: var(--radar-navy);
    font-size: 1rem;
    font-weight: 800;
}

.timeline-card__head p,
.timeline-description {
    margin: 0;
    color: #526173;
}

.timeline-description {
    margin-top: 10px;
    line-height: 1.5;
}

.timeline-badges,
.timeline-meta,
.timeline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-badges {
    justify-content: flex-end;
}

.timeline-badges span,
.timeline-meta span,
.timeline-meta a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    background: #f7fafc;
    color: #405160;
    font-size: 0.78rem;
    font-weight: 800;
}

.timeline-badges .timeline-badge--warning {
    border-color: #ead09d;
    background: #fbf0d9;
    color: #8a5d10;
}

.timeline-badges .timeline-badge--sentiment-positivo {
    border-color: #bfdfcd;
    background: #e5f5ec;
    color: #17633c;
}

.timeline-badges .timeline-badge--sentiment-negativo {
    border-color: #edc5c5;
    background: #f8e8e8;
    color: #9f2d2d;
}

.timeline-badges .timeline-badge--sentiment-neutro,
.timeline-badges .timeline-badge--sentiment-nao_classificado,
.timeline-badges .timeline-badge--sentiment-misto {
    border-color: #d7e0e8;
    background: #eef3f7;
    color: #506070;
}

.timeline-badges .timeline-badge--risk-alto,
.timeline-badges .timeline-badge--risk-critico {
    border-color: #edc5c5;
    background: #fff1f1;
    color: #9f2d2d;
}

.timeline-badges .timeline-badge--risk-moderado {
    border-color: #ead09d;
    background: #fbf0d9;
    color: #8a5d10;
}

.timeline-badges .timeline-badge--risk-baixo,
.timeline-badges .timeline-badge--risk-nao_aplicavel {
    border-color: #d7e0e8;
    background: #f7fafc;
    color: #405160;
}

.timeline-badges .timeline-badge--manual {
    border-color: #bfdfcd;
    background: #eff8f3;
    color: #17633c;
}

.timeline-badges .timeline-badge--auto {
    border-color: #c7ddec;
    background: #eef5fb;
    color: var(--radar-blue);
}

.timeline-meta,
.timeline-actions {
    margin-top: 12px;
}

.timeline-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.timeline-detail-grid div {
    min-height: 70px;
    padding: 10px 12px;
    border: 1px solid var(--radar-border);
    border-radius: 8px;
    background: #f7fafc;
}

.timeline-detail-grid span {
    display: block;
    margin-bottom: 4px;
    color: #607080;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.timeline-detail-grid strong {
    color: var(--radar-navy);
}

.timeline-sentiment-indicator {
    display: none;
}

.timeline-list--summary .timeline-sentiment-indicator > span {
    transform: translateY(-1px);
}

.timeline-list--summary .timeline-sentiment-indicator--positivo {
    border-color: #b9dec9;
    background: #eef8f3;
    color: #17633c;
}

.timeline-list--summary .timeline-sentiment-indicator--negativo {
    border-color: #edc5c5;
    background: #fff1f1;
    color: #9f2d2d;
}

.timeline-list--summary .timeline-sentiment-indicator--neutro,
.timeline-list--summary .timeline-sentiment-indicator--nao_classificado {
    border-color: #d7e0e8;
    background: #f7fafc;
    color: #506070;
}

.timeline-list--summary .timeline-sentiment-indicator--misto {
    border-color: #ead09d;
    background: #fff7e8;
    color: #8a5d10;
}

.timeline-card__head--compact > div:first-child {
    min-width: 0;
}

.timeline-list--summary .timeline-badges span {
    min-height: 23px;
    padding: 0.16rem 0.42rem;
    font-size: 0.7rem;
}

.timeline-list--summary .timeline-actions {
    margin-top: 6px;
}

.timeline-list--summary .timeline-actions .btn {
    min-height: 28px;
    padding: 0.18rem 0.5rem;
    font-size: 0.76rem;
}

.timeline-list--summary .timeline-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.timeline-list--summary {
    gap: 10px;
    max-width: 1080px;
    margin: 0 auto;
    overflow: visible;
}

.timeline-list--summary::before {
    left: 50%;
    width: 10px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #2aa99b 0 18%, #d084bc 18% 32%, #eda441 32% 48%, #d14283 48% 64%, #7f77b4 64% 82%, #55aeda 82% 100%);
}

.timeline-list--summary .timeline-item {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 86px;
}

.timeline-list--summary .timeline-marker {
    grid-column: 2;
    grid-row: 1;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    border-width: 0;
    box-shadow: 0 0 0 5px #f4f7fa;
}

.timeline-list--summary .timeline-item:nth-child(odd) .timeline-card {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    text-align: left;
}

.timeline-list--summary .timeline-item:nth-child(even) .timeline-card {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: right;
}

.timeline-list--summary .timeline-card {
    position: relative;
    max-width: 410px;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(16, 36, 56, 0.07);
}

.timeline-list--summary .timeline-card::before {
    content: "";
    position: absolute;
    top: 24px;
    width: 22px;
    height: 2px;
    background: #24384a;
}

.timeline-list--summary .timeline-item:nth-child(odd) .timeline-card::before {
    left: -22px;
}

.timeline-list--summary .timeline-item:nth-child(even) .timeline-card::before {
    right: -22px;
}

.timeline-list--summary .timeline-sentiment-indicator {
    position: absolute;
    top: 50%;
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 2px solid #d7e0e8;
    border-radius: 999px;
    background: #ffffff;
    color: #506070;
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 20px rgba(16, 36, 56, 0.1);
    transform: translateY(-50%);
}

.timeline-list--summary .timeline-item:nth-child(odd) .timeline-sentiment-indicator {
    left: -100px;
}

.timeline-list--summary .timeline-item:nth-child(even) .timeline-sentiment-indicator {
    right: -100px;
}

.timeline-list--summary .timeline-card__head {
    display: grid;
    gap: 6px;
}

.timeline-list--summary .timeline-card time {
    display: block;
    color: #0f1f2f;
    font-size: 1.16rem;
    font-weight: 900;
    line-height: 1.05;
}

.timeline-list--summary .timeline-card h3 {
    margin: 0;
    color: #1f2933;
    font-size: 0.92rem;
    line-height: 1.25;
    font-weight: 760;
}

.timeline-list--summary .timeline-badges {
    display: none;
}

.timeline-list--summary .timeline-description {
    margin-top: 4px;
    color: #2d3748;
    font-size: 0.82rem;
    line-height: 1.35;
    -webkit-line-clamp: 1;
}

.timeline-context {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e4ebf2;
}

.timeline-detail-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
}

.timeline-detail-grid--compact div {
    min-height: 58px;
}

.timeline-list--summary .timeline-actions,
.timeline-list--summary .timeline-item:nth-child(odd) .timeline-actions,
.timeline-list--summary .timeline-item:nth-child(even) .timeline-actions {
    justify-content: flex-start;
}

.timeline-list--summary .timeline-item:nth-child(even) .timeline-actions {
    justify-content: flex-end;
}

.timeline-pagination {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e4ebf2;
}

.timeline-pagination__status {
    color: #526173;
    font-size: 0.88rem;
    font-weight: 800;
}

.timeline-list--detailed .timeline-card {
    padding: 18px;
}

@media (max-width: 1200px) {
    .schedule-frequency {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .app-shell {
        display: block;
    }

    .sidebar {
        position: fixed;
        z-index: 1040;
        transform: translateX(-100%);
        transition: transform 160ms ease;
        box-shadow: 16px 0 40px rgba(16, 36, 56, 0.18);
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .topbar,
    .content,
    .app-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .topbar {
        flex-wrap: wrap;
    }

    .support-mode-banner,
    .subscription-expired-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-mode-banner form,
    .support-mode-banner .btn,
    .subscription-expired-banner .btn {
        width: 100%;
        justify-content: center;
    }

    .topbar-title {
        min-width: 0;
        flex: 1;
    }

    .topbar-search {
        order: 3;
        width: 100%;
        margin-left: 0;
    }

    .topbar-user {
        margin-left: auto;
    }

    .notification-center-item {
        grid-template-columns: 1fr;
    }

    .notification-center-item__selection {
        justify-content: flex-start;
    }

    .notification-center-item__icon {
        width: 42px;
        height: 42px;
    }

    .notification-center-item__actions {
        justify-content: flex-start;
    }

    .login-panel {
        grid-template-columns: 1fr;
    }

    .review-actions {
        justify-content: flex-start;
    }

    .intelligence-timeline {
        grid-auto-columns: minmax(42px, 1fr);
    }

    .schedule-editor__head {
        display: grid;
    }

    .schedule-frequency,
    .schedule-fields {
        grid-template-columns: 1fr;
    }

    .schedule-editor__head span {
        width: fit-content;
    }

    .timeline-card__head {
        display: grid;
    }

    .timeline-badges {
        justify-content: flex-start;
    }

    .timeline-detail-grid {
        grid-template-columns: 1fr;
    }

    .timeline-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-panel__header {
        display: grid;
    }

    .timeline-panel__count {
        width: 100%;
        min-width: 0;
        text-align: left;
    }

    .timeline-filter-summary {
        align-items: flex-start;
    }

    .timeline-actions .btn,
    .timeline-actions form {
        width: 100%;
    }

    .timeline-actions form .btn {
        width: 100%;
    }

    .timeline-list--summary {
        max-width: none;
    }

    .timeline-list--summary::before {
        left: 11px;
        width: 2px;
        transform: none;
        background: #d7e0e8;
    }

    .timeline-list--summary .timeline-item {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 9px;
        min-height: auto;
    }

    .timeline-list--summary .timeline-marker {
        grid-column: 1;
        width: 24px;
        height: 24px;
    }

    .timeline-list--summary .timeline-item:nth-child(odd) .timeline-card,
    .timeline-list--summary .timeline-item:nth-child(even) .timeline-card {
        grid-column: 2;
        justify-self: stretch;
        text-align: left;
    }

    .timeline-list--summary .timeline-card::before {
        display: none;
    }

    .timeline-list--summary .timeline-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 0 10px;
        padding: 12px;
    }

    .timeline-list--summary .timeline-sentiment-indicator {
        position: static;
        grid-column: 1;
        grid-row: 1 / span 4;
        float: none;
        margin: 0;
        width: 38px;
        height: 38px;
        font-size: 1.18rem;
        transform: none;
    }

    .timeline-list--summary .timeline-card__head,
    .timeline-list--summary .timeline-description,
    .timeline-list--summary .timeline-context,
    .timeline-list--summary .timeline-actions {
        grid-column: 2;
    }

    .timeline-list--summary .timeline-card__head {
        display: grid;
    }

    .timeline-list--summary .timeline-actions {
        justify-content: flex-start !important;
    }

    .timeline-detail-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .import-progress-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .process-modal__meta,
    .process-modal__progress-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .login-shell {
        padding: 18px;
    }

    .timeline-summary-grid {
        grid-template-columns: 1fr;
    }

    .timeline-list--summary .timeline-card {
        grid-template-columns: 1fr;
    }

    .timeline-list--summary .timeline-sentiment-indicator,
    .timeline-list--summary .timeline-card__head,
    .timeline-list--summary .timeline-description,
    .timeline-list--summary .timeline-context,
    .timeline-list--summary .timeline-actions {
        grid-column: 1;
    }

    .timeline-list--summary .timeline-sentiment-indicator {
        margin-bottom: 8px;
    }

    .timeline-detail-grid--compact {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 22px;
    }

    .topbar {
        align-items: flex-start;
    }

    .topbar-user {
        flex-direction: row;
        align-items: flex-end;
        gap: 6px;
    }

    .terms-accept-card {
        padding: 20px;
    }

    .process-modal__heading {
        flex-direction: column;
    }

    .process-modal .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .terms-accept-card__header,
    .terms-accept-layout,
    .terms-accept-meta {
        grid-template-columns: 1fr;
    }

    .terms-accept-content {
        max-height: 42vh;
        font-size: 0.84rem;
    }

    .terms-accept-side {
        grid-template-columns: 1fr;
    }

    .app-footer {
        flex-direction: column;
    }

    .review-batch .btn,
    .review-actions .btn,
    .review-actions form {
        width: 100%;
    }

    .review-actions form .btn {
        width: 100%;
    }

    .import-progress-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .import-progress-modal .modal-footer .btn {
        width: 100%;
    }
}

/* Prestacao de Contas module styles */

/* prestacao-contas/list.html */
        .prestacao-list-panel {
            border: 0;
            overflow: hidden;
            background:
                linear-gradient(180deg, rgba(248, 251, 255, .96), rgba(255, 255, 255, .98)),
                #fff;
            box-shadow: 0 18px 44px rgba(31, 51, 84, .08);
        }

        .prestacao-list-hero {
            align-items: flex-start;
            gap: 1.5rem;
            margin: -1rem -1rem 1rem;
            padding: 1.5rem;
            border-radius: 1.25rem;
            background:
                radial-gradient(circle at top right, rgba(13, 110, 253, .16), transparent 32rem),
                linear-gradient(135deg, #f7fbff 0%, #ffffff 58%, #f9fbff 100%);
        }

        .prestacao-list-hero__kicker {
            display: inline-flex;
            align-items: center;
            gap: .45rem;
            padding: .32rem .68rem;
            border-radius: 999px;
            background: rgba(13, 110, 253, .10);
            color: #0b5ed7;
            font-size: .72rem;
            font-weight: 800;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .prestacao-list-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: .55rem;
        }

        .prestacao-filter-card {
            padding: 1rem;
            border: 1px solid rgba(31, 51, 84, .09);
            border-radius: 1.15rem;
            background: #fff;
            box-shadow: 0 12px 30px rgba(31, 51, 84, .06);
        }

        .prestacao-filter-card .form-label {
            color: #344054;
            font-size: .75rem;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
        }

        .prestacao-filter-card .form-control,
        .prestacao-filter-card .form-select {
            border-color: #d8e1ee;
            border-radius: .85rem;
        }

        .prestacao-filter-card .form-control:focus,
        .prestacao-filter-card .form-select:focus {
            border-color: rgba(13, 110, 253, .45);
            box-shadow: 0 0 0 .22rem rgba(13, 110, 253, .10);
        }

        .prestacao-quick-filters {
            display: flex;
            flex-wrap: wrap;
            gap: .5rem;
            margin-bottom: 1rem;
        }

        .prestacao-quick-filters .btn {
            border-radius: 999px;
            font-weight: 700;
        }

        .prestacao-filter-divider {
            height: 1px;
            margin: 1rem 0;
            background: linear-gradient(90deg, transparent, rgba(31, 51, 84, .14), transparent);
        }

        .prestacao-metrics-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 1rem;
        }

        .prestacao-metric-card {
            position: relative;
            min-height: 8.25rem;
            padding: 1rem;
            overflow: hidden;
            border: 1px solid rgba(31, 51, 84, .08);
            border-radius: 1.15rem;
            background: #fff;
            box-shadow: 0 12px 30px rgba(31, 51, 84, .06);
        }

        .prestacao-metric-card::after {
            content: "";
            position: absolute;
            right: -.85rem;
            bottom: -.85rem;
            width: 4.25rem;
            height: 4.25rem;
            border-radius: 999px;
            background: var(--metric-accent, rgba(13, 110, 253, .12));
        }

        .prestacao-metric-card__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.3rem;
            height: 2.3rem;
            margin-bottom: .75rem;
            border-radius: .8rem;
            background: var(--metric-accent, rgba(13, 110, 253, .12));
            color: var(--metric-color, #0d6efd);
            font-weight: 900;
        }

        .prestacao-metric-card span {
            display: block;
            color: #667085;
            font-size: .78rem;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
        }

        .prestacao-metric-card strong {
            display: block;
            margin-top: .2rem;
            color: #1d2939;
            font-size: 2rem;
            line-height: 1;
        }

        .prestacao-metric-card small {
            display: block;
            margin-top: .55rem;
            color: #667085;
        }

        .prestacao-metric-card--success {
            --metric-accent: rgba(18, 183, 106, .14);
            --metric-color: #039855;
        }

        .prestacao-metric-card--warning {
            --metric-accent: rgba(247, 144, 9, .16);
            --metric-color: #b54708;
        }

        .prestacao-metric-card--info {
            --metric-accent: rgba(34, 184, 207, .16);
            --metric-color: #087f95;
        }

        .prestacao-metric-card--purple {
            --metric-accent: rgba(111, 66, 193, .14);
            --metric-color: #6941c6;
        }

        .prestacao-summary-panel,
        .prestacao-records-panel,
        .prestacao-timeline-panel,
        .prestacao-analytics-panel {
            border: 1px solid rgba(31, 51, 84, .08);
            border-radius: 1.15rem;
            box-shadow: 0 12px 30px rgba(31, 51, 84, .05);
        }

        .prestacao-analytics-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1rem;
        }

        .prestacao-analytics-card {
            height: 100%;
            overflow: hidden;
            border: 1px solid rgba(31, 51, 84, .08);
            border-radius: 1rem;
            background: linear-gradient(180deg, #ffffff, #fbfcff);
        }

        .prestacao-analytics-card__head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: .9rem 1rem;
            border-bottom: 1px solid rgba(31, 51, 84, .07);
        }

        .prestacao-analytics-card__head h3 {
            margin: 0;
            color: #1d2939;
            font-size: .95rem;
            font-weight: 800;
        }

        .prestacao-analytics-card__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            border-radius: .75rem;
            background: #eef4ff;
            color: #175cd3;
            font-size: .78rem;
            font-weight: 900;
        }

        .prestacao-analytics-list {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .prestacao-analytics-list li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            padding: .78rem 1rem;
            border-bottom: 1px solid rgba(31, 51, 84, .06);
            color: #344054;
            font-size: .9rem;
        }

        .prestacao-analytics-list li:last-child {
            border-bottom: 0;
        }

        .prestacao-analytics-list strong {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 2rem;
            padding: .2rem .48rem;
            border-radius: 999px;
            background: #f2f4f7;
            color: #1d2939;
            font-size: .82rem;
        }

        .prestacao-analytics-empty {
            padding: .9rem 1rem;
            color: #667085;
            font-size: .9rem;
        }

        .prestacao-list-box {
            height: 100%;
            padding: 1rem;
            border: 1px solid rgba(31, 51, 84, .08);
            border-radius: 1rem;
            background: linear-gradient(180deg, #ffffff, #fbfcff);
        }

        .prestacao-list-box__label {
            color: #667085;
            font-size: .72rem;
            font-weight: 800;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .prestacao-status-badge {
            display: inline-flex;
            align-items: center;
            gap: .3rem;
            padding: .32rem .58rem;
            border-radius: 999px;
            background: #f2f4f7;
            color: #344054;
            font-size: .75rem;
            font-weight: 800;
            white-space: nowrap;
        }

        .prestacao-status-badge--category {
            background: #eef4ff;
            color: #175cd3;
        }

        .prestacao-status-badge--attention {
            background: #fff4e5;
            color: #b54708;
        }

        .prestacao-status-badge--success {
            background: #ecfdf3;
            color: #027a48;
        }

        .prestacao-status-badge--danger {
            background: #fff1f3;
            color: #c01048;
        }

        .prestacao-timeline-panel .timeline-card {
            border: 1px solid rgba(31, 51, 84, .08);
            border-left: .28rem solid #0d6efd;
            border-radius: 1rem;
            box-shadow: 0 10px 26px rgba(31, 51, 84, .06);
        }

        .prestacao-record-card {
            padding: .95rem;
            border: 1px solid rgba(31, 51, 84, .08);
            border-radius: 1rem;
            background: #fff;
            box-shadow: 0 10px 24px rgba(31, 51, 84, .05);
        }

        .prestacao-record-card + .prestacao-record-card {
            margin-top: .8rem;
        }

        .prestacao-record-card__title {
            margin: 0;
            color: #1d2939;
            font-size: 1rem;
        }

        .prestacao-record-card__meta {
            display: flex;
            flex-wrap: wrap;
            gap: .5rem;
            margin-top: .65rem;
            color: #667085;
            font-size: .85rem;
        }

        .prestacao-table {
            margin-bottom: 0;
        }

        .prestacao-table thead th {
            border-bottom: 1px solid rgba(31, 51, 84, .08);
            color: #667085;
            font-size: .74rem;
            font-weight: 800;
            letter-spacing: .05em;
            text-transform: uppercase;
        }

        .prestacao-table tbody td {
            border-color: rgba(31, 51, 84, .06);
            vertical-align: middle;
        }

        .prestacao-empty-state {
            padding: 2.5rem 1rem;
            text-align: center;
            color: #667085;
        }

        .prestacao-empty-state__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 3.25rem;
            height: 3.25rem;
            margin-bottom: .75rem;
            border-radius: 1rem;
            background: #eef4ff;
            color: #175cd3;
            font-weight: 900;
        }

        @media (max-width: 1199.98px) {
            .prestacao-metrics-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .prestacao-analytics-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 767.98px) {
            .prestacao-list-hero {
                margin-inline: -.75rem;
                padding: 1rem;
            }

            .prestacao-list-actions {
                justify-content: stretch;
            }

            .prestacao-list-actions .btn,
            .prestacao-list-actions .dropdown {
                width: 100%;
            }

            .prestacao-metrics-grid {
                grid-template-columns: 1fr;
            }

            .prestacao-analytics-grid {
                grid-template-columns: 1fr;
            }
        }

/* prestacao-contas/form.html */
        .prestacao-form-panel {
            overflow: hidden;
        }

        .prestacao-form-hero {
            margin: -1.25rem -1.25rem 1.25rem;
            padding: 1.5rem;
            background:
                radial-gradient(circle at top right, rgba(54, 94, 168, .18), transparent 32rem),
                linear-gradient(135deg, #f8fbff 0%, #eef4ff 48%, #ffffff 100%);
            border-bottom: 1px solid rgba(31, 51, 84, .08);
        }

        .prestacao-form-hero__kicker {
            display: inline-flex;
            align-items: center;
            gap: .45rem;
            padding: .3rem .65rem;
            border-radius: 999px;
            background: rgba(13, 110, 253, .08);
            color: #0d4d9d;
            font-size: .78rem;
            font-weight: 700;
            letter-spacing: .02em;
            text-transform: uppercase;
        }

        .prestacao-quick-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: .85rem;
        }

        .prestacao-quick-card {
            width: 100%;
            min-height: 7.25rem;
            padding: 1rem;
            border: 1px solid rgba(31, 51, 84, .12);
            border-radius: 1rem;
            background: #fff;
            text-align: left;
            box-shadow: 0 10px 26px rgba(31, 51, 84, .06);
            transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
        }

        .prestacao-quick-card:hover,
        .prestacao-quick-card.is-active {
            transform: translateY(-2px);
            border-color: rgba(13, 110, 253, .45);
            box-shadow: 0 16px 34px rgba(31, 51, 84, .12);
        }

        .prestacao-quick-card__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.25rem;
            height: 2.25rem;
            margin-bottom: .75rem;
            border-radius: .75rem;
            background: rgba(13, 110, 253, .10);
            color: #0d6efd;
            font-weight: 800;
        }

        .prestacao-quick-card--success .prestacao-quick-card__icon {
            background: rgba(25, 135, 84, .12);
            color: #198754;
        }

        .prestacao-quick-card--warning .prestacao-quick-card__icon {
            background: rgba(255, 193, 7, .20);
            color: #9a6a00;
        }

        .prestacao-wizard {
            padding: .5rem;
            border: 1px solid rgba(31, 51, 84, .08);
            border-radius: 1rem;
            background: #f8fafc;
        }

        .prestacao-wizard .nav-link {
            border-radius: .8rem;
            color: #526071;
            font-weight: 650;
        }

        .prestacao-wizard .nav-link.active {
            background: #0d6efd;
            box-shadow: 0 10px 22px rgba(13, 110, 253, .22);
        }

        .prestacao-step-card,
        .prestacao-guide-card {
            border: 1px solid rgba(31, 51, 84, .10);
            border-radius: 1.15rem;
            background: #fff;
            box-shadow: 0 14px 34px rgba(31, 51, 84, .07);
        }

        .prestacao-step-card {
            padding: 1.25rem;
        }

        .prestacao-step-card > .row > .col-12:first-child {
            padding: 1rem;
            border-radius: .95rem;
            background: linear-gradient(135deg, #f8fbff, #ffffff);
            border: 1px solid rgba(31, 51, 84, .07);
        }

        .prestacao-step-card .form-label {
            font-weight: 700;
            color: #263447;
        }

        .prestacao-step-card .form-control,
        .prestacao-step-card .form-select {
            border-color: rgba(31, 51, 84, .16);
            border-radius: .8rem;
        }

        .prestacao-step-card .form-control:focus,
        .prestacao-step-card .form-select:focus {
            border-color: rgba(13, 110, 253, .55);
            box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .10);
        }

        .prestacao-step-card .form-text {
            color: #6f7b8d;
        }

        .prestacao-step-title {
            display: flex;
            gap: .85rem;
            align-items: flex-start;
            margin-bottom: .25rem;
        }

        .prestacao-step-title__number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 2rem;
            height: 2rem;
            border-radius: .7rem;
            background: #eef4ff;
            color: #0d6efd;
            font-weight: 800;
        }

        .prestacao-guide-card {
            padding: 1rem;
            background:
                linear-gradient(180deg, rgba(248, 251, 255, .98), rgba(255, 255, 255, .98)),
                #fff;
        }

        .prestacao-guide-card__label {
            color: #6c7788;
            font-size: .72rem;
            font-weight: 800;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .prestacao-summary-row {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            padding: .7rem 0;
            border-bottom: 1px solid rgba(31, 51, 84, .08);
            font-size: .88rem;
        }

        .prestacao-summary-row:last-child {
            border-bottom: 0;
        }

        .prestacao-summary-row strong {
            text-align: right;
            color: #233044;
        }

        .prestacao-safe-note {
            border: 0;
            border-radius: .9rem;
            background: #fff8e1;
            color: #624a00;
        }

        .prestacao-action-bar {
            position: sticky;
            bottom: .75rem;
            z-index: 5;
            padding: .85rem;
            border: 1px solid rgba(31, 51, 84, .10);
            border-radius: 1rem;
            background: rgba(255, 255, 255, .92);
            box-shadow: 0 14px 34px rgba(31, 51, 84, .12);
            backdrop-filter: blur(10px);
        }

        .prestacao-progress {
            padding: .85rem 1rem;
            border: 1px solid rgba(13, 110, 253, .12);
            border-radius: 1rem;
            background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
        }

        .prestacao-progress__meta {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            color: #667085;
            font-size: .82rem;
            font-weight: 700;
        }

        .prestacao-progress .progress {
            height: .55rem;
            border-radius: 999px;
            background-color: #e8eef8;
        }

        .prestacao-progress .progress-bar {
            border-radius: 999px;
            background: linear-gradient(90deg, #0d6efd, #22b8cf);
            transition: width .2s ease;
        }

        .prestacao-field-badge {
            display: inline-flex;
            align-items: center;
            margin-left: .35rem;
            padding: .12rem .4rem;
            border-radius: 999px;
            font-size: .64rem;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
            vertical-align: middle;
        }

        .prestacao-field-badge--required {
            background: #fff1f0;
            color: #b42318;
        }

        .prestacao-wizard .nav-link {
            position: relative;
            padding-right: 2rem;
        }

        .prestacao-wizard .nav-link.is-complete::after,
        .prestacao-wizard .nav-link.has-missing::after {
            position: absolute;
            top: 50%;
            right: .6rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1rem;
            height: 1rem;
            border-radius: 999px;
            color: #fff;
            font-size: .66rem;
            font-weight: 900;
            transform: translateY(-50%);
        }

        .prestacao-wizard .nav-link.is-complete::after {
            content: "✓";
            background: #12b76a;
        }

        .prestacao-wizard .nav-link.has-missing::after {
            content: "!";
            background: #f79009;
        }

        @media (max-width: 991.98px) {
            .prestacao-quick-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .prestacao-guide-card {
                position: static !important;
            }
        }

        @media (max-width: 575.98px) {
            .prestacao-form-hero {
                margin-inline: -.75rem;
                padding: 1rem;
            }

            .prestacao-quick-grid {
                grid-template-columns: 1fr;
            }

            .prestacao-action-bar {
                bottom: .25rem;
            }
        }

/* Central de Suporte */
.support-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.support-summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.9rem;
    row-gap: 0.15rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 0.9rem;
    padding: 0.75rem 0.85rem;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.support-summary-card span,
.support-summary-card small {
    display: block;
    color: #64748b;
}

.support-summary-card span {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 850;
}

.support-summary-card small {
    grid-column: 1 / -1;
    font-size: 0.76rem;
    line-height: 1.35;
}

.support-summary-card strong {
    grid-column: 2;
    grid-row: 1;
    min-width: 2.1rem;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.support-summary-card--warning {
    border-color: rgba(245, 158, 11, 0.18);
    background: #fffdf7;
}

.support-summary-card--warning strong {
    background: rgba(245, 158, 11, 0.16);
    color: #92400e;
}

.support-summary-card--success {
    border-color: rgba(34, 197, 94, 0.18);
    background: #f8fffb;
}

.support-summary-card--success strong {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.support-ticket-list {
    display: grid;
    gap: 0.85rem;
}

.support-ticket-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1.2rem;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.support-ticket-card:hover,
.support-ticket-card:focus-visible {
    color: inherit;
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.support-ticket-card__title,
.support-ticket-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.support-ticket-card__title strong {
    color: #0f172a;
    font-size: 1.02rem;
}

.support-ticket-card__main p {
    margin: 0.5rem 0;
    color: #64748b;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.support-ticket-card__meta {
    color: #64748b;
    font-size: 0.84rem;
}

.support-ticket-card__meta span {
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    background: #f8fafc;
}

.support-ticket-card__aside {
    display: grid;
    justify-items: end;
    gap: 0.2rem;
    color: #64748b;
    white-space: nowrap;
}

.support-ticket-card__aside span {
    color: #2563eb;
    font-weight: 800;
}

.support-guidance-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 1rem;
    padding: 1rem;
    background: #eff6ff;
    color: #1e3a8a;
}

.support-guidance-card svg,
.support-guidance-card i {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
}

.support-conversation {
    display: grid;
    gap: 1rem;
    max-height: 42rem;
    overflow-y: auto;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 1.25rem;
    padding: 1rem;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.07), transparent 32%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.96));
}

.support-chat-panel__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    align-items: center;
}

.support-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.support-message--agent {
    flex-direction: row-reverse;
}

.support-message__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 2.4rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
}

.support-message--agent .support-message__avatar {
    background: #dbeafe;
    color: #1d4ed8;
}

.support-message__bubble {
    width: min(100%, 48rem);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.1rem;
    padding: 0.95rem 1rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

.support-message--user .support-message__bubble {
    border-color: rgba(14, 165, 233, 0.16);
    background: #f8fbff;
}

.support-message--agent .support-message__bubble {
    background: #eff6ff;
    border-color: rgba(37, 99, 235, 0.18);
}

.support-message--internal .support-message__avatar {
    background: #fef3c7;
    color: #92400e;
}

.support-message--internal .support-message__bubble {
    background: #fffbeb;
    border-color: rgba(245, 158, 11, 0.24);
}

.support-message__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.45rem;
    color: #64748b;
    font-size: 0.84rem;
}

.support-message__meta strong {
    color: #0f172a;
}

.support-message__badges,
.support-message__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.support-message__badges {
    margin-top: 0.25rem;
}

.support-message__footer {
    justify-content: flex-end;
    margin-top: 0.65rem;
    color: #94a3b8;
    font-size: 0.76rem;
}

.support-attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.support-attachment-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.support-attachment-item:hover,
.support-attachment-item:focus-visible {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.support-attachment-item svg,
.support-attachment-item i {
    flex: 0 0 auto;
    width: 0.95rem;
    height: 0.95rem;
}

.support-attachment-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-attachment-item small {
    flex: 0 0 auto;
    color: #64748b;
    font-weight: 700;
}

.support-attachments-input {
    padding: 0.75rem;
    border: 1px dashed rgba(37, 99, 235, 0.22);
    border-radius: 1rem;
    background: rgba(248, 251, 255, 0.78);
}

.support-composer {
    border-color: rgba(37, 99, 235, 0.14);
    background: linear-gradient(135deg, #fff, #f8fbff);
}

.support-composer__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    margin-bottom: 0.55rem;
}

.support-admin-stack {
    display: grid;
    gap: 0.9rem;
}

.support-admin-stack .surface-card {
    border-color: rgba(37, 99, 235, 0.1);
}

.support-rating-icon {
    display: grid;
    place-items: center;
    flex: 0 0 2.6rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
}

.support-rating-icon svg,
.support-rating-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

.support-rating-done {
    border-color: rgba(34, 197, 94, 0.18);
    background: #f0fdf4;
}

.subscription-blocked-page {
    display: grid;
    gap: 1.25rem;
}

.subscription-blocked-page__hero {
    display: grid;
    gap: .55rem;
    max-width: 760px;
}

.subscription-blocked-page__hero--renewal {
    max-width: 920px;
}

.subscription-blocked-page__hero h1 {
    margin: 0;
    color: var(--radar-navy);
    font-size: clamp(1.8rem, 2.8vw, 2.55rem);
}

.subscription-blocked-page__hero p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.subscription-blocked-page__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.subscription-blocked-page__icon svg {
    width: 23px;
    height: 23px;
}

.subscription-blocked-page__metrics {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.subscription-blocked-page__metrics--wide {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.subscription-blocked-page__content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 1rem;
}

.subscription-blocked-page__content--renewal {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
}

.subscription-blocked-page__content h2 {
    margin: 0 0 .35rem;
    color: var(--radar-navy);
    font-size: 1.05rem;
}

.subscription-blocked-page__resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: .65rem;
}

.subscription-blocked-page__resource-grid span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 42px;
    padding: .65rem .75rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: .92rem;
}

.subscription-blocked-page__resource-grid svg {
    width: 17px;
    height: 17px;
    color: #1f5f8f;
}

.subscription-blocked-page__info-list,
.subscription-blocked-page__support-list {
    display: grid;
    gap: .75rem;
}

.subscription-blocked-page__info-list > div {
    padding: .85rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.subscription-blocked-page__info-list > div:last-child {
    border-bottom: 0;
}

.subscription-blocked-page__info-list span,
.subscription-blocked-page__support-list small {
    display: block;
    color: #64748b;
    font-size: .82rem;
}

.subscription-blocked-page__info-list strong {
    color: var(--radar-navy);
    font-weight: 650;
}

.subscription-blocked-page__support-list > div {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.subscription-blocked-page__support-list svg {
    width: 19px;
    height: 19px;
    color: #1f5f8f;
    flex: 0 0 auto;
}

.subscription-blocked-page__faq .accordion-item {
    border-color: #e2e8f0;
}

.subscription-blocked-page__faq .accordion-button {
    color: var(--radar-navy);
    font-weight: 600;
}

.account-backup-page {
    display: grid;
    gap: 1.25rem;
}

.account-backup-page__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .85rem;
}

.account-backup-page__details > div {
    padding: .85rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.account-backup-page__details span {
    display: block;
    color: #64748b;
    font-size: .82rem;
}

.account-backup-page__details strong {
    color: var(--radar-navy);
    font-weight: 650;
}

.subscription-blocked-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.form-card__switch {
    min-height: 100%;
    padding: 1rem 1rem 1rem 3.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.form-card__switch .form-check-input {
    margin-left: -2.25rem;
}

.form-card__switch .form-check-label {
    color: var(--radar-navy);
    font-weight: 600;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .subscription-blocked-page__content {
        grid-template-columns: 1fr;
    }
}

.site-rss-item-summary {
    max-width: 26rem;
}

@media (max-width: 991.98px) {
    .support-summary-grid {
        grid-template-columns: 1fr;
    }

    .support-ticket-card {
        grid-template-columns: 1fr;
    }

    .support-chat-panel__actions {
        justify-content: flex-start;
    }

    .support-ticket-card__aside {
        justify-items: start;
    }
}

@media (max-width: 575.98px) {
    .support-ticket-card__title {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-message,
    .support-message--agent {
        flex-direction: column;
    }

    .support-conversation {
        max-height: none;
        padding: 0.75rem;
    }

    .support-message__meta,
    .support-composer__header {
        flex-direction: column;
        gap: 0.35rem;
    }

    .support-message__bubble {
        width: 100%;
    }

}
.progress-thin {
    height: .45rem;
}

.tendencias-page .form-card {
    row-gap: .85rem;
}

.tendencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .85rem;
}

.tendencia-card,
.dashboard-moment-trend {
    color: inherit;
    text-decoration: none;
}

.tendencia-card {
    display: grid;
    gap: .65rem;
    min-height: 190px;
    padding: 1rem;
    border: 1px solid #dbe7f0;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tendencia-card:hover,
.tendencia-card:focus-visible,
.dashboard-moment-trend:hover,
.dashboard-moment-trend:focus-visible {
    border-color: #93c5fd;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.tendencia-card__top,
.tendencia-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: wrap;
}

.tendencia-card__top strong,
.dashboard-moment-trend__score {
    color: #0f3d66;
    font-weight: 700;
}

.tendencia-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.25;
}

.tendencia-card p {
    margin: 0;
    color: #52657a;
    font-size: .92rem;
}

.tendencia-card__meta {
    color: #64748b;
    font-size: .82rem;
}

.detail-list {
    display: grid;
    gap: .75rem;
    margin: 0;
}

.detail-list div {
    padding-bottom: .75rem;
    border-bottom: 1px solid #e2e8f0;
}

.detail-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.detail-list dt {
    color: #64748b;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.detail-list dd {
    margin: .2rem 0 0;
    color: #0f172a;
}

.dashboard-moment-trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .65rem;
}

.dashboard-moment-trend {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .8rem .9rem;
    border: 1px solid #dbe7f0;
    border-radius: 8px;
    background: #fff;
}

.dashboard-moment-trend__rank {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #eef6ff;
    color: #155e91;
    font-weight: 700;
}

.dashboard-moment-trend__main {
    min-width: 0;
}

.dashboard-moment-trend__main strong,
.dashboard-moment-trend__main small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-moment-trend__main strong {
    color: #0f172a;
}

.dashboard-moment-trend__main small {
    color: #64748b;
}

.tendencia-news-list {
    display: grid;
    gap: .55rem;
}

.tendencia-news-list a {
    display: grid;
    gap: .15rem;
    padding: .7rem .8rem;
    border: 1px solid #dbe7f0;
    border-radius: 8px;
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
}

.tendencia-news-list a:hover,
.tendencia-news-list a:focus-visible {
    border-color: #93c5fd;
    background: #fff;
}

.tendencia-news-list span {
    color: #64748b;
    font-size: .78rem;
}

.tendencia-news-list strong {
    color: #0f172a;
    font-size: .92rem;
    line-height: 1.25;
}
