/* Flokktid layout and presentation helpers. This is ordinary, directly editable CSS.
   Only helpers used by the Blade components are kept here; no scanning or build step exists. */

.-rotate-90 { transform: rotate(-90deg); }
.absolute { position: absolute; }
.accent-primary { accent-color: var(--primary); }
.account-menu-height { max-height: calc(100dvh - 5rem - env(safe-area-inset-top)); }
.align-top { vertical-align: top; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.avatar-swatch { background-color: var(--avatar-color); }
.below-header { top: calc(4rem + env(safe-area-inset-top)); }
.bg-accent { background-color: var(--accent); }
.bg-canvas { background-color: var(--bg); }
.bg-danger-bg { background-color: var(--danger-bg); }
.bg-primary { background-color: var(--primary); }
.bg-primary-soft { background-color: var(--primary-soft); }
.bg-success-bg { background-color: var(--success-bg); }
.bg-surface { background-color: var(--surface); }
.bg-warning-bg { background-color: var(--warning-bg); }
.bg-white { background-color: var(--logo-background); }
.block { display: block; }
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-collapse { border-collapse: collapse; }
.border-control { border-color: var(--control-border); }
.border-divider { border-color: var(--border); }
.border-primary { border-color: var(--primary); }
.border-r { border-right-width: 1px; }
.border-t { border-top-width: 1px; }
.break-words { overflow-wrap: break-word; }
.calendar-min-width { min-width: 19.25rem; }
.cursor-pointer { cursor: pointer; }
.decoration-1 { text-decoration-thickness: 1px; }
.dialog-backdrop::backdrop { background: var(--backdrop); }
.dialog-width { width: calc(100% - 2rem); }
.divide-divider > :not(:last-child) { border-color: var(--border); }
.divide-y > :not(:last-child) { border-bottom-width: 1px; }
.fixed { position: fixed; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.font-bold { font-weight: 700; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.gap-1 { gap: 0.25rem; }
.gap-12 { gap: 3rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-y-1 { row-gap: 0.25rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.grid-content-action { grid-template-columns: minmax(0, 1fr) auto; }
.h-16 { height: 4rem; }
.h-2 { height: 0.5rem; }
.h-dvh { height: 100dvh; }
.h-full { height: 100%; }
.hidden { display: none; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-self-start { justify-self: start; }
.left-3 { left: 0.75rem; }
.line-through { text-decoration-line: line-through; }
.list-decimal { list-style-type: decimal; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.list-none { list-style-type: none; }
.m-0 { margin: 0rem; }
.m-auto { margin: auto; }
.max-h-70dvh { max-height: 70dvh; }
.max-h-85dvh { max-height: 85dvh; }
.max-h-90dvh { max-height: 90dvh; }
.max-h-none { max-height: none; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-40 { max-width: 10rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-full { max-width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-xs { max-width: 20rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.min-h-11 { min-height: 2.75rem; }
.min-h-12 { min-height: 3rem; }
.min-h-14 { min-height: 3.5rem; }
.min-h-16 { min-height: 4rem; }
.min-h-20 { min-height: 5rem; }
.min-h-24 { min-height: 6rem; }
.min-h-dvh { min-height: 100dvh; }
.min-h-full { min-height: 100%; }
.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0rem; }
.min-w-11 { min-width: 2.75rem; }
.min-w-40 { min-width: 10rem; }
.min-w-48 { min-width: 12rem; }
.min-w-56 { min-width: 14rem; }
.ml-auto { margin-left: auto; }
.ms-2 { margin-inline-start: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mx-auto { margin-inline: auto; }
.native-summary::-webkit-details-marker { display: none; }
.no-underline { text-decoration-line: none; }
.object-contain { object-fit: contain; }
.opacity-0 { opacity: 0; }
.outline-none { outline-style: none; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overscroll-contain { overscroll-behavior: contain; }
.p-0 { padding: 0rem; }
.p-1 { padding: 0.25rem; }
.p-1-5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pl-1 { padding-left: 0.25rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-6 { padding-left: 1.5rem; }
.pointer-events-none { pointer-events: none; }
.pr-2 { padding-right: 0.5rem; }
.pr-4 { padding-right: 1rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.px-1 { padding-inline: 0.25rem; }
.px-2 { padding-inline: 0.5rem; }
.px-3 { padding-inline: 0.75rem; }
.px-4 { padding-inline: 1rem; }
.px-5 { padding-inline: 1.25rem; }
.px-6 { padding-inline: 1.5rem; }
.py-0-5 { padding-block: 0.125rem; }
.py-1 { padding-block: 0.25rem; }
.py-12 { padding-block: 3rem; }
.py-2 { padding-block: 0.5rem; }
.py-3 { padding-block: 0.75rem; }
.py-4 { padding-block: 1rem; }
.py-8 { padding-block: 2rem; }
.relative { position: relative; }
.right-0 { right: 0rem; }
.right-1 { right: 0.25rem; }
.rounded { border-radius: 0.25rem; }
.rounded-card { border-radius: var(--radius-card); }
.rounded-control { border-radius: var(--radius-control); }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.safe-bottom { padding-bottom: env(safe-area-inset-bottom); }
.safe-left { padding-left: env(safe-area-inset-left); }
.safe-left-padded { padding-left: max(1rem, env(safe-area-inset-left)); }
.safe-right { padding-right: env(safe-area-inset-right); }
.safe-top { padding-top: env(safe-area-inset-top); }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.self-end { align-self: flex-end; }
.self-start { align-self: flex-start; }
.shadow-2xl { box-shadow: 0 25px 50px -12px var(--shadow-strong); }
.shadow-lg { box-shadow: 0 10px 15px -3px var(--shadow), 0 4px 6px -4px var(--shadow); }
.shadow-xl { box-shadow: 0 20px 25px -5px var(--shadow), 0 8px 10px -6px var(--shadow); }
.shrink-0 { flex-shrink: 0; }
.sidebar-height { height: calc(100dvh - 4rem - env(safe-area-inset-top)); }
.size-10 { width: 2.5rem; height: 2.5rem; }
.size-10-override { width: 2.5rem !important; height: 2.5rem !important; }
.size-11 { width: 2.75rem; height: 2.75rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-16 { width: 4rem; height: 4rem; }
.size-3 { width: 0.75rem; height: 0.75rem; }
.size-4 { width: 1rem; height: 1rem; }
.size-4-override { width: 1rem !important; height: 1rem !important; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }
.size-8 { width: 2rem; height: 2rem; }
.size-9-override { width: 2.25rem !important; height: 2.25rem !important; }
.size-full { width: 100%; height: 100%; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-block-start: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-block-start: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-block-start: 0.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.sticky { position: sticky; }
.table-fixed { table-layout: fixed; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-center { text-align: center; }
.text-content { color: var(--text); }
.text-danger-text { color: var(--danger-text); }
.text-left { text-align: left; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-muted { color: var(--muted); }
.text-on-primary { color: var(--on-primary); }
.text-primary { color: var(--primary); }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-success-text { color: var(--success-text); }
.text-warning-text { color: var(--warning-text); }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.top-0 { top: 0rem; }
.top-1 { top: 0.25rem; }
.top-3 { top: 0.75rem; }
.top-full { top: 100%; }
.tracking-code { letter-spacing: 0.35em; }
.tracking-tagline { letter-spacing: 0.18em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.transition { transition: color 150ms, background-color 150ms, border-color 150ms, opacity 150ms, transform 150ms; }
.transition-colors { transition: color 150ms, background-color 150ms, border-color 150ms; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.underline { text-decoration-line: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.uppercase { text-transform: uppercase; }
.viewport-width { max-width: calc(100vw - 2rem); }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-4 { width: 1rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-8 { width: 2rem; }
.w-80 { width: 20rem; }
.w-full { width: 100%; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.wrap-anywhere { overflow-wrap: anywhere; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }

.first-pt-0:first-child { padding-top: 0rem; }
.focus-border-focus:focus { border-color: var(--focus); }
.focus-not-sr-only:focus { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.focus-visible--outline-offset-3:focus-visible { outline-offset: -3px; }
.focus-visible-outline-3:focus-visible { outline: 3px solid var(--focus); }
.focus-visible-outline-focus:focus-visible { outline-color: var(--focus); }
.focus-visible-outline-offset-2:focus-visible { outline-offset: 2px; }
.focus-visible-outline-offset-3:focus-visible { outline-offset: 3px; }
.focus-visible-outline-offset-4:focus-visible { outline-offset: 4px; }
.group:hover .group-hover-text-primary { color: var(--primary); }
.group[open] .group-open-rotate-180 { transform: rotate(180deg); }
.hover-bg-canvas:hover { background-color: var(--bg); }
.hover-bg-danger-bg:hover { background-color: var(--danger-bg); }
.hover-bg-primary-hover:hover { background-color: var(--primary-hover); }
.hover-bg-primary-soft:hover { background-color: var(--primary-soft); }
.hover-bg-surface:hover { background-color: var(--surface); }
.hover-border-control:hover { border-color: var(--control-border); }
.hover-border-primary:hover { border-color: var(--primary); }
.hover-text-content:hover { color: var(--text); }
.hover-text-primary-hover:hover { color: var(--primary-hover); }
.hover-text-primary:hover { color: var(--primary); }
.hover-underline:hover { text-decoration-line: underline; }
.last-pb-0:last-child { padding-bottom: 0rem; }
.peer:checked ~ .peer-checked-bg-primary-soft { background-color: var(--primary-soft); }
.peer:checked ~ .peer-checked-border-primary { border-color: var(--primary); }
.peer:checked ~ .peer-checked-opacity-100 { opacity: 1; }
.peer:focus-visible ~ .peer-focus-visible-outline-3 { outline: 3px solid var(--focus); }
.peer:focus-visible ~ .peer-focus-visible-outline-focus { outline-color: var(--focus); }
.peer:focus-visible ~ .peer-focus-visible-outline-offset-3 { outline-offset: 3px; }
.focus-fixed:focus { position: fixed; }

/* SM layout: 40rem and wider. */
@media (min-width: 40rem) {
    .sm-block { display: block; }
    .sm-col-span-2 { grid-column: span 2 / span 2; }
    .sm-col-span-3 { grid-column: span 3 / span 3; }
    .sm-flex-row { flex-direction: row; }
    .sm-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm-grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .sm-items-center { align-items: center; }
    .sm-justify-between { justify-content: space-between; }
    .sm-justify-end { justify-content: flex-end; }
    .sm-min-h-24 { min-height: 6rem; }
    .sm-p-10 { padding: 2.5rem; }
    .sm-p-4 { padding: 1rem; }
    .sm-p-5 { padding: 1.25rem; }
    .sm-p-6 { padding: 1.5rem; }
    .sm-p-8 { padding: 2rem; }
    .sm-px-10 { padding-inline: 2.5rem; }
    .sm-px-6 { padding-inline: 1.5rem; }
    .sm-px-8 { padding-inline: 2rem; }
    .sm-size-16-override { width: 4rem !important; height: 4rem !important; }
    .sm-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm-w-28 { width: 7rem; }
    .sm-w-auto { width: auto; }
}

/* MD layout: 48rem and wider. */
@media (min-width: 48rem) {
    .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* LG layout: 64rem and wider. */
@media (min-width: 64rem) {
    .lg-block { display: block; }
    .lg-col-span-2 { grid-column: span 2 / span 2; }
    .lg-flex { display: flex; }
    .lg-gap-24 { gap: 6rem; }
    .lg-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg-hidden { display: none; }
    .lg-px-12 { padding-inline: 3rem; }
    .lg-py-10 { padding-block: 2.5rem; }
    .sidebar-collapsible[data-collapsed="true"] { display: none; }
}

/* XL layout: 80rem and wider. */
@media (min-width: 80rem) {
    .xl-col-span-3 { grid-column: span 3 / span 3; }
    .xl-flex { display: flex; }
    .xl-flex-row { flex-direction: row; }
    .xl-gap-2 { gap: 0.5rem; }
    .xl-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl-grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .xl-min-h-11 { min-height: 2.75rem; }
    .xl-min-h-36 { min-height: 9rem; }
    .xl-p-1 { padding: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .motion-reduce-transition-none { transition: none; }
}
