[data-problem-id="11111111111"] .meditation-sheet {
  --ink: #18213f;
  --indigo: #273a78;
  --indigo-deep: #17234f;
  --gold: #b8892f;
  --gold-pale: #ead8a6;
  --parchment: #fbf5e8;
  --parchment-deep: #f1e5ca;
  color: var(--ink);
  position: relative;
}

[data-problem-id="11111111111"] .meditation-sheet::before {
  background: linear-gradient(90deg, var(--gold), transparent 72%);
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 1rem;
}

[data-problem-id="11111111111"] .meditation-kicker,
[data-problem-id="11111111111"] .continuation-header span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

[data-problem-id="11111111111"] .meditation-kicker {
  align-items: center;
  display: flex;
  gap: 0.55rem 1rem;
  justify-content: space-between;
}

[data-problem-id="11111111111"] .archive-folio {
  align-items: center;
  color: #59617a;
  display: inline-flex;
  font-size: 0.75rem;
  gap: 0.5rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

[data-problem-id="11111111111"] .folio-strokes {
  align-items: center;
  display: inline-flex;
  gap: 2px;
}

[data-problem-id="11111111111"] .folio-strokes i {
  background: var(--gold);
  display: block;
  height: 0.78rem;
  opacity: 0.82;
  transform: skewX(-9deg);
  width: 2px;
}

[data-problem-id="11111111111"] .meditation-opening {
  display: grid;
  gap: 0.7rem 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.48fr);
}

[data-problem-id="11111111111"] .meditation-opening > :not(.vivian-note) {
  grid-column: 1;
}

[data-problem-id="11111111111"] .vivian-note {
  align-self: center;
  background: linear-gradient(145deg, #fffdf7, var(--parchment));
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 20px rgba(24, 33, 63, 0.08);
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: 1rem 1.1rem;
  transform: rotate(0.4deg);
}

[data-problem-id="11111111111"] .vivian-note p {
  color: var(--indigo-deep);
  font-family: Georgia, serif;
  font-size: 1.04rem;
  font-style: italic;
  margin: 0;
}

[data-problem-id="11111111111"] .vivian-note span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.45rem;
  text-align: right;
}

[data-problem-id="11111111111"] .meditation-hero {
  background: var(--parchment);
  border: 1px solid var(--gold-pale);
  border-radius: 18px 4px 18px 4px;
  margin: 0.95rem 0 1.05rem;
  overflow: hidden;
}

[data-problem-id="11111111111"] .meditation-hero img {
  display: block;
  width: 100%;
}

[data-problem-id="11111111111"] .meditation-hero figcaption {
  background: rgba(255, 253, 248, 0.92);
  border-top: 1px solid var(--gold-pale);
  color: #59617a;
  font-size: 0.78rem;
  letter-spacing: 0.015em;
  margin: 0;
  padding: 0.42rem 0.75rem 0.48rem;
  text-align: center;
}

[data-problem-id="11111111111"] .concept-panel,
[data-problem-id="11111111111"] .terminal-card,
[data-problem-id="11111111111"] .truth-reference {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(251, 245, 232, 0.92));
  border: 1px solid var(--gold-pale);
  border-radius: 4px 18px 4px 18px;
  box-shadow: 0 10px 24px rgba(24, 33, 63, 0.06);
  padding: 1rem 1.2rem;
}

[data-problem-id="11111111111"] .concept-panel p:last-child,
[data-problem-id="11111111111"] .terminal-card p:last-child,
[data-problem-id="11111111111"] .truth-reference p:last-child {
  margin-bottom: 0;
}

[data-problem-id="11111111111"] .definition-seal,
[data-problem-id="11111111111"] .precision-note {
  background: rgba(234, 216, 166, 0.25);
  border-left: 4px solid var(--gold);
  margin-top: 0.8rem;
  padding: 0.65rem 0.9rem;
}

[data-problem-id="11111111111"] .scope-seal {
  background: rgba(39, 58, 120, 0.06);
  border-left: 3px solid var(--indigo);
  color: #3f4865;
  font-size: 0.86rem;
  margin-top: 0.72rem;
  padding: 0.58rem 0.78rem;
}

[data-problem-id="11111111111"] .terminal-card,
[data-problem-id="11111111111"] .truth-reference {
  margin-top: 0.9rem;
}

[data-problem-id="11111111111"] .problem-question {
  margin-top: 1.1rem;
}

[data-problem-id="11111111111"] .lettered-parts {
  list-style-type: lower-alpha;
  margin: 0.65rem 0 0;
  padding-left: 1.5rem;
}

[data-problem-id="11111111111"] .lettered-parts li {
  margin: 0.55rem 0;
  padding-left: 0.22rem;
}

[data-problem-id="11111111111"] .continuation-header {
  align-items: baseline;
  border-bottom: 1px solid var(--gold-pale);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
}

[data-problem-id="11111111111"] .continuation-header strong {
  color: var(--indigo-deep);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

[data-problem-id="11111111111"] .case-table {
  margin-top: 1rem;
  overflow-x: auto;
}

[data-problem-id="11111111111"] .case-table table {
  border-collapse: collapse;
  min-width: 39rem;
  width: 100%;
}

[data-problem-id="11111111111"] .case-table th,
[data-problem-id="11111111111"] .case-table td {
  border: 1px solid #9d8b63;
  min-height: 2.45rem;
  padding: 0.5rem;
  text-align: center;
}

[data-problem-id="11111111111"] .case-table thead th {
  background: var(--indigo-deep);
  color: #fffdf8;
}

[data-problem-id="11111111111"] .case-table tbody td:nth-child(-n + 2) {
  background: var(--parchment);
}

[data-problem-id="11111111111"] .truth-chain {
  align-items: center;
  display: grid;
  gap: 0.38rem;
  grid-template-rows: 4.2rem 1.2rem 4.2rem 1.2rem 4.2rem;
  justify-items: center;
  margin: 0.8rem auto 0;
  max-width: 28rem;
}

[data-problem-id="11111111111"] .truth-chain span {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), var(--parchment));
  border: 2px solid var(--indigo);
  border-radius: 12px;
  display: block;
  height: 100%;
  width: 100%;
}

[data-problem-id="11111111111"] .truth-chain b {
  color: var(--gold);
  font-size: 1.15rem;
}

[data-problem-id="11111111111"] .truth-reference {
  background:
    radial-gradient(circle at 50% 10%, rgba(234, 216, 166, 0.4), transparent 48%),
    #fffdf8;
  text-align: center;
}

[data-problem-id="11111111111"] .precision-note {
  color: #343d5a;
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  [data-problem-id="11111111111"] .meditation-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  [data-problem-id="11111111111"] .meditation-opening {
    display: block;
  }

  [data-problem-id="11111111111"] .vivian-note {
    margin-top: 0.9rem;
    transform: none;
  }

  [data-problem-id="11111111111"] .continuation-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media print {
  [data-problem-id="11111111111"] .meditation-sheet {
    font-size: 10.5pt;
    line-height: 1.3;
  }

  [data-problem-id="11111111111"] .meditation-sheet::before {
    margin-bottom: 0.3rem;
  }

  [data-problem-id="11111111111"] .meditation-opening {
    gap: 0.25rem 0.75rem;
  }

  [data-problem-id="11111111111"] .vivian-note,
  [data-problem-id="11111111111"] .concept-panel,
  [data-problem-id="11111111111"] .terminal-card,
  [data-problem-id="11111111111"] .truth-reference {
    padding: 0.42rem 0.62rem;
  }

  [data-problem-id="11111111111"] .vivian-note p {
    font-size: 10pt;
  }

  [data-problem-id="11111111111"] .meditation-hero {
    margin: 0.35rem 0 0.45rem;
    max-height: 1.4in;
  }

  [data-problem-id="11111111111"] .meditation-hero img {
    height: 1.4in;
    max-height: 1.4in;
    object-fit: contain;
  }

  [data-problem-id="11111111111"] .definition-seal,
  [data-problem-id="11111111111"] .precision-note,
  [data-problem-id="11111111111"] .scope-seal {
    margin-top: 0.35rem;
    padding: 0.34rem 0.55rem;
  }

  [data-problem-id="11111111111"] .meditation-sheet p,
  [data-problem-id="11111111111"] .meditation-sheet ul,
  [data-problem-id="11111111111"] .meditation-sheet ol {
    margin-bottom: 0.07in;
  }

  [data-problem-id="11111111111"] .meditation-sheet .mj-math--display {
    margin-block: 0.24rem;
  }

  [data-problem-id="11111111111"] .problem-question {
    margin-top: 0.45rem;
    padding: 0.45rem 0.62rem;
  }

  [data-problem-id="11111111111"] .problem-question p,
  [data-problem-id="11111111111"] .problem-question ul,
  [data-problem-id="11111111111"] .problem-question ol {
    font-size: 11pt;
    line-height: 1.3;
  }

  [data-problem-id="11111111111"] .problem-part {
    padding-block: 0.08in;
  }

  [data-problem-id="11111111111"] .problem-part::marker {
    font-size: 11pt;
  }

  [data-problem-id="11111111111"] .lettered-parts {
    margin-top: 0.25rem;
  }

  [data-problem-id="11111111111"] .lettered-parts li,
  [data-problem-id="11111111111"] .problem-part {
    margin-block: 0.25rem;
  }

  [data-problem-id="11111111111"] .continuation-header {
    margin-bottom: 0.45rem;
    padding-bottom: 0.3rem;
  }

  [data-problem-id="11111111111"] .case-table {
    margin-top: 0.4rem;
    overflow: visible;
  }

  [data-problem-id="11111111111"] .case-table table {
    min-width: 0;
    table-layout: fixed;
  }

  [data-problem-id="11111111111"] .case-table th,
  [data-problem-id="11111111111"] .case-table td {
    min-height: 1.8rem;
    padding: 0.3rem;
  }

  [data-problem-id="11111111111"] .truth-chain {
    gap: 0.2rem;
    grid-template-rows: 2.25rem 0.7rem 2.25rem 0.7rem 2.25rem;
    margin-top: 0.35rem;
  }

  [data-problem-id="11111111111"] .meditation-sheet--continuation {
    break-before: auto !important;
    page-break-before: auto !important;
  }

  [data-problem-id="11111111111"] .meditation-hero,
  [data-problem-id="11111111111"] .concept-panel,
  [data-problem-id="11111111111"] .terminal-card,
  [data-problem-id="11111111111"] .truth-reference,
  [data-problem-id="11111111111"] .case-table,
  [data-problem-id="11111111111"] .truth-chain,
  [data-problem-id="11111111111"] .problem-part,
  [data-problem-id="11111111111"] .vivian-note {
    break-inside: avoid;
  }

}
