@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Gurmukhi:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;600;700&display=swap');

:root {
  --color-blue: #4A90D9;
  --color-blue-dark: #2E6BB0;
  --color-blue-light: #E8F4FD;
  --color-green: #5CB85C;
  --color-green-dark: #3D8B3D;
  --color-green-light: #EAF7EA;
  --color-yellow: #F5A623;
  --color-yellow-light: #FFF8E7;
  --color-pink: #E91E8C;
  --color-pink-light: #FDE8F4;
  --color-purple: #9B59B6;
  --color-purple-light: #F3E8FA;
  --color-red: #E74C3C;
  --color-red-light: #FDEDEC;
  --color-orange: #FF6B35;
  --color-orange-light: #FFF0EB;
  --color-bg: #F8FBFF;
  --color-text: #2C3E50;
  --color-text-light: #6B7C93;
  --color-border: #E1EBF5;
  --color-white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(74, 144, 217, 0.12);
  --shadow-md: 0 4px 16px rgba(74, 144, 217, 0.18);
  --shadow-lg: 0 8px 32px rgba(74, 144, 217, 0.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font: 'Nunito', 'Noto Sans Arabic', 'Noto Sans Devanagari', 'Noto Sans Bengali', 'Noto Sans Gurmukhi', 'Noto Sans Thai', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
}

:lang(ar), :lang(ur) { --font: 'Noto Sans Arabic', system-ui, sans-serif; }
:lang(hi) { --font: 'Noto Sans Devanagari', system-ui, sans-serif; }
:lang(bn) { --font: 'Noto Sans Bengali', system-ui, sans-serif; }
:lang(pa) { --font: 'Noto Sans Gurmukhi', system-ui, sans-serif; }
:lang(th) { --font: 'Noto Sans Thai', system-ui, sans-serif; }
:lang(ja) { --font: 'Noto Sans JP', system-ui, sans-serif; }
:lang(ko) { --font: 'Noto Sans KR', system-ui, sans-serif; }
:lang(zh) { --font: 'Noto Sans SC', system-ui, sans-serif; }

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  padding: 0 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 32px;
  line-height: 1;
}

.logo-text {
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--color-yellow);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

#lang-select, .lang-select {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s;
}

#lang-select:hover, .lang-select:hover {
  background: rgba(255,255,255,0.25);
}

#lang-select option, .lang-select option {
  color: var(--color-text);
  background: white;
}

.btn-analytics {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  transition: all 0.2s;
}

.btn-analytics:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: white;
  border-bottom: 1px solid var(--color-border);
  padding: 0 24px;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.breadcrumb-item {
  font-size: 0.875rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item.clickable {
  color: var(--color-blue);
  cursor: pointer;
  font-weight: 600;
}

.breadcrumb-item.clickable:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--color-text);
  font-weight: 700;
}

.breadcrumb-sep {
  color: var(--color-border);
  font-size: 1rem;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 48px 24px 40px;
  background: linear-gradient(180deg, var(--color-blue-light) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-blue);
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 24px;
  font-weight: 500;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badge {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-light);
}

.hero-badge.green { border-color: var(--color-green); color: var(--color-green-dark); background: var(--color-green-light); }
.hero-badge.blue { border-color: var(--color-blue); color: var(--color-blue-dark); background: var(--color-blue-light); }
.hero-badge.yellow { border-color: var(--color-yellow); color: #b37a00; background: var(--color-yellow-light); }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 28px;
  font-weight: 500;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card-grid.two-col {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

/* ===== AGE RANGE CARDS ===== */
.age-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.age-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
}

.age-card.preschool::before { background: linear-gradient(90deg, var(--color-yellow), var(--color-orange)); }
.age-card.kindergarten::before { background: linear-gradient(90deg, var(--color-blue), var(--color-purple)); }

.age-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue);
}

.age-card-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.age-card-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 6px;
}

.age-card-range {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.age-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.age-card-count {
  display: inline-block;
  margin-top: 16px;
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
}

/* ===== SUBJECT CARDS ===== */
.subject-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.subject-card.math:hover { border-color: var(--color-blue); }
.subject-card.english:hover { border-color: var(--color-green); }
.subject-card.science:hover { border-color: var(--color-purple); }
.subject-card.social-studies:hover { border-color: var(--color-orange); }
.subject-card.art:hover { border-color: var(--color-pink); }
.subject-card.music:hover { border-color: var(--color-yellow); }
.subject-card.health:hover { border-color: var(--color-green); }
.subject-card.coding:hover { border-color: var(--color-blue-dark); }
.subject-card.life-skills:hover { border-color: var(--color-red); }

.subject-icon {
  font-size: 2.8rem;
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.subject-card.math .subject-icon { background: var(--color-blue-light); }
.subject-card.english .subject-icon { background: var(--color-green-light); }
.subject-card.science .subject-icon { background: var(--color-purple-light); }
.subject-card.social-studies .subject-icon { background: var(--color-orange-light); }
.subject-card.art .subject-icon { background: var(--color-pink-light); }
.subject-card.music .subject-icon { background: var(--color-yellow-light); }
.subject-card.health .subject-icon { background: var(--color-green-light); }
.subject-card.coding .subject-icon { background: var(--color-blue-light); }
.subject-card.life-skills .subject-icon { background: var(--color-red-light); }

.subject-info { flex: 1; min-width: 0; }

.subject-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
}

.subject-topics {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.subject-arrow {
  color: var(--color-border);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: color 0.2s;
}

.subject-card:hover .subject-arrow {
  color: var(--color-blue);
}

/* ===== TOPIC CARDS ===== */
.topic-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue);
  background: var(--color-blue-light);
}

.topic-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topic-emoji {
  font-size: 1.8rem;
  line-height: 1;
  width: 42px;
  text-align: center;
  flex-shrink: 0;
}

.topic-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.topic-count {
  font-size: 0.75rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-top: 2px;
}

.topic-arrow {
  color: var(--color-border);
  font-size: 1rem;
  flex-shrink: 0;
  transition: color 0.2s;
}

.topic-card:hover .topic-arrow {
  color: var(--color-blue);
}

/* ===== WORKSHEET CARDS ===== */
.worksheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.worksheet-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.worksheet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue);
}

.worksheet-preview {
  background: linear-gradient(135deg, var(--color-blue-light), #f0f8ff);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.worksheet-preview-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-green);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.worksheet-body {
  padding: 16px 18px;
}

.worksheet-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 6px;
}

.worksheet-meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.worksheet-tag {
  background: var(--color-blue-light);
  color: var(--color-blue-dark);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}

.worksheet-actions {
  display: flex;
  gap: 8px;
}

.btn-print {
  flex: 1;
  background: var(--color-blue);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-print:hover {
  background: var(--color-blue-dark);
  transform: translateY(-1px);
}

.btn-preview {
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  transition: all 0.2s;
}

.btn-preview:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: var(--color-blue-light);
}

/* ===== LANGUAGE NOTICE ===== */
.lang-notice {
  background: var(--color-yellow-light);
  border: 2px solid var(--color-yellow);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.lang-notice-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.lang-notice-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--color-text);
}

.lang-notice-text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ===== ANALYTICS DASHBOARD ===== */
.analytics-dashboard {
  max-width: 960px;
  margin: 0 auto;
}

.analytics-header {
  text-align: center;
  margin-bottom: 40px;
}

.analytics-header h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 8px;
}

.analytics-header p {
  color: var(--color-text-light);
  font-weight: 500;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-card-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.analytics-section {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.analytics-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.analytics-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.analytics-row:last-child {
  border-bottom: none;
}

.analytics-row-label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.analytics-bar-wrap {
  flex: 2;
  height: 10px;
  background: var(--color-border);
  border-radius: 100px;
  overflow: hidden;
}

.analytics-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-blue-dark));
  border-radius: 100px;
  transition: width 0.8s ease;
}

.analytics-row-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-blue);
  width: 40px;
  text-align: right;
}

.analytics-empty {
  text-align: center;
  padding: 32px;
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-clear-analytics {
  background: var(--color-red-light);
  color: var(--color-red);
  border: 2px solid var(--color-red);
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 16px;
  transition: all 0.2s;
}

.btn-clear-analytics:hover {
  background: var(--color-red);
  color: white;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 40px 24px 28px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: white;
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-col a:hover {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
}

.footer-mission {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-yellow);
}

/* ===== LOADING / ERROR STATES ===== */
.page-loading {
  text-align: center;
  padding: 80px 24px;
  color: var(--color-text-light);
}

.page-loading .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-blue);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== BACK BUTTON ===== */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  margin-bottom: 28px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-back:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: var(--color-blue-light);
}

/* ===== PAGE HEADER ===== */
.page-header {
  margin-bottom: 32px;
}

.page-header-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-blue);
  background: var(--color-blue-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.page-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 500;
  max-width: 560px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .card-grid.two-col { grid-template-columns: 1fr; }
  .header-inner { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 24px; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .main-content { padding: 24px 16px 48px; }
  .hero { padding: 32px 16px 28px; }
  .logo-text { font-size: 1.1rem; }
  .analytics-grid { grid-template-columns: 1fr 1fr; }
  .worksheet-grid { grid-template-columns: 1fr; }
}

/* ===== QUICK PICK ===== */
.quick-pick-section {
  background: linear-gradient(135deg, #EBF5FF 0%, #F5EEFF 100%);
  border-top: 3px solid var(--color-blue);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 24px 36px;
}

.quick-pick-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.quick-pick-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.quick-pick-header-text h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 4px;
}

.quick-pick-header-text p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
  max-width: 520px;
}

.quick-pick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.btn-shuffle {
  background: white;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 18px;
  transition: all 0.2s;
  cursor: pointer;
  font-family: var(--font);
}

.btn-shuffle:hover {
  background: var(--color-blue);
  color: white;
}

.btn-print-all {
  background: var(--color-green);
  color: white;
  border: 2px solid var(--color-green);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 18px;
  transition: all 0.2s;
  cursor: pointer;
  font-family: var(--font);
}

.btn-print-all:hover {
  background: var(--color-green-dark);
  border-color: var(--color-green-dark);
}

.btn-print-all:disabled {
  opacity: 0.6;
  cursor: wait;
}

.qp-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.qp-row::-webkit-scrollbar { height: 5px; }
.qp-row::-webkit-scrollbar-track { background: transparent; }
.qp-row::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.qp-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.25s ease;
  flex: 0 0 210px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
}

.qp-card:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.qp-card-preview {
  background: linear-gradient(135deg, var(--color-blue-light), #f0f8ff);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  cursor: pointer;
  position: relative;
}

.qp-swap-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1.5px solid var(--color-border);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
  color: var(--color-text-light);
  line-height: 1;
}

.qp-swap-btn:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: white;
  transform: rotate(180deg);
}

.qp-card-body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.qp-card-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
  flex: 1;
}

.qp-card-meta {
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 10px;
}

.qp-card-btns {
  display: flex;
  gap: 6px;
}

.qp-card-btns .btn-print {
  flex: 1;
  font-size: 0.75rem;
  padding: 7px 8px;
}

.qp-card-btns .btn-preview {
  font-size: 0.75rem;
  padding: 7px 10px;
}

@media (max-width: 768px) {
  .quick-pick-header { flex-direction: column; }
  .quick-pick-actions { width: 100%; }
  .btn-shuffle, .btn-print-all { flex: 1; justify-content: center; }
  .qp-card { flex: 0 0 180px; min-width: 180px; }
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header, .site-footer, .breadcrumb, .btn-back, .btn-print, .btn-preview { display: none !important; }
  body { background: white; }
  .main-content { padding: 0; max-width: 100%; }
}
