:root {
  --bg: #f7efe2;
  --bg-soft: #fff9ef;
  --paper: rgba(255, 252, 244, .86);
  --paper-strong: #fffdf7;
  --brown: #4a2d23;
  --brown-dark: #321d17;
  --muted: #8a7461;
  --gold: #b78028;
  --gold-2: #d7a945;
  --gold-soft: #fff2d6;
  --green: #2e8a46;
  --green-soft: #eaf6e7;
  --red: #c74935;
  --red-soft: #fff0ec;
  --line: rgba(183, 132, 45, .24);
  --line-strong: rgba(183, 132, 45, .38);
  --shadow: 0 24px 70px rgba(73, 44, 28, .13);
  --shadow-soft: 0 14px 38px rgba(73, 44, 28, .08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", sans-serif;
  background:
    radial-gradient(circle at 12% 2%, rgba(255, 245, 218, .92), transparent 34%),
    radial-gradient(circle at 80% 12%, rgba(239, 214, 160, .34), transparent 30%),
    linear-gradient(180deg, #fbf6ea 0%, #f4ead9 48%, #f8f0e2 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 78px 0 auto 0;
  height: 340px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.8), rgba(255,255,255,.2), rgba(255,255,255,.75)),
    radial-gradient(circle at 18% 70%, rgba(155, 104, 41, .08), transparent 19%),
    radial-gradient(circle at 72% 35%, rgba(155, 104, 41, .08), transparent 18%);
  opacity: .9;
  z-index: -2;
}

body::after {
  content: "✤";
  position: fixed;
  right: 7vw;
  top: 180px;
  font-size: 320px;
  line-height: 1;
  color: rgba(183, 132, 45, .045);
  pointer-events: none;
  z-index: -1;
}

/* =========================
   Topbar
   ========================= */

.topbar {
  min-height: 78px;
  padding: 13px min(54px, 4.8vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  background: rgba(255, 250, 240, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(183, 132, 45, .22);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 10px 36px rgba(68, 42, 25, .045);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 250px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--gold);
  font-size: 30px;
  background: rgba(255, 246, 226, .75);
  border: 1px solid rgba(183, 132, 45, .18);
}

.brand strong {
  display: block;
  font-size: 23px;
  line-height: 1.05;
  color: var(--brown-dark);
  letter-spacing: -.02em;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

nav {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 999px;
  color: #5d4035;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background .2s ease, border .2s ease, transform .2s ease;
}

nav a:hover {
  background: rgba(255, 248, 232, .8);
  border-color: rgba(183, 132, 45, .18);
  transform: translateY(-1px);
}

nav a.active {
  background: #fff7e7;
  color: var(--gold);
  border-color: rgba(183, 132, 45, .28);
  box-shadow: 0 10px 24px rgba(183, 132, 45, .08);
}

/* =========================
   Layout
   ========================= */

.wrap {
  width: min(1180px, calc(100vw - 34px));
  margin: 0 auto;
  padding: 42px 0 88px;
}

/* =========================
   Hero
   ========================= */

.hero {
  min-height: 292px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 26px;
  padding: 42px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(183, 132, 45, .22);
  background:
    linear-gradient(90deg, rgba(255, 252, 246, .95) 0%, rgba(255, 249, 235, .8) 48%, rgba(239, 220, 184, .42) 100%),
    radial-gradient(circle at 85% 40%, rgba(139, 94, 46, .16), transparent 34%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 42%, rgba(255, 255, 255, .42), transparent 23%),
    linear-gradient(115deg, transparent 0%, transparent 56%, rgba(113, 79, 42, .08) 57%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "วิสุทธิมรรค";
  position: absolute;
  right: 34px;
  bottom: 20px;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: rgba(74, 45, 35, .045);
  pointer-events: none;
}

.hero > div {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a5b17;
  border: 1px solid rgba(183, 132, 45, .28);
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 900;
  font-size: 14px;
  background: rgba(255, 250, 240, .74);
  box-shadow: 0 10px 24px rgba(183, 132, 45, .06);
}

.eyebrow::before {
  content: "✦";
  color: var(--gold);
}

h1,
.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(35px, 4.2vw, 58px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em;
  color: var(--brown-dark);
  max-width: 760px;
}

.hero p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 17px !important;
  max-width: 760px;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-link,
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.primary-link {
  color: #fff;
  background: linear-gradient(135deg, #7b4931, #bf8b2c);
  box-shadow: 0 16px 34px rgba(125, 72, 48, .2);
}

.primary-link::after {
  content: "→";
  margin-left: 9px;
}

.download-link {
  color: #6b4b18;
  background: rgba(255, 250, 240, .82);
  border: 1px solid rgba(183, 132, 45, .32);
}

.download-link::before {
  content: "↓";
  margin-right: 9px;
  color: var(--gold);
}

.primary-link:hover,
.download-link:hover {
  transform: translateY(-2px);
}

/* =========================
   Hero Stat Card
   ========================= */

.stat-card {
  background: rgba(255, 253, 248, .84);
  border: 1px solid rgba(183, 132, 45, .24);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
}

.stat-card strong {
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 10px;
}

.stat-card span {
  color: var(--brown-dark);
  font-size: 28px;
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: -.03em;
}

.stat-card small {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 240px;
}

/* =========================
   Cards
   ========================= */

.chat-card,
.answer-card,
.recent-card {
  background: rgba(255, 253, 247, .9);
  border: 1px solid rgba(183, 132, 45, .23);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.chat-card {
  padding: 30px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.chat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), #e6c26b, transparent);
  opacity: .75;
}

label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  margin-bottom: 13px;
  color: var(--brown-dark);
  font-size: 19px;
}

label::before {
  content: "⌕";
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(183, 132, 45, .18);
}

textarea {
  width: 100%;
  resize: vertical;
  min-height: 132px;
  border-radius: 22px;
  border: 1px solid rgba(183, 132, 45, .28);
  background: rgba(255, 250, 240, .86);
  color: var(--brown);
  padding: 19px 20px;
  font: inherit;
  line-height: 1.7;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

textarea::placeholder {
  color: rgba(103, 80, 62, .62);
}

textarea:focus {
  border-color: rgba(183, 132, 45, .68);
  box-shadow:
    0 0 0 4px rgba(183, 132, 45, .12),
    inset 0 1px 0 rgba(255,255,255,.9);
  background: #fffdf8;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #7b4931, #bf8b2c);
  color: white;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(125, 72, 48, .16);
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(125, 72, 48, .2);
}

button.secondary {
  background: rgba(255, 250, 240, .72);
  color: var(--brown);
  border: 1px solid rgba(183, 132, 45, .28);
  box-shadow: none;
}

button:disabled {
  opacity: .56;
  cursor: not-allowed;
  transform: none;
}

.suggestions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.suggestions button {
  background: rgba(255, 246, 226, .74);
  color: #76501d;
  border: 1px solid rgba(183, 132, 45, .24);
  padding: 10px 14px;
  font-weight: 850;
  box-shadow: none;
}

.suggestions button::before {
  content: "#";
  margin-right: 7px;
  color: var(--gold);
}

/* =========================
   Answer
   ========================= */

.answer-card {
  padding: 30px;
  margin-bottom: 26px;
}

.answer-card.hidden {
  display: none;
}

.answer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 22px;
}

.answer-head h2 {
  margin: 0;
  color: var(--brown-dark);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.03em;
}

#statusText {
  color: var(--muted);
  font-size: 13px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 246, 226, .8);
  border: 1px solid rgba(183, 132, 45, .18);
}

.answer-box {
  line-height: 1.9;
  color: #493228;
  font-size: 16px;
}

.answer-box h1 {
  font-size: 32px !important;
  line-height: 1.25 !important;
  margin: 0 0 18px;
  letter-spacing: -.03em;
}

.answer-box h2 {
  margin: 30px 0 12px;
  color: var(--brown-dark);
  font-size: 23px;
  padding-left: 14px;
  border-left: 5px solid var(--gold);
}

.answer-box h3 {
  color: var(--brown);
  margin-top: 24px;
}

.answer-box strong {
  color: #352019;
}

.answer-box hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.answer-box a {
  color: #9a681e;
  font-weight: 900;
}

.answer-box div {
  margin: 4px 0;
}

/* =========================
   Sources
   ========================= */

.source-box {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.source-box h3 {
  margin: 0 0 14px;
  color: var(--brown-dark);
  font-size: 20px;
}

.source-item {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 248, 235, .92), rgba(255, 252, 246, .75));
  border: 1px solid rgba(183, 132, 45, .18);
  margin-bottom: 10px;
}

.source-item strong {
  color: var(--gold);
}

.source-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================
   Recent Questions
   ========================= */

.recent-card {
  padding: 30px;
  margin-bottom: 26px;
}

.recent-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.recent-head h2 {
  margin: 9px 0 0;
  color: var(--brown-dark);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.recent-head span {
  color: var(--muted);
  font-size: 14px;
}

.eyebrow.small {
  margin: 0;
  font-size: 13px;
  padding: 6px 12px;
}

.recent-list {
  display: grid;
  gap: 12px;
}

.recent-item {
  border: 1px solid rgba(183, 132, 45, .2);
  border-radius: 19px;
  background: rgba(255, 250, 240, .7);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.recent-item:hover {
  transform: translateY(-1px);
  border-color: rgba(183, 132, 45, .38);
  box-shadow: 0 12px 26px rgba(73, 44, 28, .07);
}

.recent-question {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 17px 18px;
  background: transparent;
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.recent-question:hover {
  transform: none;
  box-shadow: none;
  background: rgba(183, 132, 45, .065);
}

.recent-question span {
  font-weight: 950;
  line-height: 1.55;
}

.recent-question small {
  color: var(--muted);
  white-space: nowrap;
  font-weight: 700;
  font-size: 13px;
}

.recent-answer {
  border-top: 1px solid rgba(183, 132, 45, .18);
  padding: 19px;
  background: rgba(255, 253, 248, .92);
}

.recent-answer.hidden {
  display: none;
}

.recent-answer-inner {
  line-height: 1.85;
  color: #493228;
}

.recent-answer-inner h1 {
  font-size: 26px !important;
  line-height: 1.25 !important;
}

.recent-answer-inner h2 {
  margin-top: 23px;
  color: var(--brown-dark);
  padding-left: 12px;
  border-left: 4px solid var(--gold);
}

.recent-empty {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 250, 240, .68);
  border: 1px dashed rgba(183, 132, 45, .26);
  border-radius: 17px;
}

/* =========================
   Pretty scrollbars
   ========================= */

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #f6ecda;
}

::-webkit-scrollbar-thumb {
  background: rgba(151, 103, 36, .42);
  border-radius: 999px;
  border: 3px solid #f6ecda;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(151, 103, 36, .6);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  nav {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  nav a {
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .stat-card {
    min-height: auto;
  }

  .stat-card small {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 22px, 1180px);
    padding-top: 24px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 20px;
  }

  .hero {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .hero h1,
  h1 {
    font-size: clamp(32px, 9vw, 43px) !important;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .primary-link,
  .download-link,
  button {
    width: 100%;
  }

  .chat-card,
  .answer-card,
  .recent-card {
    padding: 21px;
    border-radius: 23px;
  }

  .recent-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .recent-question {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .recent-question small {
    white-space: normal;
  }

  .answer-head {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   Online PDF Reader
   ========================================================= */

.reader-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  color: #6b4b18;
  background: rgba(255, 246, 226, .82);
  border: 1px solid rgba(183, 132, 45, .34);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.reader-link::before {
  content: "อ่าน";
  margin-right: 9px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.reader-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(125, 72, 48, .1);
}

.pdf-reader-card {
  background: rgba(255, 253, 247, .92);
  border: 1px solid rgba(183, 132, 45, .23);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 30px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}

.pdf-reader-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #d7a945, #fff0bf, transparent);
  opacity: .85;
}

.pdf-reader-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pdf-reader-head h2 {
  margin: 9px 0 8px;
  color: var(--brown-dark);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.pdf-reader-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 680px;
}

.pdf-reader-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 250px;
}

.pdf-reader-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  text-decoration: none;
  color: #6b4b18;
  font-weight: 900;
  background: rgba(255, 250, 240, .78);
  border: 1px solid rgba(183, 132, 45, .28);
}

.pdf-reader-actions a:first-child {
  color: #fff;
  background: linear-gradient(135deg, #7b4931, #bf8b2c);
  border-color: transparent;
}

.pdf-frame-wrap {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(183, 132, 45, .28);
  background: #f7efe2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.pdf-frame {
  display: block;
  width: 100%;
  height: min(78vh, 860px);
  min-height: 620px;
  border: 0;
  background: #f7efe2;
}

.pdf-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .pdf-reader-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pdf-reader-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .reader-link {
    width: 100%;
  }

  .pdf-reader-card {
    padding: 21px;
    border-radius: 23px;
  }

  .pdf-reader-actions {
    width: 100%;
    flex-direction: column;
  }

  .pdf-reader-actions a {
    width: 100%;
  }

  .pdf-frame {
    height: 72vh;
    min-height: 520px;
  }
}

/* =========================================================
   PDF.js Reader Fix
   ========================================================= */

.pdf-frame-wrap {
  background: #eee5d7 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  border: 1px solid rgba(183, 132, 45, .32) !important;
  box-shadow: 0 18px 50px rgba(73, 44, 28, .12) !important;
}

.pdf-frame {
  width: 100% !important;
  height: min(82vh, 920px) !important;
  min-height: 720px !important;
  border: 0 !important;
  background: #eee5d7 !important;
}

@media (max-width: 720px) {
  .pdf-frame {
    height: 76vh !important;
    min-height: 560px !important;
  }
}


/* =========================================================
   Custom Canvas PDF Reader
   ========================================================= */

.custom-pdf-reader {
  position: relative;
  background: #ded8cf !important;
}

.pdf-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 12px;
  background: rgba(255, 250, 240, .94);
  border-bottom: 1px solid rgba(183, 132, 45, .28);
  backdrop-filter: blur(12px);
}

.pdf-tool-btn {
  width: auto !important;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: none;
}

.pdf-page-jump {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-size: 14px !important;
  color: var(--brown);
  font-weight: 900;
}

.pdf-page-jump::before {
  display: none !important;
}

#pdfPageInput {
  width: 82px;
  border: 1px solid rgba(183, 132, 45, .32);
  border-radius: 999px;
  padding: 8px 10px;
  font: inherit;
  text-align: center;
  color: var(--brown);
  background: #fffaf0;
}

.pdf-zoom-text {
  min-width: 52px;
  text-align: center;
  font-weight: 900;
  color: var(--muted);
}

.pdf-canvas-scroll {
  height: min(78vh, 840px);
  min-height: 620px;
  overflow: auto;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.55), transparent 34%),
    #d9d4cc;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#pdfCanvas {
  display: block;
  background: white;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
  border-radius: 4px;
}

.pdf-loading-text {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  color: #5d5248;
  background: rgba(255, 250, 240, .92);
  border: 1px solid rgba(183, 132, 45, .25);
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(73, 44, 28, .12);
  text-align: center;
}

.pdf-loading-text a {
  color: #9a681e;
  font-weight: 950;
}

@media (max-width: 720px) {
  .pdf-toolbar {
    justify-content: flex-start;
  }

  .pdf-tool-btn {
    flex: 1;
  }

  .pdf-canvas-scroll {
    height: 72vh;
    min-height: 520px;
    padding: 14px;
    justify-content: flex-start;
  }
}
