:root {
  --primary: #0A56A7;
  --primary-light: #1a7dc4;
  --success: #48A144;
  --success-light: #6bc55e;
  --danger: #dc2626;
  --danger-light: #ef4444;

  --bg: #fdfbf8;
  --surface: #ffffff;
  --surface-2: #f5f3f0;
  --border: rgba(10, 86, 167, 0.08);
  --border-strong: rgba(10, 86, 167, 0.16);
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-hint: #9ca3af;

  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --transition: 0.15s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1419;
    --surface: #1a1f2e;
    --surface-2: #252c3d;
    --border: rgba(10, 86, 167, 0.16);
    --border-strong: rgba(10, 86, 167, 0.24);
    --text: #f5f3f0;
    --text-muted: #d1d5db;
    --text-hint: #9ca3af;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

.app {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

/* ── Logo & Header ── */
.logo-title {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 60px;
  height: auto;
  z-index: 500;
}

header.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  margin-top: 4rem;
  text-align: center;
}

.logo-img {
  display: none;
}

.header-text h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.header-text h1 .text-blue {
  color: #0A56A7;
}

.header-text h1 .text-green {
  color: #48A144;
}

.subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

/* ── Bar & Score ── */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 0.75rem;
  flex-wrap: wrap;
  gap: 8px;
}

.set-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.progress-text {
  font-size: 14px;
  color: var(--text-muted);
}

.score-box {
  display: flex;
  gap: 8px;
  align-items: center;
}

.score-label {
  font-size: 14px;
  color: var(--text-muted);
}

.score-val {
  font-size: 16px;
  font-weight: 600;
  color: #0A56A7;
}

.score-val.complete {
  color: #48A144;
}

/* ── Section Umbrella Tabs ── */
.section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 0.6rem;
}

.section-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  padding-bottom: 4px;
  flex: 0 0 auto;
}

.section-btn {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-strong);
  color: var(--text-muted);
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.section-btn:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(10, 86, 167, 0.12);
}

.section-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.section-btn.active {
  background: #0A56A7;
  border-color: #0A56A7;
  color: white;
  box-shadow: 0 4px 14px rgba(10, 86, 167, 0.35);
  transform: translateY(-1px);
}

.lecture-notes-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid #48A144;
  background: #48A144;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(72, 161, 68, 0.28);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.lecture-notes-btn:hover,
.lecture-notes-btn:focus-visible {
  background: #ffffff;
  color: #2f7f2d;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(72, 161, 68, 0.25);
}

.lecture-notes-btn:active {
  transform: scale(0.97);
  box-shadow: 0 8px 16px rgba(72, 161, 68, 0.22);
}

/* ── Set Nav Slide-in Animation ── */
@keyframes setNavSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.set-nav.slide-in {
  animation: setNavSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Navigation ── */
.set-nav, .question-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  padding-bottom: 4px;
}

.set-nav::-webkit-scrollbar,
.question-nav::-webkit-scrollbar {
  height: 4px;
}

.set-nav::-webkit-scrollbar-track,
.question-nav::-webkit-scrollbar-track {
  background: transparent;
}

.set-nav::-webkit-scrollbar-thumb,
.question-nav::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 2px;
}

.question-nav {
  gap: 4px;
}

/* ── Buttons (base) ── */
button {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 16px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.4;
  font-weight: 500;
  touch-action: manipulation;
}

button:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--primary);
}

button:active:not(:disabled) {
  transform: scale(0.98);
}

button:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

button:disabled {
  cursor: default;
  opacity: 0.6;
}

/* ── Set Buttons ── */
.set-btn {
  font-size: 13px;
  padding: 8px 12px;
  flex: 0 0 auto;
  min-height: 40px;
  background: rgba(10, 86, 167, 0.1);
  border-color: #0A56A7;
  color: #0A56A7;
  font-weight: 500;
}

.set-btn.active {
  background: #0A56A7;
  border-color: #0A56A7;
  color: white;
  font-weight: 600;
}

.set-btn.completed {
  background: #48A144;
  border-color: #48A144;
  color: white;
  font-weight: 600;
}

.set-btn.completed.active {
  background: #48A144;
  border-color: #48A144;
  color: white;
  font-weight: 600;
}

/* ── Question Number Buttons ── */
.qnum-btn {
  font-size: 13px;
  padding: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qnum-btn.correct {
  background: var(--success);
  border-color: var(--success);
  color: white;
  font-weight: 600;
}

.qnum-btn.wrong {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
  font-weight: 600;
}

.qnum-btn.current {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
  font-weight: 600;
}

/* ── Progress Bar ── */
.progress-bar-bg {
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0A56A7 0%, #1a7dc4 100%);
  transition: width var(--transition), background var(--transition);
  width: 10%;
  box-shadow: 0 0 8px rgba(10, 86, 167, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.3);
}

.progress-bar-fill.complete {
  background: linear-gradient(90deg, #48A144 0%, #6bc55e 100%);
  box-shadow: 0 0 8px rgba(72, 161, 68, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.3);
}

/* ── Question Card ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.question-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.question-text .q-item {
  font-weight: 700;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opt-btn {
  text-align: left;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.5;
  white-space: normal;
  min-height: 44px;
  width: 100%;
  transition: all var(--transition);
}

.opt-btn:not(:disabled):hover {
  border-color: var(--primary);
  background: rgba(10, 86, 167, 0.04);
}

.opt-btn.correct {
  background: rgba(72, 161, 68, 0.1);
  border-color: var(--success);
  color: var(--success);
  font-weight: 600;
}

.opt-btn.wrong {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--danger);
  color: var(--danger);
  font-weight: 600;
}

/* ── Classification ── */
.classify-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 82%, var(--surface-2) 18%);
}

.classify-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.classify-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.classify-choice {
  padding: 8px 12px;
  min-height: 38px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.classify-choice.selected {
  border-color: var(--primary);
  background: rgba(10, 86, 167, 0.12);
  color: var(--primary);
}

.classify-choice.correct {
  border-color: var(--success);
  background: rgba(72, 161, 68, 0.14);
  color: var(--success);
}

.classify-choice.wrong {
  border-color: var(--danger);
  background: rgba(220, 38, 38, 0.14);
  color: var(--danger);
}

.classify-choice.correct-outline {
  border-color: var(--success);
  color: var(--success);
}

/* ── Explanation ── */
.explanation {
  margin-top: 1.25rem;
  padding: 14px 16px;
  background: var(--surface-2);
  border-left: 4px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.explanation.correct-label {
  border-left-color: var(--success);
  background: rgba(72, 161, 68, 0.08);
}

.explanation.correct-label strong {
  color: var(--success);
  font-weight: 600;
}

.explanation.wrong-label {
  border-left-color: var(--danger);
  background: rgba(220, 38, 38, 0.08);
}

.explanation.wrong-label strong {
  color: var(--danger);
  font-weight: 600;
}

/* ── Controls ── */
.controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: 8px;
}

.controls button {
  flex: 1;
  min-height: 44px;
}

/* ── Set Complete Card ── */
.complete-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
}

.complete-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.complete-score {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--success);
}

.complete-msg {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.complete-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.complete-actions button {
  min-height: 44px;
}

/* ── Utilities ── */
.hidden { display: none !important; }

.reset-row {
  text-align: center;
  margin-top: 1.5rem;
}

.session-timer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--text-hint);
  font-weight: 500;
}

.reset-btn {
  font-size: 13px;
  padding: 8px 12px;
  color: var(--text-hint);
  border-color: var(--border);
  min-height: 40px;
}

.reset-btn:hover {
  background: var(--surface-2);
  border-color: var(--text-hint);
  color: var(--text);
}

/* ── Set Complete Notification ── */
.set-complete-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  padding: 2rem 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #48A144;
  animation: popIn 0.4s ease-out forwards;
}

@keyframes popIn {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.set-complete-notification.hide {
  animation: popOut 0.3s ease-out forwards;
}

@keyframes popOut {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* ── Splash Screen ── */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  animation: splashPopIn 0.4s ease-out forwards;
}

@keyframes splashPopIn {
  0%   { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.splash-screen.hide {
  animation: splashPopOut 0.3s ease-out forwards;
}

@keyframes splashPopOut {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.8); }
}

.splash-screen img {
  width: 340px;
  height: auto;
}

/* ── Membership Ad Popup ── */
.ad-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 4000;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  max-width: min(320px, calc(100vw - 2rem));
}

.ad-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ad-popup img {
  display: block;
  width: 100%;
  height: auto;
}

.ad-popup-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: background 0.15s;
}

.ad-popup-close:hover {
  background: rgba(0,0,0,0.8);
}

/* ── Fill-in-the-Blanks ── */
.fib-passage {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 1rem;
  padding: 14px 16px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
}

.blank-empty {
  display: inline-block;
  background: rgba(10, 86, 167, 0.08);
  border: 1.5px dashed #0A56A7;
  border-radius: 4px;
  color: #0A56A7;
  font-weight: 600;
  padding: 1px 8px;
  font-size: 13px;
  margin: 0 2px;
}

.blank-input {
  display: inline-block;
  min-width: 5ch;
  max-width: min(22ch, 100%);
  padding: 3px 8px;
  margin: 0 2px;
  border: 1.5px dashed #0A56A7;
  border-radius: 4px;
  background: rgba(10, 86, 167, 0.08);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

.blank-input::placeholder {
  color: #0A56A7;
  opacity: 1;
}

.blank-input:focus {
  outline: 3px solid rgba(10, 86, 167, 0.2);
  outline-offset: 1px;
  border-style: solid;
  background: rgba(10, 86, 167, 0.12);
}

.blank-filled {
  display: inline-block;
  background: rgba(72, 161, 68, 0.12);
  border: 1.5px solid #48A144;
  border-radius: 4px;
  color: #2d7a29;
  font-weight: 700;
  padding: 1px 8px;
  font-size: 14px;
  margin: 0 2px;
}

.blank-reviewed {
  display: inline-block;
  border-radius: 4px;
  font-weight: 700;
  padding: 1px 8px;
  font-size: 14px;
  margin: 0 2px;
}

.blank-reviewed.correct {
  background: rgba(72, 161, 68, 0.12);
  border: 1.5px solid #48A144;
  color: #2d7a29;
}

.blank-reviewed.wrong {
  background: rgba(220, 38, 38, 0.08);
  border: 1.5px solid var(--danger);
  color: #b42318;
}

@media (prefers-color-scheme: dark) {
  .blank-filled { color: #6bc55e; }
  .blank-reviewed.correct { color: #6bc55e; }
}

.fib-hint {
  font-size: 13px;
  color: var(--text-hint);
  margin-bottom: 0.75rem;
}

.fib-answers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.fib-answer-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.fib-num {
  color: var(--text-hint);
  font-size: 12px;
  font-weight: 600;
}

.fib-val {
  background: rgba(72, 161, 68, 0.12);
  color: var(--success);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(72, 161, 68, 0.3);
}

.fib-summary {
  margin-bottom: 0.75rem;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
}

.fib-summary.all-correct {
  background: rgba(72, 161, 68, 0.1);
  color: var(--success);
  border: 1px solid rgba(72, 161, 68, 0.28);
}

.fib-summary.needs-review {
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.fib-answers-review {
  flex-direction: column;
  gap: 8px;
}

.review-item {
  width: 100%;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.review-item.correct {
  border-color: rgba(72, 161, 68, 0.3);
  background: rgba(72, 161, 68, 0.06);
}

.review-item.wrong {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.05);
}

.fib-review-status {
  font-weight: 700;
}

.review-item.correct .fib-review-status {
  color: var(--success);
}

.review-item.wrong .fib-review-status {
  color: var(--danger);
}

.fib-review-text,
.fib-review-correct {
  line-height: 1.5;
}

.fib-review-correct {
  color: var(--text-muted);
}

/* ── Reveal (ID / Analogy) ── */
.reveal-input-row {
  display: flex;
  margin-bottom: 0.5rem;
}

.reveal-input {
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.reveal-row {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.5rem;
}

.reveal-btn {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(10, 86, 167, 0.3);
  transition: all 0.2s ease;
}

.reveal-btn:hover:not(:disabled) {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10, 86, 167, 0.4);
}

.reveal-answer-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(72, 161, 68, 0.08);
  border: 1.5px solid #48A144;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.reveal-answer-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--success);
}

.reveal-answer-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ── Self-Assess ── */
.self-assess-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.self-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  min-height: 44px;
}

.knew-btn {
  background: rgba(72, 161, 68, 0.1);
  border-color: var(--success);
  color: var(--success);
}

.knew-btn:hover:not(:disabled) {
  background: var(--success);
  color: white;
  transform: translateY(-1px);
}

.missed-btn {
  background: rgba(220, 38, 38, 0.08);
  border-color: var(--danger);
  color: var(--danger);
}

.missed-btn:hover:not(:disabled) {
  background: var(--danger);
  color: white;
  transform: translateY(-1px);
}

.self-assess-result {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 14px;
  font-weight: 600;
}

.self-result-knew   { color: var(--success); }
.self-result-missed { color: var(--danger); }

/* ── Footer ── */
footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 13px;
  color: var(--text-hint);
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .app { padding: 1rem 0.75rem 2rem; }
  .card { padding: 1.25rem; }
  header.top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .header-text h1 { font-size: 22px; }
  .set-btn { font-size: 12px; padding: 6px 10px; min-height: 38px; flex: 0 0 auto; }
  .qnum-btn { width: 40px; height: 40px; min-height: 40px; font-size: 12px; }
  .opt-btn { font-size: 14px; padding: 10px 14px; }
  .bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo-img { width: 40px; }
  .blank-input { max-width: 100%; }
  .section-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .lecture-notes-btn {
    width: auto;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 13px;
  }
}
