:root {
  /* Soft Red & Warm Yellow Minimal Palette */
  --red: #e11d48;
  --red-soft: #fff1f2;
  --red-border: #fecdd3;
  --red-hover: #be123c;
  --yellow: #d97706;
  --yellow-bright: #f59e0b;
  --yellow-soft: #fefce8;
  --yellow-border: #fde68a;

  --ink: #1c1917;
  --text: #292524;
  --text-muted: #78716c;
  --bg: #fffdf9;
  --surface: #ffffff;
  --surface-alt: #faf7f2;
  --border: #f0e8df;

  /* Compatibility aliases */
  --primary: #e11d48;
  --indigo: #e11d48;
  --indigo-soft: #fff1f2;
  --teal: #d97706;
  --teal-soft: #fefce8;
  --amber: #d97706;
  --amber-soft: #fefce8;
  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --green: #059669;
  --green-dark: #047857;
  --green-light: #ecfdf5;
  --olive-950: #1c1917;
  --olive-900: #1c1917;
  --olive-800: #e11d48;
  --olive-700: #be123c;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fefce8;
  --success: #059669;
  --success-bg: #ecfdf5;
  --danger: #e11d48;
  --danger-bg: #fff1f2;
  --warning: #b45309;
  --warning-bg: #fef3c7;
  --info: #b45309;
  --info-bg: #fefce8;

  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.04);
  --shadow: 0 6px 20px rgba(225, 29, 72, 0.06);
  --shadow-lg: 0 12px 28px rgba(225, 29, 72, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Tiro Bangla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(244, 63, 94, 0.07) 0%, transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(245, 158, 11, 0.09) 0%, transparent 38%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

input, textarea, select {
  user-select: text;
  -webkit-user-select: text;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

/* TOP NAVBAR (Kept clean structure, styled in soft red & warm yellow) */
.topbar {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-crest {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
}
.brand-title {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.desktop-nav a {
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.16s ease;
}
.desktop-nav a:hover { color: var(--ink); text-decoration: none; }
.desktop-nav a.active {
  background: #fff;
  color: var(--red);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(28, 25, 23, 0.06);
}

.set-badge-top {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--yellow);
  border: 1px solid var(--yellow-border);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.set-badge-top:hover { opacity: 0.9; text-decoration: none; }

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  font-size: 12.5px;
  white-space: nowrap;
}
.chest-tag {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}
.logout-link { color: var(--text-muted); font-weight: 600; font-size: 12px; }
.logout-link:hover { color: var(--red); text-decoration: none; }

.set-switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 10px 4px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* CONTAINER */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 18px 56px;
  flex: 1;
}

/* =====================================================
   ULTRA-CLEAN TITLE-ONLY DASHBOARD & DAY TILES
   ===================================================== */
.dash-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.mini-stat {
  background: #fff;
  border: 1px solid var(--red-border);
  background: linear-gradient(180deg, #fff8f9 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: center;
}
.mini-stat.warm {
  border-color: var(--yellow-border);
  background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%);
}
.ms-val { display: block; font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.ms-lbl { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-muted); margin-top: 2px; }

.section-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 12px 2px;
}

.day-pill-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--surface-alt);
  padding: 5px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.day-pill-tabs a {
  text-align: center;
  padding: 9px 6px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.16s ease;
}
.day-pill-tabs a:hover { color: var(--ink); text-decoration: none; }
.day-pill-tabs a.active {
  background: linear-gradient(135deg, #f43f5e, #f59e0b);
  color: #fff;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.24);
}

.compact-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.clean-tile {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.clean-tile.tone-red {
  border-color: var(--red-border);
  background: linear-gradient(180deg, #fffafb 0%, #ffffff 55%);
}
.clean-tile.tone-yellow {
  border-color: var(--yellow-border);
  background: linear-gradient(180deg, #fffef5 0%, #ffffff 55%);
}
.clean-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.ct-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.ct-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
}
.tone-yellow .ct-tag {
  background: var(--yellow-soft);
  color: var(--yellow);
}
.ct-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.ct-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--red-soft);
  display: grid;
  place-items: center;
}
.tone-yellow .ct-icon { background: var(--yellow-soft); }
.ct-icon svg { width: 22px; height: 22px; }
.ct-arrow { font-size: 15px; font-weight: 700; color: var(--text-muted); }

.ct-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
.ct-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Graphical Colorful SVG Banner Tiles */
.art-tile {
  padding: 10px !important;
  overflow: hidden;
}
.art-banner {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--surface-alt);
}
.act-svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.24s ease;
}
.art-tile:hover .act-svg {
  transform: scale(1.04);
}
.art-status {
  position: absolute;
  top: 7px;
  right: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.art-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.art-body {
  padding: 2px 4px 4px;
}

/* Quick Launch 4x2 Icon Shortcuts */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.quick-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.quick-tile:hover {
  transform: translateY(-2px);
  border-color: var(--red-border);
  text-decoration: none;
}
.qt-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.qt-icon.tone-red { background: var(--red-soft); }
.qt-icon.tone-yellow { background: var(--yellow-soft); }
.qt-icon svg { width: 22px; height: 22px; }

/* HEADERS, HERO, CARDS, GRIDS */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.page-header h1 {
  margin: 0 0 4px;
  font-size: clamp(21px, 2.8vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-header p { margin: 0; color: var(--text-muted); font-size: 14px; max-width: 680px; }

.hero {
  background: linear-gradient(135deg, #be123c 0%, #f43f5e 52%, #f59e0b 100%);
  color: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  margin-bottom: 26px;
  box-shadow: 0 14px 34px rgba(225, 29, 72, 0.22);
}
.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero h1 { margin: 0 0 10px; font-size: clamp(24px, 3.6vw, 36px); line-height: 1.18; font-weight: 800; }
.hero p { margin: 0 0 20px; color: #fff5f5; font-size: 15px; max-width: 640px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card h2, .card h3 { margin: 0 0 8px; color: var(--ink); letter-spacing: -0.015em; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 14px; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}
.stat-card.gold { border-top-color: var(--yellow-bright); }
.stat-card.green { border-top-color: #10b981; }
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.stat-value { font-size: 26px; font-weight: 800; color: var(--ink); margin: 4px 0 2px; }
.stat-sub { font-size: 12px; color: var(--text-muted); }

.day-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.day-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.active-set-card { border-color: var(--red); background: #fffafb; }

.day-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-soft);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); color: #fff; }
.btn-gold { background: var(--yellow-bright); color: var(--ink); }
.btn-gold:hover { background: #eab308; color: var(--ink); }
.btn-green { background: #059669; color: #fff; }
.btn-green:hover { background: #047857; color: #fff; }
.btn-glass { background: rgba(255,255,255,0.20); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-glass:hover { background: rgba(255,255,255,0.30); color: #fff; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--surface-alt); color: var(--ink); }
.btn-danger { background: #dc2626; color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }

/* BADGES */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-olive { background: var(--surface-alt); color: var(--text-muted); }
.badge-gold { background: var(--yellow-soft); color: var(--yellow); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-blue { background: var(--red-soft); color: var(--red); }

/* FORMS */
.form-group { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--ink); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #e5ddd3;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  background: #fff;
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}
textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

/* EXAM TIMER BAR */
.exam-bar {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  border-left: 5px solid var(--yellow-bright);
}
.timer-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 10px;
  color: #fde047;
  min-width: 100px;
  text-align: center;
}
.timer-display.urgent { background: var(--red); color: #fff; }

/* PROGRESS BAR */
.progress-track { width: 100%; height: 6px; background: #f0e8df; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #f43f5e, #f59e0b); border-radius: 999px; transition: width 0.3s ease; }

/* IQ LAYOUT & OPTIONS & VISUAL 2x2 GRID */
.iq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}
.option-card {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  cursor: pointer; margin-bottom: 10px; background: #fff; transition: all 0.13s ease;
}
.option-card:hover { border-color: var(--red); background: #fffafb; }
.option-card.selected { border-color: var(--red); background: var(--red-soft); font-weight: 600; }
.option-key {
  width: 30px; height: 30px; border-radius: 8px; background: var(--surface-alt);
  display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.option-card.selected .option-key { background: var(--red); color: #fff; }

.visual-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.visual-opt-card {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 12px;
  margin-bottom: 0;
  position: relative;
  min-height: 124px;
}
.visual-opt-card .option-key { position: absolute; top: 10px; left: 10px; }
.opt-svg-wrap { display: grid; place-items: center; width: 100%; }
.opt-svg { width: 84px; height: 84px; display: block; }
.opt-svg-wide { width: 124px; height: 62px; display: block; }

.palette-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: 6px; }
.palette-btn { height: 35px; border-radius: 8px; border: 1px solid var(--border); background: #fff; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.palette-btn.answered { background: var(--red); color: #fff; border-color: var(--red); }
.palette-btn.current { outline: 2px solid var(--yellow-bright); outline-offset: 1px; }

/* SVG SCENES */
.scene-wrapper { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; text-align: center; margin-bottom: 18px; }
.scene-svg { max-width: 100%; height: auto; max-height: 360px; display: block; margin: 0 auto; border-radius: 10px; }
.hazy-scene { filter: contrast(0.92) saturate(0.25); }

/* WAT FLASHCARD */
.wat-stage {
  background: linear-gradient(135deg, #be123c 0%, #f59e0b 100%);
  color: #fff; border-radius: 22px; padding: 46px 24px; text-align: center; margin-bottom: 20px;
}
.wat-word { font-size: clamp(36px, 6vw, 58px); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin: 12px 0; }

/* TABLES & ALERTS */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { background: var(--surface-alt); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 700; }

.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; border: 1px solid transparent; }
.alert-success { background: var(--green-light); color: #065f46; border-color: #a7f3d0; }
.alert-danger { background: var(--red-soft); color: #9f1239; border-color: var(--red-border); }
.alert-warning { background: var(--yellow-soft); color: #92400e; border-color: var(--yellow-border); }
.alert-info { background: var(--yellow-soft); color: #92400e; border-color: var(--yellow-border); }

.footer { background: #fff; color: var(--text-muted); padding: 18px 20px; font-size: 13px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.floating-dock { display: none; }
.hidden { display: none !important; }

/* MOBILE-FIRST POLISH */
@media (max-width: 820px) {
  .desktop-nav, .desktop-only-hint { display: none; }
  body.has-mobile-dock { padding-bottom: 88px; }
  .container { padding: 16px 14px 44px; }
  .topbar-inner { padding: 0 12px; gap: 8px; height: 58px; }
  .brand-crest { width: 30px; height: 30px; border-radius: 9px; }
  .brand-title { font-size: 14.5px; }
  .set-badge-top { padding: 4px 8px; font-size: 11px; }
  .user-pill { padding: 3px 8px 3px 4px; gap: 6px; font-size: 11.5px; }
  .chest-tag { padding: 2px 6px; font-size: 10.5px; }

  /* 2-Column Compact Tiles on Mobile for Effortless One-Screen Browsing! */
  .compact-tile-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .clean-tile { padding: 13px; border-radius: 15px; }
  .ct-title { font-size: 13.5px; }
  .ct-sub { font-size: 11px; }
  .ct-icon { width: 34px; height: 34px; border-radius: 10px; }
  .ct-icon svg { width: 19px; height: 19px; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .quick-tile { padding: 11px 4px; font-size: 11px; border-radius: 13px; }
  .qt-icon { width: 36px; height: 36px; border-radius: 10px; }

  .iq-layout { grid-template-columns: 1fr; gap: 14px; }
  .iq-layout .palette-grid { max-height: 210px !important; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .exam-bar { padding: 13px 15px; }
  .timer-display { font-size: 19px; min-width: 84px; }

  .floating-dock {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 120;
    background: rgba(28, 25, 23, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 7px 9px;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(28, 25, 23, 0.25);
  }
  .floating-dock a {
    color: #d6d3d1;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 999px;
    text-decoration: none;
  }
  .floating-dock a.active {
    background: linear-gradient(135deg, #f43f5e, #f59e0b);
    color: #fff;
  }
}

@media print {
  .topbar, .footer, .floating-dock, .no-print { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
