/* The Auvyx UI blocks' own styles (login-03, signup-03, sidebar-07, dashboard-01), and what the console adds. */

body { min-block-size: 100svh; background: var(--background); }

/* login-03 / signup-03 */
.block-muted { background: var(--muted); }
.block-narrow { max-inline-size: 24rem; inline-size: 100%; }
.block-wide { max-inline-size: 36rem; inline-size: 100%; }
.block-title { margin: 0; font-size: 1.5rem; font-weight: 700; text-wrap: balance; }
.block-title[data-size="xl"] { font-size: 1.25rem; }
.block-center { text-align: center; }
.card > header.block-center { text-align: center; }
.block-brand { display: flex; justify-content: center; }
.block-logo { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; color: inherit; text-decoration: none; }
.block-logo-mark {
  display: inline-flex; align-items: center; justify-content: center; inline-size: 1.5rem; block-size: 1.5rem;
  border-radius: calc(var(--radius) - 2px); background: var(--primary); color: var(--primary-foreground);
}
.block-logo-mark svg { inline-size: 1rem; block-size: 1rem; }
.block-legal { margin: 0; padding-inline: 1.5rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); text-wrap: balance; }
.block-legal a, .card .block-center a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.block-legal a:hover { color: var(--primary); }
.block-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.block-actions[data-justify="end"] { justify-content: flex-end; }

/* sidebar-07 / dashboard-01 */
.sb-mark {
  display: inline-flex; flex: none; align-items: center; justify-content: center; inline-size: 2rem; block-size: 2rem;
  border-radius: calc(var(--radius) + 2px); background: var(--sidebar-primary); color: var(--sidebar-primary-foreground);
}
.sb-mark svg { inline-size: 1rem; block-size: 1rem; }
.sb-user-head { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.5rem; font-size: 0.875rem; }
.sb-user-head > span:last-child { display: grid; line-height: 1.25; }
.sb-user-head small { color: var(--muted-foreground); font-size: 0.75rem; }
.sidebar > nav > header .dropdown-menu, .sidebar > nav > footer .dropdown-menu { display: flex; inline-size: 100%; }
.sidebar [role="menu"] form { display: contents; }
.app-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 0.5rem; block-size: 3rem;
  padding-inline: 1rem; border-block-end: 1px solid var(--border); background: var(--background);
}
.sidebar[data-variant="inset"] + main .app-header { background: transparent; }
.app-header > hr[aria-orientation="vertical"] { align-self: center; block-size: 1rem; margin-inline-end: 0.5rem; }
.app-actions { margin-inline-start: auto; display: flex; gap: 0.5rem; }
@media (width < 48rem) { .sb-hide-sm { display: none; } }
.db-main { container-type: inline-size; }
.db-body { display: flex; flex-direction: column; gap: 1rem; padding: 1rem; }
@media (width >= 48rem) { .db-body { gap: 1.5rem; padding: 1.5rem; } }
.db-num { text-align: end; font-variant-numeric: tabular-nums; }
@container (width < 40rem) { .db-wide { display: none; } }

/* The console's own */
.cloud-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.cloud-heading > div:first-child { display: grid; gap: 0.25rem; max-inline-size: 48rem; min-inline-size: 0; }
.cloud-heading h1 { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.cloud-heading p { margin: 0; color: var(--muted-foreground); }
.cloud-heading-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cloud-heading-actions:empty { display: none; }
.cloud-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.cloud-grid h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.cloud-card-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; color: var(--muted-foreground); }
.cloud-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.cloud-step { display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center; padding-block: 0.75rem; }
.cloud-step + .cloud-step { border-block-start: 1px solid var(--border); }
.cloud-step strong { font-weight: 500; }
.cloud-step p { margin: 0.125rem 0 0; font-size: 0.875rem; color: var(--muted-foreground); }
.cloud-step-mark { display: inline-flex; color: var(--muted-foreground); }
.cloud-step-mark svg { inline-size: 1.25rem; block-size: 1.25rem; }
.cloud-step[data-done] .cloud-step-mark { color: oklch(0.6 0.15 150); }
.cloud-step[data-done] strong, .cloud-step[data-done] p { color: var(--muted-foreground); }
@media (width < 40rem) { .cloud-step { grid-template-columns: auto 1fr; } .cloud-step-action { grid-column: 2; } }
.cloud-row-link { color: inherit; text-decoration: none; }
.cloud-row-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.cloud-path { font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.8125rem; }
.cloud-card-link { color: inherit; text-decoration: none; display: block; border-radius: var(--radius); }
.cloud-card-link > .card { block-size: 100%; transition: border-color 120ms, box-shadow 120ms; }
.cloud-card-link:hover > .card { box-shadow: 0 1px 3px color-mix(in oklch, var(--foreground) 8%, transparent); }
.cloud-card-link:hover > .card, .cloud-card-link:focus-visible > .card { border-color: var(--ring); }
.cloud-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cloud-muted { color: var(--muted-foreground); }
.cloud-table-card { padding-block: 0; overflow: hidden; }

/* Corners: 3px (owner, 2026-11-09). Lyra is square: it sets Auvyx UI's radius tokens to 0 and writes radius 0 on the
   components, inside its layers; this sheet is unlayered, so it wins. Inputs in a group keep their joined edges. */
:root { --radius: 3px; --auvyx-r-card: 3px; --auvyx-r-surface: 3px; --auvyx-r-control: 3px; --auvyx-r-field: 3px; }
.btn, input:not(.input-group *):not([type="checkbox"]):not([type="radio"]), .select, .textarea, .card, .alert, .badge,
.empty, .table-container, .dialog > div, .dropdown-menu [popover], [data-popover], .avatar, .sidebar > nav li > a,
.sidebar [data-sidebar-item], .tabs [role="tablist"], .tabs [role="tab"], .input-group {
  border-radius: 3px;
}
.avatar, .avatar > span { border-radius: 999px; }
