[data-problem-id="111111111"] .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="111111111"] .meditation-sheet::before {
  background: linear-gradient(90deg, var(--gold), transparent 72%);
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 1rem;
}

[data-problem-id="111111111"] .meditation-kicker,
[data-problem-id="111111111"] .continuation-header span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

[data-problem-id="111111111"] .meditation-kicker {
  align-items: center;
  display: flex;
  gap: 0.55rem 1rem;
  justify-content: space-between;
}

[data-problem-id="111111111"] .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="111111111"] .folio-strokes {
  align-items: center;
  display: inline-flex;
  gap: 2px;
}

[data-problem-id="111111111"] .folio-strokes i {
  background: var(--gold);
  display: block;
  height: 0.78rem;
  opacity: 0.82;
  transform: skewX(-9deg);
  width: 2px;
}

[data-problem-id="111111111"] .meditation-opening {
  display: grid;
  gap: 0.7rem 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.46fr);
}

[data-problem-id="111111111"] .meditation-opening > :not(.vivian-note) {
  grid-column: 1;
}

[data-problem-id="111111111"] .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.5deg);
}

[data-problem-id="111111111"] .vivian-note p {
  color: var(--indigo-deep);
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-style: italic;
  margin: 0;
}

[data-problem-id="111111111"] .vivian-note span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.45rem;
  text-align: right;
}

[data-problem-id="111111111"] .meditation-hero {
  background: var(--parchment);
  border: 1px solid var(--gold-pale);
  border-radius: 18px 4px 18px 4px;
  margin: 1rem 0 1.2rem;
  overflow: hidden;
}

[data-problem-id="111111111"] .meditation-hero img {
  display: block;
  width: 100%;
}

[data-problem-id="111111111"] .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="111111111"] .concept-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), 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: 1.1rem 1.25rem;
}

[data-problem-id="111111111"] .concept-panel p:last-child {
  margin-bottom: 0;
}

[data-problem-id="111111111"] .definition-seal,
[data-problem-id="111111111"] .theorem-callout,
[data-problem-id="111111111"] .quiet-fact {
  background: rgba(234, 216, 166, 0.25);
  border-left: 4px solid var(--gold);
  margin-top: 0.9rem;
  padding: 0.7rem 0.9rem;
}

[data-problem-id="111111111"] .quiet-fact {
  color: #3f4865;
  font-size: 0.9rem;
}

[data-problem-id="111111111"] .problem-question {
  margin-top: 1.25rem;
}

[data-problem-id="111111111"] .lettered-parts {
  list-style-type: lower-alpha;
  margin: 0.8rem 0 0;
  padding-left: 1.5rem;
}

[data-problem-id="111111111"] .lettered-parts li {
  margin: 0.62rem 0;
  padding-left: 0.25rem;
}

[data-problem-id="111111111"] .continuation-header {
  align-items: baseline;
  border-bottom: 1px solid var(--gold-pale);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
}

[data-problem-id="111111111"] .continuation-header strong {
  color: var(--indigo-deep);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

[data-problem-id="111111111"] .proof-diagram {
  background:
    radial-gradient(circle at center, rgba(234, 216, 166, 0.28), transparent 48%),
    #fffdf8;
  border: 1px solid var(--gold-pale);
  border-radius: 18px;
  margin-top: 1.1rem;
  padding: 0.9rem 1rem 0.4rem;
}

[data-problem-id="111111111"] .proof-diagram > p {
  color: #4a526a;
  font-size: 0.88rem;
  margin-bottom: 0;
}

[data-problem-id="111111111"] .proof-diagram svg {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 48rem;
  width: 100%;
}

[data-problem-id="111111111"] .proof-diagram circle {
  fill: var(--parchment);
  stroke: var(--indigo);
  stroke-width: 3;
}

[data-problem-id="111111111"] .proof-diagram text {
  fill: var(--indigo-deep);
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
}

[data-problem-id="111111111"] .proof-diagram .guide-line {
  fill: none;
  opacity: 0.38;
  stroke: var(--gold);
  stroke-dasharray: 8 10;
  stroke-width: 2;
}

@media (max-width: 720px) {
  [data-problem-id="111111111"] .meditation-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  [data-problem-id="111111111"] .meditation-opening {
    display: block;
  }

  [data-problem-id="111111111"] .vivian-note {
    margin-top: 0.9rem;
    transform: none;
  }

  [data-problem-id="111111111"] .continuation-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media print {
  [data-problem-id="111111111"] .meditation-sheet--continuation {
    break-before: page !important;
    page-break-before: always !important;
  }

  [data-problem-id="111111111"] .meditation-hero,
  [data-problem-id="111111111"] .concept-panel,
  [data-problem-id="111111111"] .proof-diagram,
  [data-problem-id="111111111"] .problem-question,
  [data-problem-id="111111111"] .vivian-note {
    break-inside: avoid;
  }

  [data-problem-id="111111111"] .meditation-hero {
    max-height: 2.35in;
  }

  [data-problem-id="111111111"] .meditation-hero img {
    max-height: 2.35in;
    object-fit: cover;
  }

  [data-problem-id="111111111"] .proof-diagram svg {
    max-height: 2.6in;
  }
}
