/* The active bot account is the context for every bot tab. Keep its existing controls
   in the hero and let both header cards take their height from their content. */
.hero-bot-context-slot {
    display: none;
}

body.is-bot-config-page .hero-default-content {
    display: none;
}

body.is-bot-config-page .hero-bot-context-slot {
    display: block;
}

body.is-bot-config-page .hero-reportes-primary-column {
    height: auto;
}

body.is-bot-config-page .hero-reportes-primary-column > .hero-card {
    height: auto;
    padding: 0;
    overflow: hidden;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-card {
    padding: 21px 24px;
    border: 0;
    background: none;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-shell {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.32fr);
    gap: 12px;
    align-items: center;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-main {
    gap: 12px;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-eyebrow {
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-eyebrow::before {
    width: 9px;
    height: 9px;
    background: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-title-row {
    grid-template-columns: minmax(0, 1fr);
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-icon {
    display: none;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-title-row h3 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2.2rem, 2.6vw + 1rem, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-title-row p {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 0.96rem;
    line-height: 1.5;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-badge {
    min-width: 0;
    padding: 8px 10px;
    border-radius: 12px;
}

body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-add {
    min-height: 30px;
    padding: 5px 8px;
}

body.is-bot-config-page .hero-shield-card {
    min-height: 0;
}

body.is-bot-config-page .hero-shield-topline {
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

body.is-bot-config-page .hero-shield-status-icon {
    grid-column: 4;
    justify-self: center;
    width: 42px;
    height: 42px;
    transform: translate(7px, 5px);
}

body.is-bot-config-page .hero-shield-content {
    flex: 1;
    min-height: 0;
    gap: 5px;
    padding: 12px 16px;
    align-content: center;
}

body.is-bot-config-page .hero-shield-title {
    padding-right: 54px;
}

body.is-bot-config-page .hero-shield-card .bot-shield-countdown-clock {
    gap: 5px;
}

body.is-bot-config-page .hero-shield-card .bot-shield-time-unit {
    padding: 5px 4px;
    border-radius: 10px;
}

@media (max-width: 1180px) {
    body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-shell {
        grid-template-columns: minmax(0, 1fr) minmax(120px, 0.32fr);
    }
}

@media (max-width: 640px) {
    body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-card {
        padding: 18px;
    }

    body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-title-row h3 {
        font-size: clamp(1.8rem, 7vw, 2.3rem);
    }

    body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-shell {
        grid-template-columns: 1fr;
    }

    body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-side {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        justify-items: stretch;
    }

    body.is-bot-config-page .hero-bot-context-slot .collector-bot-context-badge {
        max-width: none;
    }
}
