@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&display=swap');

/* ─── SCHOOL THEME: MARDAN YOUTH'S ACADEMY ───────────────────────────────── */
:root {
  /* Primary — Dark Navy (from school site) */
  --primary-dark:   #012a4a;
  --primary:        #013a63;
  --primary-light:  #024b8d;
  --primary-bg:     #f0f7ff;

  /* Accent — Golden Yellow */
  --secondary:      #fbb416;
  --secondary-hover:#e5a314;
  --accent:         #fbb416;

  /* Surfaces & Backgrounds */
  --bg:             #f8fafc;
  --surface:        #ffffff;
  --white:          #ffffff;
  --off-white:      #f1f5f9;

  /* Typography */
  --text-bold:      #012340;
  --text-main:      #1e293b;
  --text-muted:     #64748b;
  --text-glass:     rgba(255,255,255,0.95);

  /* Borders */
  --border:         #e2e8f0;

  /* Semantic */
  --success:        #10b981;
  --danger:         #ef4444;
  --warning:        #f59e0b;

  /* Radii (More rounded/Pill style) */
  --radius-sm:      8px;
  --radius:         16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --radius-full:    9999px;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.1);
  --shadow:         0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-md:      0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-lg:      0 20px 25px -5px rgba(0,0,0,0.1);
  --shadow-pill:    0 8px 30px rgba(1, 35, 101, 0.15);

  /* Transitions */
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.container { 
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 0 24px; 
}

/* Institutional Top Navigation - Floating Pill Style (Reference Site Compliance) */
.top-nav-wrapper {
  position: absolute;
  top: 24px; /* Floating margin */
  left: 0;
  width: 100%;
  padding: 0 40px; /* Side clearance */
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.top-nav {
  width: 100%;
  max-width: 1280px;
  height: 84px;
  background: rgba(10, 25, 47, 0.85); /* Deep Institutional Navy with Glass effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.2px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px; /* High radius pill */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-logo img {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%; /* White circular background as requested */
  padding: 4px;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary) !important;
}

/* Secondary CTA - Yellow Pill Style Refinement */
.btn-pill-yellow {
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-pill-yellow:hover {
  transform: translateY(-1px) scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-avatar {
  width: 38px;
  height: 38px;
  background: var(--secondary); /* Institutional Yellow Circle */
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.nav-sep {
  width: 1.2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 16px;
}

/* ─── HERO HEADER (INSTITUTIONAL HEADER) ───────────────────────────────── */
.hero-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 220px 0 120px !important; /* Strictly enforced 100% top clearance to resolve persistent Nav overlap */
  text-align: left;
  position: relative;
  overflow: hidden;
  display: block; /* Ensure no flex centering overrides the padding */
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* ─── MAIN CONTENT ───────────────────────────────────────────────────────── */
.main-content {
  padding-top: 80px; /* Shifted for solid top bar */
  padding-bottom: 60px;
  min-height: 100vh;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { 
  color: var(--text-bold); 
  font-weight: 800; 
  letter-spacing: -0.025em; 
}
h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { 
  box-shadow: var(--shadow-lg); 
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  box-shadow: var(--shadow-sm);
}
.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}
.stat-value { font-size: 2.8rem; font-weight: 900; color: var(--primary-dark); line-height: 1; margin: 8px 0; }
.stat-label { font-size: 0.8rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; }
.stat-trend { font-size: 0.75rem; font-weight: 700; color: var(--success); display: flex; align-items: center; gap: 4px; }

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.chart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.chart-title { font-size: 1.1rem; font-weight: 800; color: var(--primary-dark); }
.chart-container { position: relative; height: 300px; width: 100%; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 180, 22, 0.3);
}

.btn-navy {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 35, 64, 0.2);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  border-color: var(--secondary);
  background: rgba(255,255,255,0.1);
}

.btn-accent {
  background: var(--secondary);
  color: var(--primary-dark);
}
.btn-accent:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-dark);
}
.btn-outline-navy:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
}

.btn-outline-danger {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid rgba(239, 68, 68, 0.2);
}
.btn-outline-danger:hover {
  background: #fff5f5;
  border-color: var(--danger);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.75rem;
}

/* ─── LOGIN PAGES (GLASSMORPHISM) ────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  background: var(--primary-dark);
  background-image: 
    radial-gradient(at 0% 0%, var(--primary) 0px, transparent 50%),
    radial-gradient(at 100% 100%, #1e3a8a 0px, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 440px;
  color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.logo-circle {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.logo-circle img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo img {
  width: 80px;
  margin-bottom: 16px;
}
.login-card h2 {
  color: var(--white);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 8px;
}
.login-card p {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 32px;
}

.login-card .form-control {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.login-card .form-control:focus {
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.1);
}
.login-card label {
  color: rgba(255, 255, 255, 0.8);
}
.login-card .btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
  width: 100%;
  margin-top: 16px;
}
.login-card .btn-primary:hover {
  background: var(--secondary-hover);
}

/* ─── FORMS ──────────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-weight: 600;
  color: var(--text-bold);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-dark);
}

/* ─── TABLES ─────────────────────────────────────────────────────────────── */
.table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--off-white);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--off-white);
  color: var(--text-main);
  font-weight: 600;
}
tr:hover td { background: var(--bg); }

.badge {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-gold { background: #fef3c7; color: #92400e; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger { background: #fee2e2; color: #b91c1c; }

/* ─── HERO HEADER (DUAL TONE) ───────────────────────────────────────────── */
.hero-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 100px; /* Standardized spacing */
  text-align: center;
}
.hero-header h1, .hero-header h2 { color: var(--white); margin-bottom: 12px; }
.hero-header p { color: rgba(255,255,255,0.6); font-weight: 600; }

.work-area {
  position: relative;
  z-index: 10;
  margin-top: -60px; /* Overlap effect */
  padding-bottom: 80px;
}
.work-area-card {
  background: var(--white);
  border-radius: 12px; /* Institutional radius */
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 48px;
  border: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── QUESTION CARDS ─────────────────────────────────────────────────────── */
.q-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  transition: var(--transition);
  position: relative;
}
.q-card:hover { 
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.q-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 20px;
}
.q-card-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.q-card-body {
  margin-top: 16px;
}
.q-option {
  padding: 14px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  transition: var(--transition);
}
.q-option.correct {
  border-color: var(--secondary);
  background: var(--primary-bg);
}
.q-option-letter {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.q-option.correct .q-option-letter {
  border-color: var(--secondary);
  color: var(--primary-dark);
}
/* ─── MODALS ───────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(1, 42, 74, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--white);
  width: 90%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}
.modal-header h3 { margin: 0; font-size: 1.25rem; }
.modal-close {
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--bg);
  border-color: var(--primary);
}

/* ─── TOKEN & RECRUITMENT DISPLAY ────────────────────────────────────────── */
.token-container {
  text-align: center;
  border: 2px dashed var(--secondary);
  background: var(--primary-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.token-value {
  font-size: 3rem; /* Adjusted from 4rem per feedback */
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 12px 0;
}

/* ─── MCQ OPTION MANAGEMENT ─────────────────────────────────────────────── */
.opt-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 12px;
  align-items: center;
  background: var(--bg);
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  border: 1px solid var(--border);
}
.opt-row input[type="radio"] { cursor: pointer; transform: scale(1.2); }
.opt-remove {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
}

/* ─── GRID UTILITIES ─────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ─── PREMIUM DASHBOARD TILES ────────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 160px;
  justify-content: center;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  border-radius: 4px 4px 0 0;
}
.stat-card.primary::before { background: var(--primary); }
.stat-card.success::before { background: var(--success); }
.stat-card.secondary::before { background: var(--secondary); }
.stat-card.warning::before { background: var(--warning); }

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.stat-icon.primary { background: var(--primary-bg); color: var(--primary); }
.stat-icon.success { background: #ecfdf5; color: var(--success); }
.stat-icon.secondary { background: #fef9c3; color: var(--secondary); }
.stat-icon.warning { background: #fff7ed; color: var(--warning); }

.stat-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.stat-value {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.filter-panel {
  background: #f8fafc;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

/* Thermal Printer Receipt Styles */
@media print {
  @page {
    size: 80mm 220mm;
    margin: 0;
  }
  body.printing-thermal > *:not(#thermal-ticket) {
    display: none !important;
  }
  #thermal-ticket {
    display: block !important;
    visibility: visible !important;
  }
  #thermal-ticket * {
    visibility: visible !important;
  }
  body.printing-thermal {
    background: #fff;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.printing-thermal #thermal-ticket {
    display: block;
    position: relative;
    width: 68mm;
    min-height: 220mm;
    margin: 0 auto;
    padding: 8pt 10pt 8pt 5pt;
    font-family: 'Courier New', Courier, monospace;
    color: #000;
    font-size: 10pt;
    box-sizing: border-box;
  }

  #thermal-ticket .t-center { text-align: center; }
  #thermal-ticket .t-bold { font-weight: bold; }
  #thermal-ticket .t-dashed { border-top: 2px dashed #000; margin: 4pt 0; }
  #thermal-ticket .t-title { font-size: 17pt; font-weight: 900; margin: 4pt 0 2pt; text-align: center; }
  #thermal-ticket .t-subtitle { font-size: 8pt; margin: 0 0 4pt; text-transform: uppercase; text-align: center; letter-spacing: 0.08em; }
  #thermal-ticket .t-row { display: flex; justify-content: space-between; font-size: 9pt; margin-bottom: 2pt; line-height: 1.3; }
  #thermal-ticket .t-row .t-label { font-weight: 800; text-transform: uppercase; }
  #thermal-ticket .t-row .t-val { font-weight: 600; text-align: right; max-width: 60%; word-wrap: break-word; }
  #thermal-ticket .t-code-label { text-align: center; margin-top: 6pt; font-size: 12pt; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
  #thermal-ticket .t-code { text-align: center; font-size: 37pt; font-weight: 900; margin: 4pt 0; letter-spacing: 0.15em; }
  #thermal-ticket .t-note { text-align: center; font-size: 7pt; margin: 4pt 0 4pt; font-style: italic; line-height: 1.3; }
  #thermal-ticket .t-time { text-align: center; font-size: 7pt; color: #333; margin-top: 2pt; }
}
