/* ═══════════════════════════════════════════════════════════════════════════
   DevFix — app-robots.css
   Estilos para Robots & Sitemap Analyser
═══════════════════════════════════════════════════════════════════════════ */

/* Lead: herda ritmo de .snippet-intro em .tags-section--codeblock; só reforça tom */
.robots-lead {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
}

.robots-page-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 4px;
    min-width: 0;
    width: 100%;
}

/* Blocos iguais a Schema.org: sem cartão branco; terminal a largura total */
.robots-page-stack .schema-block.robots-stack-item {
    margin-bottom: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.robots-stack-item .code-editor-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.robots-stack-item .hd-raw-heading {
    margin-bottom: 8px;
}

.robots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 800px) {
    .robots-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Slot para Prompt IA (app-robots.js + DevFixAIPrompt) */
.robots-prompt-mount {
    margin-top: 16px;
}

.robots-prompt-mount .aip-box--nested {
    margin-top: 0;
}

/* Visão geral: altura mínima sem forçar altura de snippet completo */
pre.code-editor.robots-audit-pre {
    min-height: 80px;
    white-space: pre-wrap;
    word-break: break-word;
}

.robots-content {
    background: #0a0b0f;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 16px;
    font-size: 0.85rem;
    color: #e2e8f0;
    font-family: var(--font-mono);
    line-height: 1.6;
    overflow-x: auto;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
    white-space: pre-wrap;
}
