/* Minimal Tailwind-equivalent stylesheet for read.vip
   Covers every utility class used in admin.html + index.html.
   Generated to replace the Tailwind CDN JIT compiler. */

/* ---------- Reset / Preflight ---------- */
*, ::before, ::after { box-sizing: border-box; border: 0 solid #e5e7eb; }
::before, ::after { --tw-content: ''; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: ui-sans-serif, system-ui, sans-serif; }
body { margin: 0; line-height: inherit; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; font-size: inherit; font-weight: inherit; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, [type='button'], [type='submit'] { -webkit-appearance: button; background: transparent; background-image: none; cursor: pointer; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: inherit; }

/* ---------- Custom color vars ---------- */
:root {
  --brand: #8b7355; --brand-light: #a68d6a;
  --dark: #f8f5f0; --dark-card: #ffffff; --dark-hover: #f0ebe3;
  --dark-border: #e0d6c8; --dark-surface: #f3efe8; --dark-input: #faf8f5;
  --bg: #09090b; --surface: #141414; --surface-2: #1c1c1e;
  --border-c: rgba(255,255,255,0.07); --border-hover-c: rgba(200,184,154,0.35);
  --accent: #c8b89a; --accent-light: #ddd0b8; --accent-dim: rgba(200,184,154,0.12);
  --muted: #52525b;
}

/* ---------- Layout ---------- */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0,1fr)); }
.col-span-full { grid-column: 1 / -1; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* ---------- Sizing ---------- */
.h-1 { height: 0.25rem; }
.h-3 { height: 0.75rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }
.max-h-24 { max-height: 6rem; }
.max-h-\[92vh\] { max-height: 92vh; }
.min-h-screen { min-height: 100vh; }

.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }
.w-1\/3 { width: 33.333333%; }
.w-3\/4 { width: 75%; }
.min-w-0 { min-width: 0; }

.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.aspect-\[1\.91\/1\] { aspect-ratio: 1.91 / 1; }

/* ---------- Spacing ---------- */
.p-1\.5 { padding: 0.375rem; }
.p-4 { padding: 1rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.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; }
.pr-4 { padding-right: 1rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-14 { padding-top: 3.5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-24 { padding-bottom: 6rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-auto { margin-left: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Typography ---------- */
.text-\[10px\] { font-size: 10px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-\[15px\] { font-size: 15px; }
.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-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.text-center { text-align: center; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-snug { line-height: 1.375; }
.uppercase { text-transform: uppercase; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Colors - text ---------- */
.text-white { color: #fff; }
.text-zinc-50 { color: #fafafa; }
.text-zinc-100 { color: #f4f4f5; }
.text-zinc-200 { color: #e4e4e7; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-500 { color: #71717a; }
.text-zinc-600 { color: #52525b; }
.text-zinc-700 { color: #3f3f46; }
.text-zinc-800 { color: #27272a; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-green-700 { color: #15803d; }
.text-brand { color: var(--brand); }
.text-accent { color: var(--accent); }
.placeholder-zinc-400::placeholder { color: #a1a1aa; }

/* ---------- Colors - bg ---------- */
.bg-white { color-scheme: light; background-color: #fff; }
.bg-zinc-800\/40 { background-color: rgba(39,39,42,0.4); }
.bg-\[\#1a1a1d\] { background-color: #1a1a1d; }
.bg-dark { background-color: var(--dark); }
.bg-dark-card { background-color: var(--dark-card); }
.bg-dark-border { background-color: var(--dark-border); }
.bg-dark-input { background-color: var(--dark-input); }
.bg-dark-surface { background-color: var(--dark-surface); }
.bg-dark\/90 { background-color: rgba(248,245,240,0.9); }
.bg-brand { background-color: var(--brand); }
.bg-brand\/5 { background-color: rgba(139,115,85,0.05); }
.bg-brand\/10 { background-color: rgba(139,115,85,0.1); }
.bg-bg { background-color: var(--bg); }
.bg-bg\/90 { background-color: rgba(9,9,11,0.9); }
.bg-surface { background-color: var(--surface); }
.bg-accent\/10 { background-color: rgba(200,184,154,0.1); }
.bg-zinc-200 { background-color: #e4e4e7; }

/* ---------- Borders ---------- */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-dashed { border-style: dashed; }
.border-dark-border { border-color: var(--dark-border); }
.border-dark-border\/50 { border-color: rgba(224,214,200,0.5); }
.border-brand\/20 { border-color: rgba(139,115,85,0.2); }
.border-accent\/20 { border-color: rgba(200,184,154,0.2); }
.border-zinc-800 { border-color: #27272a; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-b-2xl { border-bottom-right-radius: 1rem; border-bottom-left-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ---------- Effects ---------- */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.resize-none { resize: none; }
.resize-y { resize: vertical; }

.transition { transition-property: color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter; transition-duration: 150ms; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.transition-all { transition-property: all; transition-duration: 150ms; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.transition-colors { transition-property: color,background-color,border-color,fill,stroke; transition-duration: 150ms; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.duration-300 { transition-duration: 300ms; }

/* ---------- Hover states ---------- */
.hover\:bg-brand-light:hover { background-color: var(--brand-light); }
.hover\:bg-accent\/20:hover { background-color: rgba(200,184,154,0.2); }
.hover\:border-brand\/50:hover { border-color: rgba(139,115,85,0.5); }
.hover\:border-accent\/40:hover { border-color: rgba(200,184,154,0.4); }
.hover\:text-brand:hover { color: var(--brand); }
.hover\:text-brand-light:hover { color: var(--brand-light); }
.hover\:text-red-500:hover { color: #ef4444; }
.hover\:text-red-600:hover { color: #dc2626; }
.hover\:text-zinc-700:hover { color: #3f3f46; }
.hover\:opacity-80:hover { opacity: 0.8; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* ---------- Toggle switch ---------- */
.toggle-switch {
  position: relative; width: 40px; height: 22px; border-radius: 9999px;
  background: #d9cfbf; cursor: pointer; padding: 0; border: none;
  transition: background-color 0.2s ease;
}
.toggle-switch[aria-checked="true"] { background: var(--brand); }
.toggle-knob {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 9999px; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.toggle-switch[aria-checked="true"] .toggle-knob { transform: translateX(18px); }
