/* DevFix Console UI
   New app shell: left navigation, central audit workspace, right AI context panel. */

.app-shell {
    --df-shell-max: 100%;
    --df-header-max: 100%;
    --df-content-max: 100%;
    --df-bg: #202020;
    --df-surface: #262626;
    --df-surface-2: #2B2B2D;
    --df-surface-3: #303034;
    --df-line: rgba(245, 245, 247, 0.08);
    --df-line-strong: rgba(245, 245, 247, 0.13);
    --df-text: #F5F5F7;
    --df-text-2: #C8C8CD;
    --df-text-3: #8E8E94;
    --df-muted: #636366;
    --df-mint: #A8D8C8;
    --df-mint-2: #8AC0AF;
    --df-blue: #6EA8E8;
    --df-blue-2: #9EC7F2;
    --df-red: #E86666;
    --df-red-soft: rgba(232, 102, 102, 0.13);
    --df-amber: #D8B45F;
    --df-amber-soft: rgba(216, 180, 95, 0.13);
    --df-green-soft: rgba(168, 216, 200, 0.12);
    --df-shadow: 0 18px 50px rgba(12, 12, 14, 0.26);
    --df-radius: 8px;
    --df-pad: clamp(16px, 1.45vw, 28px);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 26% -12%, rgba(110, 168, 232, 0.13), transparent 34rem),
        radial-gradient(circle at 92% 2%, rgba(168, 216, 200, 0.10), transparent 32rem),
        linear-gradient(180deg, #202020 0%, #232323 48%, #202020 100%);
    color: var(--df-text);
}

.app-shell > .site-header,
.app-shell > .site-footer,
.app-shell .cookie-consent {
    display: none !important;
}

.app-shell .resultado-wrapper {
    width: 100vw;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

.app-shell .resultado-inner {
    width: 100vw;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    animation: none;
}

.df-console-shell {
    width: 100vw;
    max-width: none !important;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr) 372px;
    grid-template-areas: "sidebar workspace context";
    align-items: start;
    background: rgba(32, 32, 32, 0.72);
    transition: grid-template-columns 180ms ease;
}

.df-console-sidebar,
.df-console-context {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.df-console-sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--df-line);
    background: rgba(38, 38, 38, 0.86);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    padding: 28px 18px;
}

.df-console-sidebar::-webkit-scrollbar,
.df-console-context::-webkit-scrollbar,
.df-native-nav .tabs-nav::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.df-console-sidebar::-webkit-scrollbar-thumb,
.df-console-context::-webkit-scrollbar-thumb,
.df-native-nav .tabs-nav::-webkit-scrollbar-thumb {
    background: rgba(245, 245, 247, 0.16);
    border-radius: var(--df-radius);
}

.df-console-sidebar::-webkit-scrollbar-track,
.df-console-context::-webkit-scrollbar-track,
.df-native-nav .tabs-nav::-webkit-scrollbar-track {
    background: transparent;
}




.df-icon-btn {
    border: 1px solid var(--df-line-strong);
    border-radius: var(--df-radius);
    color: var(--df-text-2);
    background: rgba(245, 245, 247, 0.04);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.df-icon-btn:hover {
    color: var(--df-text);
    border-color: rgba(168, 216, 200, 0.26);
    background: rgba(168, 216, 200, 0.08);
}

.df-icon-btn:focus-visible,
.df-side-item:focus-visible,
.df-side-account:focus-visible,
.df-command-form input:focus-visible,
.df-filter-btn:focus-visible,
.df-run-btn:focus-visible,
.df-copy-prompt:focus-visible,
.df-open-report:focus-visible,
.df-command-chips .tab-btn:focus-visible,
.df-native-nav .tab-btn:focus-visible,
.df-tool-card:focus-visible {
    outline: 2px solid rgba(168, 216, 200, 0.72);
    outline-offset: 3px;
}

.df-side-nav {
    display: grid;
    gap: 6px;
}

.df-side-account {
    min-height: 62px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 10px;
    border: 1px solid var(--df-line-strong);
    border-radius: var(--df-radius);
    color: var(--df-text);
    background: rgba(245, 245, 247, 0.045);
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.df-side-account:hover,
.df-side-account.active,
.df-side-account[aria-current="page"] {
    border-color: rgba(168, 216, 200, 0.30);
    background: rgba(168, 216, 200, 0.09);
}

.df-side-account-avatar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(245, 245, 247, 0.14);
    border-radius: var(--df-radius);
    color: var(--df-mint);
    background: rgba(168, 216, 200, 0.11);
    font-weight: 800;
}

.df-side-account-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.df-side-account-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.df-side-account-label {
    color: var(--df-text);
    font-size: 0.92rem;
    font-weight: 760;
}

.df-side-account-name {
    overflow: hidden;
    color: var(--df-text-3);
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-side-section {
    margin: 24px 10px 8px;
    color: var(--df-text-3);
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0;
}

.df-side-item {
    width: 100%;
    min-height: 46px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: var(--df-radius) !important;
    color: var(--df-text-2);
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.df-side-item:hover {
    color: var(--df-text);
    background: rgba(245, 245, 247, 0.055);
}

.df-side-item.active,
.df-side-item[aria-selected="true"] {
    color: var(--df-blue-2);
    border-color: rgba(110, 168, 232, 0.22);
    background: linear-gradient(90deg, rgba(110, 168, 232, 0.20), rgba(110, 168, 232, 0.06));
    box-shadow: inset 3px 0 0 var(--df-blue);
}

.df-side-icon {
    color: currentColor;
    opacity: 0.92;
}

.df-side-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-side-count {
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 102, 102, 0.48);
    border-radius: var(--df-radius);
    color: var(--df-red);
    background: rgba(232, 102, 102, 0.08);
    font-size: 0.78rem;
}

/* Sinalização delicada: barra à esquerda (fora do item activo) + n○ à direita */
.df-side-item.df-side-item--issues-crit:not(.active) {
    box-shadow: inset 3px 0 0 rgba(248, 113, 113, 0.9);
}

.df-side-item.df-side-item--issues-warn:not(.active):not(.df-side-item--issues-crit) {
    box-shadow: inset 3px 0 0 rgba(251, 146, 60, 0.88);
}

.df-side-hotspots {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    max-width: 52%;
}

.df-side-hotspots__pair {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
    color: var(--df-text-3);
}

.df-side-hotspots__pair--crit {
    color: #f87171;
}

.df-side-hotspots__pair--warn {
    color: #fb923c;
}

.df-side-hotspots__num {
    font-size: 0.66rem;
    font-weight: 780;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.df-side-hotspots__ring {
    width: 8px;
    height: 8px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    opacity: 0.95;
}

.df-console-workspace {
    grid-area: workspace;
    min-width: 0;
    width: 100%;
    padding: var(--df-pad);
}

.df-audit-workspace[hidden],
.df-menu-page-host[hidden] {
    display: none !important;
}

.df-audit-workspace.is-tool-focused .df-native-nav {
    margin-bottom: 18px;
}

/* Dashboard principal: sem linha de abas (Resumo/Preview/OG…); entram por Análise ou atalhos do painel */
.df-audit-workspace.is-dashboard-home .df-native-nav {
    display: none !important;
}

/* Dashboard vs Análise: mesmo tab «overview», conteúdos distintos */
.df-audit-workspace.is-dashboard-home .df-overview-branch--analise {
    display: none !important;
}

.df-audit-workspace:not(.is-dashboard-home) .df-overview-branch--executive {
    display: none !important;
}

.df-analise-hero {
    margin-bottom: 18px;
}

.df-analise-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 760;
    letter-spacing: -0.02em;
    color: var(--df-text);
}

.df-analise-title svg {
    flex-shrink: 0;
    opacity: 0.88;
    color: var(--df-mint);
}

.df-analise-lead {
    margin: 0;
    max-width: 62ch;
    line-height: 1.55;
}

.df-chapter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 14px;
    margin-top: 8px;
}

.df-chapter-card {
    position: relative;
    margin: 0;
    padding: 16px 16px 14px;
    border-radius: 14px;
    border: 1px solid rgba(245, 245, 247, 0.1);
    background: linear-gradient(155deg, rgba(43, 43, 45, 0.94), rgba(28, 29, 32, 0.92));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.df-chapter-card:hover {
    transform: translateY(-2px);
    border-color: rgba(168, 216, 200, 0.22);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.df-chapter-card:focus-visible {
    outline: 2px solid var(--df-mint);
    outline-offset: 2px;
}

.df-chapter-card--mint { --chapter-accent: #6ad4b6; --chapter-glow: rgba(106, 212, 182, 0.14); }
.df-chapter-card--sky { --chapter-accent: #6eb8ff; --chapter-glow: rgba(110, 184, 255, 0.14); }
.df-chapter-card--violet { --chapter-accent: #b89cff; --chapter-glow: rgba(184, 156, 255, 0.14); }
.df-chapter-card--slate { --chapter-accent: #9aa3b2; --chapter-glow: rgba(154, 163, 178, 0.12); }
.df-chapter-card--amber { --chapter-accent: #f5c06a; --chapter-glow: rgba(245, 192, 106, 0.12); }
.df-chapter-card--ocean { --chapter-accent: #5cc8e8; --chapter-glow: rgba(92, 200, 232, 0.14); }
.df-chapter-card--rose { --chapter-accent: #f090b0; --chapter-glow: rgba(240, 144, 176, 0.12); }
.df-chapter-card--lime { --chapter-accent: #c8e85c; --chapter-glow: rgba(200, 232, 92, 0.12); }
.df-chapter-card--ember { --chapter-accent: #ff8a65; --chapter-glow: rgba(255, 138, 101, 0.12); }

.df-chapter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--chapter-glow), transparent 52%);
    pointer-events: none;
}

.df-chapter-card-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.df-chapter-badge {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #10221c;
    background: var(--chapter-accent);
}

.df-chapter-titles h3 {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--df-text);
}

.df-chapter-titles p {
    margin: 0;
    font-size: 0.76rem;
    color: var(--df-text-3);
    line-height: 1.35;
}

.df-chapter-pill {
    margin-left: auto;
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 780;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(245, 245, 247, 0.14);
    background: rgba(0, 0, 0, 0.2);
    color: var(--df-text-2);
}

.df-chapter-pill.is-ok {
    border-color: rgba(168, 216, 200, 0.35);
    color: var(--df-mint);
    background: rgba(168, 216, 200, 0.1);
}

.df-chapter-pill.is-warn {
    border-color: rgba(245, 192, 106, 0.4);
    color: var(--df-amber);
    background: rgba(245, 192, 106, 0.1);
}

.df-chapter-pill.is-bad {
    border-color: rgba(255, 138, 128, 0.45);
    color: #ff9a8c;
    background: rgba(255, 138, 128, 0.09);
}

.df-chapter-kpis {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.df-chapter-kpis > div {
    margin: 0;
    padding: 8px 8px 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(245, 245, 247, 0.06);
}

.df-chapter-kpis dt {
    margin: 0 0 4px;
    font-size: 0.62rem;
    font-weight: 650;
    color: var(--df-text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.df-chapter-kpis dd {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 720;
    color: var(--df-text);
    line-height: 1.25;
    word-break: break-word;
}

.df-chapter-foot {
    position: relative;
    margin: 12px 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--df-text-3);
    min-height: 2.9em;
}

@media (max-width: 520px) {
    .df-chapter-kpis {
        grid-template-columns: 1fr;
    }
}

/* Resumo por categoria (SEO técnico, segurança, …) */
.df-cat-resumo {
    padding-bottom: 8px;
}

.df-cat-resumo-hero {
    margin-bottom: 16px;
    padding: 18px 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(245, 245, 247, 0.1);
    background: linear-gradient(125deg, rgba(43, 43, 45, 0.9), rgba(26, 27, 30, 0.95));
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.df-cat-resumo-hero .tags-title {
    margin: 0 0 8px;
    font-size: 1.28rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.df-cat-resumo-hero .snippet-intro {
    margin: 0 0 14px;
    max-width: 68ch;
    line-height: 1.55;
}

.df-cat-mini-dash {
    margin-top: 4px;
}

.df-cat-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
    gap: 10px;
}

.df-cat-mini-kpi {
    padding: 10px 11px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(245, 245, 247, 0.08);
}

.df-cat-theme-seo .df-cat-mini-kpi { border-top: 2px solid rgba(106, 212, 182, 0.5); }
.df-cat-theme-seg .df-cat-mini-kpi { border-top: 2px solid rgba(110, 184, 255, 0.5); }
.df-cat-theme-devsec .df-cat-mini-kpi { border-top: 2px solid rgba(255, 138, 101, 0.45); }
.df-cat-theme-perf .df-cat-mini-kpi { border-top: 2px solid rgba(245, 192, 106, 0.5); }
.df-cat-theme-infra .df-cat-mini-kpi { border-top: 2px solid rgba(184, 156, 255, 0.45); }
.df-cat-theme-qual .df-cat-mini-kpi { border-top: 2px solid rgba(92, 200, 232, 0.5); }
.df-cat-theme-dados .df-cat-mini-kpi { border-top: 2px solid rgba(240, 144, 176, 0.45); }
.df-cat-theme-rede .df-cat-mini-kpi { border-top: 2px solid rgba(154, 163, 178, 0.45); }

.df-cat-mini-kpi span {
    display: block;
    font-size: 0.62rem;
    font-weight: 650;
    color: var(--df-text-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.df-cat-mini-kpi strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 760;
    color: var(--df-text);
    line-height: 1.2;
}

.df-cat-mini-kpi small {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    color: var(--df-text-3);
    line-height: 1.35;
}

.df-menu-page-host {
    position: relative;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    /* Largura de leitura padrão no hub/ferramentas (o shell da consola força 100% em --df-content-max) */
    --df-content-max: min(var(--df-container-max), 100%);
}

.df-menu-page-content {
    width: 100%;
    background: transparent;
    animation: dfContentFadeIn 320ms ease both;
}

.df-menu-page-content main,
.df-menu-page-content .dt-page,
.df-menu-page-content .history-page,
.df-menu-page-content .api-page,
.df-menu-page-content .profile-page,
.df-menu-page-content .top10-page,
.df-menu-page-content .copywriter-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@keyframes dfContentFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.df-menu-page-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    min-height: 40vh;
    color: var(--df-text-3);
    background: transparent;
    font-weight: 700;
    letter-spacing: 0;
}

.df-menu-page-host.is-loaded .df-menu-page-loader {
    display: none;
}

.df-console-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.df-icon-btn {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.df-command-card {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--df-line-strong);
    border-radius: var(--df-radius);
    background:
        linear-gradient(135deg, rgba(168, 216, 200, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(43, 43, 45, 0.94), rgba(38, 38, 38, 0.90));
    box-shadow: var(--df-shadow);
}

.df-command-segment {
    min-width: 0;
    min-height: 118px;
    padding: 16px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: rgba(43, 43, 45, 0.54);
}

.df-command-segment--intro {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.df-command-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: var(--df-radius);
    border: 1px solid rgba(110, 168, 232, 0.34);
    color: var(--df-blue-2);
    background: rgba(110, 168, 232, 0.12);
}

.df-command-copy h2 {
    margin: 0;
    color: var(--df-text);
    font-size: 1.14rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.df-command-copy p {
    margin: 6px 0 0;
    color: var(--df-text-3);
    line-height: 1.5;
}

.df-command-form {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(170px, 1fr) auto auto;
    gap: 10px;
}

.df-command-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--df-line-strong);
    border-radius: var(--df-radius);
    padding: 0 16px;
    color: var(--df-text);
    background: rgba(32, 32, 32, 0.62);
    font: 650 1rem var(--font-body);
    outline: none;
}

.df-command-form input:focus {
    border-color: rgba(168, 216, 200, 0.46);
    box-shadow: 0 0 0 4px rgba(168, 216, 200, 0.10);
}

.df-command-form input::placeholder {
    color: var(--df-muted);
}

.df-filter-btn,
.df-run-btn,
.df-copy-prompt,
.df-open-report {
    min-height: 48px;
    border-radius: var(--df-radius);
    padding: 0 18px;
    border: 1px solid var(--df-line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: 700 0.92rem var(--font-body);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.df-filter-btn,
.df-open-report {
    color: var(--df-text-2);
    background: rgba(245, 245, 247, 0.045);
}

.df-run-btn,
.df-copy-prompt {
    color: #10221C;
    border-color: rgba(168, 216, 200, 0.34);
    background: var(--df-mint);
    box-shadow: 0 12px 26px rgba(168, 216, 200, 0.14);
}

.df-filter-btn:hover,
.df-open-report:hover {
    color: var(--df-text);
    background: rgba(245, 245, 247, 0.07);
}

.df-run-btn:hover,
.df-copy-prompt:hover {
    background: #C2E4D7;
    transform: translateY(-1px);
}

.df-command-error {
    grid-column: 3;
    margin: -8px 0 0;
    min-height: 18px;
    color: var(--df-red);
    font-size: 0.84rem;
}

.df-command-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.df-command-chips .tab-btn,
.df-native-nav .tab-btn {
    min-height: 34px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid rgba(110, 168, 232, 0.22);
    border-radius: var(--df-radius) !important;
    color: var(--df-blue-2);
    background: rgba(110, 168, 232, 0.08);
    font-size: 0.86rem;
}

.df-command-chips .tab-btn:hover,
.df-native-nav .tab-btn:hover {
    color: var(--df-text);
    background: rgba(110, 168, 232, 0.14);
}

.df-command-chips .tab-btn.active,
.df-native-nav .tab-btn.active {
    color: #10221C;
    border-color: rgba(168, 216, 200, 0.42);
    background: var(--df-mint);
}

.df-tool-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.df-tool-card {
    min-height: 132px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    gap: 8px 12px;
    padding: 18px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius) !important;
    color: var(--df-text);
    background: rgba(43, 43, 45, 0.80);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(12, 12, 14, 0.16);
}

.df-tool-card:hover,
.df-tool-card.active {
    border-color: rgba(168, 216, 200, 0.24);
    background: rgba(48, 48, 52, 0.92);
    transform: translateY(-2px);
}

.df-tool-card-icon {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    border-radius: var(--df-radius);
}

.df-tool-card-icon--blue {
    color: var(--df-blue-2);
    background: rgba(110, 168, 232, 0.12);
}

.df-tool-card-icon--red {
    color: var(--df-red);
    background: var(--df-red-soft);
}

.df-tool-card-icon--amber {
    color: var(--df-amber);
    background: var(--df-amber-soft);
}

.df-tool-card-icon--mint {
    color: var(--df-mint);
    background: var(--df-green-soft);
}

.df-tool-card strong {
    align-self: end;
    color: var(--df-text);
    font-size: 1rem;
}

.df-tool-card small {
    color: var(--df-text-3);
    line-height: 1.35;
}

.df-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.df-dashboard-card {
    min-width: 0;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background:
        linear-gradient(180deg, rgba(43, 43, 45, 0.86), rgba(34, 34, 36, 0.92));
    box-shadow: 0 12px 32px rgba(12, 12, 14, 0.13);
}

.df-dashboard-card span {
    color: var(--df-blue-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
}

.df-dashboard-card strong {
    color: var(--df-text);
    font-size: clamp(2rem, 2.3vw, 3.1rem);
    line-height: 1;
    letter-spacing: 0;
}

.df-dashboard-card small {
    color: var(--df-text-3);
    line-height: 1.35;
}

.df-overview-strip {
    margin: 0 0 18px;
}

/* ── Cockpit Wrapper (search + pills + new site) ──────────────────────────── */
.df-cockpit-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    margin: 0 0 14px;
    align-items: stretch;
}

.df-cockpit-rail {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, minmax(110px, 0.7fr));
    gap: 12px;
}

.df-cockpit-search,
.df-cockpit-newsite {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: rgba(43, 43, 45, 0.82);
    box-shadow: 0 10px 24px rgba(12, 12, 14, 0.12);
    position: relative;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    min-width: 0;
    cursor: text;
}

.df-cockpit-search:focus-within,
.df-cockpit-newsite:focus-within {
    border-color: rgba(168, 216, 200, 0.38);
    background: rgba(245, 245, 247, 0.06);
    box-shadow: 0 0 0 3px rgba(168, 216, 200, 0.08);
}

.df-cockpit-search svg,
.df-cockpit-newsite svg {
    flex-shrink: 0;
    color: var(--df-text-3);
}

.df-cockpit-search input,
.df-cockpit-newsite input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--df-text);
    font-family: var(--df-font);
    font-size: 0.82rem;
    min-width: 0;
}

.df-cockpit-search input::placeholder,
.df-cockpit-newsite input::placeholder {
    color: var(--df-text-3);
}

/* Evitar fundo branco de autofill do Chrome/Edge */
.df-cockpit-search input:-webkit-autofill,
.df-cockpit-search input:-webkit-autofill:hover,
.df-cockpit-search input:-webkit-autofill:focus,
.df-cockpit-search input:-webkit-autofill:active,
.df-cockpit-newsite input:-webkit-autofill,
.df-cockpit-newsite input:-webkit-autofill:hover,
.df-cockpit-newsite input:-webkit-autofill:focus,
.df-cockpit-newsite input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #2b2b2d inset !important;
    -webkit-text-fill-color: var(--df-text) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.df-newsite-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--df-line-strong);
    border-radius: 6px;
    background: rgba(168, 216, 200, 0.1);
    color: var(--df-mint);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
    font-family: var(--df-font);
    line-height: 1;
}

.df-newsite-btn:hover {
    background: rgba(168, 216, 200, 0.2);
    border-color: rgba(168, 216, 200, 0.3);
    transform: translateX(2px);
}

.df-cockpit-pill {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 13px 16px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background:
        radial-gradient(circle at 0% 0%, rgba(110, 168, 232, 0.12), transparent 8rem),
        rgba(43, 43, 45, 0.82);
    box-shadow: 0 10px 24px rgba(12, 12, 14, 0.12);
}

.df-cockpit-pill span {
    color: var(--df-text-3);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.df-cockpit-pill strong {
    min-width: 0;
    color: var(--df-text);
    font-size: 1rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-cockpit-pill.is-good strong {
    color: var(--df-mint);
}

.df-cockpit-pill.is-warn strong {
    color: var(--df-amber);
}

.df-cockpit-pill.is-bad strong {
    color: var(--df-red);
}

.df-overview-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.df-overview-stack--after-metrics {
    margin-top: 18px;
}

.df-overview-row {
    display: grid;
    gap: 18px;
    align-items: stretch;
}

.df-overview-row--tops {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.df-overview-row--insights {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1320px) {
    .df-overview-row--tops {
        grid-template-columns: 1fr;
    }

    .df-overview-row--insights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.df-overview-card {
    min-width: 0;
    min-height: 360px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background:
        radial-gradient(circle at 50% 0%, rgba(168, 216, 200, 0.08), transparent 14rem),
        linear-gradient(180deg, rgba(43, 43, 45, 0.88), rgba(34, 34, 36, 0.94));
    box-shadow: 0 18px 46px rgba(12, 12, 14, 0.22);
    text-align: center;
}

.df-overview-card h2 {
    margin: 0;
    color: var(--df-text);
    font-size: clamp(1.08rem, 1.4vw, 1.45rem);
    line-height: 1.2;
    letter-spacing: 0;
}

.df-overview-score-gauge {
    --score-angle: 0deg;
    --score-needle-angle: -90deg;
    position: relative;
    width: min(270px, 100%);
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-radius: 270px 270px 0 0;
    background:
        conic-gradient(from 270deg at 50% 100%,
            #D81E1E 0deg 22deg,
            #F23A2E 22deg 45deg,
            #FF7B12 45deg 72deg,
            #FFC400 72deg 104deg,
            #C5CD21 104deg 132deg,
            #57B957 132deg 158deg,
            #23B96D 158deg 180deg,
            transparent 180deg 360deg);
}

.df-overview-score-gauge::after {
    content: "";
    position: absolute;
    inset: 34px 42px 0;
    border-radius: 999px 999px 0 0;
    background: rgba(34, 34, 36, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.df-overview-score-mask {
    position: absolute;
    inset: 0;
    background:
        conic-gradient(from 270deg at 50% 100%,
            transparent 0deg var(--score-angle),
            rgba(245, 245, 247, 0.84) var(--score-angle) 180deg,
            transparent 180deg 360deg);
    mix-blend-mode: saturation;
    opacity: 0.55;
}

.df-overview-score-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 2;
    width: 4px;
    height: 46%;
    border-radius: 999px;
    background: var(--df-text);
    box-shadow: 0 0 0 1px rgba(12, 12, 14, 0.5);
    transform: translateX(-50%) rotate(var(--score-needle-angle));
    transform-origin: 50% 100%;
}

.df-overview-score-needle::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--df-mint);
    transform: translateX(-50%);
}

.df-overview-score-value {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 3;
    display: grid;
    gap: 2px;
    color: var(--df-text);
}

.df-overview-score-value strong {
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    line-height: 1;
}

.df-overview-score-value small {
    color: var(--df-text-2);
    font-size: 0.94rem;
    font-weight: 800;
}

.df-overview-score-card p {
    max-width: 34ch;
    margin: 0;
    color: var(--df-text-3);
    font-size: 0.98rem;
    line-height: 1.5;
}

.df-overview-score-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(168, 216, 200, 0.30);
    border-radius: var(--df-radius);
    color: var(--df-mint);
    background: rgba(168, 216, 200, 0.08);
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.df-overview-donut-card {
    gap: 14px;
}

.df-overview-donut-stage {
    position: relative;
    width: min(200px, 88vw);
    aspect-ratio: 1;
}

.df-overview-donut {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        var(--df-mint) 0deg 120deg,
        var(--df-amber) 120deg 240deg,
        var(--df-red) 240deg 360deg
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
}

.df-overview-donut-core {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 2px;
    text-align: center;
    pointer-events: none;
    color: var(--df-text);
}

.df-overview-donut-core strong {
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1;
}

.df-overview-donut-core small {
    color: var(--df-text-3);
    font-size: 0.82rem;
    font-weight: 800;
}

.df-overview-donut-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 280px;
    display: grid;
    gap: 8px;
}

.df-overview-donut-legend li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    color: var(--df-text-3);
    font-size: 0.82rem;
    font-weight: 700;
}

.df-overview-donut-legend li strong {
    color: var(--df-text);
    font-size: 0.95rem;
    font-weight: 900;
}

.df-donut-swatch {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--df-text-3);
}

.df-donut-swatch.is-ok {
    background: var(--df-mint);
}

.df-donut-swatch.is-warn {
    background: var(--df-amber);
}

.df-donut-swatch.is-err {
    background: var(--df-red);
}

.df-overview-card--insight {
    min-height: 268px;
    align-content: start;
    justify-items: stretch;
    text-align: left;
    gap: 16px;
}

.df-overview-card--insight h2 {
    justify-self: start;
    text-align: left;
}

.df-insight-body {
    width: 100%;
    display: grid;
    gap: 10px;
    align-content: start;
}

.df-insight-stat-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
}

.df-insight-stat-head strong {
    margin: 0;
    color: var(--df-text);
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
    line-height: 1;
    font-weight: 900;
}

.df-insight-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(245, 245, 247, 0.14);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--df-text-2);
    background: rgba(245, 245, 247, 0.05);
}

.df-insight-badge.is-good {
    border-color: rgba(168, 216, 200, 0.35);
    color: var(--df-mint);
    background: rgba(168, 216, 200, 0.08);
}

.df-insight-badge.is-warn {
    border-color: rgba(255, 196, 0, 0.35);
    color: var(--df-amber);
    background: rgba(255, 196, 0, 0.09);
}

.df-insight-badge.is-bad {
    border-color: rgba(248, 60, 50, 0.35);
    color: #ff9a93;
    background: rgba(248, 60, 50, 0.1);
}

.df-insight-note {
    margin: 0;
    color: var(--df-text-3);
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 600;
}

.df-insight-spark {
    width: 100%;
    height: 44px;
    color: rgba(86, 176, 200, 0.85);
}

.df-insight-body--ring {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
}

.df-insight-ring {
    --ring-pct: 0;
    position: relative;
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--df-mint) 0% calc(var(--ring-pct) * 1%),
        rgba(245, 245, 247, 0.08) calc(var(--ring-pct) * 1%) 100%
    );
}

.df-insight-ring-cap {
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 0%, rgba(168, 216, 200, 0.06), transparent 55%),
        rgba(34, 34, 36, 0.98);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.df-insight-ring-meta {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.df-insight-ring-meta strong {
    margin: 0;
    color: var(--df-text);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 900;
    line-height: 1;
}

.df-insight-ring-meta small {
    color: var(--df-text-3);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
}

.df-insight-hbars {
    width: 100%;
    display: grid;
    gap: 14px;
}

.df-insight-hbar {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
}

.df-insight-hbar span {
    grid-column: 1 / -1;
    color: var(--df-text-3);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.df-insight-track {
    grid-column: 1;
    height: 8px;
    border-radius: 999px;
    background: rgba(245, 245, 247, 0.08);
    overflow: hidden;
}

.df-insight-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(86, 176, 200, 0.55), var(--df-mint));
    min-width: 4%;
    transition: width 240ms ease;
}

.df-insight-hbar em {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: var(--df-text);
    font-size: 0.88rem;
    font-weight: 900;
    font-style: normal;
}

.df-overview-card--serp {
    min-height: 300px;
}

.df-insight-note--tight {
    margin-top: -4px;
}

.df-serp-barchart {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px 8px;
    width: 100%;
    align-items: end;
}

.df-serp-col {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-width: 0;
}

.df-serp-stack {
    width: 100%;
    height: 76px;
    display: flex;
    align-items: flex-end;
    padding: 0 3px;
    border-radius: 8px;
    background: rgba(12, 12, 14, 0.35);
    border: 1px solid rgba(245, 245, 247, 0.06);
}

.df-serp-fill {
    display: block;
    width: 100%;
    min-height: 6px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, rgba(86, 176, 200, 0.95), var(--df-mint));
    transition: height 260ms ease;
}

.df-serp-fill.is-high {
    background: linear-gradient(180deg, #5bc4a8, var(--df-mint));
}

.df-serp-fill.is-mid {
    background: linear-gradient(180deg, rgba(255, 196, 0, 0.92), var(--df-amber));
}

.df-serp-fill.is-low {
    background: linear-gradient(180deg, rgba(142, 142, 150, 0.55), rgba(80, 80, 86, 0.92));
}

.df-serp-ico {
    width: 18px;
    height: 18px;
    color: var(--df-text-3);
    flex-shrink: 0;
}

.df-serp-cap {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--df-text-3);
    text-align: center;
    line-height: 1.15;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.df-serp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    width: 100%;
    margin-top: 2px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--df-text-3);
}

.df-serp-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.df-serp-leg {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.df-serp-leg.sw-strong {
    background: linear-gradient(180deg, #5bc4a8, var(--df-mint));
}

.df-serp-leg.sw-mid {
    background: linear-gradient(180deg, #ffd35c, var(--df-amber));
}

.df-serp-leg.sw-weak {
    background: rgba(80, 80, 86, 0.95);
}

.df-serp-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-top: 2px;
}

.df-serp-mini-table th,
.df-serp-mini-table td {
    padding: 8px 2px;
    border-top: 1px solid rgba(245, 245, 247, 0.08);
    text-align: left;
    vertical-align: top;
}

.df-serp-mini-table th {
    width: 42%;
    color: var(--df-text-3);
    font-weight: 800;
}

.df-serp-mini-table td {
    color: var(--df-text);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
    .df-serp-barchart {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.df-overview-mosaic-card {
    align-content: stretch;
}

.df-metric-mosaic {
    width: 100%;
    min-height: 285px;
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(126px, 1fr));
    gap: 10px;
}

.df-mosaic-tile {
    min-width: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 9px;
    padding: 15px;
    border: 1px solid rgba(245, 245, 247, 0.08);
    border-radius: var(--df-radius);
    background:
        radial-gradient(circle at 50% 0%, rgba(168, 216, 200, 0.09), transparent 8rem),
        rgba(245, 245, 247, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.df-mosaic-tile--hero {
    grid-row: 1 / 3;
    background:
        radial-gradient(circle at 50% 30%, rgba(168, 216, 200, 0.20), transparent 10rem),
        rgba(168, 216, 200, 0.055);
}

.df-mosaic-tile span {
    color: var(--df-text-3);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.df-mosaic-tile strong {
    max-width: 100%;
    color: var(--df-text);
    font-size: clamp(1.65rem, 2.8vw, 3rem);
    line-height: 1;
    overflow-wrap: anywhere;
}

.df-mosaic-tile--hero strong {
    color: var(--df-mint);
    font-size: clamp(3.5rem, 5.6vw, 6rem);
}

.df-mosaic-tile small {
    color: var(--df-text-3);
    font-size: 0.82rem;
    font-weight: 800;
}

.df-mosaic-tile.is-good strong,
.df-mosaic-tile.is-good span {
    color: var(--df-mint);
}

.df-mosaic-tile.is-warn strong,
.df-mosaic-tile.is-warn span {
    color: var(--df-amber);
}

.df-mosaic-tile.is-bad strong,
.df-mosaic-tile.is-bad span {
    color: var(--df-red);
}

.df-radar-wrap {
    width: min(290px, 100%);
}

.df-radar-chart {
    width: 100%;
    height: auto;
    overflow: visible;
}

.df-radar-chart line,
.df-radar-ring {
    fill: rgba(168, 216, 200, 0.05);
    stroke: rgba(168, 216, 200, 0.18);
    stroke-width: 1;
}

.df-radar-fill {
    fill: rgba(168, 216, 200, 0.30);
    stroke: var(--df-mint);
    stroke-width: 3;
}

.df-radar-chart text {
    fill: var(--df-text-3);
    font-size: 11px;
    font-weight: 800;
}

.df-overview-counts {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.df-overview-counts span {
    display: grid;
    gap: 7px;
    justify-items: center;
}

.df-overview-counts strong {
    min-width: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #10221C;
    background: var(--df-mint);
    font-size: 1.2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.df-overview-counts span:nth-child(2) strong {
    background: var(--df-amber);
}

.df-overview-counts span:nth-child(3) strong {
    color: #fff;
    background: var(--df-red);
}

.df-overview-counts small {
    color: var(--df-text-3);
    font-size: 0.86rem;
    font-weight: 800;
}

.df-site-metrics-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: 12px;
    margin-bottom: 18px;
}

.df-metric-span-2 {
    grid-column: span 2;
}

.df-metric-span-3 {
    grid-column: span 3;
}

/* ─── Base card ─── */
.df-site-metric-card {
    --metric-level: 50;
    --metric-angle: 90deg;
    --metric-needle-angle: 0deg;
    --_accent: var(--df-text-3);
    min-width: 0;
    position: relative;
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 6px;
    padding: 20px 16px 16px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: linear-gradient(180deg, rgba(43, 43, 45, 0.82), rgba(34, 34, 36, 0.92));
    box-shadow: 0 8px 24px rgba(12, 12, 14, 0.10);
    text-align: center;
    overflow: hidden;
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
    cursor: pointer;
}

.df-site-metric-card:hover {
    border-color: rgba(168, 216, 200, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(12, 12, 14, 0.18);
}

.df-site-metric-card.is-pass  { --_accent: var(--df-mint); }
.df-site-metric-card.is-warning { --_accent: var(--df-amber); }
.df-site-metric-card.is-fail { --_accent: var(--df-red); }

.df-site-metric-title {
    color: var(--df-text-3);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─── Meter → Horizontal progress bar (default style) ─── */
.df-site-meter {
    position: relative;
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(245, 245, 247, 0.06);
    aspect-ratio: auto;
}

.df-site-meter::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--_accent);
    transform-origin: left center;
    transform: scaleX(calc(var(--metric-level) / 100));
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.df-site-meter::after {
    content: none;
}

.df-site-meter i,
.df-site-meter i::after {
    display: none;
}

.df-site-metric-card strong {
    color: var(--df-text);
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.df-site-metric-card small {
    max-width: 18ch;
    margin: 0 auto;
    color: var(--df-text-3);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
}

/* ─── ROW 1: Arc ring (first 5 cards) ─── */
.df-site-metric-card:nth-child(-n+5) {
    min-height: 192px;
    grid-template-rows: auto 1fr auto auto;
    background:
        radial-gradient(circle at 50% 70%, rgba(168, 216, 200, 0.04), transparent 8rem),
        linear-gradient(180deg, rgba(43, 43, 45, 0.86), rgba(34, 34, 36, 0.94));
}

.df-site-metric-card:nth-child(-n+5) .df-site-meter {
    width: min(100px, 80%);
    height: auto;
    aspect-ratio: 2 / 1;
    border-radius: 999px 999px 0 0;
    background:
        conic-gradient(from 270deg at 50% 100%,
            rgba(245, 245, 247, 0.06) 0deg 180deg,
            transparent 180deg 360deg);
    overflow: hidden;
}

.df-site-metric-card:nth-child(-n+5) .df-site-meter::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px 999px 0 0;
    background:
        conic-gradient(from 270deg at 50% 100%,
            var(--_accent) 0deg var(--metric-angle),
            transparent var(--metric-angle) 180deg,
            transparent 180deg 360deg);
    transform: none;
    opacity: 0.9;
    animation: dfArcReveal 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dfArcReveal {
    from { clip-path: polygon(50% 100%, 50% 100%, 50% 100%); }
    to   { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.df-site-metric-card:nth-child(-n+5) .df-site-meter::after {
    content: "";
    display: block;
    position: absolute;
    inset: 14px 18px 0;
    border-radius: 999px 999px 0 0;
    background: rgba(34, 34, 36, 0.96);
}

/* First card (Score) — hero size */
.df-site-metric-card:first-child {
    background:
        radial-gradient(circle at 50% 60%, rgba(168, 216, 200, 0.07), transparent 9rem),
        linear-gradient(180deg, rgba(43, 43, 45, 0.86), rgba(34, 34, 36, 0.94));
}

.df-site-metric-card:first-child .df-site-meter {
    width: min(120px, 85%);
}

.df-site-metric-card:first-child strong {
    font-size: clamp(2rem, 2.8vw, 3rem);
}

/* ─── ROW 2: Compact bar cards (cards 6-11) ─── */
.df-site-metric-card:nth-child(n+6):nth-child(-n+11) {
    min-height: 128px;
    grid-template-rows: auto auto 1fr auto;
    padding: 16px 16px 14px;
}

.df-site-metric-card:nth-child(n+6):nth-child(-n+11) .df-site-meter {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    margin-top: 4px;
}

.df-site-metric-card:nth-child(n+6):nth-child(-n+11) strong {
    font-size: clamp(1.3rem, 1.8vw, 2rem);
}

/* ─── ROW 3: Accent stripe cards (cards 12-16) ─── */
.df-site-metric-card:nth-child(n+12) {
    min-height: 140px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    border-left: 3px solid var(--_accent);
    background: linear-gradient(135deg, rgba(43, 43, 45, 0.78), rgba(34, 34, 36, 0.90));
}

.df-site-metric-card:nth-child(n+12) .df-site-meter {
    width: 60%;
    height: 4px;
    margin-top: 6px;
}

.df-site-metric-card:nth-child(n+12) strong {
    font-size: clamp(1.8rem, 2.4vw, 2.8rem);
}

/* ─── State colors on value text ─── */
.df-site-metric-card.is-pass strong,
.df-site-metric-card.is-pass .df-site-metric-title {
    color: var(--df-mint);
}

.df-site-metric-card.is-warning strong,
.df-site-metric-card.is-warning .df-site-metric-title {
    color: var(--df-amber);
}

.df-site-metric-card.is-fail strong,
.df-site-metric-card.is-fail .df-site-metric-title {
    color: var(--df-red);
}

.df-native-nav {
    margin-bottom: 18px;
}

.df-native-nav .category-bar-shell {
    display: none !important;
}

.df-native-nav #tabsAssets {
    padding-bottom: 6px;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(245, 245, 247, 0.06);
}

.df-native-nav #tabsAssets .tab-btn {
    border-color: rgba(110, 168, 232, 0.18);
    background: rgba(43, 43, 45, 0.55);
    color: var(--df-text-2);
}

.df-native-nav #tabsAssets .tab-btn:hover {
    border-color: rgba(168, 216, 200, 0.28);
    color: var(--df-text);
    background: rgba(110, 168, 232, 0.1);
}

.df-native-nav #tabsAssets .tab-btn.active {
    color: #10221c;
    border-color: rgba(168, 216, 200, 0.48);
    background: var(--df-mint);
}

.df-result-stage .df-asset-tool-panel {
    padding-top: 2px;
}

.df-native-nav .tabs-nav {
    width: 100%;
    gap: 8px;
    padding: 0 0 4px;
    border-bottom: 0;
    overflow-x: auto;
}

.df-result-stage {
    min-width: 0;
}

.df-result-stage .tab-panel {
    padding: 0;
}

/* Security Headers Grader: largura total no workspace fluid (evita faixa estreita) */
.df-result-stage #tab-headers.tab-panel {
    width: 100%;
    min-width: 0;
    max-width: none;
}

.df-result-stage #tab-headers .tags-section--codeblock {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: none;
    min-width: 0;
    align-items: stretch;
}

.df-result-stage .hd-top-grid,
.df-result-stage .hd-list-grid {
    width: 100%;
    min-width: 0;
}

.df-result-stage .hd-top-card,
.df-result-stage .hd-item:not(.hd-item--partial),
.df-result-stage .hd-obs-wrap {
    border-radius: var(--df-radius) !important;
    border-color: var(--df-line) !important;
    background: rgba(43, 43, 45, 0.82) !important;
    box-shadow: 0 14px 34px rgba(12, 12, 14, 0.14) !important;
}

.df-result-stage .hd-item--partial {
    background: var(--warning-soft) !important;
    border-color: color-mix(in srgb, var(--warning) 45%, var(--df-line)) !important;
    box-shadow: 0 14px 34px rgba(12, 12, 14, 0.14) !important;
}

.df-asset-tool-panel {
    min-width: 0;
}

.df-asset-tool-shell {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.df-asset-tool-frame {
    display: block;
    width: 100%;
    min-height: min(85vh, 920px);
    border: 0;
    background: transparent;
}

.df-asset-tool-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    color: var(--df-text-2);
    background: rgba(24, 24, 25, 0.78);
    font-weight: 700;
}

.df-asset-tool-shell.is-loaded .df-asset-tool-loader {
    display: none;
}

.df-result-stage #tab-overview.tab-panel,
.df-result-stage #tab-preview.tab-panel {
    padding: 0;
}

.df-result-stage .tags-section {
    width: 100%;
    margin: 0 0 16px;
    padding: 20px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: rgba(43, 43, 45, 0.80);
    box-shadow: 0 12px 32px rgba(12, 12, 14, 0.13);
}

.df-result-stage .tags-section--codeblock {
    display: grid;
    gap: 8px;
}

.df-result-stage .tags-section--overview {
    display: grid;
    gap: 16px;
}

.df-resumo-executive {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px !important;
    background:
        radial-gradient(ellipse 120% 80% at 12% -20%, rgba(110, 168, 232, 0.16), transparent 55%),
        radial-gradient(ellipse 90% 60% at 100% 0%, rgba(168, 216, 200, 0.1), transparent 45%),
        rgba(43, 43, 45, 0.85) !important;
    border-color: rgba(245, 245, 247, 0.09) !important;
    box-shadow: 0 16px 48px rgba(12, 12, 14, 0.2) !important;
}

.df-resumo-hero {
    margin: 0;
}

.df-resumo-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.22rem !important;
    letter-spacing: -0.02em;
}

.df-resumo-lead {
    max-width: 58rem;
    margin: 0;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
}

.df-resumo-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.df-resumo-pillar {
    --pillar-pct: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    display: grid;
    gap: 7px;
    justify-items: center;
    text-align: center;
    padding: 14px 8px 12px;
    border: 1px solid rgba(245, 245, 247, 0.08);
    border-radius: var(--df-radius);
    background:
        linear-gradient(165deg, rgba(245, 245, 247, 0.05), rgba(34, 34, 36, 0.65));
    box-shadow: 0 10px 28px rgba(12, 12, 14, 0.12);
    cursor: pointer;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.df-resumo-pillar:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 216, 200, 0.22);
    box-shadow: 0 14px 40px rgba(12, 12, 14, 0.2);
}

.df-resumo-pillar:focus-visible {
    outline: 2px solid rgba(168, 216, 200, 0.45);
    outline-offset: 2px;
}

.df-resumo-pillar-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--df-text-2);
    line-height: 1.2;
}

.df-resumo-pillar-hint {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--df-text-3);
    letter-spacing: 0;
}

.df-resumo-pillar-ring {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(
        var(--df-mint) calc(var(--pillar-pct) * 360deg),
        rgba(245, 245, 247, 0.1) 0
    );
    box-shadow: inset 0 0 0 4px rgba(34, 34, 36, 0.95);
}

.df-resumo-pillar-ring::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: rgba(34, 34, 36, 0.94);
    z-index: 0;
}

.df-resumo-pillar-ring strong {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--df-text);
}

.df-resumo-pillar.is-mid .df-resumo-pillar-ring {
    background: conic-gradient(
        var(--df-amber) calc(var(--pillar-pct) * 360deg),
        rgba(245, 245, 247, 0.1) 0
    );
}

.df-resumo-pillar.is-low .df-resumo-pillar-ring {
    background: conic-gradient(
        var(--df-red) calc(var(--pillar-pct) * 360deg),
        rgba(245, 245, 247, 0.1) 0
    );
}

.df-resumo-pillar--analise {
    border-color: rgba(110, 168, 232, 0.22);
    background:
        linear-gradient(165deg, rgba(110, 168, 232, 0.12), rgba(34, 34, 36, 0.72));
}

.df-dashboard-overview .df-overview-strip:first-of-type {
    margin-top: 4px;
}

.df-guidance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.df-guidance-card {
    min-width: 0;
    min-height: 150px;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px;
    border: 1px solid rgba(245, 245, 247, 0.08);
    border-radius: var(--df-radius);
    background:
        radial-gradient(circle at 100% 0%, rgba(168, 216, 200, 0.08), transparent 8rem),
        rgba(245, 245, 247, 0.035);
}

.df-guidance-card span {
    color: var(--df-blue-2);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0;
}

.df-guidance-card p {
    margin: 0;
    color: var(--df-text-3);
    font-size: 0.92rem;
    line-height: 1.45;
}

.df-guidance-card strong {
    color: var(--df-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.df-result-stage .tags-title {
    color: var(--df-text);
    font-size: 1.08rem;
    letter-spacing: 0;
}

.df-result-stage .snippet-intro,
.df-result-stage p {
    color: var(--df-text-3);
}

.app-shell #heroResultCard.df-site-hero {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    margin: 0 0 18px;
    padding: 0 !important;
    border: 1px solid var(--df-line-strong);
    border-bottom: 1px solid var(--df-line-strong);
    border-radius: var(--df-radius);
    background:
        linear-gradient(135deg, rgba(110, 168, 232, 0.13), transparent 35%),
        rgba(43, 43, 45, 0.88);
    box-shadow: var(--df-shadow);
}

.app-shell #heroResultCard.df-site-hero .res-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) !important;
    gap: 16px !important;
    align-items: stretch !important;
    height: auto !important;
    padding: 18px !important;
}

.app-shell #heroResultCard.df-site-hero .res-actions-col {
    min-width: 0;
    height: auto !important;
    overflow: visible !important;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: rgba(38, 38, 38, 0.74);
    padding: 18px;
}

.app-shell #heroResultCard.df-site-hero .res-content-col {
    min-width: 0;
    height: auto !important;
    overflow: visible !important;
    display: grid !important;
    grid-template-rows: minmax(110px, 0.8fr) minmax(150px, 1.2fr);
    align-items: stretch !important;
    gap: 16px;
    padding: 0;
    border: 0;
    background: transparent;
}

.app-shell #heroResultCard.df-site-hero .res-actions-col {
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-rows: auto 1fr auto !important;
    align-items: center !important;
    justify-items: center !important;
    place-items: center !important;
    gap: 12px !important;
    text-align: center;
}

.app-shell #heroResultCard.df-site-hero .res-brand-row {
    align-items: center;
    gap: 10px;
    min-height: 0;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: rgba(38, 38, 38, 0.74);
    padding: 18px;
}

.app-shell #heroResultCard.df-site-hero .res-body-area {
    justify-content: flex-end;
    min-height: 0;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: rgba(38, 38, 38, 0.74);
    padding: 18px;
}

.app-shell #heroResultCard.df-site-hero .res-block-label {
    color: var(--df-blue-2);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
}

.app-shell #heroResultCard.df-site-hero #hdrTitle {
    color: var(--df-text);
    font-size: clamp(1.55rem, 2.3vw, 3rem);
    line-height: 1.06;
    letter-spacing: 0;
    display: block !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

.app-shell #heroResultCard.df-site-hero #hdrDesc {
    color: var(--df-text-2);
    display: block !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

.app-shell #heroResultCard.df-site-hero #resUrlLink {
    color: var(--df-text-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-shell #heroResultCard.df-site-hero .hero-pill {
    min-height: 34px;
    border-radius: var(--df-radius);
    color: var(--df-text-2);
    background: rgba(245, 245, 247, 0.045);
    border-color: var(--df-line);
}

.app-shell #heroResultCard.df-site-hero .medal-widget {
    width: min(190px, 100%);
    min-height: 210px;
    display: grid !important;
    align-content: center !important;
    justify-items: center !important;
    margin: 0 auto !important;
    padding: 18px !important;
    border-radius: var(--df-radius);
    border-color: var(--df-line);
    background:
        radial-gradient(circle at 50% 0%, rgba(168, 216, 200, 0.18), transparent 12rem),
        rgba(32, 32, 32, 0.42);
    text-align: center;
}

.app-shell #heroResultCard.df-site-hero .medal-score-wrap {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.app-shell #heroResultCard.df-site-hero #medalIcon {
    display: grid;
    justify-items: center;
    place-items: center;
    min-height: 80px;
}

.app-shell #heroResultCard.df-site-hero #hdrScoreNum {
    color: var(--df-text);
    font-size: clamp(2.6rem, 3.6vw, 4.8rem);
}

.app-shell #heroResultCard.df-site-hero #medalText {
    color: var(--df-mint);
    letter-spacing: 0;
    text-transform: none;
}

.app-shell #heroResultCard.df-site-hero .btn-export-pdf,
.app-shell #heroResultCard.df-site-hero #btnCopyHash.hero-copy-hash-btn {
    width: min(190px, 100%);
    min-height: 44px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    border-radius: var(--df-radius);
    text-align: center;
}

.app-shell #heroResultCard.df-site-hero .btn-export-pdf {
    color: #10221C;
    background: var(--df-mint);
    box-shadow: 0 12px 26px rgba(168, 216, 200, 0.14);
}

.app-shell #heroResultCard.df-site-hero #btnCopyHash.hero-copy-hash-btn {
    color: var(--df-text-2);
    background: rgba(245, 245, 247, 0.045);
    border-color: var(--df-line);
}

.df-result-stage .preview-grid,
.df-result-stage .perf-grid,
.df-result-stage .diag-grid,
.df-result-stage .saved-audit-grid,
.df-result-stage .audit-cards-grid,
.df-result-stage .headers-grid,
.df-result-stage .robots-grid,
.df-result-stage .security-grid,
.df-result-stage .nettool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
}

.df-result-stage .preview-card,
.df-result-stage .perf-card,
.df-result-stage .saved-audit-card,
.df-result-stage .crawler-card,
.df-result-stage .sec-header-card,
.df-result-stage .ref-card,
.df-result-stage .step-card,
.df-result-stage .api-example-card,
.df-result-stage .code-editor-wrap,
.df-result-stage .schema-block,
.df-result-stage .hd-raw-block,
.df-result-stage .robots-stack-item,
.df-result-stage .nettool-card {
    border-radius: var(--df-radius) !important;
    border-color: var(--df-line) !important;
    background: rgba(43, 43, 45, 0.82) !important;
    box-shadow: 0 14px 34px rgba(12, 12, 14, 0.14) !important;
}

.df-result-stage .tags-badge,
.df-result-stage .saved-audit-status,
.df-result-stage .api-status-badge,
.df-result-stage .wh-status-badge,
.df-result-stage .env-status-badge,
.df-result-stage .aip-badge {
    border-radius: var(--df-radius) !important;
    border: 1px solid var(--df-line);
    background: rgba(245, 245, 247, 0.045);
    letter-spacing: 0;
    text-transform: none;
}

.df-result-stage .aip-box,
.df-result-stage .aip-prompt-slot {
    display: none !important;
}

.df-result-stage .tags-table,
.df-result-stage .saved-audit-table {
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    overflow: hidden;
    background: rgba(38, 38, 38, 0.68);
}

.df-result-stage .tags-table th,
.df-result-stage .saved-audit-table th {
    color: var(--df-text-3);
    background: rgba(245, 245, 247, 0.045);
    letter-spacing: 0;
    text-transform: none;
}

.df-result-stage .tags-table td,
.df-result-stage .tags-table th,
.df-result-stage .saved-audit-table td,
.df-result-stage .saved-audit-table th {
    border-bottom-color: var(--df-line);
}

.df-console-context {
    grid-area: context;
    width: 100%;
    min-width: 0;
    border-left: 1px solid var(--df-line);
    background: rgba(38, 38, 38, 0.80);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    padding: 28px 18px;
    display: grid;
    align-content: start;
    gap: 14px;
}

.df-context-card--education {
    border-color: rgba(168, 216, 200, 0.22);
    background:
        radial-gradient(circle at 0% 0%, rgba(168, 216, 200, 0.07), transparent 52%),
        rgba(43, 43, 45, 0.88);
}

.df-context-edu-body {
    margin-top: 8px;
}

.df-context-edu-body p {
    margin: 0 0 10px;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--df-text-2);
}

.df-context-edu-body p:last-child {
    margin-bottom: 0;
}

.df-context-edu-lead {
    color: var(--df-text);
    font-weight: 650;
}

.df-context-findings {
    padding: 10px 12px;
    border-left: 3px solid rgba(168, 216, 200, 0.55);
    border-radius: 0 8px 8px 0;
    background: rgba(12, 12, 14, 0.28);
    font-size: 0.8rem;
    color: var(--df-text-2);
}

.df-context-edu-benefit {
    font-size: 0.8rem;
    color: var(--df-text-3);
}

.df-context-edu-body--seo-resumo .df-seo-guide-h {
    margin: 14px 0 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.df-context-edu-body--seo-resumo .df-seo-guide-h:first-of-type {
    margin-top: 4px;
}

.df-context-edu-body--seo-resumo .df-seo-guide-list {
    margin: 0 0 6px;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--df-text-2);
}

.df-context-edu-body--seo-resumo .df-seo-guide-list li {
    margin-bottom: 8px;
}

.df-context-edu-body--seo-resumo .df-context-edu-tech {
    padding: 10px 12px;
    border-radius: var(--r-sm, 10px);
    background: rgba(12, 12, 14, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    line-height: 1.58;
    color: var(--df-text-3);
}

.df-context-edu-body--seo-resumo .df-context-edu-tech code {
    font-size: 0.9em;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--df-mint, #6ad4b6);
}

#dfContextPromptCard.is-hidden-for-seo-resumo {
    display: none !important;
}

.df-side-prompt-dynamic-title {
    margin: 6px 0 0;
    font-size: 0.88rem;
    font-weight: 820;
    line-height: 1.25;
    color: var(--df-text);
}

.df-context-card--prompt .df-side-prompt-note {
    margin-top: 8px;
    margin-bottom: 0;
}

.df-side-prompt-note-copy {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--df-text-2);
}

.df-context-card {
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: rgba(43, 43, 45, 0.82);
    padding: 15px;
    box-shadow: 0 14px 34px rgba(12, 12, 14, 0.14);
}

.df-context-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--df-blue-2);
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0;
}

.df-context-head h2 {
    margin: 0;
    color: var(--df-text);
    font-size: 0.94rem;
    line-height: 1.22;
    letter-spacing: 0;
}

.df-context-card--prompt .df-context-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    align-items: center;
}

.df-context-card--prompt .df-context-eyebrow {
    grid-column: 1 / -1;
}

.df-side-prompt-badge {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid rgba(168, 216, 200, 0.24);
    border-radius: 999px;
    color: var(--df-mint);
    background: rgba(168, 216, 200, 0.09);
    font-size: 0.68rem;
    font-weight: 760;
    white-space: nowrap;
}

.df-side-prompt-note {
    margin-top: 12px;
    color: var(--df-text-2);
    font-size: 0.82rem;
    line-height: 1.5;
}

.df-side-prompt-note:empty {
    display: none;
}

.df-context-card p {
    margin: 10px 0 0;
    color: var(--df-text-2);
    font-size: 0.84rem;
    line-height: 1.48;
}

.df-site-about-card .df-context-head {
    margin-bottom: 14px;
}

.df-site-about-card h2 {
    font-size: 1rem;
}

.df-site-facts {
    display: grid;
    gap: 8px;
    margin: 0;
}

.df-site-facts div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.df-site-facts dt {
    margin: 0;
    color: var(--df-text-3);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
}

.df-site-facts dd {
    flex: 1 1 120px;
    min-width: 0;
    margin: 0;
    color: var(--df-text-2);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.df-priority-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.df-priority-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    color: var(--df-text-2);
}

.df-priority-list span {
    width: 24px;
    height: 24px;
    border-radius: var(--df-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--df-amber);
    background: var(--df-amber-soft);
    font-size: 0.72rem;
    font-weight: 800;
}

.df-priority-list strong {
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.38;
}

.df-context-card--prompt {
    border-color: rgba(168, 216, 200, 0.18);
    background:
        linear-gradient(135deg, rgba(168, 216, 200, 0.10), transparent 42%),
        rgba(43, 43, 45, 0.86);
}

.df-context-card--prompt.is-site-preview-mode {
    border-color: rgba(110, 168, 232, 0.24);
    background:
        linear-gradient(145deg, rgba(110, 168, 232, 0.12), transparent 48%),
        rgba(43, 43, 45, 0.86);
}

.df-context-preview-duo {
    padding: 0 2px 2px;
}

.df-context-head--duo {
    margin-bottom: 6px;
}

.df-preview-duo-stage {
    position: relative;
    margin: 4px 2px 6px;
    padding: 0 4px 10px 8px;
}

/* Desktop: “janela” com barra tipo browser + screenshot contido (evita corte agressivo) */
.df-preview-duo-desktop {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 11px;
    overflow: hidden;
    border: 1px solid rgba(245, 245, 247, 0.14);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.48);
    aspect-ratio: 16 / 9;
    z-index: 0;
    background: linear-gradient(180deg, #2d3138 0%, #1a1c21 100%);
}

.df-preview-duo-desktop::before {
    content: '';
    flex: 0 0 22px;
    background: linear-gradient(180deg, rgba(52, 56, 64, 0.98), rgba(36, 39, 45, 0.98));
    border-bottom: 1px solid rgba(0, 0, 0, 0.45);
}

.df-preview-duo-desktop::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 12px 0 #febc2e, 24px 0 #28c840;
    z-index: 2;
    pointer-events: none;
    opacity: 0.92;
}

.df-preview-duo-desktop img {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    display: block;
    background: #0b0c0f;
}

/* Mobile à frente, à esquerda (estilo PageSpeed / referência) */
.df-preview-duo-mobile {
    position: absolute;
    left: 4px;
    right: auto;
    bottom: 2px;
    width: 36%;
    max-width: 80px;
    padding: 3px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(145deg, #3a3e47, #181a1f);
    border: 1px solid rgba(245, 245, 247, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 14px 32px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(0, 0, 0, 0.35);
    aspect-ratio: 9 / 17.5;
    z-index: 2;
}

.df-preview-duo-mobile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    display: block;
    border-radius: 10px;
    background: #0b0c0f;
}

#dfContextPromptBody .df-context-head--prompt-ui {
    margin-bottom: 6px;
}

.df-ai-prompt-wrap {
    position: relative;
    padding-top: 0;
    background: #1e1e1e;
    border: 1px solid var(--df-line-strong);
    border-radius: var(--df-radius);
    overflow: hidden;
    margin-top: 14px;
}

.df-ai-prompt-actions {
    position: absolute;
    right: 8px;
    top: 8px;
    display: flex;
    gap: 4px;
    background: transparent;
    z-index: 10;
}

.df-icon-copy-btn {
    background: none;
    border: none;
    color: var(--df-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.df-icon-copy-btn:hover {
    color: var(--df-mint);
    background: rgba(168, 216, 200, 0.1);
}

#dfAiPromptBox {
    width: 100%;
    min-height: 178px;
    resize: vertical;
    padding: 2.2rem 1.25rem 1.25rem;
    border: none;
    color: #a1a1aa;
    background: transparent;
    font: 0.75rem/1.5 var(--font-mono);
    box-sizing: border-box;
}

#dfAiPromptBox:focus {
    outline: none;
}

.df-open-report {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.84rem;
}

.df-step-list {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.df-step {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--df-text-3);
}

.df-step span {
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border-radius: 50%;
    border: 2px solid rgba(245, 245, 247, 0.20);
}

.df-step.is-done span {
    border-color: rgba(168, 216, 200, 0.32);
    background: var(--df-mint);
}

.df-step strong {
    display: block;
    color: var(--df-text-2);
    font-size: 0.9rem;
    line-height: 1.25;
}

.df-step small {
    display: block;
    margin-top: 2px;
    color: var(--df-text-3);
    line-height: 1.35;
}

/* ── Sidebar Logo (textmark) ────────────────────────────────────────────── */
.df-side-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px 28px;
}

.df-side-logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    line-height: 1;
    transition: opacity 160ms ease;
}

.df-side-logo:hover {
    opacity: 0.8;
}

.df-sidebar-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.df-sidebar-toggle svg {
    transition: transform 220ms ease;
}

.df-console-shell.is-sidebar-collapsed .df-sidebar-toggle svg {
    transform: rotate(180deg);
}




.df-command-kbd {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid var(--df-line-strong);
    border-radius: 5px;
    background: rgba(245, 245, 247, 0.06);
    color: var(--df-text-3);
    font-family: var(--df-font);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
}

/* Command bar results dropdown */
.df-command-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(38, 38, 38, 0.96);
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    max-height: 320px;
    overflow-y: auto;
    z-index: 200;
    padding: 6px;
}

.df-command-results[hidden] {
    display: none;
}

.df-command-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--df-text-2);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 120ms ease, color 120ms ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: var(--df-font);
}

.df-command-result:hover,
.df-command-result.is-active {
    background: rgba(168, 216, 200, 0.1);
    color: var(--df-text);
}

.df-command-result svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.df-command-result-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-command-result-hint {
    font-size: 0.72rem;
    color: var(--df-text-3);
    flex-shrink: 0;
}


.df-console-shell.is-sidebar-collapsed {
    grid-template-columns: 86px minmax(0, 1fr) 372px;
}

.df-console-shell.is-sidebar-collapsed .df-console-sidebar {
    padding-inline: 14px;
}

.df-console-shell.is-sidebar-collapsed .df-side-brand {
    flex-direction: column;
    align-items: center;
    padding-inline: 0;
    gap: 0;
}

.df-console-shell.is-sidebar-collapsed .df-side-logo,
.df-console-shell.is-sidebar-collapsed .df-side-section,
.df-console-shell.is-sidebar-collapsed .df-side-label,
.df-console-shell.is-sidebar-collapsed .df-side-count,
.df-console-shell.is-sidebar-collapsed .df-side-account-copy {
    display: none;
}

.df-console-shell.is-sidebar-collapsed .df-side-item,
.df-console-shell.is-sidebar-collapsed .df-side-account {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-inline: 0;
}

.df-console-shell.is-sidebar-collapsed .df-side-account {
    min-height: 46px;
}

.df-console-shell.is-context-hidden {
    grid-template-columns: 292px minmax(0, 1fr) 0;
    grid-template-areas: "sidebar workspace context";
}

.df-console-shell.is-context-hidden .df-console-context {
    display: none;
}

.df-console-shell.is-sidebar-collapsed.is-context-hidden {
    grid-template-columns: 86px minmax(0, 1fr) 0;
}

.app-shell .loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    width: auto;
    height: 3px;
    background: rgba(245, 245, 247, 0.06);
}

.app-shell .loading-fill {
    background: linear-gradient(90deg, var(--df-mint), var(--df-blue));
}

.app-shell .estado-loading {
    width: min(520px, calc(100vw - 32px));
    margin: 18vh auto 0;
    padding: 30px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background: rgba(43, 43, 45, 0.88);
    box-shadow: var(--df-shadow);
}

.app-shell .splash-screen {
    min-height: 100vh;
}

@media (max-width: 1480px) {
    .df-console-shell {
        grid-template-columns: 270px minmax(0, 1fr) 330px;
        grid-template-areas: "sidebar workspace context";
    }

    .df-console-shell.is-sidebar-collapsed {
        grid-template-columns: 82px minmax(0, 1fr) 330px;
    }

    .df-console-shell.is-context-hidden {
        grid-template-columns: 270px minmax(0, 1fr) 0;
        grid-template-areas: "sidebar workspace context";
    }

    .df-console-shell.is-sidebar-collapsed.is-context-hidden {
        grid-template-columns: 82px minmax(0, 1fr) 0;
    }

    .df-command-card {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .df-console-shell,
    .df-console-shell.is-context-hidden {
        grid-template-columns: 86px minmax(0, 1fr);
        grid-template-areas: "sidebar workspace";
    }

    .df-console-sidebar {
        padding-inline: 14px;
    }

    .df-console-context {
        position: fixed;
        right: 16px;
        top: 16px;
        bottom: 16px;
        z-index: 220;
        width: min(360px, calc(100vw - 32px));
        height: auto;
        border: 1px solid var(--df-line-strong);
        border-radius: var(--df-radius);
        box-shadow: var(--df-shadow);
    }

    .df-console-shell.is-context-hidden .df-console-context {
        display: none;
    }

    .df-side-brand {
        grid-template-columns: 1fr;
        justify-items: center;
        padding-inline: 0;
    }

    .df-side-logo,
    .df-side-section,
    .df-side-label,
    .df-side-count,
    .df-side-account-copy {
        display: none;
    }

    .df-side-item,
    .df-side-account {
        grid-template-columns: 1fr;
        justify-items: center;
        padding-inline: 0;
    }

    .df-side-account {
        min-height: 46px;
    }

    .df-command-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .df-command-segment--intro {
        grid-column: 1 / -1;
    }

    .df-tool-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .df-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .df-cockpit-wrapper {
        grid-template-columns: 1fr;
    }

    .df-cockpit-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .df-overview-row--tops,
    .df-overview-row--insights {
        grid-template-columns: 1fr;
    }

    .df-metric-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .df-mosaic-tile--hero {
        grid-row: auto;
        grid-column: 1 / -1;
        min-height: 170px;
    }

    .df-site-metrics-grid,
    .df-guidance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .df-site-metrics-grid > .df-site-metric-card {
        grid-column: auto;
    }
}

@media (max-width: 820px) {
    .df-console-shell,
    .df-console-shell.is-sidebar-collapsed,
    .df-console-shell.is-context-hidden,
    .df-console-shell.is-sidebar-collapsed.is-context-hidden {
        display: block;
    }

    .df-console-sidebar {
        position: sticky;
        top: 0;
        z-index: 180;
        height: auto;
        display: flex;
        gap: 10px;
        align-items: center;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid var(--df-line);
        padding: 12px;
    }

    .df-side-brand {
        display: none;
    }

    .df-side-nav {
        display: flex;
        gap: 8px;
        min-width: 0;
    }

    .df-side-item,
    .df-side-account {
        width: auto;
        min-width: 46px;
        flex: 0 0 auto;
    }

    .df-side-account {
        margin-top: 0;
    }

    .df-console-workspace {
        padding: 14px;
    }

    .df-command-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .df-command-segment--intro {
        grid-column: auto;
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .df-command-form {
        grid-template-columns: 1fr;
    }

    .df-command-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .df-tool-cards {
        grid-template-columns: 1fr;
    }

    .df-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .df-cockpit-wrapper {
        grid-template-columns: 1fr;
    }

    .df-cockpit-rail {
        grid-template-columns: 1fr;
    }

    .df-overview-card {
        min-height: 320px;
        padding: 20px;
    }

    .df-metric-mosaic {
        grid-template-columns: 1fr;
    }

    .df-mosaic-tile--hero {
        grid-column: auto;
    }

    .df-site-metrics-grid,
    .df-guidance-grid {
        grid-template-columns: 1fr;
    }

    .df-site-metrics-grid > .df-site-metric-card {
        grid-column: auto;
    }

    .app-shell #heroResultCard.df-site-hero .res-header-inner {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
    }

    .app-shell #heroResultCard.df-site-hero .res-actions-col {
        grid-template-columns: 1fr;
        grid-template-rows: auto !important;
    }
}

/* ═══ Análise — mini dashboard (resumo) ═══ */
.df-analise-dash {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.df-analise-dash-panel--hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 20px;
    align-items: center;
    padding: 18px 20px;
    border-radius: var(--r-lg, 16px);
    border: 1px solid rgba(245, 245, 247, 0.12);
    background: linear-gradient(135deg, rgba(106, 212, 182, 0.1), rgba(43, 43, 45, 0.92));
    cursor: pointer;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.df-analise-dash-panel--hero:hover,
.df-analise-dash-tile:hover {
    border-color: rgba(106, 212, 182, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.df-seo-tecnico-dash .df-analise-dash-panel--hero.df-seo-dash-hero-panel {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.14), rgba(43, 43, 45, 0.92));
    border-color: rgba(147, 197, 253, 0.22);
}

.df-rede-resumo-dash .df-rede-dash-hero-panel {
    border-color: color-mix(in srgb, var(--accent) 38%, var(--df-line));
}

.df-dados-resumo-dash .df-dados-dash-hero-panel {
    background: linear-gradient(135deg, rgba(240, 144, 176, 0.12), rgba(43, 43, 45, 0.92));
    border-color: rgba(240, 144, 176, 0.28);
}

.df-dados-resumo-dash .df-dados-dash-hero-panel:hover {
    border-color: rgba(240, 144, 176, 0.42);
}

.df-qual-resumo-dash .df-qual-dash-hero-panel {
    background: linear-gradient(135deg, rgba(92, 200, 232, 0.12), rgba(43, 43, 45, 0.92));
    border-color: rgba(92, 200, 232, 0.28);
}

.df-qual-resumo-dash .df-qual-dash-hero-panel:hover {
    border-color: rgba(92, 200, 232, 0.45);
}

.df-infra-resumo-dash .df-infra-dash-hero-panel {
    background: linear-gradient(135deg, rgba(184, 156, 255, 0.14), rgba(43, 43, 45, 0.92));
    border-color: rgba(184, 156, 255, 0.28);
}

.df-infra-resumo-dash .df-infra-dash-hero-panel:hover {
    border-color: rgba(184, 156, 255, 0.42);
}

.df-perf-resumo-dash .df-perf-dash-hero-panel {
    background: linear-gradient(135deg, rgba(245, 192, 106, 0.14), rgba(43, 43, 45, 0.92));
    border-color: rgba(245, 192, 106, 0.28);
}

.df-perf-resumo-dash .df-perf-dash-hero-panel:hover {
    border-color: rgba(245, 192, 106, 0.42);
}

.df-seo-tecnico-dash .df-analise-dash-panel--hero.df-seo-dash-hero-panel:hover {
    border-color: rgba(147, 197, 253, 0.38);
}

.df-seo-tecnico-dash .df-seo-dash-body {
    min-height: 0;
}

/* Resumo SEO técnico — mosaicos ao nível da Central de Diagnóstico (cartões empilhados, sem texto sobreposto) */
.df-seo-tecnico-dash .df-analise-dash-grid {
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.df-seo-tecnico-dash .df-analise-dash-tile {
    padding: 18px 18px 16px;
    border: 1px solid var(--df-line);
    border-radius: var(--df-radius);
    background:
        radial-gradient(circle at 50% 0%, rgba(110, 168, 232, 0.06), transparent 55%),
        linear-gradient(180deg, rgba(43, 43, 45, 0.88), rgba(34, 34, 36, 0.94));
    box-shadow: 0 8px 24px rgba(12, 12, 14, 0.1);
}

.df-seo-tecnico-dash .df-analise-dash-tile:hover {
    border-color: rgba(110, 168, 232, 0.22);
    box-shadow: 0 14px 36px rgba(12, 12, 14, 0.16);
    transform: translateY(-2px);
}

.df-seo-tecnico-dash .df-analise-dash-panel--hero.df-seo-dash-hero-panel {
    box-shadow: 0 12px 36px rgba(12, 12, 14, 0.12);
    background:
        radial-gradient(circle at 50% 75%, rgba(110, 168, 232, 0.09), transparent 52%),
        linear-gradient(135deg, rgba(96, 165, 250, 0.14), rgba(43, 43, 45, 0.92));
}

.df-dash-kv-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.df-dash-kv-row {
    padding: 12px 14px;
    border-radius: var(--r-sm, 10px);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 0;
}

.df-dash-kv-label {
    margin: 0 0 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.df-dash-kv-val {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.45;
    color: var(--text-primary);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.df-dash-kv-val--mono {
    font-family: var(--font-mono, ui-monospace, monospace);
    font-size: 0.8rem;
    font-weight: 650;
}

.df-seo-tecnico-dash .df-dash-tile-note {
    margin-top: 12px;
    font-size: 0.72rem;
    line-height: 1.5;
}

.df-dash-dg-grid--seo {
    min-width: 0;
}

.df-dash-dg-grid--seo span {
    min-width: 0;
}

.df-analise-dash-kicker {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.df-analise-dash-readout {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--text-primary);
}

.df-analise-dash-sub {
    margin: 8px 0 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.df-analise-dash-platforms {
    grid-column: 1 / -1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 12px;
}

.df-dash-plat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: var(--r-sm);
    background: rgba(0, 0, 0, 0.2);
}

.df-dash-plat.is-ok {
    color: var(--df-mint, #6ad4b6);
}

.df-dash-plat.is-warn {
    color: var(--text-muted);
}

.df-dash-plat-ic {
    font-weight: 800;
    width: 1.1em;
    text-align: center;
}

.df-analise-dash-ring {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: conic-gradient(var(--df-mint, #6ad4b6) calc(var(--dash-ring-pct, 0) * 1%), rgba(255, 255, 255, 0.08) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 6px rgba(24, 25, 29, 0.94);
}

.df-analise-dash-ring-inner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(28, 29, 34, 0.96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.df-analise-dash-ring-inner strong {
    font-size: 1.35rem;
    font-weight: 820;
    color: var(--text-primary);
}

.df-analise-dash-ring-inner small {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.df-analise-dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.df-analise-dash-tile {
    border-radius: var(--r-md, 12px);
    border: 1px solid rgba(245, 245, 247, 0.1);
    background: rgba(43, 43, 45, 0.72);
    padding: 14px 16px 16px;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.df-analise-dash-tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.df-analise-dash-tile header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.df-analise-dash-tile h4 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 780;
    color: var(--text-primary);
}

.df-dash-pill {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
}

.df-dash-pill.is-ok {
    border-color: rgba(106, 212, 182, 0.45);
    color: var(--df-mint, #6ad4b6);
}

.df-dash-pill.is-warn {
    border-color: rgba(245, 176, 80, 0.5);
    color: var(--df-amber, #f5b050);
}

.df-dash-pill.is-bad {
    border-color: rgba(255, 120, 120, 0.45);
    color: var(--df-red, #ff7878);
}

.df-dash-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.df-dash-chips span {
    flex: 1 1 72px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.df-dash-chips small {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.df-dash-chips strong {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.df-dash-meter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.df-dash-meter {
    font-size: 0.72rem;
}

.df-dash-meter-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.df-dash-meter-val {
    font-family: var(--font-mono);
    font-weight: 700;
}

.df-dash-meter-track {
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.df-dash-meter-track i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--df-amber, #f5b050);
    transition: width 0.45s var(--ease);
}

.df-dash-meter.is-ok .df-dash-meter-track i {
    background: var(--df-mint, #6ad4b6);
}

.df-dash-meter.is-bad .df-dash-meter-track i {
    background: var(--df-red, #ff7878);
}

.df-dash-meter-hint {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.68rem;
    line-height: 1.35;
}

.df-dash-tile-note {
    margin: 10px 0 0;
    font-size: 0.7rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.df-dash-donut-wrap {
    display: flex;
    gap: 14px;
    align-items: center;
}

.df-dash-donut {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(var(--df-mint, #6ad4b6) calc(var(--dash-donut-pct, 0) * 1%), rgba(255, 255, 255, 0.08) 0deg);
    box-shadow: inset 0 0 0 8px rgba(28, 29, 34, 0.96);
}

.df-dash-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.df-dash-donut-legend strong {
    color: var(--text-primary);
    font-size: 0.92rem;
}

.df-dash-tri-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    text-align: center;
    margin-bottom: 8px;
}

.df-dash-tri-row span strong {
    display: block;
    font-size: 1.15rem;
    font-family: var(--font-mono);
}

.df-dash-tri-row span small {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.df-dash-tri-row .is-ok strong {
    color: var(--df-mint, #6ad4b6);
}

.df-dash-tri-row .is-warn strong {
    color: var(--df-amber, #f5b050);
}

.df-dash-tri-row .is-bad strong {
    color: var(--df-red, #ff7878);
}

.df-dash-tri-bar {
    height: 7px;
    border-radius: 99px;
    overflow: hidden;
}

.df-dash-h1-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.df-dash-h1-chips span {
    padding: 10px 12px;
    border-radius: var(--r-sm);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.df-dash-h1-chips span.is-ok {
    border-color: rgba(106, 212, 182, 0.35);
}

.df-dash-h1-chips span.is-warn {
    border-color: rgba(245, 176, 80, 0.35);
}

.df-dash-h1-chips span.is-bad {
    border-color: rgba(255, 120, 120, 0.35);
}

.df-dash-h1-chips small {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.df-dash-h1-chips strong {
    font-size: 0.86rem;
    color: var(--text-primary);
    word-break: break-word;
}

.df-dash-kw-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.df-dash-kw-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 6px;
}

.df-dash-kw-list span {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.df-dash-quiet {
    margin: 8px 0 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.df-dash-dg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
}

.df-dash-dg-grid span {
    padding: 10px 8px;
    border-radius: var(--r-sm);
    background: rgba(0, 0, 0, 0.2);
}

.df-dash-dg-grid strong {
    display: block;
    font-size: 1.2rem;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.df-dash-dg-grid small {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.df-dash-dg-grid .is-warn strong {
    color: var(--df-amber, #f5b050);
}

.df-dash-dg-grid .is-bad strong {
    color: var(--df-red, #ff7878);
}

.keyword-usage-focus {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.keyword-usage-table-wrap {
    overflow: auto;
    border-radius: var(--r-md);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.keyword-usage-table {
    margin: 0;
}

.keyword-usage-foot {
    margin-top: 14px !important;
    font-size: 0.8rem !important;
}

@media (max-width: 720px) {
    .df-analise-dash-panel--hero {
        grid-template-columns: 1fr;
    }
    .df-analise-dash-ring {
        justify-self: center;
    }
}

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