/* ====================================================================
   FICHKA CORE STYLES v1.0.0 — LOCAL OFFLINE PRODUCTION (PART 1)
   ==================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: #f8fafc; color: #0f172a; min-height: 100vh; flex-direction: column; display: flex; }

/* ХЕДЕР / ВЕРХНЯЯ ШАПКА */
header { bg-color: #ffffff; background: #ffffff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 50; height: 4rem; width: 100%; }
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; width: 100%; height: 100%; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* КНОПКА ФИЧКИ */
.bg-indigo-600 { background-color: #4f46e5; color: #ffffff; }
.text-white { color: #ffffff; }
.rounded-lg { border-radius: 0.5rem; }
.font-black { font-weight: 900; }
.tracking-wider { tracking-spacing: 0.05em; letter-spacing: 0.05em; }
.text-sm { font-size: 0.875rem; }
.text-xl { font-size: 1.25rem; }
.font-semibold { font-weight: 600; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-xs { font-size: 0.75rem; }
.capitalize { text-transform: capitalize; }

/* ЗАЧИСТКА ИКОНОК */
svg, img { width: 1.5rem !important; height: 1.5rem !important; display: inline-block; flex-shrink: 0; }
header svg { width: 1rem !important; height: 1rem !important; }
/* ====================================================================
   FICHKA CORE STYLES v1.0.0 — LOCAL OFFLINE PRODUCTION (PART 2)
   ==================================================================== */
main { flex: 1 1 0%; padding-top: 2.5rem; padding-bottom: 2.5rem; width: 100%; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.text-3xl { font-size: 1.875rem; font-weight: 800; letter-spacing: -0.025em; }
.font-extrabold { font-weight: 800; }
.mt-1 { margin-top: 0.25rem; }

/* СЕТКА (GRID) ИЗ 4 МОДУЛЕЙ */
.grid { display: grid; gap: 1.5rem; width: 100%; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* СТИЛИЗАЦИЯ ПЛИТОК ДЛЯ КНОПОК */
a.group { background-color: #ffffff; padding: 1.5rem; border-radius: 1rem; border: 1px solid #e2e8f0; display: flex; flex-direction: column; text-decoration: none; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); cursor: pointer; }
a.group:hover { transform: translateY(-2px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }

/* ИНДИВИДУАЛЬНЫЕ ЦВЕТА ФОКУСИРОВКИ ДЛЯ КАЖДОЙ ПЛИТКИ */
a.group:nth-child(1):hover { border-color: #4f46e5; }
a.group:nth-child(2):hover { border-color: #10b981; }
a.group:nth-child(3):hover { border-color: #f59e0b; }
a.group:nth-child(4):hover { border-color: #0ea5e9; }

/* ИКОНКИ ВНУТРИ КАРТОЧЕК */
.w-fit { width: fit-content; }
.p-3 { padding: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.rounded-xl { border-radius: 0.75rem; }

.bg-indigo-50 { background-color: #e0e7ff; color: #4f46e5; }
.bg-emerald-50 { background-color: #d1fae5; color: #059669; }
.bg-amber-50 { background-color: #fef3c7; color: #d97706; }
.bg-sky-50 { background-color: #e0f2fe; color: #0284c7; }

/* ХОВЕРЫ ДЛЯ ИКОНОК */
a.group:nth-child(1):hover .bg-indigo-50 { background-color: #4f46e5; color: #ffffff; }
a.group:nth-child(2):hover .bg-emerald-50 { background-color: #10b981; color: #ffffff; }
a.group:nth-child(3):hover .bg-amber-50 { background-color: #f59e0b; color: #ffffff; }
a.group:nth-child(4):hover .bg-sky-50 { background-color: #0ea5e9; color: #ffffff; }

/* ЗАГОЛОВКИ И ОПИСАНИЯ КАРТОЧЕК */
.text-lg { font-size: 1.125rem; font-weight: 700; color: #1e293b; }
.flex-1 { flex: 1 1 0%; }
.mt-4 { margin-top: 1rem; }
.inline-flex { display: inline-flex; align-items: center; gap: 0.25rem; }

/* ТЕКСТОВЫЕ ССЫЛКИ СТРЕЛОК */
.text-indigo-600 { color: #4f46e5; font-weight: 600; }
.text-emerald-600 { color: #059669; font-weight: 600; }
.text-amber-600 { color: #d97706; font-weight: 600; }
.text-sky-600 { color: #0284c7; font-weight: 600; }
