/* === Theme variables === */
:root[data-theme="dark"] {
  --bg: #08080b;
  --bg-elevated: #131318;
  --bg-card: #15151c;
  --bg-card-hover: #1c1c26;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --accent-green: #34d399;
  --accent-green-dark: #059669;
  --accent-amber: #fbbf24;
  --accent-rose: #fb7185;
  --accent-blue: #60a5fa;
  --accent-violet: #a78bfa;

  --glow-green: rgba(52, 211, 153, 0.45);
  --glow-blue: rgba(96, 165, 250, 0.35);
  --glow-violet: rgba(167, 139, 250, 0.4);
  --glow-rose: rgba(251, 113, 133, 0.5);
  --glow-amber: rgba(251, 191, 36, 0.4);
}

:root[data-theme="light"] {
  --bg: #fafaf9;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f4;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text: #18181b;
  --text-secondary: #52525b;
  --text-tertiary: #a1a1aa;
  --accent-green: #059669;
  --accent-green-dark: #047857;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
  --accent-blue: #2563eb;
  --accent-violet: #7c3aed;

  --glow-green: rgba(5, 150, 105, 0.18);
  --glow-blue: rgba(37, 99, 235, 0.15);
  --glow-violet: rgba(124, 58, 237, 0.18);
  --glow-rose: rgba(225, 29, 72, 0.18);
  --glow-amber: rgba(217, 119, 6, 0.18);
}

/* === Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* === Aurora background === */
body::before {
  content: '';
  position: fixed;
  top: -300px;
  right: -200px;
  width: 900px;
  height: 900px;
  background:
    radial-gradient(circle at 30% 30%, var(--glow-green), transparent 50%),
    radial-gradient(circle at 70% 60%, var(--glow-violet), transparent 55%);
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: aurora 22s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  bottom: -400px;
  left: -200px;
  width: 800px;
  height: 800px;
  background:
    radial-gradient(circle at 60% 40%, var(--glow-blue), transparent 55%);
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: aurora-2 28s ease-in-out infinite alternate;
}

[data-theme="light"] body::before { opacity: 0.7; }
[data-theme="light"] body::after { opacity: 0.5; }

@keyframes aurora {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-100px, 80px) rotate(20deg); }
}

@keyframes aurora-2 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(120px, -60px) rotate(-15deg); }
}

/* === Layout === */
.app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 80px;
  position: relative;
  z-index: 1;
}

/* === Header === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  margin-bottom: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow:
    0 0 20px var(--glow-green),
    0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 50%);
  pointer-events: none;
}

.logo-mark svg { width: 18px; height: 18px; position: relative; z-index: 1; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

[data-theme="light"] .theme-toggle { background: rgba(255, 255, 255, 0.6); }

.theme-toggle:hover {
  background: var(--bg-card);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.05);
}

.theme-toggle svg { width: 16px; height: 16px; }

.user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

[data-theme="light"] .user { background: rgba(255, 255, 255, 0.7); }

.user:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.avatar.violet {
  background: linear-gradient(135deg, #c4b5fd 0%, #7c3aed 100%);
  box-shadow:
    0 0 14px var(--glow-violet),
    0 2px 8px rgba(124, 58, 237, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.avatar.rose {
  background: linear-gradient(135deg, #fda4af 0%, #e11d48 100%);
  box-shadow:
    0 0 14px var(--glow-rose),
    0 2px 8px rgba(225, 29, 72, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* === Hero === */
.hero {
  margin-bottom: 48px;
}

.hero-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero h1 {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.hero h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px var(--glow-green));
  position: relative;
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.5;
}

/* === Tonight feature card === */
.tonight {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card) 60%, rgba(52, 211, 153, 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(16px);
}

[data-theme="light"] .tonight {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(5, 150, 105, 0.03) 100%);
}

.tonight:hover {
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow:
    0 0 48px var(--glow-green),
    0 12px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.tonight::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--glow-green) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.45;
}

.tonight-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 48px var(--glow-green),
    0 8px 32px rgba(5, 150, 105, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.tonight-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 60%);
  pointer-events: none;
}

.tonight-icon svg { width: 32px; height: 32px; position: relative; z-index: 1; }

.tonight-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.tonight-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-shadow: 0 0 16px var(--glow-green);
}

.tonight h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.tonight-meta {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

.tonight-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tonight-meta svg { width: 14px; height: 14px; }

.tonight-action {
  padding: 11px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

[data-theme="light"] .tonight-action {
  background: rgba(255, 255, 255, 0.7);
}

.tonight-action:hover {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 20px var(--glow-green);
}

.tonight-action svg { width: 14px; height: 14px; }

/* === Grid === */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

/* === Cards === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
  position: relative;
}

[data-theme="light"] .card { background: rgba(255, 255, 255, 0.85); }

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

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

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.card-title svg { width: 16px; height: 16px; }

.card-action {
  font-size: 12px;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-action:hover { color: var(--text); }
.card-action svg { width: 12px; height: 12px; }

/* === Plan list === */
.plan-list { display: flex; flex-direction: column; gap: 12px; }

.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.plan-day {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: 0.08em;
  min-width: 36px;
}

.plan-meal { color: var(--text); flex: 1; padding-left: 12px; }

.plan-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .plan-tag {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.05);
}

.plan-tag.fresh {
  color: var(--accent-blue);
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.2);
  box-shadow: 0 0 12px var(--glow-blue);
}

/* === Leftover list === */
.leftover { display: flex; flex-direction: column; gap: 14px; }

.leftover-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
}

.leftover-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--glow-amber);
}

.leftover-dot.urgent {
  background: var(--accent-rose);
  box-shadow: 0 0 14px var(--glow-rose);
  animation: pulse-urgent 2.5s ease-in-out infinite;
}

.leftover-content { flex: 1; }
.leftover-name { font-size: 14px; color: var(--text); margin-bottom: 2px; }
.leftover-time { font-size: 12px; color: var(--text-tertiary); }

/* === Stat pair === */
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}

.stat {
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 16px;
}

[data-theme="light"] .stat { background: rgba(0, 0, 0, 0.02); }

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stat-value small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
}

/* === Pantry warning === */
.warning {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--accent-amber);
  box-shadow: 0 0 16px var(--glow-amber);
}

.warning svg { width: 14px; height: 14px; flex-shrink: 0; }

/* === Module nav === */
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.module {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

[data-theme="light"] .module { background: rgba(255, 255, 255, 0.85); }

.module:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.module.meals:hover {
  box-shadow: 0 0 32px var(--glow-green), 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(52, 211, 153, 0.3);
}

.module.mail:hover {
  box-shadow: 0 0 32px var(--glow-blue), 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(96, 165, 250, 0.3);
}

.module.notes:hover {
  box-shadow: 0 0 32px var(--glow-violet), 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(167, 139, 250, 0.3);
}

.module-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.module-icon svg { width: 20px; height: 20px; }

.module.meals .module-icon {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-green);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.2) inset;
}

.module.meals:hover .module-icon {
  background: rgba(52, 211, 153, 0.2);
  box-shadow: 0 0 24px var(--glow-green), 0 0 0 1px rgba(52, 211, 153, 0.4) inset;
}

.module.mail .module-icon {
  background: rgba(96, 165, 250, 0.12);
  color: var(--accent-blue);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.2) inset;
}

.module.mail:hover .module-icon {
  background: rgba(96, 165, 250, 0.2);
  box-shadow: 0 0 24px var(--glow-blue), 0 0 0 1px rgba(96, 165, 250, 0.4) inset;
}

.module.notes .module-icon {
  background: rgba(167, 139, 250, 0.12);
  color: var(--accent-violet);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.2) inset;
}

.module.notes:hover .module-icon {
  background: rgba(167, 139, 250, 0.2);
  box-shadow: 0 0 24px var(--glow-violet), 0 0 0 1px rgba(167, 139, 250, 0.4) inset;
}

.module.future {
  opacity: 0.4;
  cursor: default;
}

.module.future:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.module.future .module-icon {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-tertiary);
}

[data-theme="light"] .module.future .module-icon {
  background: rgba(0, 0, 0, 0.03);
}

.module-name { font-size: 15px; font-weight: 500; }
.module-meta { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }

.module-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-rose);
  box-shadow: 0 0 12px var(--glow-rose);
  animation: pulse-urgent 2.5s ease-in-out infinite;
}

/* === Login page === */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.login-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(16px);
}

[data-theme="light"] .login-box { background: rgba(255, 255, 255, 0.9); }

.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 32px;
}

.login-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.login-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}

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

.form-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

[data-theme="light"] .form-input {
  background: rgba(0, 0, 0, 0.03);
}

.form-input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.form-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  border: none;
  color: white;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
  box-shadow: 0 0 24px var(--glow-green), 0 4px 12px rgba(5, 150, 105, 0.3);
}

.form-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px var(--glow-green), 0 8px 20px rgba(5, 150, 105, 0.4);
}

.form-error {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(251, 113, 133, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.2);
  border-radius: 8px;
  font-size: 13px;
  color: var(--accent-rose);
}

/* === Breadcrumb === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.breadcrumb a { color: var(--text-tertiary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb svg { width: 12px; height: 12px; }
.breadcrumb-current { color: var(--text-secondary); }

/* === Empty state === */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-tertiary);
  font-size: 14px;
}

.empty-state svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}

/* === Error pages === */
.error-wrap {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.error-code {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-tertiary);
  line-height: 1;
}

.error-msg {
  font-size: 18px;
  color: var(--text-secondary);
}

.error-back {
  margin-top: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s;
}

.error-back:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* === Animations === */
@keyframes pulse-urgent {
  0%, 100% {
    box-shadow: 0 0 14px var(--glow-rose), 0 0 0 0 rgba(251, 113, 133, 0.5);
  }
  50% {
    box-shadow: 0 0 18px var(--glow-rose), 0 0 0 8px rgba(251, 113, 133, 0);
  }
}

/* HTMX loading indicator */
.htmx-indicator { opacity: 0; transition: opacity 0.2s; }
.htmx-request .htmx-indicator { opacity: 1; }

/* === Responsive === */
@media (max-width: 768px) {
  .app { padding: 16px 20px 60px; }
  .header { margin-bottom: 32px; }
  .hero { margin-bottom: 32px; }
  .hero h1 { font-size: 36px; }
  .tonight {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
  }
  .tonight-action { align-self: stretch; justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .login-box { padding: 32px 24px; margin: 24px; }
}
