/* ------------------------------------------------------------------
   Riffs Yoga & Wellness — Front Desk Console
   Brand colors:
     Ocean Blue  #0A273F    Blue       #9CBFDC   Sky Blue   #E1F0F9
     Orange      #EFA016    Sunshine   #FEC016
     Light Beige #FFFAEF    Sand       #DCC59F   White      #FFFFFF
   Fonts:
     P22 Mackinac Pro (title)   — local woff2
     Soléa Regular (header)     — local woff2
     Hamburg Hand Light (script)— local woff2
     Heebo (body)               — Google Fonts
   -------------------------------------------------------------------*/

@font-face {
  font-family: "Mackinac";
  src: url("/static/fonts/p22-mackinac-pro-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Solea";
  src: url("/static/fonts/solea-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HamburgHand";
  src: url("/static/fonts/hamburghand-light-webfont.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --ocean: #0A273F;
  --blue: #9CBFDC;
  --sky: #E1F0F9;
  --orange: #EFA016;
  --sunshine: #FEC016;
  --beige: #FFFAEF;
  --sand: #DCC59F;
  --ink: #13243a;
  --soft-ink: #3b4a5e;
  --line: rgba(10, 39, 63, 0.12);
  --shadow-card: 0 20px 60px -20px rgba(10, 39, 63, 0.22);
  --font-title: "Mackinac", "Playfair Display", Georgia, serif;
  --font-header: "Solea", "Mackinac", Georgia, serif;
  --font-script: "HamburgHand", "Caveat", cursive;
  --font-body: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--beige);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.paper-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("/static/textures/paper-beige.png");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
}

.paper-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.35), transparent 55%),
              radial-gradient(ellipse at bottom right, rgba(254, 192, 22, 0.08), transparent 55%);
}

/* ------------------------------------------------------------------
   TOP BAR
   ------------------------------------------------------------------ */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px 10px;
  position: relative;
}

.logo-home-btn {
  background: transparent;
  border: 0;
  padding: 4px 8px;
  margin: 0;
  cursor: pointer;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 18px;
  line-height: 0;
  border-radius: 14px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.logo-home-btn:hover {
  transform: translateX(-50%) translateY(-1px);
  filter: brightness(1.04);
}
.logo-home-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.logo-primary {
  height: 78px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 0 rgba(10,39,63,0.02));
  pointer-events: none;
}

.admin-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ocean);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.admin-btn:hover {
  background: var(--ocean);
  color: var(--beige);
  border-color: var(--ocean);
}

/* ------------------------------------------------------------------
   STAGE (welcome + chat)
   ------------------------------------------------------------------ */

.stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px 20px;
  overflow: hidden;
}

.welcome {
  max-width: 760px;
  margin: auto 0;
  text-align: center;
  animation: riseIn 0.6s ease forwards;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.script {
  font-family: var(--font-script);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--orange);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.headline {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--ocean);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--soft-ink);
  max-width: 560px;
  margin: 0 auto 36px;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ocean);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.chip:hover {
  background: var(--ocean);
  color: var(--beige);
  border-color: var(--ocean);
  transform: translateY(-1px);
}

.manager-note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--soft-ink);
  opacity: 0.78;
  max-width: 540px;
  margin: 28px auto 0;
  text-align: center;
}

/* ------------------------------------------------------------------
   CHAT
   ------------------------------------------------------------------ */

.chat-scroll {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  overflow-y: auto;
  padding: 20px 8px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}

.chat-scroll::-webkit-scrollbar { width: 6px; }
.chat-scroll::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

.bubble-row {
  display: flex;
  margin-bottom: 18px;
  animation: bubbleIn 0.28s ease both;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.bubble-row.user { justify-content: flex-end; }
.bubble-row.bot { justify-content: flex-start; align-items: flex-start; gap: 12px; }

.bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.bot-avatar img { width: 26px; height: 26px; object-fit: contain; }

.bubble {
  max-width: 76%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 300;
  white-space: pre-wrap;
  word-wrap: break-word;
  box-shadow: 0 2px 12px -6px rgba(10, 39, 63, 0.15);
}

.bubble.user {
  background: var(--ocean);
  color: var(--beige);
  border-bottom-right-radius: 6px;
}

.bubble.bot {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.bubble.bot.loading {
  color: var(--soft-ink);
  font-style: italic;
  opacity: 0.8;
}

.dots { display: inline-flex; gap: 4px; vertical-align: middle; margin-left: 2px; }
.dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  animation: bounce 1.3s infinite ease-in-out both;
}
.dots span:nth-child(2) { animation-delay: 0.15s; }
.dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ------------------------------------------------------------------
   COMPOSER
   ------------------------------------------------------------------ */

.composer-wrap {
  padding: 12px 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.composer {
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 10px 12px 10px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.composer textarea {
  flex: 1;
  border: 0;
  outline: 0;
  resize: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.5;
  padding: 10px 4px;
  background: transparent;
  color: var(--ink);
  max-height: 160px;
}

.composer textarea::placeholder {
  color: #8a98aa;
  font-weight: 300;
}

.icon-btn {
  flex-shrink: 0;
  height: 44px;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  font-weight: 500;
}

.quiz-btn {
  padding: 0 18px 0 14px;
  gap: 8px;
  background: var(--sunshine);
  color: var(--ocean);
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}
.quiz-btn:hover { background: var(--orange); color: #fff; }

.send-btn {
  width: 44px;
  background: var(--ocean);
  color: #fff;
}
.send-btn:hover { background: #0e3559; transform: translateX(1px); }
.send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.footnote {
  margin: 0;
  font-size: 0.82rem;
  color: var(--soft-ink);
  opacity: 0.75;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------------
   MODALS
   ------------------------------------------------------------------ */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 39, 63, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  background: var(--beige);
  border-radius: 22px;
  padding: 32px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 40px 80px -20px rgba(10, 39, 63, 0.4);
  position: relative;
  animation: cardRise 0.25s ease;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
@keyframes cardRise {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-card h2 {
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--ocean);
  font-size: 1.8rem;
  margin: 0 0 8px;
}

.modal-card .muted {
  color: var(--soft-ink);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ocean);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { background: var(--sky); }

.btn-primary {
  background: var(--ocean);
  color: var(--beige);
  border: 0;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.btn-primary:hover { background: #0e3559; }

.btn-secondary {
  background: transparent;
  color: var(--ocean);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.btn-secondary:hover { background: var(--ocean); color: var(--beige); border-color: var(--ocean); }

.error-text {
  color: #b84444;
  font-size: 0.9rem;
  margin-top: 10px;
}

.login-form {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.login-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  outline: 0;
}
.login-form input:focus { border-color: var(--ocean); }

/* ------------------------------------------------------------------
   QUIZ
   ------------------------------------------------------------------ */

.quiz-card { max-width: 620px; }

.quiz-header {
  text-align: center;
  margin-bottom: 22px;
}

.mini-mark {
  width: 44px;
  height: 44px;
  opacity: 0.85;
  margin: 0 auto 8px;
  display: block;
}

.quiz-header h2 {
  font-family: var(--font-title);
  color: var(--ocean);
  font-size: 2rem;
  margin: 0;
}

.quiz-source {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--orange);
  margin: 6px 0 0;
}

.quiz-question {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ocean);
  margin: 0 0 20px;
}

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

.quiz-choice {
  text-align: left;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.quiz-choice:hover { border-color: var(--ocean); transform: translateY(-1px); }
.quiz-choice.selected { border-color: var(--ocean); background: var(--sky); }
.quiz-choice.correct { border-color: #3a8a5e; background: #e9f5ee; color: #1f5a3c; }
.quiz-choice.wrong { border-color: #b84444; background: #fbeaea; color: #7a2626; }
.quiz-choice[disabled] { cursor: default; }

.quiz-choice .letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ocean);
  flex-shrink: 0;
}
.quiz-choice.correct .letter { background: #3a8a5e; color: #fff; }
.quiz-choice.wrong .letter { background: #b84444; color: #fff; }

.quiz-explanation {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--sky);
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ocean);
}

.quiz-footer {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.quiz-loading {
  text-align: center;
  color: var(--soft-ink);
  font-style: italic;
  padding: 40px 0;
}

/* ------------------------------------------------------------------
   ADMIN
   ------------------------------------------------------------------ */

.admin-card { max-width: 680px; }

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 16px;
}
.admin-header h2 { margin: 0; }

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
  max-height: 50vh;
  overflow-y: auto;
}

.policy-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.policy-item .pdf-icon {
  width: 32px;
  height: 32px;
  background: var(--sky);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.policy-item .info { flex: 1; min-width: 0; }
.policy-item .name {
  font-weight: 500;
  color: var(--ocean);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.policy-item .meta { font-size: 0.85rem; color: var(--soft-ink); }

.policy-item .actions { display: flex; gap: 6px; }
.policy-item .icon-btn-small {
  width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ocean);
  transition: all 0.15s ease;
}
.policy-item .icon-btn-small:hover { background: var(--sky); }
.policy-item .icon-btn-small.danger:hover { background: #fbeaea; color: #b84444; }

.admin-footer {
  display: flex;
  justify-content: flex-end;
}

.upload-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--soft-ink);
}
.upload-status.success { color: #3a8a5e; }
.upload-status.error { color: #b84444; }

/* ------------------------------------------------------------------
   PDF viewer
   ------------------------------------------------------------------ */

.pdf-card {
  max-width: 90vw;
  width: 900px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.pdf-card h2 { margin: 0 0 10px 30px; font-size: 1.3rem; }
.pdf-card iframe {
  flex: 1;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

/* ------------------------------------------------------------------
   RETURN-TO-HOME BUTTON (appears at the bottom of the chat)
   ------------------------------------------------------------------ */

.home-row {
  display: flex;
  justify-content: center;
  margin: 8px 0 8px 52px;
  animation: bubbleIn 0.28s ease both;
}

.home-row.bot-aligned { justify-content: flex-start; }

.return-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ocean);
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease;
}
.return-home-btn:hover {
  background: var(--ocean);
  color: var(--beige);
  border-color: var(--ocean);
}

/* ------------------------------------------------------------------
   QUICK-LINK EDITOR (admin panel)
   ------------------------------------------------------------------ */

.admin-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.admin-section-title {
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--ocean);
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.quicklink-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 12px;
}

.quicklink-row {
  display: grid;
  grid-template-columns: 44px 1fr 1.4fr;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}

.quicklink-row .slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--ocean);
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
}

.quicklink-row input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--beige);
  outline: 0;
  color: var(--ink);
  width: 100%;
}
.quicklink-row input:focus { border-color: var(--ocean); background: #fff; }
.quicklink-row input::placeholder { color: #98a4b5; }

.quicklink-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.quicklink-footer .upload-status { margin: 0; }

@media (max-width: 640px) {
  .quicklink-row {
    grid-template-columns: 1fr;
  }
  .quicklink-row .slot { display: none; }
}

@media (max-width: 720px) {
  .logo-primary { height: 56px; }
  .logo-home-btn { top: 14px; }
  .topbar { padding: 20px 20px 10px; }
  .stage { padding: 70px 16px 10px; }
  .composer-wrap { padding: 8px 16px 16px; }
  .quiz-btn span { display: none; }
  .quiz-btn { padding: 0; width: 44px; }
  .bubble { max-width: 86%; }
}

/* ---------------- staff passcode gate ---------------- */
.staff-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--beige) url("/static/textures/paper-beige.png") repeat;
  background-size: 900px auto;
}
.staff-gate[hidden] { display: none; }
.staff-gate-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 40px 36px 34px;
  text-align: center;
}
.staff-gate-logo {
  width: 190px;
  max-width: 70%;
  margin: 0 auto 14px;
  display: block;
}
.staff-gate-card .script {
  margin: 0 0 2px;
}
.staff-gate-card h2 {
  font-family: var(--font-title);
  color: var(--ocean);
  font-size: 26px;
  margin: 0 0 10px;
}
.staff-gate-sub {
  color: var(--soft-ink);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 20px;
}
.staff-gate .login-form { margin-top: 0; }
.staff-gate .btn-primary { white-space: nowrap; }

/* ---------------- live google docs editor ---------------- */
.gdoc-editor { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 14px; }
.gdoc-row {
  display: grid;
  grid-template-columns: 220px 1fr 170px;
  gap: 8px;
  align-items: center;
}
.gdoc-row input {
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.gdoc-row input:focus { outline: none; border-color: var(--ocean); }
.gd-status { font-size: 12.5px; line-height: 1.3; }
.gdoc-ok { color: #2e7d4f; }
.gdoc-err { color: #b84444; }
.gdoc-pending { color: var(--soft-ink); }
@media (max-width: 720px) {
  .gdoc-row { grid-template-columns: 1fr; }
}

/* ---------------- notify management row ---------------- */
.notify-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 10px 46px; /* aligns under bot bubbles (avatar width) */
  max-width: 560px;
}
.notify-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--soft-ink);
  opacity: 0.85;
}
.notify-note.notify-done {
  color: #2e7d4f;
  opacity: 1;
}
.notify-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean);
  background: #fff;
  border: 1.5px solid var(--ocean);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.notify-btn:hover { background: var(--ocean); color: #fff; }
.notify-btn:disabled { opacity: 0.6; cursor: default; }

/* ---------------- was this helpful? row ---------------- */
.feedback-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 2px 46px;
}
.feedback-label {
  font-size: 12.5px;
  color: var(--soft-ink);
  opacity: 0.85;
}
.feedback-label.feedback-done { color: #2e7d4f; opacity: 1; }
.feedback-btn {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ocean);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.feedback-btn:hover { border-color: var(--ocean); background: var(--sky); }
.feedback-btn:disabled { opacity: 0.6; cursor: default; }

/* bold emphasis inside answers (rendered from **markdown**) */
.bubble b { font-weight: 600; }
