/*!
 * KIN Platform — Tailwind + M3
 * m3-tokens.css loads first (variables), app.css loads second (utilities)
 */

/* ── Tailwind-compatible utility extensions ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-end { justify-content: flex-end; }
.gap-0\.5 { gap: 0.125rem; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.p-0\.5 { padding: 0.125rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.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; }
.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; }
.pt-3 { padding-top: 0.75rem; }
.pb-1\.5 { padding-bottom: 0.375rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pl-8 { padding-left: 2rem; }
.pr-8 { padding-right: 2rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.right-4 { right: 1rem; }
.left-3 { left: 0.75rem; }
.right-3 { right: 0.75rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.min-h-\[40px\] { min-height: 40px; }
.min-h-\[56px\] { min-height: 56px; }
.min-h-\[100dvh\] { min-height: 100dvh; }
.h-\[64px\] { height: 64px; }
.h-\[80px\] { height: 80px; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.text-\[12px\] { font-size: 12px; }
.text-\[24px\] { font-size: 24px; }
.text-\[28px\] { font-size: 28px; }
.text-\[32px\] { font-size: 32px; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-none { line-height: 1; }
.select-none { user-select: none; }
.whitespace-nowrap { white-space: nowrap; }
.border { border: 1px solid var(--color-m3-outline); }
.border-2 { border-width: 2px; }
.border-b { border-bottom: 1px solid var(--color-m3-outline); }
.rounded-t-md { border-radius: var(--radius-m3-md) var(--radius-m3-md) 0 0; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.pointer-events-none { pointer-events: none; }
.peer { }
.peer-placeholder-shown\:top-4 { }
.peer-placeholder-shown\:text-base { }
.peer-focus\:top-1 { }
.peer-focus\:text-xs { }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
.focus-within\:border-\[var\(--color-m3-primary\)\]:focus-within { border-color: var(--color-m3-primary); }
.outline-none { outline: none; }
.bg-transparent { background-color: transparent; }
.bg-gray-100 { background-color: #F8FAFC; }
.flex-shrink-0 { flex-shrink: 0; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hidden { display: none; }
.flex-grow { flex-grow: 1; }
.flex-shrink { flex-shrink: 1; }
.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); }
.ring-0 { }
.ring-1 { }
.focus\:ring-2:focus { }
.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; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: var(--radius-m3-md); }
.rounded-lg { border-radius: var(--radius-m3-lg); }
.rounded-full { border-radius: 9999px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.object-cover { object-fit: cover; }
.list-disc { list-style-type: disc; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* ── Additional utilities needed for dashboard ── */
.rounded-\[16px\] { border-radius: 16px; }
.rounded-\[20px\] { border-radius: 20px; }
.text-\[15px\] { font-size: 15px; }
.text-\[17px\] { font-size: 17px; }
.text-\[20px\] { font-size: 20px; }
.text-\[22px\] { font-size: 22px; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-none { line-height: 1; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-2 { border-width: 2px; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-4 { height: 1rem; }
.min-w-0 { min-width: 0; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.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; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.pt-1\.5 { padding-top: 0.375rem; }
.pt-4 { padding-top: 1rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-\[max\(12px\,env\(safe-area-inset-bottom\)\)\] { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-7 { margin-top: 1.75rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-1 { margin-left: 0.25rem; }
.-ml-1 { margin-left: -0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.divide-y > * + * { border-top-width: 1px; }
.divide-\[var\(--color-m3-outline-variant\)\]\/20 > * + * { border-color: rgba(0,0,0,0.08); }
.divide-gray-100 > * + * { border-color: #f3f4f6; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
.opacity-50 { opacity: 0.5; }
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.transition-transform { transition: transform 0.15s; }
.duration-200 { transition-duration: 0.2s; }
.active\:scale-95:active { transform: scale(0.95); }
.active\:scale-\[0\.98\]:active { transform: scale(0.98); }
.active\:scale-\[0\.94\]:active { transform: scale(0.94); }
.hover\:bg-m3-surface-container:hover { background-color: var(--color-m3-surface-container); }
.active\:bg-gray-50:active { background-color: #f9fafb; }
.active\:bg-gray-100:active { background-color: #f3f4f6; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-sky-50 { background-color: #f0f9ff; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-violet-50 { background-color: #f5f3ff; }
.bg-violet-100 { background-color: #ede9fe; }
.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: #047857; }
.text-sky-600 { color: #0284c7; }
.text-orange-600 { color: #ea580c; }
.text-orange-700 { color: #c2410c; }
.text-amber-600 { color: #d97706; }
.text-blue-600 { color: #2563eb; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-violet-600 { color: #7c3aed; }
.text-violet-700 { color: #6d28d9; }
.text-white { color: #ffffff; }
.hover\:text-onSurface:hover { color: #1a1c1a; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.left-1\/2 { left: 50%; }

/* ── Product Card Pricing ── */
.ds-product-card-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 6px;
    padding: 10px 14px;
    background: var(--ds-surface-container, #f5f5f5);
    border-top: 1px solid var(--ds-outline-variant, #e0e0e0);
    margin-top: 10px;
}

.ds-pricing-item {
    text-align: center;
}

.ds-pricing-label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: var(--ds-surface-on-variant, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.ds-pricing-value {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ds-surface-on, #0f172a);
}
