/* ========== Design Tokens ========== */
:root {
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: #EEF2FF;
  --primary-lighter: #F5F7FF;
  --gradient: linear-gradient(135deg, #4F46E5, #7C3AED);
  --gradient-hover: linear-gradient(135deg, #4338CA, #6D28D9);
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --danger: #EF4444;
  --danger-light: #FEF2F2;
  --success: #10B981;
  --success-light: #ECFDF5;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(79,70,229,0.08), 0 1px 2px rgba(79,70,229,0.06);
  --shadow-md: 0 4px 12px rgba(79,70,229,0.10);
  --shadow-lg: 0 10px 25px rgba(79,70,229,0.12);
  --shadow-xl: 0 20px 50px rgba(79,70,229,0.15);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, 'Liberation Mono', monospace;
  --nav-height: 64px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ========== Scrollbar ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ========== Navigation ========== */
.navbar {
  background: var(--gradient);
  color: #fff;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(79,70,229,0.25);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

.navbar-brand-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

.navbar-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.navbar-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.navbar-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  position: relative;
}

.navbar-user-avatar {
  cursor: pointer;
}

.navbar-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  padding: 4px 0;
  z-index: 200;
}

.navbar-user-dropdown.show {
  display: block;
}

.navbar-user-dropdown .dropdown-name {
  padding: 10px 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}

.navbar-user .navbar-user-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

.navbar-user .navbar-user-dropdown a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.navbar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.navbar-user a {
  color: rgba(255,255,255,0.75);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  transition: all var(--transition);
}

.navbar-user a:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

/* ========== Container ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

@media (max-width: 768px) {
  .container { padding: 16px; }
}

@media (max-width: 640px) {
  .container { padding: 12px; }
}

/* ========== Card ========== */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .card { padding: 16px; }
  .card-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ========== Section Title ========== */
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  width: 3px;
  height: 18px;
  background: var(--gradient);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ========== Alert ========== */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: alertSlideIn 250ms ease-out;
}

@keyframes alertSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-error {
  background: var(--danger-light);
  color: var(--danger);
  border-left: 3px solid var(--danger);
}

.alert-success {
  background: var(--success-light);
  color: var(--success);
  border-left: 3px solid var(--success);
}

.alert-info {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-left: 3px solid var(--primary);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--transition);
  line-height: 1.4;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79,70,229,0.25);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  background: #DC2626;
  color: #fff;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 16px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ========== Forms ========== */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  transition: all var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.basic-grid .form-row {
  grid-template-columns: 1fr 1fr 1fr;
}
.basic-grid .form-row .full-width {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .basic-grid .form-row { grid-template-columns: 1fr; }
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* Input error state */
.form-control.input-error {
  border-color: var(--danger);
  background: #FFF5F5;
}

.form-control.input-error:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

/* ========== Tables ========== */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--primary-lighter);
  white-space: nowrap;
}

tr:last-child td { border-bottom: none; }

tbody tr {
  transition: background var(--transition);
}

tbody tr:hover {
  background: #FAFBFF;
}

table .actions {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.empty-state p {
  font-size: 14px;
}

/* ========== Card Table (Mobile) ========== */
@media (max-width: 640px) {
  .table-card-view table thead {
    display: none;
  }

  .table-card-view table tbody tr {
    display: block;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
  }

  .table-card-view table tbody tr:hover {
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }

  .table-card-view table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
  }

  .table-card-view table td:last-child {
    border-bottom: none;
  }

  .table-card-view table td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .table-card-view table .actions {
    justify-content: flex-end;
  }
}

/* ========== Pagination ========== */
.pagination {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.pagination .current {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

/* ========== Search Box ========== */
.search-box {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.search-box .search-input-wrap {
  position: relative;
  flex: 1;
}

.search-box .search-input-wrap::before {
  content: '\1F50D';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.4;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  transition: all var(--transition);
  outline: none;
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}

@media (max-width: 640px) {
  .search-box { flex-direction: column; }
  .search-box button { width: 100%; }
}

/* ========== Detail Grid ========== */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-item {
  padding: 0;
}

.detail-item label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.detail-item p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* ========== Photo Upload ========== */
.photo-upload {
  width: 120px;
  height: 150px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-lighter);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.photo-upload:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.photo-upload img {
  display: block;
  width: 108px;
  height: 138px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.photo-upload .upload-placeholder {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.photo-upload .upload-placeholder .upload-icon {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 auto 8px;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  transition: all var(--transition);
}

.photo-upload:hover .upload-placeholder .upload-icon {
  background: var(--primary);
  color: #fff;
}

/* ========== Family Table ========== */
.family-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px;
}

.family-table-scroll table {
  min-width: 560px;
}

.family-table-scroll th,
.family-table-scroll td {
  padding: 8px 10px;
  font-size: 13px;
}

.fminput {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  transition: all var(--transition);
  outline: none;
}

.fminput:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(79,70,229,0.10);
}

select.fminput {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

/* ========== Login Page ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EEF2FF 0%, #F8FAFC 50%, #FAF5FF 100%);
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(79,70,229,0.12), 0 1px 4px rgba(79,70,229,0.06);
  padding: 40px 32px 32px;
  animation: loginFadeIn 400ms ease-out;
}

@keyframes loginFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-brand {
  text-align: center;
  margin-bottom: 32px;
}

.login-brand-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(79,70,229,0.3);
}

.login-brand h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.login-brand p {
  font-size: 13px;
  color: var(--text-muted);
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form .form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.login-form .form-control {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
}

.login-form .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 10px;
  margin-top: 8px;
}

/* ========== Detail Photo ========== */
.detail-photo {
  width: 120px;
  height: 156px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* ========== Stats Row ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-card-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.stat-card-value .stat-card-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

/* ========== Transitions & Utilities ========== */
.fade-in {
  animation: fadeIn 300ms ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 300ms ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-shrink-0 { flex-shrink: 0; }

/* ========== Responsive Nav ========== */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .navbar-brand { font-size: 14px; gap: 8px; }
  .navbar-nav { gap: 2px; }
  .navbar-nav a { padding: 6px 10px; font-size: 13px; }
  .navbar-user { gap: 8px; }
}

@media (max-width: 640px) {
  .navbar { flex-wrap: wrap; height: auto; min-height: var(--nav-height); padding: 10px 16px; }
  .navbar > div:first-child { flex: 1; min-width: 0; }
  .navbar-brand { white-space: nowrap; font-size: 13px; }
  .navbar-nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding: 8px 0 4px;
    gap: 2px;
  }
  .navbar-nav a { padding: 8px 12px; border-radius: var(--radius-xs); }
  .navbar-nav a.active::after { display: none; }
  .navbar-nav a.active { background: rgba(255,255,255,0.2); }
  .navbar-user { font-size: 13px; flex-shrink: 0; }
  .navbar-user > span,
  .navbar-user > a[href*="/admin/logout"] {
    display: none;
  }
  .table-card-view table td[colspan] {
    display: block;
    text-align: center;
    padding: 32px 16px;
  }
}

/* ========== Print ========== */
@media print {
  .navbar { display: none; }
  .card { box-shadow: none; border: 1px solid #ddd; }
  .btn { display: none; }
}

/* ========== Monospace ========== */
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ========== Prefers Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
