/* ==========================================================================
   Pocket Card — book-style callout box
   Replaces hand-drawn ASCII box-art with proper bordered, rounded callout.
   ========================================================================== */

.pocket-card {
  border: 1px solid #c5e1bd;
  border-left: 4px solid #2e7d32;
  border-radius: 10px;
  background: #f6faf4;
  margin: 1.75em 0;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.pocket-card-title {
  background: #2e7d32;
  color: #ffffff;
  font-weight: 700;
  padding: 0.7em 1.1em;
  font-size: 1.05em;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.pocket-card-section {
  padding: 0.9em 1.25em;
  border-top: 1px dashed #cfe6c8;
}

.pocket-card-section:first-of-type {
  border-top: none;
}

.pocket-card-section > strong {
  display: block;
  color: #1b5e20;
  font-size: 0.95em;
  letter-spacing: 0.02em;
  margin-bottom: 0.45em;
}

.pocket-card-section p {
  margin: 0.35em 0;
  line-height: 1.6;
}

.pocket-card-section p:first-child {
  margin-top: 0;
}

.pocket-card-section p:last-child {
  margin-bottom: 0;
}

.pocket-card-section ul {
  margin: 0.35em 0 0.2em 1.2em;
  padding: 0;
}

.pocket-card-section li {
  margin: 0.3em 0;
  line-height: 1.55;
}

/* Dark mode support */
[data-md-color-scheme="slate"] .pocket-card {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(139, 195, 74, 0.35);
  border-left-color: #66bb6a;
}

[data-md-color-scheme="slate"] .pocket-card-title {
  background: #1b5e20;
}

[data-md-color-scheme="slate"] .pocket-card-section {
  border-top-color: rgba(139, 195, 74, 0.25);
}

[data-md-color-scheme="slate"] .pocket-card-section > strong {
  color: #a5d6a7;
}
