:root {
  color-scheme: light;
  --site-page-background: #cfcfb9;
  --site-text-color: #1f1f1c;
  --site-heading-color: #111111;
  --site-link-color: #4a4a44;
  --site-button-background: #111111;
  --site-button-text-color: #f7f7f5;
  --site-input-background: #ffffff;
  --site-input-border-color: #cfcfc8;
  --site-input-text-color: #1f1f1c;
  --site-panel-background: #ecece8;
}

body {
  background: var(--site-page-background);
  color: var(--site-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--site-heading-color);
}

a {
  color: var(--site-link-color);
}

button {
  border: 0;
  border-radius: 999px;
  background: var(--site-button-background);
  color: var(--site-button-text-color);
  padding: 0.75rem 1.1rem;
}

input,
textarea,
select {
  border: 1px solid var(--site-input-border-color);
  border-radius: 12px;
  background: var(--site-input-background);
  color: var(--site-input-text-color);
  padding: 0.8rem 0.9rem;
}

.theme-panel {
  background: var(--site-panel-background);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

:root {
  --page-bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
  --radius: 14px;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section-shell {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section-shell-header {
  padding-block: 1rem;
}

.site-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav strong {
  font-size: 1.1rem;
}

.site-nav div {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-shell-main {
  flex: 1;
  padding-block: 2rem 4rem;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.content-block > *:first-child {
  margin-top: 0;
}

.content-block > *:last-child {
  margin-bottom: 0;
}

p {
  margin: 0 0 1rem;
}

ol,
ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

li {
  margin-block: 0.4rem;
}

/* Handles Quill-style bullet lists that are output as <ol> */
li[data-list="bullet"] {
  list-style-type: disc;
}

.ql-ui {
  display: none;
}

@media (max-width: 640px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav div {
    gap: 0.75rem;
  }
}
.library-section { padding: 2rem 0; } .library-section hr { border: 0; border-top: 1px solid rgba(0,0,0,0.12); margin-bottom: 1.5rem; }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.library-card { border: 1px solid rgba(0,0,0,0.12); border-radius: 16px; padding: 1rem; background: rgba(255,255,255,0.72); }
.block-download {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border: 2px solid currentColor;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.block-download__copy {
  display: grid;
  gap: 0.35rem;
}

.block-download__copy h2,
.block-download__copy p,
.block-download__status {
  margin: 0;
}

.block-download__button {
  justify-self: start;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: #ff813f;
  color: #1f1f1c;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.block-download__button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.block-download__status {
  min-height: 1.4em;
  font-size: 0.9rem;
}
