/* AUTO-GENERATED by sync-css.js — do not edit directly. */
/* Edit shared-css/ sources or _*-local.css files, then run: node sync-css.js */

/* ============================================
   Styles for rendered Notion block content
   ============================================ */

.notion-content {
  line-height: 1.7;
  max-width: 46rem;
}

.notion-content h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.notion-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}

.notion-content h4 {
  margin-top: 1.2em;
  margin-bottom: 0.3em;
}

.notion-content p {
  margin-bottom: 1em;
}

.notion-content ul,
.notion-content ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

.notion-content li {
  margin-bottom: 0.3em;
}

.notion-content li > ul,
.notion-content li > ol {
  margin-top: 0.3em;
  margin-bottom: 0;
}

.notion-content blockquote {
  margin: 1.5em 0;
  padding: 0.75em 1.25em;
  border-left: 3px solid var(--color-brand);
  background: var(--color-surface);
  border-radius: 0 6px 6px 0;
}

.notion-content pre {
  margin: 1.5em 0;
  padding: 1em 1.25em;
  background: var(--fx-base-900, #282726);
  color: var(--fx-base-100, #E6E4D9);
  border-radius: 6px;
  overflow-x: auto;
  font-size: var(--wb-p3);
  line-height: 1.5;
}

html.dark .notion-content pre {
  background: var(--fx-base-800);
}

.notion-content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88em;
  background: var(--fx-base-100);
  padding: 0.15em 0.35em;
  border-radius: 3px;
}

html.dark .notion-content code {
  background: var(--fx-base-800);
}

.notion-content pre code {
  background: transparent;
  padding: 0;
}

.notion-content hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid var(--color-border);
}

/* Callouts */
.notion-callout {
  display: flex;
  gap: 0.75em;
  margin: 1.5em 0;
  padding: 1em 1.25em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.notion-callout__icon {
  font-size: 1.3em;
  flex-shrink: 0;
  line-height: 1.4;
}

.notion-callout__content p:last-child {
  margin-bottom: 0;
}

/* Toggles */
.notion-toggle {
  margin: 0.75em 0;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.notion-toggle > summary {
  padding: 0.75em 1em;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-sans);
  background: var(--color-surface);
  list-style: none;
}

.notion-toggle > summary::-webkit-details-marker {
  display: none;
}

.notion-toggle > summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 0.5em;
  transition: transform 0.15s ease;
}

.notion-toggle[open] > summary::before {
  transform: rotate(90deg);
}

.notion-toggle__content {
  padding: 0 1em 0.75em;
}

/* Images */
.notion-image {
  margin: 1.5em 0;
}

.notion-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.notion-image figcaption {
  margin-top: 0.5em;
  font-size: var(--wb-p3);
  color: var(--color-text-muted);
  text-align: center;
}

/* Tables */
.notion-table-wrapper {
  margin: 1.5em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.notion-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--wb-p3);
}

.notion-table th,
.notion-table td {
  padding: 0.6em 0.8em;
  border: 1px solid var(--color-border);
  text-align: left;
}

.notion-table th {
  background: var(--color-surface);
  font-family: var(--font-sans);
  font-weight: 700;
}

.notion-table tr:nth-child(even) td {
  background: var(--color-surface-hover);
}

/* Columns */
.notion-columns {
  display: flex;
  gap: 1.5em;
  margin: 1em 0;
}

.notion-column {
  flex: 1;
  min-width: 0;
}

@media (max-width: 640px) {
  .notion-columns {
    flex-direction: column;
    gap: 0;
  }
}

/* Bookmarks */
.notion-bookmark {
  display: block;
  margin: 1em 0;
  padding: 0.75em 1em;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.notion-bookmark:hover {
  border-color: var(--color-link);
}

.notion-bookmark__url {
  display: block;
  font-size: var(--wb-p3);
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notion-bookmark__caption {
  display: block;
  margin-top: 0.25em;
  color: var(--color-text);
}

/* Embed / PDF */
.notion-embed {
  width: 100%;
  min-height: 400px;
  margin: 1.5em 0;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.notion-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 1em 0;
  padding: 0.6em 1em;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--color-text);
  transition: border-color 0.15s ease;
}

.notion-pdf-link:hover {
  border-color: var(--color-link);
  color: var(--color-link);
}

.notion-pdf-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  background: var(--fx-red-600);
  color: white;
  border-radius: 4px;
  font-size: 0.7em;
  font-weight: 700;
  font-family: var(--font-sans);
}

html.dark .notion-pdf-link__icon {
  background: var(--fx-red-400);
}

/* To-do */
.notion-todo-list {
  list-style: none;
  padding-left: 0;
}

.notion-todo {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
  margin-bottom: 0.3em;
}

.notion-todo--checked {
  text-decoration: line-through;
  color: var(--color-text-muted);
}

.notion-todo__checkbox {
  flex-shrink: 0;
}

/* Notion color annotations */
.notion-color-gray { color: var(--fx-base-500); }
.notion-color-brown { color: var(--fx-orange-600); }
.notion-color-orange { color: var(--fx-orange-400); }
.notion-color-yellow { color: var(--fx-yellow-600); }
.notion-color-green { color: var(--fx-green-600); }
.notion-color-blue { color: var(--fx-blue-500); }
.notion-color-purple { color: var(--fx-purple-600); }
.notion-color-pink { color: var(--fx-magenta-400); }
.notion-color-red { color: var(--fx-red-600); }

.notion-color-gray_background { background: var(--fx-base-100); padding: 0.1em 0.3em; border-radius: 3px; }
.notion-color-brown_background { background: var(--fx-orange-50); padding: 0.1em 0.3em; border-radius: 3px; }
.notion-color-orange_background { background: var(--fx-orange-100); padding: 0.1em 0.3em; border-radius: 3px; }
.notion-color-yellow_background { background: var(--fx-yellow-50); padding: 0.1em 0.3em; border-radius: 3px; }
.notion-color-green_background { background: var(--fx-green-50); padding: 0.1em 0.3em; border-radius: 3px; }
.notion-color-blue_background { background: var(--fx-blue-50); padding: 0.1em 0.3em; border-radius: 3px; }
.notion-color-purple_background { background: var(--fx-purple-50); padding: 0.1em 0.3em; border-radius: 3px; }
.notion-color-pink_background { background: var(--fx-magenta-50); padding: 0.1em 0.3em; border-radius: 3px; }
.notion-color-red_background { background: var(--fx-red-50); padding: 0.1em 0.3em; border-radius: 3px; }

html.dark .notion-color-gray { color: var(--fx-base-400); }
html.dark .notion-color-brown { color: var(--fx-orange-400); }
html.dark .notion-color-green { color: var(--fx-green-400); }
html.dark .notion-color-blue { color: var(--fx-blue-400); }
html.dark .notion-color-purple { color: var(--fx-purple-400); }
html.dark .notion-color-red { color: var(--fx-red-400); }

html.dark .notion-color-gray_background { background: var(--fx-base-850); }
html.dark .notion-color-brown_background { background: var(--fx-orange-900); }
html.dark .notion-color-orange_background { background: var(--fx-orange-900); }
html.dark .notion-color-yellow_background { background: var(--fx-yellow-900); }
html.dark .notion-color-green_background { background: var(--fx-green-900); }
html.dark .notion-color-blue_background { background: var(--fx-blue-900); }
html.dark .notion-color-purple_background { background: var(--fx-purple-900); }
html.dark .notion-color-pink_background { background: var(--fx-magenta-900); }
html.dark .notion-color-red_background { background: var(--fx-red-900); }

/* ============================================
   Element Vocabulary: Callout Variants
   Icon-based semantic callout styles.
   ============================================ */

/* Insight / key takeaway (💡) */
.notion-callout--insight {
  background: var(--fx-yellow-50, #FBF3DB);
  border-left: 3px solid var(--fx-yellow-400, #DFB431);
}

html.dark .notion-callout--insight {
  background: var(--fx-base-900);
  border-left-color: var(--fx-yellow-600, #AD8301);
}

/* Warning / caveat (⚠️) */
.notion-callout--warning {
  background: var(--fx-orange-50, #FFF0E0);
  border-left: 3px solid var(--fx-orange-400, #DA702C);
}

html.dark .notion-callout--warning {
  background: var(--fx-base-900);
  border-left-color: var(--fx-orange-600, #BC5215);
}

/* Sidebar content (📌) — pull-quote / aside */
.notion-callout--sidebar {
  background: var(--fx-base-100, #E6E4D9);
  border-left: 3px solid var(--fx-base-500, #878580);
  font-style: italic;
}

html.dark .notion-callout--sidebar {
  background: var(--fx-base-900);
  border-left-color: var(--fx-base-500);
}

/* Quote / testimonial (💬) */
.notion-callout--quote {
  background: transparent;
  border: none;
  border-left: 3px solid var(--fx-blue-600, #205EA6);
  padding-left: 1.5em;
  font-size: var(--wb-p1);
  font-style: italic;
}

.notion-callout--quote .notion-callout__icon {
  display: none;
}

html.dark .notion-callout--quote {
  border-left-color: var(--fx-blue-400, #4385BE);
}

/* Data callout / stat (📊) */
.notion-callout--data {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-align: center;
  font-size: var(--wb-p1);
  font-weight: 700;
  font-family: var(--font-sans);
}

.notion-callout--data .notion-callout__content {
  font-variant-numeric: tabular-nums;
}

/* Call to action (➡️) */
.notion-callout--cta {
  background: transparent;
  border: none;
  padding: 0.5em 0;
}

.notion-callout--cta .notion-callout__icon {
  display: none;
}

.notion-callout--cta .notion-callout__content a {
  display: inline-block;
  font-family: var(--font-sans-med, var(--font-sans));
  font-weight: 500;
  color: var(--fx-orange-600, #BC5215);
  text-decoration: none;
  padding: 0.4em 1em;
  border: 2px solid var(--fx-orange-600, #BC5215);
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.notion-callout--cta .notion-callout__content a:hover {
  background: var(--fx-orange-600, #BC5215);
  color: white;
}

html.dark .notion-callout--cta .notion-callout__content a {
  color: var(--fx-orange-400, #DA702C);
  border-color: var(--fx-orange-400, #DA702C);
}

html.dark .notion-callout--cta .notion-callout__content a:hover {
  background: var(--fx-orange-400, #DA702C);
  color: var(--fx-base-950, #1C1B1A);
}

/* Default callout (unrecognized icon) */
.notion-callout--default {
  /* Inherits base .notion-callout styles — no changes needed */
}

/* Video */
.notion-video {
  margin: 1.5em 0;
}

.notion-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 6px;
}

.notion-video video {
  max-width: 100%;
  border-radius: 6px;
}
