/* ============================================================
   CrewDecide — Compiled CSS
   Replaces cdn.tailwindcss.com Play CDN with a static file.
   No external requests, no runtime JS, instant on mobile.
   ============================================================ */

/* ── Reset / base ── */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e2e8f0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { margin: 0; line-height: inherit; }
h1,h2,h3,h4,p { margin: 0; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { cursor: pointer; background-color: transparent; background-image: none; }
:-moz-focusring { outline: auto; }
:-moz-ui-invalid { box-shadow: none; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #94a3b8; }
button, [role="button"] { cursor: pointer; }
img, video { max-width: 100%; height: auto; display: block; }
audio { display: block; width: 100%; }
svg { display: block; vertical-align: middle; }
label { display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* ── Custom properties ── */
:root {
  --brand-50:  #eef6ff;
  --brand-100: #d9ebff;
  --brand-200: #b3d4ff;
  --brand-400: #5e9af7;
  --brand-500: #2f6fed;
  --brand-600: #255dd1;
  --brand-700: #1f4ea9;
  --accent-500: #74c365;
  --accent-600: #5eaa50;
  --slatepro-50:  #f8fafc;
  --slatepro-100: #f1f5f9;
  --slatepro-600: #475569;
  --slatepro-700: #334155;
  --slatepro-800: #1e293b;
  --slatepro-900: #0f172a;
}

/* ── Layout ── */
.container { width: 100%; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.inline-flex { display: inline-flex; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.top-1\/2 { top: 50%; }
.right-2 { right: 0.5rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.bottom-2 { bottom: 0.5rem; }
.left-4 { left: 1rem; }
.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

/* ── Flexbox ── */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-8 { gap: 2rem; }

/* ── Grid ── */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }

/* ── Sizing ── */
.w-3    { width: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.w-4    { width: 1rem; }
.w-5    { width: 1.25rem; }
.w-6    { width: 1.5rem; }
.w-7    { width: 1.75rem; }
.w-10   { width: 2.5rem; }
.w-11   { width: 2.75rem; }
.w-12   { width: 3rem; }
.w-full { width: 100%; }
.max-w-xs  { max-width: 20rem; }
.max-w-sm  { max-width: 24rem; }
.max-w-md  { max-width: 28rem; }
.max-w-lg  { max-width: 32rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-full { max-width: 100%; }
.h-3    { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4    { height: 1rem; }
.h-5    { height: 1.25rem; }
.h-6    { height: 1.5rem; }
.h-7    { height: 1.75rem; }
.h-10   { height: 2.5rem; }
.h-11   { height: 2.75rem; }
.h-12   { height: 3rem; }
.h-56   { height: 14rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-h-\[80vh\] { max-height: 80vh; }

/* ── Spacing ── */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.p-4  { padding: 1rem; }
.p-5  { padding: 1.25rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }
.px-2 { padding-left: 0.5rem;  padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem;    padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem;  padding-right: 1.5rem; }
.px-8 { padding-left: 2rem;    padding-right: 2rem; }
.px-16{ padding-left: 4rem;    padding-right: 4rem; }
.py-1 { padding-top: 0.25rem;  padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem;   padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem;  padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem;     padding-bottom: 1rem; }
.py-7 { padding-top: 1.75rem;  padding-bottom: 1.75rem; }
.py-8 { padding-top: 2rem;     padding-bottom: 2rem; }
.py-10{ padding-top: 2.5rem;   padding-bottom: 2.5rem; }
.pt-1 { padding-top: 0.25rem; }
.pr-8 { padding-right: 2rem; }

/* ── Space-y stacks ── */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ── Typography ── */
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold{ font-weight: 800; }
.italic        { font-style: italic; }
.uppercase     { text-transform: uppercase; }
.tracking-tight{ letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-snug   { line-height: 1.375; }
.leading-tight  { line-height: 1.25; }
.leading-relaxed{ line-height: 1.625; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.resize-none { resize: none; }

/* ── Colors — text ── */
.text-white        { color: #fff; }
.text-slate-200    { color: #e2e8f0; }
.text-slate-400    { color: #94a3b8; }
.text-slate-500    { color: #64748b; }
.text-blue-50      { color: #eff6ff; }
.text-green-800    { color: #166534; }
.text-yellow-800   { color: #854d0e; }
.text-red-800      { color: #991b1b; }
.text-blue-800     { color: #1e40af; }
.text-red-500      { color: #ef4444; }
.hover\:text-red-700:hover { color: #b91c1c; }
.text-brand-600    { color: var(--brand-600); }
.text-brand-700    { color: var(--brand-700); }
.text-accent-600   { color: var(--accent-600); }
.text-slatepro-600 { color: var(--slatepro-600); }
.text-slatepro-700 { color: var(--slatepro-700); }
.text-slatepro-800 { color: var(--slatepro-800); }
.text-slatepro-900 { color: var(--slatepro-900); }
.text-white\/80    { color: rgba(255,255,255,0.80); }

/* ── Colors — backgrounds ── */
.bg-white      { background-color: #fff; }
.bg-white\/90  { background-color: rgba(255,255,255,0.90); }
.bg-white\/10  { background-color: rgba(255,255,255,0.10); }
.bg-black      { background-color: #000; }
.bg-black\/50  { background-color: rgba(0,0,0,0.50); }
.bg-black\/90  { background-color: rgba(0,0,0,0.90); }
.bg-slate-50   { background-color: #f8fafc; }
.bg-slate-100  { background-color: #f1f5f9; }
.bg-slate-200  { background-color: #e2e8f0; }
.bg-slate-300  { background-color: #cbd5e1; }
.bg-green-50   { background-color: #f0fdf4; }
.bg-yellow-50  { background-color: #fefce8; }
.bg-red-50     { background-color: #fef2f2; }
.bg-blue-50    { background-color: #eff6ff; }
.bg-brand-50   { background-color: var(--brand-50); }
.hover\:bg-brand-50:hover  { background-color: var(--brand-50); }
.hover\:bg-brand-100:hover { background-color: var(--brand-100); }
.bg-brand-600  { background-color: var(--brand-600); }
.bg-accent-500 { background-color: var(--accent-500); }
.bg-slatepro-50  { background-color: var(--slatepro-50); }
.bg-slatepro-900 { background-color: var(--slatepro-900); }

/* ── Gradients ── */
.bg-gradient-to-r  { background-image: linear-gradient(to right,  var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-brand-600  { --tw-gradient-from: var(--brand-600); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37,93,209,0)); }
.from-slate-50   { --tw-gradient-from: #f8fafc; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(248,250,252,0)); }
.to-brand-50     { --tw-gradient-to: var(--brand-50); }
.to-brand-700    { --tw-gradient-to: var(--brand-700); }

/* ── Borders ── */
.border   { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-slate-200  { border-color: #e2e8f0; }
.border-slate-300  { border-color: #cbd5e1; }
.border-green-200  { border-color: #bbf7d0; }
.border-yellow-200 { border-color: #fef08a; }
.border-red-200    { border-color: #fecaca; }
.border-blue-200   { border-color: #bfdbfe; }
.border-brand-200  { border-color: var(--brand-200); }
.border-brand-400  { border-color: var(--brand-400); }
.border-brand-500  { border-color: var(--brand-500); }

/* ── Border radius ── */
.rounded-lg   { border-radius: 0.5rem; }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-3xl  { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* ── Shadows ── */
.shadow-sm   { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md   { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg   { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-2xl  { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-soft { box-shadow: 0 10px 30px rgba(15,23,42,0.08); }

/* ── Ring (focus/selection) ── */
.ring-2            { box-shadow: 0 0 0 2px var(--tw-ring-color, #3b82f6); }
.ring-brand-400    { --tw-ring-color: var(--brand-400); }
.focus\:ring-2:focus         { box-shadow: 0 0 0 2px var(--tw-ring-color, #3b82f6); }
.focus\:ring-brand-500:focus { --tw-ring-color: var(--brand-500); }
.focus\:outline-none:focus   { outline: none; }

/* Combined ring + border (used for selected cards) */
.border-brand-500.ring-2.ring-brand-400 {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 2px var(--brand-400);
}

/* ── Opacity ── */
.opacity-0  { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }

/* ── Transforms ── */
.-translate-y-1\/2  { transform: translateY(-50%); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.active\:scale-95:active { transform: scale(0.95); }

/* ── Transitions ── */
.transition         { transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-all     { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-transform{ transition-property: transform; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }

/* ── Object fit ── */
.object-contain { object-fit: contain; }
.object-cover   { object-fit: cover; }

/* ── Cursor ── */
.cursor-pointer      { cursor: pointer; }
.cursor-not-allowed  { cursor: not-allowed; }
.cursor-zoom-in      { cursor: zoom-in; }

/* ── Pointer events ── */
.pointer-events-none { pointer-events: none; }

/* ── Misc ── */
.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; }
.backdrop-blur    { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* ── Hover states ── */
.hover\:bg-accent-600:hover  { background-color: var(--accent-600); }
.hover\:bg-brand-50:hover    { background-color: var(--brand-50); }
.hover\:bg-brand-100:hover   { background-color: var(--brand-100); }
.hover\:bg-white\/25:hover   { background-color: rgba(255,255,255,0.25); }
.hover\:border-brand-400:hover { border-color: var(--brand-400); }
.hover\:border-brand-500:hover { border-color: var(--brand-500); }
.hover\:shadow-lg:hover      { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.hover\:shadow-md:hover      { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:opacity-90:hover     { opacity: 0.9; }
.hover\:text-brand-600:hover { color: var(--brand-600); }
.hover\:text-brand-700:hover { color: var(--brand-700); }

/* ── Animation ── */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* ── HTMX indicator — hidden until request in flight ── */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: flex; }
.htmx-request.htmx-indicator  { display: flex; }

/* ── empty:hidden — hide element when it has no children ── */
.empty\:hidden:empty { display: none; }

/* ── Responsive breakpoints ── */
@media (min-width: 640px) {
  .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)); }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:col-span-2  { grid-column: span 2 / span 2; }
  .lg\:col-span-3  { grid-column: span 3 / span 3; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ── App-specific component styles ── */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--slatepro-50);
  color: var(--slatepro-800);
  min-height: 100vh;
}

.option-card input[type="file"] { display: block; width: 100%; }

.progress-bar { transition: width 0.25s ease-in-out; }

/* Aspect ratio utility */
[style*="aspect-ratio"] { aspect-ratio: attr(style); }

/* ── Auth / dropdown additions ── */
.shadow-lg  { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.py-1       { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.mt-0\.5   { margin-top: 0.125rem; }
.w-48       { width: 12rem; }
.z-50       { z-index: 50; }
.truncate   { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.underline  { text-decoration: underline; }
.text-center { text-align: center; }
.mx-auto    { margin-left: auto; margin-right: auto; }
.select-none { user-select: none; }
.bg-brand-700 { background-color: var(--brand-700); }
.hover\:bg-brand-700:hover { background-color: var(--brand-700); }
.hover\:bg-red-50:hover   { background-color: #fef2f2; }
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.border-b   { border-bottom-width: 1px; }
.border-slate-100 { border-color: #f1f5f9; }
.mt-0\.5   { margin-top: 0.125rem; }
.mt-4       { margin-top: 1rem; }
.text-red-600  { color: #dc2626; }
.hover\:text-red-700:hover { color: #b91c1c; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Upsell card icon additions ── */
.w-2\.5    { width:  0.625rem; }
.h-2\.5    { height: 0.625rem; }
.text-accent-400 { color: #8fd97e; }
.tracking-widest { letter-spacing: 0.15em; }
.items-start { align-items: flex-start; }
.leading-snug { line-height: 1.375; }

/* ── Dashboard additions ── */
.divide-y > * + *      { border-top-width: 1px; border-color: #f1f5f9; }
.divide-slate-100 > * + * { border-color: #f1f5f9; }
.min-w-0               { min-width: 0; }
.overflow-hidden       { overflow: hidden; }
.inline-flex           { display: inline-flex; }
.px-2\.5              { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-0\.5              { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1\.5              { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.px-3                  { padding-left: 0.75rem; padding-right: 0.75rem; }
.bg-green-50           { background-color: #f0fdf4; }
.text-green-700        { color: #15803d; }
.border-green-200      { border-color: #bbf7d0; }
.bg-brand-50           { background-color: var(--brand-50); }
.bg-brand-100          { background-color: var(--brand-100); }
.text-brand-700        { color: var(--brand-700); }
.accent-500\/10       { background-color: rgba(116,195,101,0.1); }
.accent-500\/5        { background-color: rgba(116,195,101,0.05); }
.text-green-100        { color: #dcfce7; }
.text-blue-200         { color: #bfdbfe; }
.shrink-0              { flex-shrink: 0; }
.mt-0\.5              { margin-top: 0.125rem; }
.gap-5                 { gap: 1.25rem; }
.rounded-lg            { border-radius: 0.5rem; }
.rounded-full          { border-radius: 9999px; }
.truncate              { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.border-red-200        { border-color: #fecaca; }
.text-red-600          { color: #dc2626; }
.hover\:bg-red-50:hover { background-color: #fef2f2; }
.text-accent-600       { color: var(--accent-600); }
.bg-accent-500\/10    { background-color: rgba(116,195,101,0.1); }

/* ── Icon sizing (verify page etc) ── */
.w-16  { width:  4rem; }
.h-16  { height: 4rem; }
.w-8   { width:  2rem; }
.h-8   { height: 2rem; }
.mb-6  { margin-bottom: 1.5rem; }
.text-green-600 { color: #16a34a; }
.text-red-500   { color: #ef4444; }

/* ── Results page thumbnail classes ── */
.results-thumb-btn {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    cursor: zoom-in;
    padding: 0;
    display: block;
}
.results-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.results-thumb-placeholder {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.results-thumb-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #94a3b8;
}
