:root {
  --ink: #251609;
  --coffee: #3a2414;
  --leather: #5b341b;
  --leather-dark: #2b170c;
  --gold: #d6a94a;
  --gold-soft: #ffe7a3;
  --paper: #fff7e6;
  --paper-2: #f3dfba;
  --blue: #214b6b;
  --green: #23835f;
  --red: #b03b3b;
  --muted: #765f41;
  --white: #ffffff;
  --shadow: rgba(37, 22, 9, 0.22);
  --radius: 26px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 231, 163, .45), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(33, 75, 107, .22), transparent 24%),
    linear-gradient(135deg, #e9cfa7, #caa875 48%, #795238);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.background-glow {
  position: fixed;
  inset: auto -180px -220px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 231, 163, .22);
  filter: blur(30px);
  pointer-events: none;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero {
  padding: 34px 18px 22px;
}

.book-cover {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 355px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(43, 23, 12, .98), rgba(91, 52, 27, .92) 56%, rgba(33, 75, 107, .85)),
    radial-gradient(circle at 78% 30%, rgba(255, 231, 163, .18), transparent 30%);
  border: 4px solid rgba(255, 231, 163, .58);
  box-shadow: 0 28px 70px rgba(37, 22, 9, .42);
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 231, 163, .35);
  border-radius: 26px;
  pointer-events: none;
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06), transparent 22%, rgba(0,0,0,.28)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 12px);
  pointer-events: none;
}

.book-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 46px;
  width: 18px;
  background: linear-gradient(to bottom, var(--gold-soft), var(--gold), #9e6f20);
  box-shadow: 0 0 28px rgba(255, 231, 163, .52);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 52px 58px 52px 92px;
  max-width: 850px;
}

.eyebrow,
.section-label,
.read-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}

.eyebrow {
  color: var(--gold-soft);
  padding: 9px 14px;
  border: 1px solid rgba(255, 231, 163, .38);
  background: rgba(255, 231, 163, .1);
  margin-bottom: 20px;
}

.hero h1,
.panel-head h2,
.modal-card h2 {
  font-family: Cinzel, Georgia, serif;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 68px);
  line-height: .98;
  margin-bottom: 18px;
  text-shadow: 0 4px 18px rgba(0,0,0,.24);
}

.hero p {
  max-width: 730px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.91);
}

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

.btn {
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  font-weight: 800;
  transition: .2s ease;
  box-shadow: 0 10px 22px rgba(37, 22, 9, .12);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: #34200b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.13);
}

.btn-paper {
  color: var(--leather);
  background: linear-gradient(180deg, #fffaf0, #ead4aa);
  border: 1px solid rgba(91, 52, 27, .15);
}

.btn-green {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #145f43);
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 18px 42px;
}

.panel {
  border-radius: 34px;
  padding: 24px;
  background: rgba(255, 247, 230, .88);
  border: 1px solid rgba(91, 52, 27, .16);
  box-shadow: 0 24px 60px rgba(37, 22, 9, .24);
  backdrop-filter: blur(10px);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.section-label {
  color: #835f24;
  margin-bottom: 8px;
}

.panel-head h2 {
  font-size: clamp(26px, 4vw, 42px);
  color: var(--leather-dark);
}

.status {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fffaf0;
  border: 1px solid rgba(91, 52, 27, .14);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.status.ok {
  color: var(--green);
}

.status.error {
  color: var(--red);
}

.tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 18px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(91, 52, 27, .16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab {
  border: 1px solid rgba(91, 52, 27, .14);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  color: #684617;
  background: #ead4aa;
  transition: .2s ease;
}

.tab:hover,
.tab.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #102f47);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(33, 75, 107, .22);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #f5dfb6);
  border: 1px solid rgba(91, 52, 27, .13);
  box-shadow: 0 12px 26px rgba(37, 22, 9, .08);
}

.stat-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-card strong {
  font-size: 30px;
  color: var(--blue);
}

.aulas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.aula-card {
  position: relative;
  overflow: hidden;
  min-height: 278px;
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(214, 169, 74, .19) 0 9px, transparent 9px),
    linear-gradient(180deg, #fffdf8, #f8e7c5);
  border: 1px solid rgba(91, 52, 27, .14);
  box-shadow: 0 16px 34px rgba(37, 22, 9, .13);
  transition: .2s ease;
}

.aula-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -54px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(33, 75, 107, .08);
}

.aula-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(37, 22, 9, .19);
}

.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  color: var(--blue);
  background: rgba(33, 75, 107, .09);
  border: 1px solid rgba(33, 75, 107, .11);
  margin-bottom: 14px;
}

.aula-card h3 {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 9px;
  color: var(--leather-dark);
}

.aula-card time {
  display: block;
  color: #7c5b2c;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.aula-card p {
  color: #4f3b25;
  line-height: 1.65;
  margin-bottom: 18px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  position: relative;
  z-index: 1;
}

.btn-small {
  border: 0;
  border-radius: 13px;
  padding: 10px 12px;
  font-weight: 900;
  transition: .2s ease;
}

.btn-small:hover {
  transform: translateY(-2px);
}

.read {
  color: var(--white);
  background: var(--blue);
}

.edit {
  color: #4c310b;
  background: #e8ca84;
}

.delete {
  color: var(--red);
  background: #f2cccc;
}

.empty,
.loading-message {
  grid-column: 1 / -1;
  border-radius: 26px;
  padding: 38px 24px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(214, 169, 74, .22) 0 10px, transparent 10px),
    rgba(255,255,255,.7);
  border: 1px dashed rgba(91, 52, 27, .28);
  color: var(--muted);
}

.empty h3,
.loading-message h3 {
  color: var(--blue);
  margin-bottom: 8px;
  font-size: 24px;
}

.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 0;
  font-size: 32px;
  font-weight: 900;
  color: #34200b;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 18px 40px rgba(37, 22, 9, .34);
  transition: .2s ease;
}

.floating:hover {
  transform: translateY(-4px) scale(1.04);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 22px;
  overflow-y: auto;
  background: rgba(20, 13, 7, .72);
}

.modal.show {
  display: block;
}

.modal-card {
  width: min(900px, 100%);
  margin: 34px auto;
  position: relative;
  border-radius: 30px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(214, 169, 74, .19) 0 13px, transparent 13px),
    var(--paper);
  border: 3px solid rgba(255, 231, 163, .76);
  box-shadow: 0 26px 75px rgba(0,0,0,.35);
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: #4d310b;
  background: #ead4aa;
}

.modal-card h2 {
  font-size: clamp(25px, 4vw, 40px);
  color: var(--leather-dark);
  padding-right: 42px;
  margin-bottom: 10px;
}

.read-ribbon {
  color: #684617;
  background: #ead4aa;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.read-meta,
.form-help {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 18px;
}

.read-page {
  padding: 24px;
  min-height: 260px;
  white-space: pre-wrap;
  line-height: 1.86;
  font-size: 16px;
  color: #342516;
  border-radius: 22px;
  border: 1px solid rgba(91, 52, 27, .13);
  background:
    linear-gradient(90deg, rgba(91, 52, 27, .055) 1px, transparent 1px) 0 0 / 24px 24px,
    rgba(255,255,255,.55);
}

form {
  display: grid;
  gap: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #5c3a17;
  font-weight: 900;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(91, 52, 27, .2);
  background: rgba(255,255,255,.78);
  color: var(--ink);
  border-radius: 16px;
  padding: 13px 14px;
  outline: 0;
}

.field textarea {
  min-height: 250px;
  resize: vertical;
  line-height: 1.65;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(33, 75, 107, .12);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

footer {
  text-align: center;
  padding: 28px 18px 48px;
  color: #f7e4bf;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}

@media (max-width: 820px) {
  .hero-content {
    padding: 44px 30px 44px 76px;
  }

  .tools,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .panel-head {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 16px 10px;
  }

  .book-cover {
    min-height: auto;
    border-radius: 24px;
  }

  .book-cover::before {
    inset: 14px;
    border-radius: 18px;
  }

  .book-spine {
    left: 24px;
    width: 12px;
  }

  .hero-content {
    padding: 34px 20px 34px 52px;
  }

  .hero p {
    font-size: 15px;
  }

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

  .btn,
  .btn-small {
    width: 100%;
  }

  .container {
    padding: 0 10px 34px;
  }

  .panel {
    padding: 16px;
    border-radius: 24px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 12px;
  }

  .modal-card {
    margin: 22px auto;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .read-page {
    padding: 18px;
  }

  .floating {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}

/* ===== Anexos/arquivos das aulas ===== */
.file-box {
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.75);
  border: 1px solid rgba(91, 52, 27, 0.16);
}

.file-box h3 {
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--leather);
}

.file-list {
  display: grid;
  gap: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(91, 52, 27, 0.13);
}

.file-item a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.file-item a:hover {
  text-decoration: underline;
}

.file-item span {
  color: rgba(43, 23, 12, 0.72);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.file-delete {
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  color: #8f2d2d;
  background: #f7d7d7;
  font-weight: 800;
}

.file-delete:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.empty-files {
  color: rgba(43, 23, 12, 0.72);
  font-weight: 600;
}

.hint {
  display: block;
  margin-top: 7px;
  color: rgba(43, 23, 12, 0.68);
  line-height: 1.5;
}

.card-file-count {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 78, 121, 0.09);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .file-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .file-item span {
    white-space: normal;
  }
}

/* Cronograma das aulas */
.cronograma-panel {
  margin: 28px 0 24px;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(214, 169, 74, .13) 0 8px, transparent 8px),
    rgba(255, 250, 240, .76);
  border: 1px solid rgba(91, 52, 27, .16);
  box-shadow: 0 12px 28px rgba(37, 22, 9, .09);
}

.cronograma-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.cronograma-head h2 {
  font-family: Cinzel, Georgia, serif;
  color: var(--leather-dark);
  font-size: clamp(24px, 3vw, 34px);
  margin: 7px 0 6px;
}

.cronograma-head p {
  color: var(--muted);
  line-height: 1.6;
}

.cronograma-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cronograma-legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cronograma-legenda span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(91, 52, 27, .12);
}

.dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
}

.dot-pendente {
  background: #b77a31;
}

.dot-finalizada {
  background: var(--blue);
}

.dot-publicada {
  background: var(--green);
}

.cronograma-list {
  display: grid;
  gap: 16px;
}

.cronograma-dia {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: start;
}

.cronograma-data {
  position: sticky;
  top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--leather-dark);
  background: linear-gradient(180deg, #fffaf0, #ead4aa);
  border: 1px solid rgba(91, 52, 27, .16);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(37, 22, 9, .08);
}

.cronograma-itens {
  display: grid;
  gap: 12px;
}

.cronograma-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(183, 122, 49, .16) 0 7px, transparent 7px),
    rgba(255, 255, 255, .72);
  border: 1px solid rgba(91, 52, 27, .14);
  box-shadow: 0 10px 22px rgba(37, 22, 9, .08);
}

.cronograma-item.finalizada {
  background:
    linear-gradient(90deg, rgba(33, 75, 107, .22) 0 7px, transparent 7px),
    rgba(255, 255, 255, .72);
}

.cronograma-item.publicada {
  background:
    linear-gradient(90deg, rgba(35, 131, 95, .25) 0 7px, transparent 7px),
    rgba(255, 255, 255, .72);
}

.cronograma-topline {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.cronograma-status {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.cronograma-status.pendente {
  color: #6d4210;
  background: rgba(183, 122, 49, .16);
}

.cronograma-status.finalizada {
  color: var(--blue);
  background: rgba(33, 75, 107, .14);
}

.cronograma-status.publicada {
  color: var(--green);
  background: rgba(35, 131, 95, .14);
}

.cronograma-item h3 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 5px;
}

.cronograma-hora,
.cronograma-obs {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.cronograma-obs {
  margin-top: 7px;
  white-space: pre-wrap;
}

.cronograma-checks {
  display: grid;
  gap: 9px;
  min-width: 170px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--leather-dark);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.check-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.cronograma-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cronograma-empty,
.cronograma-loading {
  margin: 0;
}

.three-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

.textarea-small {
  min-height: 110px;
}

@media (max-width: 900px) {
  .cronograma-head {
    flex-direction: column;
  }

  .cronograma-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cronograma-actions .btn {
    flex: 1;
  }

  .cronograma-dia {
    grid-template-columns: 1fr;
  }

  .cronograma-data {
    position: static;
  }

  .cronograma-item {
    grid-template-columns: 1fr;
  }

  .cronograma-card-actions {
    justify-content: flex-start;
  }

  .three-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cronograma-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .cronograma-actions,
  .cronograma-card-actions {
    flex-direction: column;
  }

  .cronograma-actions .btn,
  .cronograma-card-actions .btn-small {
    width: 100%;
  }
}

/* Slides via Google Drive */
.btn,
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.card-badges .badge {
  margin-bottom: 0;
}

.badge-drive {
  color: var(--green);
  background: rgba(35, 131, 95, .12);
  border-color: rgba(35, 131, 95, .16);
}

.drive {
  color: var(--white);
  background: var(--green);
}

.drive-link-box {
  margin-top: 18px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(35, 131, 95, .10);
  border: 1px solid rgba(35, 131, 95, .18);
}

.drive-link-box h3 {
  color: var(--green);
  margin-bottom: 6px;
}

.drive-link-box p {
  color: var(--muted);
  margin-bottom: 12px;
}

.hint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.slides-panel {
  margin: 28px 0 24px;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(35, 131, 95, .14) 0 8px, transparent 8px),
    rgba(255, 250, 240, .76);
  border: 1px solid rgba(91, 52, 27, .16);
  box-shadow: 0 12px 28px rgba(37, 22, 9, .09);
}

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

.slide-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border-radius: 22px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(35, 131, 95, .18) 0 7px, transparent 7px),
    rgba(255, 255, 255, .72);
  border: 1px solid rgba(91, 52, 27, .14);
  box-shadow: 0 10px 22px rgba(37, 22, 9, .08);
}

.slide-card h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.slide-card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
  margin-top: 4px;
}

.slide-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.slides-empty {
  margin: 0;
}

@media (max-width: 900px) {
  .slide-card {
    grid-template-columns: 1fr;
  }

  .slide-card-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .slides-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .slide-card-actions {
    flex-direction: column;
  }

  .slide-card-actions .btn {
    width: 100%;
  }
}
