/* Lexi — claude.ai-inspired theme: warm ivory, terracotta, serif headings. */

:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-2: #F5F4EE;
  --ink: #1F1E1D;
  --ink-soft: #3D3D3A;
  --muted: #87867F;
  --border: #E8E6DD;
  --accent: #D97757;
  --accent-hover: #C6613F;
  --accent-soft: #F8EDE7;
  --green: #7C9885;
  --green-soft: #EDF3EE;
  --red: #C0574F;
  --red-soft: #F9ECEA;
  --gold: #E8B04B;
  --radius: 16px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 3px rgba(31, 30, 29, 0.06), 0 8px 24px rgba(31, 30, 29, 0.05);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .flash-term, .quiz-term, .story-title, .wordmark { font-family: var(--serif); }
h1 { font-size: 2rem; font-weight: 600; margin: 0 0 4px; }
h2 { font-size: 1.3rem; font-weight: 600; margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
b { font-weight: 600; }

.container { max-width: 860px; margin: 0 auto; padding: 24px 20px 80px; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
}
.wordmark {
  font-size: 1.4rem; font-weight: 700; color: var(--ink);
  text-decoration: none; letter-spacing: -0.01em;
}
.spark { color: var(--accent); }
.topbar-stats { display: flex; align-items: center; gap: 8px; }
.chip {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 12px; font-size: 0.85rem;
}
.chip-level { background: var(--accent-soft); border-color: #EDD9CE; color: #A05435; font-weight: 600; }
.linklike {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 0.85rem; font-family: var(--sans); padding: 4px 6px;
}
.linklike:hover { color: var(--ink); }

/* ---------- flash messages ---------- */
.flash { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 0.95rem; }
.flash-alert { background: var(--red-soft); color: var(--red); border: 1px solid #EBD2CF; }
.flash-notice { background: var(--green-soft); color: #4E6B58; border: 1px solid #D7E4DA; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  border-radius: 12px; padding: 12px 22px; transition: all 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-soft { background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--border); }
.btn-soft:hover { background: var(--border); }
.btn-small { font-size: 0.85rem; padding: 8px 14px; }
.btn-block { width: 100%; }
.icon-btn {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  font-size: 1rem; padding: 6px 10px; cursor: pointer; transition: background 0.15s;
}
.icon-btn:hover { background: var(--border); }
.mic-live { background: var(--accent-soft); border-color: var(--accent); animation: pulse 1s infinite; }
@keyframes pulse { 50% { transform: scale(1.1); } }

/* ---------- login ---------- */
/* A family photo, barely there, washed into the ivory theme. */
.login-backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center 30%; background-repeat: no-repeat;
  opacity: 0.11; filter: sepia(0.55) saturate(0.8) contrast(0.9);
}
.login-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(250, 249, 245, 0) 30%, rgba(250, 249, 245, 0.9) 100%);
}
.login-page main { position: relative; z-index: 1; }
.login-wrap { min-height: 90vh; display: flex; align-items: center; justify-content: center; }
.login-card {
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow); padding: 44px 40px; width: 100%; max-width: 400px; text-align: center;
}
.login-spark { color: var(--accent); font-size: 2.6rem; line-height: 1; }
.login-title { font-size: 2.6rem; margin: 6px 0 2px; }
.login-sub { color: var(--muted); margin: 0 0 28px; }
.login-form { text-align: left; }
.login-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin: 14px 0 6px; }
.login-form input {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: var(--sans);
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--ink);
}
.login-form input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.login-form .btn { margin-top: 22px; }

/* ---------- dashboard ---------- */
.hero { margin-bottom: 30px; }
.hero-sub { color: var(--ink-soft); margin: 0 0 12px; }
.wave { display: inline-block; }
.mastery-bar { height: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.mastery-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 999px; transition: width 0.6s ease; }

.section { margin-bottom: 34px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px; }

.mode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mode-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 4px;
  transition: all 0.15s ease; box-shadow: var(--shadow);
}
.mode-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.mode-emoji { font-size: 1.7rem; }
.mode-name { font-weight: 700; font-size: 1.05rem; }
.mode-desc { color: var(--muted); font-size: 0.85rem; }
.mode-disabled { opacity: 0.45; pointer-events: none; }

.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.group-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; cursor: pointer; text-align: left; font-family: var(--sans);
  display: flex; flex-direction: column; gap: 3px; transition: all 0.15s;
}
.group-card:hover { border-color: var(--accent); }
.group-selected { border-color: var(--accent); background: var(--accent-soft); }
.group-name { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.group-range { color: var(--muted); font-size: 0.78rem; }
.group-bar { height: 5px; background: var(--surface-2); border-radius: 99px; margin-top: 5px; overflow: hidden; display: block; }
.group-bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; }

.order-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.order-opt { font-size: 0.9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 5px; cursor: pointer; }
.order-opt input { accent-color: var(--accent); }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  background: var(--surface); border: 1px solid var(--gold); border-radius: 999px;
  padding: 7px 14px; font-size: 0.88rem; font-weight: 600; box-shadow: var(--shadow);
}
.badge-emoji { font-size: 1rem; }

/* ---------- study shell ---------- */
.study-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.back-link { color: var(--muted); text-decoration: none; font-size: 0.9rem; white-space: nowrap; }
.back-link:hover { color: var(--ink); }
.study-progress { flex: 1; height: 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.study-progress-fill { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 0.4s ease; }
.study-count { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow); padding: 32px;
}

/* ---------- flashcards ---------- */
.flashcard { perspective: 1200px; cursor: pointer; height: 320px; outline: none; }
.flashcard-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); transform-style: preserve-3d;
}
.flashcard.flipped .flashcard-inner { transform: rotateY(180deg); }
.flash-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 30px; text-align: center;
}
.flash-back { transform: rotateY(180deg); background: var(--surface-2); }
.flash-term { font-size: 2.6rem; font-weight: 600; }
.flash-pos { color: var(--muted); font-style: italic; }
.flash-hint { position: absolute; bottom: 14px; color: var(--muted); font-size: 0.75rem; }
.flash-def { font-size: 1.25rem; line-height: 1.45; }
.flash-ex { color: var(--ink-soft); font-style: italic; font-size: 0.95rem; }
.mnemonic { background: var(--accent-soft); border-radius: 12px; padding: 10px 14px; font-size: 0.9rem; color: #8A4A2E; }
.flash-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }

/* ---------- quiz ---------- */
.quiz-kind { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.quiz-term { font-size: 2.2rem; font-weight: 600; margin: 8px 0 4px; }
.quiz-def { font-family: var(--serif); font-size: 1.3rem; margin: 10px 0 4px; line-height: 1.4; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.quiz-opt {
  text-align: left; background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; font-size: 1rem; font-family: var(--sans);
  cursor: pointer; transition: all 0.12s; color: var(--ink);
}
.quiz-opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.opt-right { background: var(--green-soft) !important; border-color: var(--green) !important; }
.opt-wrong { background: var(--red-soft) !important; border-color: var(--red) !important; }

/* ---------- type it / sentence ---------- */
.type-row { display: flex; gap: 10px; margin-top: 18px; }
.type-input, .sentence-input {
  flex: 1; width: 100%; padding: 13px 15px; font-size: 1.05rem; font-family: var(--sans);
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--ink);
}
.type-input:focus, .sentence-input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.sentence-input { margin-top: 16px; resize: vertical; line-height: 1.5; }
.sentence-def { margin-top: 2px; }
.type-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; flex-wrap: wrap; }
.type-feedback, .sentence-feedback { min-height: 24px; margin-top: 14px; font-size: 1rem; }
.fb-right { color: #4E6B58; font-weight: 600; }
.fb-wrong { color: var(--red); font-weight: 500; }

.grade { background: var(--surface-2); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.grade-stars { color: var(--gold); font-size: 1.5rem; letter-spacing: 3px; }
.grade-fb { margin: 8px 0 0; }
.grade-improved { margin: 10px 0 0; color: var(--ink-soft); }

/* ---------- story ---------- */
.story-loading { text-align: center; padding: 60px 30px; color: var(--muted); }
.spark-spin { color: var(--accent); font-size: 2.4rem; animation: spin 2.2s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.story-title { font-size: 1.6rem; margin: 0 0 14px; }
.story-text { font-family: var(--serif); font-size: 1.15rem; line-height: 1.9; }
.story-blank {
  background: var(--accent-soft); border: 1px dashed var(--accent); border-radius: 8px;
  padding: 2px 12px; margin: 0 2px; font-family: var(--serif); font-size: 1.05rem;
  cursor: pointer; color: #8A4A2E; min-width: 80px;
}
.blank-filled { border-style: solid; font-weight: 600; }
.blank-right { background: var(--green-soft); border-color: var(--green); color: #4E6B58; }
.blank-wrong { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.story-bank { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.bank-chip {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; font-size: 0.95rem; font-family: var(--sans); cursor: pointer; transition: all 0.12s;
}
.bank-chip:hover { border-color: var(--accent); }
.chip-used { opacity: 0.25; pointer-events: none; }

/* ---------- end screen ---------- */
.end-card { text-align: center; }
.end-emoji { font-size: 3.4rem; }
.end-score { font-size: 1.2rem; color: var(--ink-soft); }
.end-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }

/* ---------- toasts & confetti ---------- */
#toast-root { position: fixed; top: 70px; right: 18px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 18px;
  font-size: 0.92rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  opacity: 0; transform: translateX(20px); transition: all 0.35s ease; max-width: 300px;
}
.toast-in { opacity: 1; transform: translateX(0); }
.toast-points { background: var(--accent); }
.toast-level { background: var(--gold); color: var(--ink); }
.toast-badgewrap { background: var(--ink); }
.toast-badge { font-size: 1.2rem; }
#confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 200; display: none; }

@media (max-width: 640px) {
  .container { padding: 16px 14px 60px; }
  .topbar { padding: 10px 14px; flex-wrap: wrap; gap: 6px; }
  .card { padding: 22px 18px; }
  .flash-term { font-size: 2rem; }
  .end-actions, .flash-actions { flex-wrap: wrap; }
}

/* ---------- Annie's lecture lab ---------- */
.container-wide { max-width: none; margin: 0; padding: 14px 18px 20px; }
.annie {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr); gap: 16px;
  height: calc(100vh - 96px); min-height: 520px;
}
.annie-slides, .annie-explain, .annie-chat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 0;
}
.annie-slides { padding: 12px 16px 10px; }
.annie-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.annie-back { color: var(--muted); text-decoration: none; font-size: 0.9rem; white-space: nowrap; }
.annie-back:hover { color: var(--ink); }
.annie-title { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.annie-nav { display: flex; align-items: center; gap: 8px; }
.annie-nav .btn { padding: 6px 14px; font-size: 1.1rem; line-height: 1; }
.annie-count { font-size: 0.9rem; color: var(--ink-soft); white-space: nowrap; }
.annie-slide-wrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.annie-slide { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.annie-dots { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 10px; }
.annie-dot { width: 10px; height: 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); padding: 0; cursor: pointer; }
.annie-dot:hover { border-color: var(--accent); }
.annie-dot-on { background: var(--accent); border-color: var(--accent); }

.annie-right { display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; min-height: 0; }
.annie-pane-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  font-family: var(--serif); font-weight: 600; font-size: 1rem;
}
.annie-body { padding: 12px 16px; overflow-y: auto; flex: 1; min-height: 0; }
.annie-log { padding: 12px 16px; overflow-y: auto; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.annie-hint { padding: 4px 2px; }
.annie-msg { display: flex; }
.annie-msg-user { justify-content: flex-end; }
.annie-msg-body { max-width: 88%; padding: 8px 12px; border-radius: 14px; font-size: 0.95rem; }
.annie-msg-user .annie-msg-body { background: var(--accent-soft); color: #7A3D22; white-space: pre-wrap; }
.annie-msg-assistant .annie-msg-body { background: var(--surface-2); }
.annie-ask { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); }
.annie-ask textarea {
  flex: 1; resize: none; font-family: var(--sans); font-size: 0.95rem; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--ink);
}
.annie-ask textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.annie-thinking { color: var(--muted); font-style: italic; animation: annie-pulse 1.4s ease-in-out infinite; }
@keyframes annie-pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.annie-error { color: var(--red); }

/* markdown inside Annie's panes */
.md { font-size: 0.95rem; line-height: 1.55; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 10px; }
.md h1, .md h2, .md h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.md ul, .md ol { padding-left: 22px; margin: 0 0 10px; }
.md li { margin-bottom: 4px; }
.md code { background: var(--surface-2); border-radius: 4px; padding: 1px 5px; font-size: 0.9em; }
.md pre { background: var(--surface-2); padding: 10px 12px; border-radius: 10px; overflow-x: auto; }
.md .katex-display { margin: 8px 0 12px; overflow-x: auto; overflow-y: hidden; }
.md blockquote { margin: 0 0 10px; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--ink-soft); }

@media (max-width: 900px) {
  .annie { grid-template-columns: 1fr; height: auto; }
  .annie-slides { min-height: 60vh; }
  .annie-right { grid-template-rows: none; }
  .annie-explain, .annie-chat { min-height: 360px; max-height: 70vh; }
}

/* ---------- family doors (home) ---------- */
.door-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.door {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 2px solid var(--border); border-radius: 20px; padding: 26px 22px;
  box-shadow: var(--shadow); transition: all 0.15s ease; min-height: 190px;
}
.door:hover { border-color: var(--accent); transform: translateY(-3px); }
.door-mine { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface)); }
.door-emoji { font-size: 2.4rem; }
.door-name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; }
.door-desc { color: var(--muted); font-size: 0.88rem; flex: 1; }
.door-go { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

form.button_to:has(.door-button) { display: contents; }
.door-button { width: 100%; cursor: pointer; font-family: var(--sans); font-size: 1rem; text-align: left; }

/* ---------- study lab ---------- */
.lab-form { display: flex; flex-direction: column; gap: 14px; }
.lab-form-row { display: flex; flex-direction: column; gap: 6px; }
.lab-label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.lab-input {
  width: 100%; padding: 11px 13px; font-size: 1rem; font-family: var(--sans);
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--ink);
}
.lab-input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
textarea.lab-input { resize: vertical; }
.emoji-row { display: flex; flex-wrap: wrap; gap: 6px; }
.emoji-opt input { display: none; }
.emoji-opt span {
  display: inline-block; font-size: 1.3rem; padding: 5px 8px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
}
.emoji-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.lab-details summary { cursor: pointer; margin-bottom: 12px; }
.linklike.danger { color: var(--red); }
.mat-list { display: flex; flex-direction: column; gap: 10px; }
.mat-row {
  display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
}
.mat-done { border-color: #D7E4DA; background: var(--green-soft); }
.mat-emoji { font-size: 1.5rem; }
.mat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mat-title { font-weight: 700; color: var(--ink); text-decoration: none; }
a.mat-title:hover { color: var(--accent); }
.mat-meta { color: var(--muted); font-size: 0.82rem; }
.annie-progress { font-size: 0.85rem; color: var(--green); font-weight: 600; white-space: nowrap; }
.annie-dot-seen { background: #C9D9CE; border-color: #C9D9CE; }
.annie-text {
  margin: 0; padding: 20px 24px; width: 100%; height: 100%; overflow: auto; white-space: pre-wrap;
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.65; color: var(--ink); background: var(--surface);
}
.annie-tabs { display: flex; gap: 4px; }
.annie-tab {
  background: none; border: none; cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1rem;
  color: var(--muted); padding: 2px 8px; border-radius: 8px;
}
.annie-tab:hover { color: var(--ink); }
.annie-tab-on { color: var(--ink); background: var(--surface-2); }
.quiz-q .quiz-text { font-size: 1.05rem; margin: 6px 0 10px; }
.quiz-q .quiz-options { margin-top: 10px; }
.quiz-q .quiz-opt { text-align: left; }
.quiz-why { margin-top: 10px; min-height: 20px; }
.quiz-end { text-align: center; padding: 20px 0; }
