/* ── Home: hero ──────────────────────────────────────────────────────── */
.rooster-admin-home {
	@apply mt-0;
}

.rooster-admin-hero {
	@apply flex min-h-[500px] gap-7.5 bg-contain bg-center bg-no-repeat;
	background-image: var(--ra-hero, none);
}

.rooster-admin-hero__main {
	@apply flex min-w-0 flex-auto flex-col justify-center gap-2.5;
}

/* Over core's `.wrap h1` (23 px, 0,1,1: Rooster One's scan of every screen, 0.65.1): the scale's 24 px. */
.rooster-admin-hero .rooster-admin-hero__title {
	@apply m-0 p-0 text-3xl font-medium text-ink;
}

.rooster-admin-hero__tagline {
	@apply block;
}

.rooster-admin-hero__welcome {
	@apply m-0 text-lg text-secondary-foreground;
}

.rooster-admin-hero__intro {
	@apply rounded-xl bg-intro p-5 text-lg leading-[1.35] text-ink;
}

.rooster-admin-hero__intro p {
	@apply mt-0 mb-[1em] text-[inherit] leading-[inherit] last:mb-0;
}

.rooster-admin-hero__side {
	@apply flex flex-none basis-85 flex-col justify-center gap-2.5;
}

.rooster-admin-shortlinks {
	@apply m-0 list-none rounded-xl bg-links p-5;
}

.rooster-admin-shortlinks li {
	@apply m-0;
}

.rooster-admin-shortlinks__link {
	@apply flex w-full cursor-pointer items-center gap-3 border-0 bg-transparent px-0 py-2.5 text-start font-[inherit] text-base text-secondary-foreground no-underline;
}

.rooster-admin-shortlinks__link > span {
	@apply flex-auto;
}

.rooster-admin-shortlinks__link strong {
	@apply text-foreground;
}

.rooster-admin-shortlinks__link:hover strong {
	@apply text-link;
}

.rooster-admin-hero__ai {
	@apply flex min-h-10 items-center justify-center gap-2 rounded-xl bg-ai text-base font-semibold text-white no-underline hover:text-white focus:text-white;
}

.rooster-admin-hero__ai .rooster-admin-icon {
	@apply text-ai-spark;
}

.rooster-admin-hero__search {
	@apply m-0;
}

.rooster-admin-hero__search input[type="search"] {
	@apply min-h-10 w-full rounded-xl border border-ring bg-background px-3.5 py-2 text-base;
}

.rooster-admin-hero__search input[type="search"]:focus {
	@apply border-link shadow-none outline-2 outline-transparent;
}

.rooster-admin-home__status {
	@apply mt-5;
}

/* The Home's blocks after the hero stand 20 px apart (0.64.4, the owner: Rooster One's learning card touched the
   catalogue): a product's slot card, and the line a hidden one leaves, had no space above them; a card's own bottom
   margin collapses into this one. Not the reset dialog: a modal centres itself with its margins. */
.rooster-admin-home > :where(.rooster-admin-hero ~ :not(dialog)) {
	@apply mt-5;
}

.rooster-admin-home__status .rooster-admin-status__row:first-child {
	@apply border-t-0;
}
