/* Context-independent workbook entry: the same component appears inside narrow
   guide chapters, wide results, and legacy reports. */
.wb-entry,
.wb-entry.wb-shell {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px);
  margin-block: 36px;
  background: linear-gradient(135deg, #f5f7f0, #edf3ee);
  border: 1px solid #d5dfd4;
  border-top: 3px solid #a79368;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgb(23 59 48 / 5%);
  color: #173b30;
}
.wb-entry > * { min-width: 0; }
.wb-entry .p-eyebrow {
  display: block;
  margin: 0 0 11px;
  color: #806b41;
  letter-spacing: .15em;
}
.wb-entry h2 {
  max-width: 26ch;
  margin: 0 0 10px;
  font: 400 clamp(25px, 2.7vw, 31px)/1.18 Georgia, serif !important;
  letter-spacing: -.035em;
  color: #173b30;
  text-wrap: balance;
}
.wb-entry p {
  max-width: 62ch;
  margin: 0 !important;
  color: #53675e !important;
  font-size: 14px !important;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.wb-entry > div:last-child:not(:first-child) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  padding-top: 18px;
  border-top: 1px solid #d6e0d7;
}
.wb-entry > div:last-child > p { flex: 1 1 220px; font-size: 12px !important; }
.wb-entry .p-button {
  flex: none;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 22px;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  background: #1b3d32;
  border: 1px solid #1b3d32;
  border-radius: 999px;
  color: #fff;
}
.wb-entry .p-button:hover { background: #315b49; border-color: #315b49; }
@media (max-width: 760px) {
  .wb-entry,
  .wb-entry.wb-shell { padding: 24px 22px; gap: 18px; }
  .wb-entry > div:last-child:not(:first-child) { align-items: stretch; }
  .wb-entry > div:last-child > .p-button { width: 100%; justify-content: center; }
}
