/* Ported from Electron: TreeNodeCard.tsx, tree-canvas-layout.ts and theme.css.
   Native 230×170 cards, 72px gaps, three metric columns and the light palette. */
.desktop-demo {
  --canvas: oklch(1 0 0);
  --desktop-ink: oklch(0.3211 0 0);
  --desktop-accent: oklch(0.55 0.1 250);
  --desktop-border: color-mix(in oklch, var(--desktop-ink) 14%, var(--canvas));
  --desktop-sidebar: color-mix(
    in oklch,
    var(--desktop-ink) 2.2%,
    var(--canvas)
  );
  position: relative;
  background: var(--canvas);
  color: var(--desktop-ink);
  border: 1px solid var(--desktop-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 60px -22px #21293826;
  isolation: isolate;
}
.desktop-demo button {
  color: inherit;
}
.desktop-demo .demo-topbar {
  min-height: 48px;
  padding: 10px 17px;
  background: var(--desktop-sidebar);
  border-color: var(--desktop-border);
  gap: 14px;
}
.desktop-demo .workspace-name {
  font-size: 12px;
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.desktop-window-dots {
  display: flex;
  gap: 6px;
}
.desktop-window-dots i {
  width: 9px;
  height: 9px;
  border: 1px solid #0001;
  background: #e8e8e8;
  border-radius: 50%;
}
.desktop-window-dots i:first-child {
  background: #f27970;
}
.desktop-window-dots i:nth-child(2) {
  background: #e6bf59;
}
.desktop-window-dots i:last-child {
  background: #70be7a;
}
.desktop-demo .demo-workspace {
  display: grid;
  grid-template-columns: 54% 46%;
  height: 640px;
  min-height: 0;
}
.desktop-demo .conversation-pane {
  height: 100%;
  min-height: 0;
  min-width: 0;
  background: var(--canvas);
  border-right: 1px solid var(--desktop-border);
  display: flex;
  flex-direction: column;
}
.desktop-task-header,
.desktop-tree-header {
  height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--desktop-border);
  font-size: 11px;
}
.desktop-task-header > span:last-child,
.desktop-tree-header > span:last-child {
  color: #737373;
  font-size: 11px;
}
.desktop-task-title {
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.desktop-demo .conversation-scroll {
  padding: 24px 25px 90px;
  scrollbar-color: #ccc transparent;
  overscroll-behavior: contain;
  overflow: auto;
  flex: 1;
  min-height: 0;
  font-size: 15px;
}
.desktop-user-message {
  max-width: 90%;
  width: fit-content;
  margin: 0 0 30px auto;
  padding: 12px 16px;
  border-radius: 18px;
  background: #f0f0f0;
}
.desktop-user-message p {
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.desktop-response {
  min-width: 0;
}
.response-prose {
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.response-prose p {
  line-height: 1.7;
  margin: 0 0 18px;
}
.response-prose h1,
.response-prose h2,
.response-prose h3 {
  font-size: 19px;
  line-height: 1.5;
  margin: 24px 0 15px;
}
.response-prose ul,
.response-prose ol {
  padding-left: 22px;
  margin: 16px 0;
}
.response-prose li {
  margin-bottom: 9px;
  line-height: 1.7;
}
.response-prose li p {
  margin: 0;
}
.response-prose a {
  color: #40698f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.response-prose pre {
  background: #f6f6f6;
  border: 1px solid #ededed;
  border-radius: 14px;
  padding: 15px 17px;
  overflow: auto;
  font: 12px/1.65 var(--mono);
  white-space: pre;
}
.response-prose code {
  font-family: var(--mono);
  font-size: 0.88em;
}
.response-prose .response-table {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0;
}
.response-prose table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}
.response-prose th,
.response-prose td {
  padding: 11px 9px;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
  word-break: normal;
}
.response-prose th {
  font-weight: 600;
}
.response-copy {
  padding: 5px 8px;
  background: none;
  font-size: 11px;
  color: #777 !important;
}
.desktop-working {
  font-size: 13px;
  color: #666;
  padding-block: 10px;
}
.desktop-working > .runtime-spinner {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.desktop-demo .working-lines {
  max-width: 90%;
  margin-top: 22px;
}
.desktop-demo .working-lines i {
  background: linear-gradient(90deg, #f1f1f1, #fafafa, #f1f1f1);
}
.desktop-demo .composer {
  flex-shrink: 0;
  margin: 0;
  padding: 12px 18px 10px;
  box-shadow: none;
  border: 0;
  background: var(--canvas);
  border-radius: 0;
}
.desktop-input {
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  padding: 14px 15px 10px;
  box-shadow: 0 2px 9px #00000005;
}
.desktop-input > p {
  font-size: 13px;
  line-height: 1.65;
  min-height: 24px;
  max-height: 130px;
  overflow: auto;
}
.input-placeholder {
  color: #777;
}
.desktop-input-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 11px;
}
.desktop-input-bottom > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reasoning-label {
  color: #777;
}
.desktop-send,
.desktop-send-placeholder {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  background: #292929;
  color: white !important;
  flex-shrink: 0;
  position: relative;
}
.desktop-send-placeholder {
  background: #e8e8e8;
  color: #888 !important;
}
.desktop-composer-context {
  display: flex;
  gap: 12px;
  padding: 10px 3px 0;
  font-size: 10px;
  color: #727272;
  flex-wrap: wrap;
}
.desktop-composer-context > span:last-child {
  margin-left: auto;
}
.desktop-demo .tree-pane {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--desktop-sidebar);
  padding: 0;
}
.desktop-demo .tree-map,
.desktop-demo[data-stage] .tree-map {
  position: relative;
  flex: 1;
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--desktop-sidebar);
  touch-action: none;
  border: 0;
  border-radius: 0;
}
#tree-world {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
}
#tree-nodes {
  position: absolute;
  inset: 0;
}
.desktop-demo .tree-wires {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.desktop-demo .tree-wires path {
  stroke: #b8c0c7;
  stroke-width: 1.6;
  fill: none;
}
.desktop-demo .tree-wires .native-wire-active {
  stroke: var(--desktop-accent);
  stroke-width: 2;
}
.desktop-demo .tree-wires .native-reference {
  stroke: #4a97be;
  stroke-dasharray: 6 5;
  stroke-width: 2;
  animation: reference-flow 1.8s linear infinite;
}
.desktop-node {
  position: absolute;
  width: 230px;
  height: 170px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid var(--desktop-border);
  background: var(--canvas);
  box-shadow:
    0 0 0 1px #00000005,
    0 4px 12px #00000012;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.desktop-node.is-selected {
  border-color: var(--desktop-accent);
  outline: 2px solid color-mix(in oklch, var(--desktop-accent) 70%, transparent);
  outline-offset: 3px;
  box-shadow:
    inset 0 0 0 1px var(--desktop-accent),
    0 8px 24px #54729321;
  z-index: 2;
}
.desktop-node:hover {
  border-color: var(--desktop-accent);
  z-index: 3;
}
.desktop-node-open {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  gap: 5px;
  text-align: left;
  background: none;
  padding: 0;
  border-radius: 5px;
  position: relative;
}
.desktop-node-status {
  width: 100%;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #707070;
  font-weight: 500;
  height: 16px;
}
.desktop-node-status > span:last-child {
  margin-left: auto;
  font-family: var(--mono);
}
.runtime-done {
  color: #737373;
  font-size: 11px;
}
.runtime-spinner {
  width: 11px;
  height: 11px;
  border: 1.5px solid #c9c9c9;
  border-top-color: #486987;
  border-radius: 50%;
  animation: runtime-spin 1s linear infinite;
  flex-shrink: 0;
}
.desktop-node-summary {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.01em;
  margin-block: auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.desktop-node-usage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  flex-shrink: 0;
  background: none;
  border-top: 1px solid var(--desktop-border);
  padding: 7px 0 0;
  text-align: left;
  position: relative;
  margin-top: 5px;
  border-radius: 0;
}
.desktop-node-usage > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.desktop-node-usage > span > span {
  font-size: 10px;
  color: #737373;
  line-height: 12px;
  white-space: nowrap;
}
.desktop-node-usage strong {
  font: 600 12px/16px var(--mono);
}
.desktop-node-usage:disabled {
  color: #777;
}
.desktop-tree-controls {
  display: flex;
  gap: 3px;
  align-items: center;
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px;
  border: 1px solid var(--desktop-border);
  border-radius: 6px;
  background: var(--desktop-sidebar);
  box-shadow: 0 1px 3px #0001;
  z-index: 4;
}
.desktop-tree-controls button {
  width: 25px;
  height: 25px;
  background: none;
  border-radius: 4px;
  font-size: 16px;
}
.desktop-tree-controls button:hover {
  background: #e8e8e8;
}
#tree-zoom {
  font: 10px var(--mono);
  width: 38px;
  text-align: center;
}
.desktop-mobile-views {
  display: none;
}
.desktop-cache-panel {
  position: absolute;
  z-index: 9;
  right: 20px;
  top: 115px;
  width: min(350px, calc(46% - 40px));
  background: white;
  border: 1px solid #d6dce1;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 15px 45px #1b30432e;
}
.cache-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 18px;
}
.cache-heading button {
  background: none;
  font-size: 23px;
  line-height: 1;
  width: 28px;
  height: 28px;
  position: relative;
}
.desktop-cache-panel .metric-tabs {
  display: flex;
  gap: 4px;
  background: #f3f4f5;
  padding: 4px;
  border-radius: 7px;
  border: 0;
  margin: 0;
}
.desktop-cache-panel .metric-tabs button {
  flex: 1;
  padding: 8px 5px;
  background: none;
  font-size: 11px;
  border-radius: 5px;
}
.desktop-cache-panel .metric-tabs button[aria-pressed="true"] {
  color: #365876;
  background: white;
  box-shadow: 0 1px 4px #0001;
}
.desktop-cache-rate {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 0;
  color: #486a87;
}
.desktop-cache-rate strong {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
}
.desktop-cache-rate span {
  font-size: 11px;
}
.desktop-cache-values {
  margin: 0;
  display: grid;
  gap: 12px;
}
.desktop-cache-values > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}
.desktop-cache-values dd {
  margin: 0;
  font-family: var(--mono);
}
.cache-path,
.cache-scope-note {
  font-size: 10px;
  line-height: 1.7;
  color: #777;
  margin-top: 16px;
}
.desktop-tool-result {
  font-size: 11px;
  color: #777;
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
#notes-content {
  font-size: 15px;
  line-height: 1.8;
}
#notes-content .response-table {
  overflow: auto;
}
#notes-content table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 12px;
}
#notes-content th,
#notes-content td {
  border-bottom: 1px solid #dcdcdc;
  padding: 9px;
  text-align: left;
}
#notes-content pre {
  overflow: auto;
  font: 12px/1.65 var(--mono);
  background: #f4f4f4;
  padding: 14px;
  border-radius: 12px;
}
#notes-content li {
  margin-block: 8px;
}
.notes-dialog {
  width: min(960px, calc(100% - 32px));
}
.notes-dialog h1 {
  font-size: 26px;
  margin-bottom: 20px;
}
.notes-dialog h2 {
  font-size: 20px;
  margin-block: 24px 14px;
}
.notes-dialog h3 {
  font-size: 17px;
  margin-block: 20px 12px;
}
@keyframes runtime-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes reference-flow {
  to {
    stroke-dashoffset: -22;
  }
}
@keyframes cursor-tap {
  0%,
  65%,
  100% {
    transform: translate(4px, 5px);
  }
  30%,
  45% {
    transform: translate(0, 0) scale(0.92);
  }
}
@keyframes click-ring {
  0%,
  25% {
    opacity: 0;
    transform: scale(0.5);
  }
  35% {
    opacity: 0.8;
  }
  65%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}
.response-prose .align-right,
#notes-content .align-right {
  text-align: right;
}
.response-prose .align-center,
#notes-content .align-center {
  text-align: center;
}
.response-prose a[data-action="notes"] {
  display: inline-block;
  max-width: 100%;
  padding: 7px 9px;
  margin: 6px 0;
  border: 1px solid #d9e3ec;
  background: #f5f8fb;
  border-radius: 6px;
  line-height: 1.5;
}

/* The Remotion stage keeps a fixed viewport while its panes and camera move. */
.desktop-demo {
  overflow-anchor: none;
}
.desktop-demo .demo-workspace {
  position: relative;
  height: clamp(480px, calc(100svh - 208px), 700px);
  grid-template-columns: 54% 46%;
  overflow: hidden;
}
.desktop-demo .conversation-pane {
  overflow: hidden;
  position: relative;
}
.desktop-demo .tree-pane {
  z-index: 2;
  overflow: hidden;
}
.desktop-demo .conversation-scroll {
  padding: 22px 24px 35px;
  scroll-behavior: auto;
  overflow-anchor: none;
}
.desktop-demo article[hidden],
.desktop-demo [hidden] {
  display: none !important;
}
.desktop-demo .composer {
  padding: 12px 16px 10px;
}
.desktop-input {
  display: flex;
  flex-direction: column;
}
.desktop-input > #demo-draft {
  height: 86px;
  min-height: 86px;
  max-height: 86px;
  margin: 0;
  scrollbar-width: thin;
  overflow-y: auto;
}
.desktop-send:disabled {
  background: #e8e8e8;
  color: #888 !important;
  cursor: default;
}
.desktop-demo .tree-map,
.desktop-demo[data-stage] .tree-map {
  background-color: #f0f2f3;
  background-image: radial-gradient(#cfd5db 1px, transparent 1px);
  background-size: 22px 22px;
}
.desktop-node {
  left: 0;
  top: 0;
  will-change: transform, opacity;
}
.desktop-demo .tree-wires path {
  vector-effect: non-scaling-stroke;
}
.desktop-demo .tree-wires .memory-route {
  stroke: #7562d2;
  stroke-width: 1.8;
  stroke-dasharray: 6 5;
  opacity: 0;
}
.memory-particle {
  fill: #8f7bdc;
  filter: drop-shadow(0 0 5px #8f7bdc99);
}
.tree-minimap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 105px;
  height: 78px;
  border: 1px solid #d6dce1;
  border-radius: 8px;
  padding: 5px;
  background: #fffffff0;
  pointer-events: none;
  z-index: 3;
}
.minimap-viewport {
  fill: #657e9f0c;
  stroke: #738da9;
  stroke-width: 8;
}
.desktop-demo[data-moving="true"] .desktop-node {
  pointer-events: none;
}
.demo-guide-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}
.guide-focus,
.guide-leader {
  fill: none;
  stroke: #32aeef;
  stroke-width: 1.8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.guide-focus {
  fill: #32aeef05;
}
.guide-origin,
.guide-spark {
  fill: #32aeef;
}
.guide-spark {
  filter: drop-shadow(0 0 4px #32aeef);
}
.demo-coach {
  position: absolute;
  z-index: 11;
  pointer-events: none;
  padding: 15px 18px;
  border: 1px solid #47748e;
  border-radius: 14px;
  color: #f4fbff;
  background: #172c43;
  box-shadow: 0 10px 28px #11243726;
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
}
.demo-coach:before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: #32aeef;
}
.demo-coach strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.demo-coach > span {
  display: block;
  margin-top: 7px;
  color: #b0d3e7;
}
.guide-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 12;
  animation: cursor-tap 2.4s ease-in-out infinite;
  filter: drop-shadow(0 2px 3px #0003);
}
.guide-cursor:before {
  content: "";
  position: absolute;
  left: -9px;
  top: -8px;
  width: 27px;
  height: 27px;
  border: 2px solid #32aeef;
  border-radius: 50%;
  animation: click-ring 2.4s ease-out infinite;
}
.desktop-cache-panel {
  z-index: 9;
  right: auto;
  width: 300px;
  max-height: calc(100% - 100px);
  overflow-y: auto;
}
.desktop-cache-rate {
  margin: 20px 0;
}
.cache-path {
  display: none;
}
.desktop-cache-values {
  gap: 10px;
}
@media (max-width: 1000px) {
  .desktop-demo .conversation-scroll {
    padding: 20px 16px 30px;
  }
  .desktop-demo .composer {
    padding-inline: 12px;
  }
  .response-prose {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .desktop-demo .demo-workspace {
    display: block;
    height: clamp(470px, calc(100svh - 215px), 650px);
  }
  .desktop-demo .conversation-pane,
  .desktop-demo .tree-pane {
    position: absolute;
    inset: 0;
    width: 100%;
  }
  .desktop-demo .conversation-pane {
    border-right: 0;
  }
  .desktop-demo .tree-pane {
    pointer-events: none;
  }
  .desktop-demo .tree-pane:not([inert]) {
    pointer-events: auto;
  }
  .desktop-mobile-views {
    display: flex;
    gap: 5px;
    padding: 5px 12px;
    background: #f8f8f8;
    border-bottom: 1px solid var(--desktop-border);
  }
  .desktop-mobile-views button {
    background: none;
    padding: 7px 14px;
    font-size: 11px;
    border-radius: 5px;
  }
  .desktop-mobile-views button[aria-pressed="true"] {
    background: #e7edf2;
  }
  .desktop-window-dots {
    display: none;
  }
  .desktop-demo .demo-topbar {
    padding: 10px 13px;
  }
  .desktop-demo .workspace-name {
    font-size: 11px;
  }
  .desktop-input > #demo-draft {
    font-size: 12px;
    height: 100px;
    min-height: 100px;
    max-height: 100px;
  }
  .desktop-composer-context {
    font-size: 9px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .desktop-composer-context > span:last-child {
    margin-left: auto;
  }
  .desktop-user-message {
    max-width: 94%;
  }
  .desktop-user-message p {
    font-size: 13px;
  }
  .demo-coach {
    padding: 12px 15px;
    font-size: 11px;
  }
  .demo-coach strong {
    font-size: 13px;
  }
  .tree-minimap {
    width: 75px;
    height: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .guide-cursor,
  .guide-cursor:before,
  .runtime-spinner {
    animation: none !important;
  }
  .guide-cursor:before {
    display: none;
  }
}
.desktop-cache-panel .metric-tabs {
  width: 100%;
  max-width: none;
}

/* Free playground: the two panes stay in place, and only sends grow the tree. */
.playground-speed {
  margin: -12px 0 18px;
  color: #7b837a;
  font-size: 12px;
}
.desktop-demo .conversation-pane {
  width: auto;
}
.desktop-demo .desktop-node-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  margin-top: 4px;
}
.desktop-demo .desktop-node-summary {
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  -webkit-line-clamp: 2;
  margin-block: 0 auto;
}
.desktop-demo .desktop-node-status {
  font-size: 10px;
  color: #788077;
}
.desktop-demo .desktop-node-status > span:last-child {
  margin-left: 0;
  font-family: inherit;
}
.desktop-demo .desktop-node-usage {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.desktop-demo .cache-hit {
  color: #3b7757;
}
.desktop-demo .cache-miss {
  color: #a76a35;
}
.desktop-demo .desktop-node-usage .cache-hit > span {
  color: #3b7757;
}
.desktop-demo .desktop-node-usage .cache-miss > span {
  color: #a76a35;
}
.desktop-node-usage .cache-hit,
.desktop-node-usage .cache-miss {
  border-radius: 4px;
  padding: 3px 5px;
}
.desktop-node-usage .cache-hit {
  background: #edf5ef;
}
.desktop-node-usage .cache-miss {
  background: #fcf2e8;
}
.conversation-usage {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  padding: 10px 17px;
  border-bottom: 1px solid #e7ebe7;
  flex-shrink: 0;
}
.conversation-usage > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10px;
  line-height: 1.4;
}
.conversation-usage strong {
  font: 600 13px/1.4 var(--mono);
}
.conversation-usage .cache-rate {
  text-align: right;
  color: #53775d;
}
.desktop-demo .desktop-input > #demo-draft {
  height: 70px;
  min-height: 70px;
  max-height: 70px;
}
.playground-return {
  background: none;
  color: #486a87 !important;
  font-size: 12px;
  text-align: left;
  margin-top: 8px;
  padding: 0 5px;
}
.playground-return:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.desktop-demo .demo-coach > span:empty {
  display: none;
}
.desktop-demo .document-heading {
  border: 1px solid #d9e2e8;
  background: #f8fafb;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.document-heading > div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.document-heading a,
.document-heading button {
  color: #426584;
  background: none;
  font-size: 11px;
  padding: 0;
}
.document-heading a:hover,
.document-heading button:hover {
  text-decoration: underline;
}
.document-sources {
  margin: 12px 0;
  color: #7b7b7b;
  font-size: 11px;
}
.study-document h1 {
  font-size: 22px;
}
.desktop-demo[data-count="0"] .demo-workspace {
  grid-template-columns: 54% 46%;
}
.desktop-demo button:disabled {
  cursor: default;
}
.desktop-demo .reset-demo:disabled,
.desktop-tree-controls button:disabled {
  opacity: 0.4;
}
.desktop-demo[data-selected="notes"] #demo-composer {
  display: none;
}
