:root {
  --de-bg: #f7f6f2;
  --de-ink: #1c1b19;
  --de-muted: #6d6a64;
  --de-paper: #fffdf8;
  --de-line: #e2ddd3;
  --de-accent: #36c9c7;
  --de-accent-dark: #2bbab8;
  --de-green: #148d2b;
}

/* Neutralize global code border/background on editor code blocks */
.de-body pre.code-block code {
  border: none !important;
  background: none !important;
}

.de-sheet {
  background: var(--de-paper);
  border: 1px solid var(--de-line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  padding: 36px 42px;
  position: relative;
  overflow: visible;
}

.de-title {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  min-height: 66px;
  margin-bottom: 20px;
  font-weight: 600;
}
.de-title:empty::before {
  content: "Title";
  color: #b0aaa0;
}

.de-body {
  min-height: 58vh;
  font-size: 21px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  position: relative;
}
.de-body:empty::before {
  content: "Tell your story...";
  color: #b0aaa0;
  pointer-events: none;
}

.de-body [contenteditable="true"]:focus,
.de-body:focus { outline: none; }

.de-body > * {
  position: relative;
  margin: 0;
  padding: 8px 0;
  min-height: 1.5em;
}
.de-body > p { margin: 0; padding: 6px 0; }
.de-body > h1, .de-body > h2, .de-body > h3 {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 6px;
  padding: 4px 0;
}
.de-body > h1 { font-size: 38px; }
.de-body > h2 { font-size: 30px; }
.de-body > h3 { font-size: 24px; }
.de-body > .verse { font-style: oblique; border-left: 2px double #ccc; padding: 12px 16px; margin: 8px 0; }
.de-body > .center { text-align: center; padding: 8px 0; margin: 8px 0; }
.de-body > ul.checkbox { list-style: none; padding-left: 0; }
.de-body > ul.checkbox li { position: relative; font-weight: 500; }
.de-body > ul.checkbox li input[type="checkbox"] { margin-right: 6px; pointer-events: none; vertical-align: middle; }
.de-body > ul.checkbox li .cb-marker { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; margin-right: 6px; user-select: none; min-width: 1.5em; text-align: center; vertical-align: middle; }
.de-body > dl { margin: 8px 0; }
.de-body > dl dt { font-weight: 700; margin-top: 6px; }
.de-body > dl dd { margin-left: 20px; margin-bottom: 4px; }
.de-body .todo-block { border-left: 3px solid #c98b2f; padding-left: 12px; margin: 8px 0; }
.de-body .todo-block.done { border-left-color: #36c9c7; }
.de-body .todo-title { font-weight: 700; color: #c98b2f; }
.de-body .todo-block.done .todo-title { color: #36c9c7; text-decoration: line-through; }
.de-body > blockquote {
  border-left: 3px solid #36c9c7;
  padding-left: 20px;
  margin: 12px 0;
  color: #4f4a3f;
  font-style: italic;
}
.de-body > ol, .de-body > ul {
  padding-left: 28px;
  margin: 8px 0;
}
.de-body > ol li, .de-body > ul li { padding: 3px 0; }

.de-body > p.is-empty::before { content: none; }
.de-body > p.is-empty:first-child::before {
  content: "Tell your story...";
  color: #b0aaa0;
  pointer-events: none;
  position: absolute;
}
.de-body > h1.is-empty::before { content: "Heading 1"; color: #b0aaa0; pointer-events: none; position: absolute; }
.de-body > h2.is-empty::before { content: "Heading 2"; color: #b0aaa0; pointer-events: none; position: absolute; }
.de-body > h3.is-empty::before { content: "Heading 3"; color: #b0aaa0; pointer-events: none; position: absolute; }
.de-body > blockquote.is-empty::before { content: "Quote"; color: #b0aaa0; pointer-events: none; position: absolute; }

.de-plus-float {
  position: fixed;
  z-index: 30;
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #bdb6aa;
  background: #fff;
  color: #5c5750;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-left: 12px;
}
.de-plus-float.visible { display: inline-flex; }
.de-plus-float:hover { border-color: #36c9c7; color: #36c9c7; }

.de-slash-menu {
  position: fixed;
  z-index: 10000;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd4c6;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  padding: 8px 0;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.de-slash-menu.open { display: flex; }
.de-slash-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #27231f;
  font-size: 14px;
  text-align: left;
  width: 100%;
  border-radius: 0;
}
.de-slash-item:hover, .de-slash-item.active { background: #f4f1e8; }
.de-slash-item .de-slash-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2ddd3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}
.de-slash-item .de-slash-icon svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.de-slash-item .de-slash-label { font-weight: 600; }
.de-slash-item .de-slash-desc {
  font-size: 12px;
  color: #6d6a64;
  margin-left: auto;
  flex: 0 0 auto;
}

.de-insert-menu {
  position: fixed;
  z-index: 10001;
  display: none;
  flex-wrap: wrap;
  gap: 2px;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  max-width: 460px;
}
.de-insert-menu.open { display: flex; }
.de-insert-menu button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: #3a382f;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background .1s, color .1s;
}
.de-insert-menu button:hover { background: #f0ede5; color: #36c9c7; }
.de-insert-menu button svg { width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.de-insert-menu .de-insert-icon { font-size:14px; font-weight:700; min-width:18px; text-align:center; }
.de-insert-menu .de-insert-label { font-size:11px; }

.de-bubble {
  position: fixed;
  z-index: 9999;
  display: none;
  gap: 2px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
}
.de-bubble button {
  border: none;
  background: transparent;
  color: #3a382f;
  border-radius: 6px;
  padding: 6px 9px;
  font-weight: 600;
  font-size: 13px;
  min-width: 30px;
  cursor: pointer;
  transition: background .1s, color .1s;
}
.de-bubble button:hover { background: #f0ede5; color: #1f1f1b; }
.de-bubble button:active { background: #e8e3d4; }
.de-bubble .de-soft { color: #36c9c7; }
.de-bubble .de-hl { color: #c98b2f; }
.de-bubble input[type="color"] {
  width: 28px;
  height: 28px;
  border: 2px solid #e2ddd3;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  background: #fff;
  position: relative;
}
.de-bubble input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.de-bubble input[type="color"]::-webkit-color-swatch { border: none; border-radius: 50%; }
.de-bubble input[type="color"]::-moz-color-swatch { border: none; border-radius: 50%; }
.de-bubble .de-color-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  position: relative;
}
.de-bubble .de-color-label {
  font-size: 8px;
  font-weight: 700;
  color: #9c968a;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.02em;
}
.de-bubble:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 1px solid #e2ddd3;
  border-bottom: 1px solid #e2ddd3;
  transform: translateX(-50%) rotate(45deg);
}

.de-body pre.code-block {
  border: 1px solid #e6e1d5;
  border-radius: 10px;
  padding: 16px;
  padding-top: 34px;
  overflow: auto;
  font-size: 16px;
  line-height: 1.5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  white-space: pre;
  position: relative;
  tab-size: 2;
  -moz-tab-size: 2;
  outline: none;
}
.de-body pre.code-block[data-bg="light"] {
  background: #f5f2f0;
  color: #27231f;
  border-color: #e6e1d5;
}
.de-body pre.code-block[data-bg="dark"] {
  background: #25232f;
  color: #f3f1f7;
  border-color: transparent;
}
.de-body pre.code-block:before {
  content: attr(data-lang);
  position: absolute;
  top: 38px;
  right: 10px;
  font-size: 11px;
  text-transform: uppercase;
  color: #36c9c7;
  letter-spacing: 0.04em;
  opacity: 0.7;
  pointer-events: none;
}
.de-body pre.code-block[data-bg="dark"]:before { color: #a9a3bd; }
.de-body pre.code-block:hover { cursor: text; }
.de-body pre.code-block:focus-within { outline: none; }
.de-code-block-actions {
  position: absolute;
  top: 6px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 5;
  pointer-events: auto;
}
.de-body pre.code-block:hover .de-code-block-actions,
.de-code-block-actions:focus-within { opacity: 1; }
.de-code-block-actions select,
.de-code-block-actions button {
  height: 24px;
  border-radius: 6px;
  border: 1px solid #d9d2c5;
  background: #fff;
  color: #5c5750;
  padding: 0 6px;
  font-size: 12px;
  cursor: pointer;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.de-code-block-actions select { min-width: 90px; appearance: auto; }
.de-code-block-actions .de-code-bg-toggle { margin-left: auto; min-width: 28px; padding: 0 4px; font-size: 14px; line-height: 1; }
.de-body pre.code-block[data-bg="dark"] .de-code-block-actions select,
.de-body pre.code-block[data-bg="dark"] .de-code-block-actions button {
  border-color: #4a455a;
  background: #2a2738;
  color: #c9c3db;
}

.de-body pre.code-block[class*="syntax-theme-"][data-bg="light"],
.de-body pre.code-block[class*="syntax-theme-"][data-bg="light"] code[class*="language-"] {
  background: #f5f2f0 !important;
  color: #27231f;
}
.de-body pre.code-block[class*="syntax-theme-"][data-bg="dark"],
.de-body pre.code-block[class*="syntax-theme-"][data-bg="dark"] code[class*="language-"] {
  background: #25232f !important;
  color: #f3f1f7;
}
/* Strip shadows, outlines, and backgrounds from tokens in dark mode code blocks */
.de-body pre.code-block[data-bg="dark"] .token,
.de-body pre.code-block[data-bg="dark"] .token * {
  text-shadow: none !important;
  box-shadow: none !important;
  background: none !important;
  outline: none !important;
}
.de-body pre.code-block[data-bg="dark"] .token.entity,
.de-body pre.code-block[data-bg="dark"] .token.operator,
.de-body pre.code-block[data-bg="dark"] .token.url {
  background: none !important;
}

.de-body figure.image-block,
.de-body figure.embed-card,
.de-body figure.video-embed {
  margin: 16px 0;
  border: 1px solid #d9d2c5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.de-body figure.image-block {
  display: block;
  width: 760px;
  max-width: 100%;
  min-width: 160px;
  height: 420px;
  min-height: 120px;
  margin: 16px 0;
  border: 2px dashed transparent;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  line-height: 0;
  position: relative;
  transition: border-color .15s ease, box-shadow .15s ease;
  overflow: hidden;
  box-sizing: border-box;
}
.de-body figure.image-block.is-selected,
.de-body figure.image-block:focus,
.de-body figure.image-block:focus-within {
  border-color: #36c9c7;
  box-shadow: 0 0 0 3px rgba(54, 201, 199, 0.12);
  outline: none;
}
.de-body figure.image-block img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  pointer-events: none;
  user-select: none;
  object-fit: cover;
  object-position: center;
}

.de-body figure.image-block.fit-cover img { object-fit: cover; }
.de-body figure.image-block.fit-contain img { object-fit: contain; }
.de-body figure.image-block.fit-fill img { object-fit: fill; }
.de-body figure.image-block.fit-scale-down img { object-fit: scale-down; }
.de-body figure.image-block.fit-none img { object-fit: none; }
.de-body figure.image-block.pos-top img { object-position: top; }
.de-body figure.image-block.pos-top-right img { object-position: top right; }
.de-body figure.image-block.pos-right img { object-position: right; }
.de-body figure.image-block.pos-bottom-right img { object-position: bottom right; }
.de-body figure.image-block.pos-bottom img { object-position: bottom; }
.de-body figure.image-block.pos-bottom-left img { object-position: bottom left; }
.de-body figure.image-block.pos-left img { object-position: left; }
.de-body figure.image-block.pos-top-left img { object-position: top left; }
.de-body figure.image-block.pos-center img { object-position: center; }

.de-body figure.image-block.filter-none img { filter: none; }
.de-body figure.image-block.filter-grayscale img { filter: grayscale(100%); }
.de-body figure.image-block.filter-sepia img { filter: sepia(100%); }
.de-body figure.image-block.filter-invert img { filter: invert(100%); }
.de-body figure.image-block.filter-brightness img { filter: brightness(130%); }
.de-body figure.image-block.filter-contrast img { filter: contrast(130%); }
.de-body figure.image-block.filter-saturate img { filter: saturate(150%); }
.de-body figure.image-block.filter-hue-90 img { filter: hue-rotate(90deg); }
.de-body figure.image-block.filter-hue-180 img { filter: hue-rotate(180deg); }
.de-body figure.image-block.filter-hue-270 img { filter: hue-rotate(270deg); }
.de-body figure.image-block.filter-blur img { filter: blur(3px); }
.de-body figure.image-block.filter-opacity img { filter: opacity(70%); }
.de-body figure.image-block.filter-drop-shadow img { filter: drop-shadow(4px 4px 6px rgba(0,0,0,0.35)); }
.de-body figure.image-block.filter-warm img { filter: sepia(25%) saturate(120%) contrast(105%); }
.de-body figure.image-block.filter-cool img { filter: hue-rotate(180deg) saturate(90%) brightness(105%); }
.de-body figure.image-block.filter-vintage img { filter: sepia(40%) contrast(85%) brightness(90%) saturate(85%); }
.de-body figure.image-block.filter-blackwhite img { filter: grayscale(100%) contrast(120%); }

.de-body figure.image-block.align-left { margin-left: 0; margin-right: auto; }
.de-body figure.image-block.align-center { margin-left: auto; margin-right: auto; }
.de-body figure.image-block.align-right { margin-left: auto; margin-right: 0; }
.de-body figure.image-block figcaption {
  padding: 10px 14px;
  font-size: 15px;
  color: #5f5a54;
  border-top: 1px solid #eee6d8;
}
.de-image-resize-handle {
  position: absolute;
  pointer-events: auto;
  z-index: 5;
  background: rgba(54,201,199,0.85);
  border-radius: 2px;
}
.de-image-resize-handle[data-dir="se"] {
  right: 2px;
  bottom: 2px;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
  background: linear-gradient(135deg, transparent 50%, rgba(54,201,199,0.85) 50%);
  border-radius: 0 0 5px 0;
}
.de-image-resize-handle[data-dir="e"] {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 40px;
  cursor: ew-resize;
}
.de-image-resize-handle[data-dir="s"] {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 6px;
  cursor: ns-resize;
}
.de-body > .is-selected {
  outline: 2px dashed #36c9c7;
  outline-offset: 2px;
}
.de-block-tools {
  position: fixed;
  z-index: 10002;
  display: none;
  gap: 2px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
}
.de-block-tools.open { display: inline-flex; }
.de-block-tools button {
  border: none;
  background: transparent;
  color: #3a382f;
  border-radius: 6px;
  padding: 6px 9px;
  font-weight: 600;
  font-size: 13px;
  min-width: 30px;
  cursor: pointer;
  transition: background .1s, color .1s;
}
.de-block-tools button:hover { background: #f0ede5; color: #1f1f1b; }
.de-block-tools button.active { background: #e0f5f4; color: #36c9c7; }
.de-block-tools .de-sep { width: 1px; height: 20px; background: #e2ddd3; margin: 0 2px; }
.de-block-tools select {
  border: 1px solid #e2ddd3;
  background: #fffdf8;
  color: #3a382f;
  border-radius: 6px;
  padding: 5px 7px;
  font-weight: 600;
  font-size: 12px;
  min-width: 28px;
  cursor: pointer;
  appearance: auto;
}
.de-block-tools select:hover { background: #f4f1e8; }
.de-image-tools {
  position: fixed;
  z-index: 10003;
  display: none;
  gap: 2px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
  flex-wrap: nowrap;
  max-width: 720px;
}
.de-image-tools.open { display: inline-flex; }
.de-image-tools button,
.de-image-tools select {
  border: 1px solid #ede8db;
  background: #fffdf8;
  color: #3a382f;
  border-radius: 6px;
  padding: 5px 8px;
  font-weight: 600;
  font-size: 12px;
  min-width: 28px;
  cursor: pointer;
  transition: background .1s, color .1s;
}
.de-image-tools button:hover,
.de-image-tools select:hover { background: #f0ede5; color: #36c9c7; }
.de-image-tools .de-sep { width: 1px; height: 20px; background: #e2ddd3; margin: 0 2px; }
.de-image-tools select { appearance: auto; }
.de-multi-tools {
  position: fixed;
  z-index: 10004;
  display: none;
  gap: 2px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
}
.de-multi-tools.open { display: inline-flex; }
.de-multi-tools button {
  border: none;
  background: transparent;
  color: #3a382f;
  border-radius: 6px;
  padding: 6px 9px;
  font-weight: 600;
  font-size: 13px;
  min-width: 30px;
  cursor: pointer;
  transition: background .1s, color .1s;
}
.de-multi-tools button:hover { background: #f0ede5; color: #1f1f1b; }
.de-body figure.video-embed iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  background: #111;
}

.de-body figure.table-block {
  margin: 16px 0;
  overflow-x: auto;
}
.de-body figure.table-block.is-selected {
  outline: 2px dashed #36c9c7;
  outline-offset: 2px;
}
.de-body figure.table-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  line-height: 1.4;
}
.de-body figure.table-block td,
.de-body figure.table-block th {
  border: 1px solid #d9d2c5;
  padding: 8px 12px;
  min-width: 80px;
  background: #fff;
  outline: none;
}
.de-body figure.table-block td:focus,
.de-body figure.table-block th:focus {
  background: #faf8f3;
}

.de-body .math {
  display: inline;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-style: italic;
  color: #4f4a3f;
  padding: 0 2px;
}
.de-body div.math {
  display: block;
  margin: 12px 0;
  padding: 12px 16px;
  background: #f4f1e8;
  border-radius: 8px;
  text-align: center;
}

.de-table-tools {
  position: fixed;
  z-index: 10005;
  display: none;
  gap: 2px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 10px;
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
}
.de-table-tools.open { display: inline-flex; }
.de-table-tools button {
  border: none;
  background: transparent;
  color: #3a382f;
  border-radius: 6px;
  padding: 6px 9px;
  font-weight: 600;
  font-size: 13px;
  min-width: 30px;
  cursor: pointer;
  transition: background .1s, color .1s;
}
.de-table-tools button:hover { background: #f0ede5; color: #1f1f1b; }

.de-embed-card-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1fr 220px;
  min-height: 190px;
}
.de-embed-card-copy {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.de-embed-card-copy h4 { margin: 0; font-size: 20px; line-height: 1.3; }
.de-embed-card-copy p { margin: 0; color: #57534f; font-size: 17px; line-height: 1.45; }
.de-embed-card-copy small { color: #7a756d; font-size: 15px; }

.de-body mark {
  color: #1a1a1a;
  padding: 0.02em 0.12em;
  border-radius: 0.18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.de-body.de-reading-highlight p,
.de-body.de-reading-highlight div,
.de-body.de-reading-highlight li {
  background: var(--de-reading-hl, #e6f1e8);
  display: inline;
  padding: 0.01em 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.de-body.de-reading-highlight br { line-height: 1.8; }

.de-input-modal[hidden] { display: none; }
.de-input-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(16,15,14,0.45);
  display: grid;
  place-items: center;
  padding: 12px;
}
.de-input-card {
  width: min(540px, calc(100vw - 24px));
  border-radius: 14px;
  border: 1px solid var(--de-line);
  background: #fff;
  box-shadow: 0 22px 54px rgba(0,0,0,0.28);
  padding: 16px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.de-input-title { margin: 0 0 10px; font-size: 16px; line-height: 1.25; color: #27231f; }
.de-input-label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600; color: #6b655b; }
.de-input-field {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--de-line);
  border-radius: 10px;
  background: #fff;
  color: #27231f;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
}
.de-input-actions { margin-top: 12px; display: flex; justify-content: flex-end; gap: 8px; }
.de-input-actions .de-btn {
  border: 1px solid #d8d0c3;
  background: #fff;
  color: #4f4a3f;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.de-input-actions .de-btn.primary { border-color: #36c9c7; color: #0f5f4f; }

@media (max-width: 980px) {
  .de-sheet { padding: 28px 24px; }
  .de-embed-card-link { grid-template-columns: 1fr; }
  .de-body figure.video-embed iframe { min-height: 260px; }
}
