/**
 * Static layout utilities for admin index dashboard and hero shell.
 * Replaces runtime Tailwind CDN on templates/admin/index.html and base_site hero.
 * Scoped to admin dashboard surfaces only — workbook pages use workbook_tailwind_utilities.css.
 */
:is(body.dashboard, #content, #content-main, .crm-hero) .relative { position: relative; }
:is(body.dashboard, #content, #content-main, .crm-hero) .hidden { display: none; }
:is(body.dashboard, #content, #content-main, .crm-hero) .block { display: block; }
:is(body.dashboard, #content, #content-main, .crm-hero) .inline-block { display: inline-block; }
:is(body.dashboard, #content, #content-main, .crm-hero) .flex { display: flex; }
:is(body.dashboard, #content, #content-main, .crm-hero) .inline-flex { display: inline-flex; }
:is(body.dashboard, #content, #content-main, .crm-hero) .grid { display: grid; }

:is(body.dashboard, #content, #content-main, .crm-hero) .flex-col { flex-direction: column; }
:is(body.dashboard, #content, #content-main, .crm-hero) .flex-wrap { flex-wrap: wrap; }
:is(body.dashboard, #content, #content-main, .crm-hero) .items-center { align-items: center; }
:is(body.dashboard, #content, #content-main, .crm-hero) .justify-center { justify-content: center; }
:is(body.dashboard, #content, #content-main, .crm-hero) .justify-between { justify-content: space-between; }

:is(body.dashboard, #content, #content-main, .crm-hero) .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

:is(body.dashboard, #content, #content-main, .crm-hero) .gap-2 { gap: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .gap-3 { gap: 0.75rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .gap-4 { gap: 1rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .gap-6 { gap: 1.5rem; }

:is(body.dashboard, #content, #content-main, .crm-hero) .space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

:is(body.dashboard, #content, #content-main, .crm-hero) .w-full { width: 100%; }
:is(body.dashboard, #content, #content-main, .crm-hero) .w-2 { width: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .w-16 { width: 4rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .h-2 { height: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .h-16 { height: 4rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .min-w-0 { min-width: 0; }

:is(body.dashboard, #content, #content-main, .crm-hero) .m-0 { margin: 0; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mx-auto { margin-left: auto; margin-right: auto; }
:is(body.dashboard, #content, #content-main, .crm-hero) .ml-auto { margin-left: auto; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mr-2 { margin-right: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mt-1 { margin-top: 0.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mt-2 { margin-top: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mt-4 { margin-top: 1rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mb-1 { margin-bottom: 0.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mb-2 { margin-bottom: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mb-3 { margin-bottom: 0.75rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mb-4 { margin-bottom: 1rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mb-5 { margin-bottom: 1.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .mb-6 { margin-bottom: 1.5rem; }

:is(body.dashboard, #content, #content-main, .crm-hero) .p-4 { padding: 1rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .p-5 { padding: 1.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .px-4 { padding-left: 1rem; padding-right: 1rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .pl-9 { padding-left: 2.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .pr-3 { padding-right: 0.75rem; }

:is(body.dashboard, #content, #content-main, .crm-hero) .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

:is(body.dashboard, #content, #content-main, .crm-hero) .rounded-md { border-radius: 0.375rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .rounded-lg { border-radius: 0.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .rounded-xl { border-radius: 0.75rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .rounded-full { border-radius: 9999px; }

:is(body.dashboard, #content, #content-main, .crm-hero) .border-2 { border-width: 2px; border-style: solid; }
:is(body.dashboard, #content, #content-main, .crm-hero) .border-blue-200 { border-color: color-mix(in srgb, var(--accent, #2563eb) 22%, var(--border, #e6e9ef)); }

:is(body.dashboard, #content, #content-main, .crm-hero) .bg-amber-300 { background-color: #fcd34d; }
:is(body.dashboard, #content, #content-main, .crm-hero) .bg-emerald-300 { background-color: #6ee7b7; }
:is(body.dashboard, #content, #content-main, .crm-hero) .bg-white\/15 { background-color: rgb(255 255 255 / 0.15); }
:is(body.dashboard, #content, #content-main, .crm-hero) .bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from, color-mix(in srgb, var(--accent, #2563eb) 10%, #fff)), var(--tw-gradient-to, color-mix(in srgb, var(--accent-2, #2563eb) 8%, #fff))); }
:is(body.dashboard, #content, #content-main, .crm-hero) .from-blue-50 { --tw-gradient-from: color-mix(in srgb, var(--accent, #2563eb) 10%, var(--surface, #fff)); }
:is(body.dashboard, #content, #content-main, .crm-hero) .to-cyan-50 { --tw-gradient-to: color-mix(in srgb, var(--accent-2, var(--accent, #2563eb)) 8%, var(--surface, #fff)); }

:is(body.dashboard, #content, #content-main, .crm-hero) .text-sm { font-size: 0.875rem; line-height: 1.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .text-base { font-size: 1rem; line-height: 1.5rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .text-2xl { font-size: 1.5rem; line-height: 2rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
:is(body.dashboard, #content, #content-main, .crm-hero) .text-white { color: #ffffff; }
:is(body.dashboard, #content, #content-main, .crm-hero) .text-blue-600 { color: var(--accent, #2563eb); }
:is(body.dashboard, #content, #content-main, .crm-hero) .text-blue-950 { color: var(--t1, #172554); }
:is(body.dashboard, #content, #content-main, .crm-hero) .text-gray-400 { color: #9ca3af; }
:is(body.dashboard, #content, #content-main, .crm-hero) .text-green-600 { color: #16a34a; }

:is(body.dashboard, #content, #content-main, .crm-hero) .font-semibold { font-weight: 600; }
:is(body.dashboard, #content, #content-main, .crm-hero) .font-bold { font-weight: 700; }
:is(body.dashboard, #content, #content-main, .crm-hero) .font-extrabold { font-weight: 800; }
:is(body.dashboard, #content, #content-main, .crm-hero) .leading-tight { line-height: 1.25; }
:is(body.dashboard, #content, #content-main, .crm-hero) .uppercase { text-transform: uppercase; }
:is(body.dashboard, #content, #content-main, .crm-hero) .tracking-wide { letter-spacing: 0.025em; }
:is(body.dashboard, #content, #content-main, .crm-hero) .whitespace-nowrap { white-space: nowrap; }

:is(body.dashboard, #content, #content-main, .crm-hero) .opacity-0 { opacity: 0; }
:is(body.dashboard, #content, #content-main, .crm-hero) .opacity-95 { opacity: 0.95; }
:is(body.dashboard, #content, #content-main, .crm-hero) .cursor-pointer { cursor: pointer; }
:is(body.dashboard, #content, #content-main, .crm-hero) .select-none { user-select: none; }

:is(body.dashboard, #content, #content-main, .crm-hero) .shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

:is(body.dashboard, #content, #content-main, .crm-hero) .transition { transition-property: color, background-color, border-color, opacity, box-shadow, transform; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
:is(body.dashboard, #content, #content-main, .crm-hero) .transition-transform { transition-property: transform; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
:is(body.dashboard, #content, #content-main, .crm-hero) .duration-150 { transition-duration: 150ms; }

:is(body.dashboard, #content, #content-main, .crm-hero) .group:hover .group-hover\:opacity-100 { opacity: 1; }
:is(body.dashboard, #content, #content-main, .crm-hero) .hover\:underline:hover { text-decoration: underline; }

:is(body.dashboard, #content, #content-main, .crm-hero) .focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
:is(body.dashboard, #content, #content-main, .crm-hero) .focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--surface, #fff), 0 0 0 4px var(--accent, #2563eb); }
:is(body.dashboard, #content, #content-main, .crm-hero) .focus\:ring-\[var\(--accent\)\]:focus { box-shadow: 0 0 0 2px var(--surface, #fff), 0 0 0 4px var(--accent, #2563eb); }

:is(body.dashboard, #content, #content-main, .crm-hero) .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;
}

@media (min-width: 640px) {
  :is(body.dashboard, #content, #content-main, .crm-hero) .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  :is(body.dashboard, #content, #content-main, .crm-hero) .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(body.dashboard, #content, #content-main, .crm-hero) .sm\:inline { display: inline; }
}
@media (min-width: 768px) {
  :is(body.dashboard, #content, #content-main, .crm-hero) .md\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 1024px) {
  :is(body.dashboard, #content, #content-main, .crm-hero) .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  :is(body.dashboard, #content, #content-main, .crm-hero) .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  :is(body.dashboard, #content, #content-main, .crm-hero) .lg\:col-span-1 { grid-column: span 1 / span 1; }
}
@media (min-width: 1280px) {
  :is(body.dashboard, #content, #content-main, .crm-hero) .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :is(body.dashboard, #content, #content-main, .crm-hero) .xl\:col-span-3 { grid-column: span 3 / span 3; }
}
