.teaching-guide-button.ant-btn {
  color: var(--atelier-ink, #1c1914) !important;
  font-weight: 700;
}
.teaching-guide-panel {
  position: fixed;
  z-index: 26;
  width: 460px;
  max-width: calc(100vw - 24px);
  max-height: min(560px, calc(100vh - var(--atelier-topbar-height, 84px) - 72px));
  overflow: auto;
  padding: 16px;
  color: var(--atelier-ink, #1c1914);
  background: var(--atelier-paper, #fffcf6);
  border: 1px solid var(--atelier-line-soft, #e6dfd2);
  border-radius: 14px;
}
.teaching-guide-head,
.teaching-guide-detail-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.teaching-guide-head b,
.teaching-guide-detail-bar b { font-size: 15px; font-weight: 700; }
.teaching-guide-head small,
.teaching-guide-note { color: var(--atelier-muted, #6b6458); font-size: 13px; }
.teaching-guide-back,
.teaching-guide-actions button {
  appearance: none;
  border: 1px solid var(--atelier-line-soft, #e6dfd2);
  border-radius: 8px;
  background: transparent;
  color: var(--atelier-ink, #1c1914);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
}
.teaching-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.teaching-guide-thumb {
  appearance: none;
  border: 1px solid var(--atelier-line-soft, #e6dfd2);
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.teaching-guide-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  background: #efe9dd;
  cursor: zoom-in;
}
.teaching-guide-thumb span {
  display: block;
  margin-top: 4px;
  color: var(--atelier-muted, #6b6458);
  font-size: 11px;
  font-weight: 700;
}
.teaching-guide-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.teaching-guide-shots figure { margin: 0; min-width: 0; }
.teaching-guide-shots img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: contain;
  background: #efe9dd;
  border: 1px solid var(--atelier-line-soft, #e6dfd2);
  border-radius: 6px;
  cursor: zoom-in;
}
.teaching-guide-shots figcaption {
  margin-top: 4px;
  color: var(--atelier-muted, #6b6458);
  font-size: 11px;
}
.teaching-guide-meta,
.teaching-guide-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.teaching-guide-meta span,
.teaching-guide-tags span {
  border: 1px solid var(--atelier-line-soft, #e6dfd2);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  background: #fff;
}
.teaching-guide-tags span { background: #fff7d6; border-color: #f5c24a; color: #7c4a03; }
.teaching-guide-note { margin: 0 0 8px; }
.teaching-guide-brand {
  margin: 0 0 8px;
  padding: 8px 10px;
  background: #fff7d6;
  border: 1px solid #f5c24a;
  border-radius: 8px;
}
.teaching-guide-brand small { display: block; color: #7c4a03; font-size: 11px; margin-bottom: 4px; }
.teaching-guide-prompt {
  padding: 12px 14px;
  border: 1px solid var(--atelier-line-soft, #e6dfd2);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  line-height: 1.75;
}
.teaching-guide-prompt mark {
  background: #fde68a;
  color: #7c4a03;
  border-radius: 3px;
  padding: 0 2px;
}
.teaching-guide-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.teaching-guide-actions button:not(.ghost) {
  background: var(--atelier-ink, #1c1914);
  color: #fff;
  border-color: var(--atelier-ink, #1c1914);
}
.teaching-guide-actions em {
  color: #166534;
  font-style: normal;
  font-size: 12px;
}
.teaching-guide-zoom {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 253, 247, .88);
}
.teaching-guide-zoom img {
  max-width: min(720px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--atelier-line-soft, #e6dfd2);
  border-radius: 12px;
}
@media (max-width: 600px) {
  .teaching-guide-button { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
}
