/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --paper: #f5f6f2;
  --surface: #fff;
  --surface-soft: #eef1ea;
  --ink: #24352c;
  --muted: #66736b;
  --line: #ccd3cb;
  --green: #3f684e;
  --green-soft: #dfe9df;
  --coral: #bb5c49;
  --coral-soft: #f4dfda;
  --yellow: #d7a63d;
  --blue: #4e6f89;
  --shadow: #2131271f;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

button, input, textarea, select {
  font: inherit;
  letter-spacing: 0;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #4e6f8957;
}

a {
  color: inherit;
}

.eyebrow {
  color: var(--coral);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}

.button {
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  font-weight: 750;
  transition: background-color .15s, border-color .15s, transform .15s;
  display: inline-flex;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.primary:hover:not(:disabled) {
  background: #31563f;
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.button.secondary:hover:not(:disabled) {
  border-color: var(--green);
  background: var(--surface-soft);
}

.button.danger {
  color: #fff;
  background: var(--coral);
}

.icon-button {
  border: 1px solid var(--line);
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  border-radius: 6px;
  flex: 0 0 38px;
  place-items: center;
  padding: 0;
  display: inline-grid;
}

.icon-button:hover {
  border-color: var(--green);
  background: var(--surface-soft);
}

.spin {
  animation: .8s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.workbench {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px;
}

.workbench-header {
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
  display: flex;
}

.workbench-header h1 {
  letter-spacing: 0;
  margin: 6px 0 8px;
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.03;
}

.workbench-header p {
  max-width: 680px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.status-indicator, .live-line {
  white-space: nowrap;
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  display: inline-flex;
}

.status-indicator i, .live-line i {
  background: #4c9b62;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 4px #4c9b621f;
}

.workbench-grid {
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 680px;
  box-shadow: 0 18px 50px var(--shadow);
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .7fr);
  display: grid;
}

.editor-panel {
  border-right: 1px solid var(--line);
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.result-panel {
  background: #f1f3ef;
  min-width: 0;
}

.panel-heading {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px 18px;
  display: flex;
}

.panel-heading > div {
  gap: 3px;
  display: grid;
}

.panel-heading span {
  font-size: .86rem;
  font-weight: 800;
}

.panel-heading small {
  color: var(--muted);
}

.code-editor {
  resize: vertical;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #dfe8df;
  tab-size: 2;
  background: #26342c;
  outline: 0;
  flex: 1;
  width: 100%;
  min-height: 450px;
  padding: 22px;
  font: .84rem / 1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.token-field {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: .78rem;
  font-weight: 700;
  display: grid;
}

.token-field input {
  border: 1px solid var(--line);
  background: #fafbf8;
  border-radius: 4px;
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
}

.command-row {
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px 18px;
  display: flex;
}

.result-output {
  border-bottom: 1px solid var(--line);
  color: #33443a;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 330px;
  max-height: 510px;
  margin: 0;
  padding: 20px;
  font: .78rem / 1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: auto;
}

.session-link {
  border: 1px solid var(--green);
  color: var(--green);
  background: var(--green-soft);
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 16px;
  padding: 13px 14px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
}

.result-facts {
  gap: 0;
  margin: 0;
  padding: 0 18px 18px;
  display: grid;
}

.result-facts div {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  display: grid;
}

.result-facts dt {
  color: var(--muted);
  font-size: .76rem;
}

.result-facts dd {
  overflow-wrap: anywhere;
  min-width: 0;
  margin: 0;
  font: .76rem ui-monospace, monospace;
}

.session-shell {
  width: min(940px, 100% - 32px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 64px;
}

.session-header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  display: flex;
}

.session-brand {
  align-items: center;
  gap: 10px;
  text-decoration: none;
  display: flex;
}

.session-brand > span:last-child {
  gap: 1px;
  display: grid;
}

.session-brand strong {
  font-size: .75rem;
}

.session-brand small {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: .72rem;
  font-style: italic;
}

.brand-mark {
  color: #fff;
  background: var(--coral);
  border-radius: 50% 50% 46% 54%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  display: grid;
  transform: rotate(-5deg);
}

.session-tools {
  align-items: center;
  gap: 9px;
  display: flex;
}

.revision-pill {
  border: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff8c;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .74rem;
}

.notice {
  z-index: 10;
  color: #554315;
  background: #fff3c9;
  border: 1px solid #c49733;
  border-radius: 6px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 12px;
  display: grid;
  position: sticky;
  top: 10px;
  box-shadow: 0 8px 20px #5543151f;
}

.notice button {
  cursor: pointer;
  background: none;
  border: 0;
  place-items: center;
  width: 28px;
  height: 28px;
  display: grid;
}

.state-page {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 620px;
  display: flex;
}

.state-page h1 {
  letter-spacing: 0;
  margin: 12px 0 10px;
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
}

.state-page p {
  max-width: 510px;
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1.02rem;
  line-height: 1.65;
}

.waiting-mark {
  width: 58px;
  height: 58px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
  place-items: center;
  margin-bottom: 18px;
  display: grid;
}

.response-form {
  margin-top: 54px;
}

.form-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

.form-intro h1 {
  letter-spacing: 0;
  text-wrap: balance;
  margin: 9px 0 12px;
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(2.3rem, 6vw, 4.7rem);
  font-weight: 400;
  line-height: 1.02;
}

.form-intro > p {
  max-width: 680px;
  color: var(--muted);
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.65;
}

.form-field {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 36px 0 42px;
  display: grid;
}

.field-number {
  width: 35px;
  height: 29px;
  color: var(--green);
  clip-path: polygon(4% 4%, 100% 0, 96% 94%, 0 100%);
  background: #dce8da;
  place-items: center;
  font: 700 .72rem ui-monospace, monospace;
  display: grid;
}

.field-content {
  min-width: 0;
}

.field-heading {
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  display: flex;
}

.field-heading h2 {
  letter-spacing: 0;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.18;
}

.field-heading > span {
  color: var(--muted);
  font-size: .73rem;
}

.field-description {
  max-width: 690px;
  color: var(--muted);
  margin: 9px 0 22px;
  line-height: 1.55;
}

.field-meta {
  color: var(--muted);
  margin: 14px 0 8px;
  font-size: .74rem;
}

.recommended {
  color: #664b0c;
  background: #f4d98e;
  border-radius: 3px;
  width: fit-content;
  padding: 3px 6px;
  font-size: .66rem;
  font-weight: 800;
}

.choice-check {
  border: 1px solid var(--line);
  color: #0000;
  border-radius: 50%;
  place-items: center;
  width: 24px;
  height: 24px;
  display: grid;
}

.selected .choice-check {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.confirm-block {
  gap: 14px;
  margin-top: 22px;
  display: grid;
}

.confirm-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.decision {
  border: 1px solid var(--line);
  min-height: 52px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  display: inline-flex;
}

.decision.positive.selected {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.decision.negative.selected {
  border-color: var(--coral);
  color: #8f3d2e;
  background: var(--coral-soft);
}

.input-label input, .input-label textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #aeb9af;
  border-radius: 4px;
}

.input-label input {
  min-height: 44px;
  padding: 8px 11px;
}

.input-label {
  gap: 8px;
  margin-top: 20px;
  display: grid;
}

.input-label textarea {
  resize: vertical;
  padding: 11px;
  line-height: 1.5;
}

.input-label > span:first-child {
  font-size: .8rem;
  font-weight: 700;
}

.input-foot {
  color: var(--muted);
  text-align: right;
  font-size: .72rem;
}

.check-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.media-button {
  cursor: zoom-in;
  background: none;
  border: 0;
  width: 100%;
  padding: 0;
}

.media-button img, .video-preview {
  object-fit: contain;
  width: 100%;
  max-height: 280px;
  display: block;
}

.audio-preview {
  width: calc(100% - 24px);
  margin: 12px;
}

.submit-bar {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  display: flex;
}

.submit-bar > span {
  color: var(--muted);
  font-size: .76rem;
}

.media-modal {
  z-index: 50;
  background: #18231ddb;
  place-items: center;
  padding: 60px 24px 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.media-modal > .icon-button {
  position: absolute;
  top: 18px;
  right: 18px;
}

.media-modal img {
  object-fit: contain;
  max-width: min(1200px, 94vw);
  max-height: 86vh;
  box-shadow: 0 18px 70px #0006;
}

body:has(.session-shell) {
  background-color: #f2f3ed;
  background-image: repeating-linear-gradient(96deg, #0000 0 7px, #30403405 7px 8px), radial-gradient(circle, #3040340e 0 .6px, #0000 .8px);
  background-size: auto, 17px 19px;
}

.session-shell {
  --garden-ink: #304034;
  --garden-muted: #70776b;
  --garden-green: #607a58;
  --garden-deep: #435f42;
  --garden-clay: #c66e50;
  --garden-yellow: #e5b95d;
  --garden-pink: #d99489;
  --garden-paper: #faf7e9;
  --garden-white: #fffdf6;
  width: min(980px, 100% - 32px);
  color: var(--garden-ink);
  padding-top: 18px;
}

.session-header {
  border-bottom: 1px dashed #435f4252;
  min-height: 62px;
}

.session-shell .brand-mark {
  background: var(--garden-clay);
  border-radius: 54% 46% 58% 42%;
  width: 38px;
  height: 38px;
  transform: rotate(-6deg);
  box-shadow: 3px 3px #c66e5029;
}

.session-shell .session-brand strong {
  color: var(--garden-ink);
}

.session-shell .session-brand small {
  color: var(--garden-muted);
}

.session-shell .icon-button {
  background: #fffdf6c2;
  border-color: #435f424d;
  border-radius: 8px 5px 7px 6px;
  box-shadow: 2px 2px #435f4214;
}

.session-shell .icon-button:hover {
  background: var(--garden-white);
  transform: rotate(2deg);
}

.revision-pill {
  color: var(--garden-muted);
  background: #fffdf694;
  border-style: dashed;
  border-color: #435f4257;
  border-radius: 5px 8px 6px 4px;
  font-family: ui-monospace, monospace;
}

.notice {
  color: #584719;
  background: #fff3c9;
  border: 1px solid #a4782073;
  border-radius: 5px 8px 5px 7px;
  animation: .26s ease-out both garden-note-in;
  box-shadow: 4px 5px #a478201a;
}

.response-form {
  background-color: var(--garden-paper);
  background-image: repeating-linear-gradient(#0000 0 38px, #607a5813 38px 39px);
  border: 1px solid #6f603e38;
  border-radius: 7px 5px 8px 6px;
  margin-top: 42px;
  padding: 50px 56px 28px 72px;
  animation: .38s cubic-bezier(.2, .8, .2, 1) garden-page-in;
  position: relative;
  box-shadow: 0 22px 60px #4d432a21, 9px 11px #607a5812;
}

.response-form:before {
  content: "";
  pointer-events: none;
  background: #c66e5042;
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 49px;
}

.response-form:after {
  clip-path: polygon(3% 8%, 98% 0, 100% 88%, 0 100%);
  content: "";
  pointer-events: none;
  background: #e5b95d52;
  width: 54px;
  height: 18px;
  position: absolute;
  top: 21px;
  right: 26px;
  transform: rotate(2deg);
}

.form-intro {
  max-width: 760px;
  margin-bottom: 52px;
  position: relative;
}

.question-tape {
  color: var(--garden-deep);
  clip-path: polygon(2% 5%, 98% 0, 100% 92%, 3% 100%);
  background: #e5b95d7a;
  margin: 0 0 15px -7px;
  padding: 5px 13px;
  font-size: .66rem;
  font-weight: 800;
  display: inline-block;
  transform: rotate(-1deg);
}

.form-intro h1 {
  color: var(--garden-ink);
  margin: 0 0 14px;
  font-size: 4.35rem;
  line-height: .99;
}

.form-intro > p {
  color: var(--garden-muted);
  font-size: 1rem;
}

.field-stack {
  border-top: 1px dashed #435f424d;
}

.form-field {
  border-bottom: 1px dashed #435f4247;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 42px 0 48px;
}

.field-number {
  width: 34px;
  height: 30px;
  color: var(--garden-deep);
  clip-path: polygon(3% 7%, 98% 0, 95% 94%, 0 100%);
  background: #607a5829;
  font-family: Georgia, serif;
  transform: rotate(-2deg);
}

.form-field:nth-child(2n) .field-number {
  background: #e5b95d40;
  transform: rotate(2deg);
}

.field-heading h2 {
  color: var(--garden-ink);
  font-size: 2rem;
  line-height: 1.12;
}

.field-heading > span {
  color: var(--garden-muted);
  background: #ffffff61;
  padding: 3px 7px;
  font-size: .68rem;
  transform: rotate(1deg);
}

.field-description {
  color: var(--garden-muted);
}

.field-meta {
  color: var(--garden-muted);
  font-family: ui-monospace, monospace;
}

.recommended {
  color: #654d13;
  background: #e5b95d9e;
  border-radius: 2px;
  padding: 4px 8px;
  transform: rotate(-1deg);
}

.choice-check {
  border-color: #3040343d;
}

.selected .choice-check {
  border-color: var(--garden-green);
  background: var(--garden-green);
  animation: .22s cubic-bezier(.2, .8, .2, 1) both garden-check;
}

.confirm-block {
  gap: 15px;
}

.confirm-actions {
  gap: 12px;
}

.decision {
  min-height: 58px;
  color: var(--garden-ink);
  background: #fffdf6b8;
  border-color: #30403438;
  border-radius: 7px 5px 8px 6px;
  transition: transform .17s, box-shadow .17s, background-color .17s;
  box-shadow: 2px 3px #5e503112;
}

.decision:hover {
  transform: translateY(-2px);
  box-shadow: 4px 5px #5e50311c;
}

.decision.positive.selected {
  border-color: var(--garden-green);
  color: #fffdf6;
  background: var(--garden-green);
  box-shadow: 4px 5px #435f4229;
}

.decision.negative.selected {
  border-color: var(--garden-clay);
  color: #fffdf6;
  background: var(--garden-clay);
  box-shadow: 4px 5px #c66e5026;
}

.input-label {
  gap: 9px;
  position: relative;
}

.input-label.is-singleline input {
  border: 0;
  border-bottom: 2px solid var(--garden-green);
  min-height: 58px;
  color: var(--garden-ink);
  background: none;
  border-radius: 0;
  outline: 0;
  padding: 10px 4px 8px;
  font-family: Georgia, serif;
  font-size: 1.55rem;
}

.input-label.is-singleline input::placeholder {
  color: #70776b94;
}

.input-label.is-multiline {
  background: #fffdf1bd;
  border: 1px solid #6f603e2e;
  border-radius: 6px 8px 5px 7px;
  padding: 19px 18px 28px;
  transform: rotate(-.2deg);
  box-shadow: 5px 6px #6f603e12;
}

.input-label.is-multiline:before {
  clip-path: polygon(4% 7%, 97% 0, 100% 91%, 0 100%);
  content: "";
  background: #e5b95d54;
  width: 46px;
  height: 14px;
  position: absolute;
  top: -6px;
  left: 48%;
  transform: rotate(1deg);
}

.input-label.is-multiline textarea {
  background: repeating-linear-gradient(#0000 0 28px, #607a582b 28px 29px);
  border: 0;
  border-radius: 0;
  outline: 0;
  min-height: 132px;
  padding: 0 3px;
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 29px;
}

.input-foot {
  color: var(--garden-muted);
  font-family: ui-monospace, monospace;
}

.media-button img, .video-preview {
  max-height: 310px;
}

.audio-sheet, .video-sheet {
  align-content: center;
  gap: 14px;
  min-height: 190px;
  padding: 18px;
  display: grid;
}

.audio-sheet > span, .video-sheet > span {
  color: var(--garden-muted);
  overflow-wrap: anywhere;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
}

.audio-sheet > span svg, .video-sheet > span svg {
  color: var(--garden-clay);
}

.audio-preview {
  width: 100%;
  accent-color: var(--garden-green);
  margin: 0;
}

.video-sheet .video-preview {
  width: 100%;
}

.question-items {
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 16px;
  margin-top: 22px;
  display: grid;
}

.question-item {
  min-width: 0;
  color: var(--garden-ink);
  background: var(--garden-white);
  border: 1px solid #30403438;
  border-radius: 7px 5px 8px 6px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  overflow: hidden;
  box-shadow: 3px 4px #5e503114;
}

.question-item:nth-child(odd) {
  transform: rotate(-.2deg);
}

.question-item:nth-child(2n) {
  transform: rotate(.2deg);
}

.question-item.selectable {
  cursor: pointer;
}

.question-item.selectable:hover, .question-item.selectable:focus-visible {
  outline: 0;
  transform: translateY(-3px)rotate(0);
  box-shadow: 6px 7px #5e50311c;
}

.question-item.selected {
  border-color: var(--garden-green);
  transform: rotate(0);
  box-shadow: 0 0 0 2px #607a5826, 5px 6px #607a581f;
}

.question-item-media {
  background-color: #edf0e9;
  background-image: repeating-linear-gradient(45deg, #0000 0 12px, #607a5806 12px 13px);
  border-bottom: 1px solid #3040342e;
  align-content: center;
  min-height: 190px;
  display: grid;
  overflow: hidden;
}

.question-item-media:empty {
  display: none;
}

.question-item-media .media-button img {
  object-fit: cover;
  width: 100%;
  height: 230px;
}

.question-item-media .audio-sheet, .question-item-media .video-sheet {
  min-height: 190px;
}

.question-item-caption {
  grid-template-columns: minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 9px;
  min-height: 76px;
  padding: 14px;
  display: grid;
}

.question-item button.question-item-caption {
  width: 100%;
  color: inherit;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
}

.question-item button.question-item-caption:focus-visible {
  outline-offset: -5px;
  outline: 2px dashed #c66e508c;
}

.question-item-caption > span:first-child {
  gap: 4px;
  display: grid;
}

.question-item-caption strong {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}

.question-item-caption small {
  color: var(--garden-muted);
  font-size: .72rem;
  line-height: 1.4;
}

.question-item:not(.selectable) .question-item-caption {
  grid-template-columns: minmax(0, 1fr) auto;
}

.item-text-block {
  margin: 0;
  padding: 18px;
  font-family: Georgia, serif;
  line-height: 1.6;
}

.selection-extras {
  gap: 10px;
  margin-top: 14px;
  display: flex;
}

.selection-extras:empty {
  display: none;
}

.selection-extras .selected {
  border-color: var(--garden-green);
  color: var(--garden-deep);
  background: #607a581f;
}

.comment-field, .other-field {
  margin-top: 18px;
}

.submit-bar {
  z-index: 5;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #faf7e9eb;
  border-top: 1px dashed #435f4257;
  border-radius: 5px 7px 5px 8px;
  margin: 0 -34px -8px;
  padding: 17px 22px;
  position: sticky;
  bottom: 10px;
  box-shadow: 0 -8px 18px #4d432a0f;
}

.submit-bar > span {
  color: var(--garden-muted);
  font-family: Georgia, serif;
  font-style: italic;
}

.session-shell .button.primary {
  background: var(--garden-deep);
  border-radius: 7px 5px 8px 6px;
  min-height: 48px;
  box-shadow: 4px 5px #435f422b;
}

.session-shell .button.primary:hover:not(:disabled) {
  background: #38533a;
  transform: translate(-1px, -2px)rotate(-.3deg);
  box-shadow: 6px 7px #435f4226;
}

.session-shell .button.secondary {
  background: var(--garden-white);
  border-color: #30403438;
  border-radius: 7px 5px 8px 6px;
}

.state-page {
  min-height: 680px;
}

.state-page h1 {
  color: var(--garden-ink);
}

.state-page p {
  color: var(--garden-muted);
}

.page-loader, .waiting-mark {
  width: 62px;
  height: 62px;
  color: var(--garden-deep);
  background: #e5b95d33;
  border: 1px dashed #435f4266;
  border-radius: 54% 46% 58% 42%;
  place-items: center;
  margin-bottom: 18px;
  display: grid;
  position: relative;
  transform: rotate(-3deg);
}

.waiting-mark {
  color: #fffdf6;
  background: var(--garden-green);
  animation: .26s ease-out both garden-check;
  box-shadow: 5px 6px #435f4224;
}

.waiting-state:after {
  content: "";
  border-bottom: 2px solid #607a5859;
  border-radius: 50%;
  width: 130px;
  height: 32px;
  margin-top: 28px;
  transform: rotate(-2deg);
}

.live-line {
  background: #fffdf680;
  border: 1px dashed #435f4259;
  border-radius: 5px 7px 5px 6px;
  padding: 7px 11px;
}

.media-modal {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #233027e6;
}

@keyframes garden-page-in {
  from {
    opacity: 0;
    transform: translateY(10px)rotate(.25deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes garden-note-in {
  from {
    opacity: 0;
    transform: translateY(-4px)rotate(-.25deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes garden-check {
  0% {
    transform: scale(.7)rotate(-12deg);
  }

  70% {
    transform: scale(1.1)rotate(3deg);
  }

  100% {
    transform: scale(1)rotate(0);
  }
}

.response-form {
  height: calc(100svh - 96px);
  min-height: 620px;
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  flex-direction: column;
  margin-top: 22px;
  padding: 0;
  animation: none;
  display: flex;
}

.response-form:before, .response-form:after {
  display: none;
}

.form-intro {
  flex: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 54px 8px;
}

.question-tape {
  margin-bottom: 8px;
}

.form-intro h1 {
  max-width: 820px;
  margin-bottom: 7px;
  font-size: 2.85rem;
  line-height: 1.02;
}

.form-intro > p {
  max-width: 760px;
  font-size: .88rem;
  line-height: 1.5;
}

.single-question {
  scrollbar-color: #607a5852 transparent;
  scrollbar-width: thin;
  flex: auto;
  min-height: 0;
  padding: 24px 54px 34px;
  overflow: hidden auto;
}

.single-question .form-field {
  border: 0;
  grid-template-columns: 1fr;
  align-content: safe center;
  min-height: 100%;
  padding: 8px 0;
}

.single-question .field-number {
  display: none;
}

.response-form > .submit-bar {
  min-height: 56px;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: none;
  border-top: 1px dashed #435f4247;
  border-radius: 0;
  flex: none;
  margin: 0;
  padding: 9px 54px 8px;
  position: static;
}

.response-form > .submit-bar .button {
  min-height: 42px;
}

.lab-shell {
  padding-bottom: 72px;
}

.lab-header {
  border-bottom: 1px dashed #435f4252;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  display: grid;
}

.lab-header > span {
  color: var(--garden-clay);
  clip-path: polygon(2% 5%, 98% 0, 100% 92%, 3% 100%);
  background: #e5b95d2e;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  font-size: .68rem;
  font-weight: 850;
  display: inline-flex;
}

.lab-header > button {
  justify-self: end;
  width: fit-content;
}

.lab-header-left {
  align-items: center;
  gap: 12px;
  display: flex;
}

.lab-back {
  width: fit-content;
  color: var(--garden-muted);
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.lab-back:hover {
  color: var(--garden-deep);
}

.lab-success {
  z-index: 12;
  border: 1px solid var(--garden-green);
  color: var(--garden-deep);
  background: #edf3e7;
  border-radius: 6px 8px 5px 7px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 14px auto -4px;
  padding: 12px 14px;
  animation: .22s ease-out garden-note-in;
  display: grid;
  position: sticky;
  top: 10px;
  box-shadow: 4px 5px #435f421c;
}

.lab-success > button {
  width: 28px;
  height: 28px;
  color: var(--garden-muted);
  cursor: pointer;
  background: none;
  border: 0;
  place-items: center;
  display: grid;
}

.lab-form {
  height: calc(100svh - 120px);
  margin-top: 18px;
}

.session-header-left {
  align-items: center;
  gap: 16px;
  min-width: 0;
  display: flex;
}

.history-menu {
  flex: none;
  position: relative;
}

.history-menu summary {
  min-height: 36px;
  color: var(--garden-deep);
  cursor: pointer;
  background: #fffdf6bd;
  border: 1px solid #435f4247;
  border-radius: 7px 5px 8px 6px;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  font-size: .74rem;
  font-weight: 800;
  list-style: none;
  display: inline-flex;
  box-shadow: 2px 2px #435f4214;
}

.history-menu summary::-webkit-details-marker {
  display: none;
}

.history-menu summary small {
  color: #fff;
  background: var(--garden-green);
  border-radius: 50%;
  place-items: center;
  min-width: 18px;
  height: 18px;
  font: 700 .62rem ui-monospace, monospace;
  display: grid;
}

.history-menu[open] summary {
  border-color: var(--garden-green);
}

.history-menu[open] .history-chevron {
  transform: rotate(180deg);
}

.history-chevron {
  transition: transform .15s;
}

.history-dropdown {
  z-index: 30;
  width: min(360px, 100vw - 28px);
  max-height: min(460px, 70vh);
  color: var(--garden-ink);
  background: var(--garden-white);
  border: 1px solid #30403447;
  border-radius: 7px 5px 8px 6px;
  gap: 0;
  padding: 10px;
  display: grid;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  overflow-y: auto;
  box-shadow: 8px 10px #435f421a, 0 18px 45px #3040341f;
}

.history-dropdown > strong {
  padding: 7px 8px 10px;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.history-dropdown > p {
  color: var(--garden-muted);
  margin: 0;
  padding: 14px 8px;
  font-size: .78rem;
}

.history-entry {
  border-top: 1px dashed #435f4240;
  gap: 4px;
  padding: 11px 8px;
  display: grid;
}

.history-entry > span {
  color: var(--garden-muted);
  text-transform: uppercase;
  font: .62rem ui-monospace, monospace;
}

.history-entry b {
  font-size: .78rem;
}

.history-entry p {
  color: var(--garden-deep);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  font-family: Georgia, serif;
  font-size: .88rem;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
}

.site-shell {
  width: min(1240px, 100% - 64px);
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  z-index: 10;
  border-bottom: 1px solid #3040342e;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 66px;
  display: flex;
  position: relative;
}

.site-brand {
  color: var(--ink);
  align-items: center;
  gap: 11px;
  text-decoration: none;
  display: inline-flex;
}

.site-brand img {
  transition: transform .18s;
}

.site-brand:hover img {
  transform: translateY(-1px)rotate(-2deg);
}

.site-brand strong {
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 850;
}

.site-header nav {
  align-items: center;
  gap: 16px;
  display: flex;
}

.site-header nav a {
  color: var(--muted);
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
  transition: color .15s;
  display: inline-flex;
}

.site-header nav a:hover {
  color: var(--green);
}

.site-header nav .header-examples-link {
  min-height: 36px;
  color: var(--ink);
  background: #fffdf6b8;
  border: 1px solid #30403438;
  border-radius: 2px;
  padding: 7px 12px;
  transition: color .15s, border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: 3px 3px #435f4214;
}

.site-header nav .header-examples-link:hover {
  border-color: #435f4280;
  transform: translateY(-1px);
  box-shadow: 3px 3px #435f421c;
}

.site-header nav .header-docs-link {
  color: var(--ink);
  padding: 7px 0 7px 10px;
}

.landing-hero {
  padding: 72px 0 0;
}

.hero-copy {
  max-width: 800px;
  padding-bottom: 62px;
}

.hero-copy h1 {
  margin: 12px 0 4px;
  font-family: Georgia, Times New Roman, serif;
  font-size: 5.5rem;
  font-weight: 400;
  line-height: .98;
}

.hero-lead {
  color: var(--green);
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.hero-detail {
  max-width: 690px;
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  display: flex;
}

.text-link, .docs-link, .back-link {
  color: var(--green);
  text-underline-offset: 4px;
  font-size: .84rem;
  font-weight: 800;
}

.contract-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contract-band > strong {
  color: var(--muted);
  text-transform: uppercase;
  padding: 12px 0;
  font: 700 .68rem ui-monospace, monospace;
  display: block;
}

.contract-band ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.contract-band li {
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 88px;
  padding: 14px 16px;
  display: grid;
}

.contract-band li:last-child {
  border-right: 0;
}

.contract-band li > svg {
  color: var(--green);
}

.contract-band li > span {
  gap: 4px;
  display: grid;
}

.contract-band li b {
  font-size: .86rem;
}

.contract-band li small {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
}

.contract-band .contract-critical {
  color: #704211;
  background: #f8e9bd;
}

.contract-band .contract-critical > svg {
  color: #a26720;
}

.poll-rule {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 48px minmax(240px, .75fr) minmax(300px, 1fr);
  align-items: start;
  gap: 28px;
  padding: 72px 0;
  display: grid;
}

.rule-number, .doc-index {
  color: var(--green);
  font: 700 .72rem ui-monospace, monospace;
}

.poll-rule h2, .section-heading h2, .proof-copy h2 {
  margin: 6px 0 0;
  font-family: Georgia, serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.12;
}

.poll-rule > p {
  color: var(--muted);
  margin: 0;
  line-height: 1.75;
}

.poll-rule code, .docs-content code {
  color: #31563f;
  font: .84em ui-monospace, SFMono-Regular, Menlo, monospace;
}

.agent-prompt-section, .quick-protocol, .product-proof {
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}

.section-heading {
  max-width: 650px;
}

.section-heading > p, .proof-copy p {
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.65;
}

.prompt-block {
  background: var(--surface);
  border: 1px solid #9eaa9f;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 26px;
  display: grid;
  box-shadow: 7px 7px #dce4da;
}

.prompt-block p {
  margin: 0;
  font: .9rem / 1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.copy-button {
  white-space: nowrap;
}

.protocol-code {
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.protocol-code > div {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 32px minmax(220px, .8fr) minmax(280px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 66px;
  display: grid;
}

.protocol-code > div > span {
  width: 25px;
  height: 25px;
  color: var(--green);
  background: var(--green-soft);
  place-items: center;
  font: 700 .7rem ui-monospace, monospace;
  display: grid;
}

.protocol-code code {
  font: .84rem ui-monospace, SFMono-Regular, Menlo, monospace;
}

.protocol-code small {
  color: var(--muted);
  line-height: 1.4;
}

.protocol-code .protocol-emphasis {
  box-shadow: inset 3px 0 0 var(--yellow);
  background: #f8e9bd59;
}

.docs-link {
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  display: inline-flex;
}

.product-proof {
  grid-template-columns: minmax(240px, .5fr) minmax(0, 1fr);
  align-items: start;
  gap: 62px;
  display: grid;
}

.proof-copy {
  position: sticky;
  top: 28px;
}

.product-window {
  border: 1px solid var(--line);
  background: var(--surface);
  max-height: 680px;
  overflow: hidden;
  box-shadow: 10px 10px #dce4da;
}

.product-window img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  min-height: 112px;
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: .78rem;
  display: flex;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

.onboarding-hero {
  align-items: center;
  min-height: calc(100svh - 66px);
  padding: 28px 0 26px;
  display: grid;
  position: relative;
}

.hero-content {
  grid-template-columns: minmax(410px, .84fr) minmax(540px, 1.16fr);
  align-items: center;
  gap: 22px 58px;
  width: 100%;
  display: grid;
  position: relative;
}

.onboarding-copy {
  max-width: 590px;
  padding: 0 0 28px;
}

.hero-kicker {
  color: #a94d3d;
  letter-spacing: .11em;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font: 800 .7rem / 1 ui-monospace, SFMono-Regular, Menlo, monospace;
  display: inline-flex;
}

.hero-kicker:before {
  content: "";
  background: currentColor;
  width: 27px;
  height: 1px;
}

.onboarding-copy h1 {
  letter-spacing: -.05em;
  text-wrap: balance;
  max-width: 610px;
  margin: 0;
  font-family: Georgia, Times New Roman, serif;
  font-size: clamp(4.35rem, 5.8vw, 5.45rem);
  font-weight: 400;
  line-height: .91;
}

.hero-statement {
  color: #56655c;
  text-wrap: balance;
  max-width: 510px;
  margin: 25px 0 0;
  font-family: Georgia, Times New Roman, serif;
  font-size: 1.27rem;
  line-height: 1.48;
}

.hero-action-stack {
  gap: 18px;
  min-width: 0;
  display: grid;
}

.demo-stage {
  background-color: #fffdf6d1;
  border: 1px solid #30403461;
  border-radius: 2px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  transform: rotate(.22deg);
  box-shadow: 12px 12px #607a581c;
}

.ascii-field {
  --ascii-x: 50%;
  --ascii-y: 50%;
  --ascii-drift-x: 0px;
  --ascii-drift-y: 0px;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  background: none;
  min-width: 0;
  height: 288px;
  position: relative;
  overflow: hidden;
}

.ascii-field:before {
  z-index: 2;
  content: "";
  background: #d7a63d40;
  width: 82px;
  height: 17px;
  position: absolute;
  top: -1px;
  right: 32px;
  transform: rotate(1.5deg);
}

.ascii-field:after {
  content: "";
  pointer-events: none;
  border: 8px solid #fffdf680;
  position: absolute;
  inset: 0;
}

.ascii-layer {
  color: #2b533a;
  letter-spacing: 0;
  width: max-content;
  margin: 0;
  font: .82rem / 1.22 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s;
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ascii-base {
  opacity: .96;
}

.ascii-choice {
  font-weight: 900;
}

.ascii-choice-positive {
  color: #25723c;
}

.ascii-choice-negative {
  color: #b8382e;
}

.ascii-status-mark {
  text-shadow: 0 0;
  font-size: 1.22em;
  font-weight: 950;
}

.ascii-focus {
  opacity: 0;
  filter: drop-shadow(0 0 7px #3f684e33);
  -webkit-mask-image: radial-gradient(circle 145px at var(--ascii-x) var(--ascii-y), #000 0, #000c 38%, transparent 74%);
  mask-image: radial-gradient(circle 145px at var(--ascii-x) var(--ascii-y), #000 0, #000c 38%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle 145px at var(--ascii-x) var(--ascii-y), #000 0, #000c 38%, transparent 74%);
  transition: opacity .5s;
  position: absolute;
  inset: 0;
}

.ascii-focus .ascii-layer {
  opacity: 1;
}

.ascii-field[data-active="true"] .ascii-base {
  opacity: .5;
  transform: translate(calc(-50% + var(--ascii-drift-x)), calc(-50% + var(--ascii-drift-y))) rotate(.2deg);
}

.ascii-field[data-active="true"] .ascii-focus {
  opacity: .72;
}

.ascii-field[data-active="true"] .ascii-focus .ascii-layer {
  transform: translate(calc(-50% + var(--ascii-drift-x)), calc(-50% + var(--ascii-drift-y))) rotate(.3deg) scale(1.018);
}

.demo-footer {
  z-index: 4;
  background: #eef2e9;
  border-top: 1px dashed #435f4261;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 42px;
  padding: 6px 13px 6px 16px;
  display: flex;
  position: relative;
}

.demo-footer > span {
  color: #45574b;
  letter-spacing: .09em;
  font: 800 .72rem / 1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.demo-guide {
  color: #294b36;
  text-underline-offset: 3px;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 8px;
  font-size: .79rem;
  font-weight: 850;
  transition: color .15s, transform .15s;
  display: inline-flex;
}

.demo-guide:hover {
  color: #173b25;
  transform: translateY(-1px);
}

.install-block {
  background-color: #fffdf6f7;
  background-image: radial-gradient(circle, #4856480b 0 .55px, #0000 .75px);
  background-size: 17px 19px;
  border: 1px solid #5b51374d;
  border-radius: 2px;
  min-width: 0;
  transition: transform .22s, box-shadow .22s;
  position: relative;
  overflow: visible;
  transform: rotate(-.08deg);
  box-shadow: 9px 10px #62705b1a;
}

.install-block:hover {
  transform: translateY(-2px)rotate(0);
  box-shadow: 15px 17px #62705b1a, 0 22px 50px #3040341a;
}

.install-block:before {
  z-index: 3;
  clip-path: polygon(3% 7%, 96% 0, 100% 91%, 0 100%);
  content: "";
  background: #debe7459;
  width: 70px;
  height: 17px;
  position: absolute;
  top: -8px;
  left: 44px;
  transform: rotate(-1.5deg);
}

.install-block:after {
  z-index: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(#0000 0 30px, #607a5812 30px 31px);
  position: absolute;
  inset: 48px 0 0;
}

.install-heading {
  z-index: 1;
  border-bottom: 1px dashed #435f4252;
  align-items: baseline;
  gap: 14px;
  min-height: 48px;
  padding: 13px 20px 10px;
  display: flex;
  position: relative;
}

.install-heading small {
  color: #394d41;
  font-size: .82rem;
  line-height: 1.4;
}

.install-method-row {
  z-index: 1;
  background: #dfe9df33;
  border-bottom: 1px dashed #435f423d;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 55px;
  padding: 9px 15px 9px 20px;
  display: flex;
  position: relative;
}

.install-method-row > span, .install-instruction small {
  color: #294235;
  align-items: center;
  gap: 8px;
  font: 800 .81rem / 1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  display: inline-flex;
}

.install-method-row b, .install-instruction small b {
  color: #fffdf6;
  background: var(--green);
  border-radius: 50%;
  place-items: center;
  width: 21px;
  height: 21px;
  font-size: .65rem;
  display: inline-grid;
}

.install-tabs {
  background: #dfe9df85;
  border: 1px solid #435f423b;
  border-radius: 5px 7px 5px 6px;
  align-items: center;
  gap: 4px;
  padding: 3px;
  display: flex;
}

.install-tabs button {
  color: #394d41;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 3px 5px 3px 4px;
  min-height: 34px;
  padding: 6px 12px;
  font-size: .8rem;
  font-weight: 800;
}

.install-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: #fffdf6;
  transform: rotate(-.5deg);
  box-shadow: 2px 2px #435f421f;
}

.install-panel {
  z-index: 1;
  background: #fffdf6db;
  border: 1px solid #435f4257;
  border-radius: 4px 6px 5px 4px;
  grid-template-columns: minmax(0, 1fr) 164px;
  min-height: 122px;
  margin: 13px 15px 16px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 3px 4px #435f4214;
}

.install-instruction {
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 12px 16px;
  display: grid;
}

.install-panel p, .install-panel code {
  color: #263b30;
  overflow-wrap: anywhere;
  margin: 0;
  font: .84rem / 1.58 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.install-action {
  background: #dfe9df59;
  border-left: 1px dashed #435f4257;
  grid-template-rows: 1fr 48px;
  display: grid;
}

.install-action > span {
  color: #294235;
  text-align: center;
  place-items: center;
  padding: 10px 12px;
  font: 800 .79rem / 1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  display: grid;
}

.install-panel .copy-button {
  color: #fffdf6;
  background: var(--green);
  width: 100%;
  min-width: 0;
  min-height: 48px;
  box-shadow: none;
  border: 0;
  border-top: 1px solid #31563f;
  border-radius: 0;
  align-self: end;
}

.install-panel .copy-button:hover:not(:disabled) {
  background: #31563f;
  border-color: #294b36;
  transform: none;
}

.hero-foot {
  color: #405248;
  border-top: 1px solid #30403426;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  align-items: center;
  gap: 22px;
  padding-top: 12px;
  font-size: .84rem;
  font-weight: 650;
  display: flex;
}

.hero-foot span {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.hero-foot span > svg {
  color: var(--green);
}

.human-flow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 110px 0;
}

.human-flow .section-heading {
  max-width: 720px;
}

.human-flow .section-heading h2 {
  letter-spacing: -.03em;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.human-flow ol {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.human-flow li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff47;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-height: 210px;
  padding: 38px 30px;
  transition: background-color .18s, transform .18s;
  display: grid;
  position: relative;
}

.human-flow li:hover {
  z-index: 1;
  background: #ffffffc2;
  transform: translateY(-4px);
}

.human-flow li > span {
  color: #8b968e;
  font: 700 .65rem ui-monospace, monospace;
  position: absolute;
  top: 10px;
  right: 12px;
}

.human-flow li > svg {
  color: var(--green);
}

.human-flow li div {
  gap: 9px;
  display: grid;
}

.human-flow li strong {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.human-flow li p {
  color: var(--muted);
  margin: 0;
  font-size: .84rem;
  line-height: 1.6;
}

.product-demo {
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(270px, .48fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
  padding: 120px 0;
  display: grid;
}

.demo-heading {
  position: sticky;
  top: 28px;
}

.demo-heading h2, .persistent-explainer h2 {
  letter-spacing: -.025em;
  margin: 9px 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  font-weight: 400;
  line-height: 1.04;
}

.demo-heading > p, .persistent-explainer > p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.demo-heading ul {
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.demo-heading li {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  display: flex;
}

.demo-heading li svg {
  color: var(--green);
}

.product-demo .product-window {
  border-color: #24352c61;
  border-radius: 3px;
  max-height: 760px;
  transition: transform .35s, box-shadow .35s;
  transform: rotate(.35deg);
  box-shadow: 16px 16px #dce4da;
}

.product-demo .product-window:hover {
  transform: translateY(-5px)rotate(0);
  box-shadow: 20px 22px #d7e0d5;
}

.persistent-explainer {
  grid-template-columns: 84px minmax(0, 760px);
  gap: 32px;
  max-width: 900px;
  padding: 110px 0 120px;
  display: grid;
}

.persistent-mark {
  border: 1px solid var(--line);
  width: 64px;
  height: 64px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
  place-items: center;
  display: grid;
  box-shadow: 0 0 0 8px #dfe9df80;
}

.docs-layout {
  grid-template-columns: 190px minmax(0, 760px);
  justify-content: center;
  gap: 58px;
  padding: 54px 0 90px;
  display: grid;
}

.docs-nav {
  gap: 12px;
  height: fit-content;
  padding-top: 10px;
  display: grid;
  position: sticky;
  top: 30px;
}

.docs-nav span {
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  font: 700 .68rem ui-monospace, monospace;
}

.docs-nav a {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.docs-nav a:hover {
  color: var(--green);
}

.docs-content {
  min-width: 0;
}

.docs-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: 42px;
}

.back-link {
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-bottom: 28px;
  text-decoration: none;
  display: none;
}

.docs-intro h1 {
  max-width: 680px;
  margin: 10px 0 16px;
  font-family: Georgia, serif;
  font-size: 3.7rem;
  font-weight: 400;
  line-height: 1.02;
}

.docs-intro > p {
  max-width: 650px;
  color: var(--muted);
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.7;
}

.docs-warning {
  border-left: 4px solid var(--yellow);
  color: #5f4716;
  background: #fff2c9;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  margin: 34px 0 0;
  padding: 18px;
  display: grid;
}

.docs-warning p, .docs-note p {
  margin: 4px 0 0;
  line-height: 1.55;
}

.docs-section {
  padding: 62px 0 0;
  scroll-margin-top: 24px;
  position: relative;
}

.docs-section > .doc-index {
  position: absolute;
  top: 69px;
  left: -42px;
}

.docs-section h2 {
  margin: 0 0 14px;
  font-family: Georgia, serif;
  font-size: 2.15rem;
  font-weight: 400;
}

.docs-section h3 {
  margin: 32px 0 10px;
  font-size: .86rem;
}

.docs-section > p {
  color: var(--muted);
  margin: 12px 0;
  line-height: 1.7;
}

.docs-section pre {
  color: #e4ece6;
  background: #26342c;
  border: 1px solid #41534a;
  max-width: 100%;
  margin: 22px 0;
  padding: 20px;
  font: .77rem / 1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow: auto;
}

.docs-section pre code {
  color: inherit;
  font: inherit;
}

.poll-table {
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.poll-table > div {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  display: grid;
}

.poll-table span {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.docs-note {
  color: var(--green);
  align-items: start;
  gap: 10px;
  padding: 14px 0;
  display: flex;
}

.field-reference {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
  display: grid;
}

.field-reference > div {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.field-reference p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: .82rem;
  line-height: 1.5;
}

.docs-end {
  border-top: 2px solid var(--green);
  margin-top: 70px;
  padding: 28px 0;
}

.docs-end p {
  color: var(--muted);
}

.docs-end a {
  color: var(--green);
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 800;
  display: inline-flex;
}

@media (max-width: 800px) {
  .workbench {
    padding: 18px;
  }

  .workbench-header {
    flex-direction: column;
    align-items: start;
  }

  .workbench-grid {
    grid-template-columns: 1fr;
  }

  .editor-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .code-editor {
    min-height: 400px;
  }

  .session-shell {
    width: min(100% - 24px, 940px);
    padding-top: 10px;
  }

  .response-form {
    height: calc(100svh - 78px);
    min-height: 560px;
    box-shadow: none;
    background: none;
    border: 0;
    margin-top: 12px;
    padding: 0;
  }

  .response-form:before {
    display: none;
  }

  .response-form:after {
    right: 18px;
  }

  .form-intro {
    padding: 8px 32px 6px;
  }

  .form-intro h1 {
    font-size: 2.45rem;
  }

  .single-question {
    padding: 20px 32px 28px;
  }

  .form-field {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0 34px;
  }

  .field-number {
    width: 31px;
  }

  .submit-bar {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    position: static;
  }

  .submit-bar .button {
    width: 100%;
  }

  .site-shell {
    width: min(100% - 36px, 1240px);
  }

  .landing-hero {
    padding-top: 50px;
  }

  .hero-copy h1 {
    font-size: 4.1rem;
  }

  .contract-band ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contract-band li:nth-child(2) {
    border-right: 0;
  }

  .poll-rule {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 18px;
    padding: 54px 0;
  }

  .poll-rule > p {
    grid-column: 2;
  }

  .prompt-block {
    grid-template-columns: 1fr;
  }

  .copy-button {
    width: fit-content;
  }

  .protocol-code > div {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
  }

  .protocol-code small {
    grid-column: 2;
  }

  .product-proof {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .proof-copy {
    position: static;
  }

  .docs-layout {
    grid-template-columns: minmax(0, 760px);
    padding-top: 38px;
  }

  .docs-nav {
    display: none;
  }

  .back-link {
    display: flex;
  }

  .docs-section > .doc-index {
    margin-bottom: 8px;
    display: block;
    position: static;
  }

  .onboarding-hero {
    min-height: calc(100svh - 66px);
    padding: 44px 0 42px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .onboarding-copy {
    max-width: 680px;
  }

  .onboarding-copy h1 {
    font-size: clamp(4rem, 12vw, 5.8rem);
  }

  .hero-action-stack {
    width: min(100%, 680px);
  }

  .ascii-field {
    opacity: 1;
    width: 100%;
    height: 360px;
  }

  .hero-foot {
    grid-column: 1;
  }

  .human-flow ol {
    grid-template-columns: 1fr;
  }

  .human-flow li {
    min-height: 130px;
  }

  .product-demo {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 88px 0;
  }

  .demo-heading {
    position: static;
  }

  .persistent-explainer {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 24px;
    padding: 88px 0;
  }

  .persistent-mark {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 520px) {
  .workbench {
    padding: 12px;
  }

  .workbench-header h1 {
    font-size: 2.3rem;
  }

  .command-row .button {
    width: 100%;
  }

  .token-field {
    grid-template-columns: 1fr;
  }

  .session-brand small, .revision-pill {
    display: none;
  }

  .session-shell {
    width: min(100% - 14px, 940px);
  }

  .session-header {
    padding: 0 5px;
  }

  .response-form {
    height: calc(100svh - 68px);
    min-height: 520px;
    box-shadow: none;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  .response-form:after {
    width: 42px;
  }

  .form-intro {
    margin: 0;
    padding: 6px 12px 4px;
  }

  .form-intro h1 {
    font-size: 2rem;
  }

  .form-intro > p {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: .78rem;
    display: -webkit-box;
    overflow: hidden;
  }

  .single-question {
    padding: 16px 12px 24px;
  }

  .question-tape {
    font-size: .6rem;
  }

  .field-heading h2 {
    font-size: 1.72rem;
  }

  .confirm-actions {
    grid-template-columns: 1fr;
  }

  .field-heading {
    flex-direction: column;
    align-items: start;
    gap: 5px;
  }

  .input-label.is-singleline input {
    font-size: 1.3rem;
  }

  .input-label.is-multiline {
    padding: 16px 14px 24px;
  }

  .audio-sheet, .video-sheet {
    min-height: 150px;
    padding: 14px;
  }

  .response-form > .submit-bar {
    min-height: 54px;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: none;
    border-radius: 0;
    margin: 0;
    padding: 8px 12px 2px;
  }

  .state-page {
    min-height: 580px;
  }

  .lab-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    min-height: 52px;
    padding: 4px 2px;
  }

  .lab-header-left {
    grid-area: 1 / 1;
    gap: 6px;
  }

  .lab-header > span {
    white-space: nowrap;
    grid-area: 2 / 1 / auto / -1;
    justify-self: center;
    padding: 5px 7px;
    font-size: .57rem;
  }

  .lab-header > button {
    grid-area: 1 / 3;
    min-height: 36px;
    padding: 6px 9px;
  }

  .lab-back {
    font-size: .68rem;
  }

  .history-menu summary > span {
    display: none;
  }

  .lab-success {
    margin-top: 10px;
    position: static;
  }

  .lab-form {
    height: calc(100svh - 108px);
    margin-top: 8px;
  }

  .site-header {
    min-height: 62px;
  }

  .site-brand {
    gap: 9px;
  }

  .site-brand img {
    width: 36px;
    height: 36px;
  }

  .site-header nav {
    gap: 8px;
  }

  .site-header nav .header-examples-link {
    min-height: 32px;
    padding: 5px 8px;
  }

  .site-header nav .header-docs-link {
    padding-left: 8px;
  }

  .landing-hero {
    padding-top: 38px;
  }

  .hero-copy {
    padding-bottom: 42px;
  }

  .hero-copy h1 {
    font-size: 3.7rem;
  }

  .hero-lead {
    font-size: 1.3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .contract-band ol {
    grid-template-columns: 1fr;
  }

  .contract-band li, .contract-band li:nth-child(2) {
    border-right: 0;
  }

  .poll-rule {
    grid-template-columns: 1fr;
  }

  .poll-rule > p {
    grid-column: 1;
  }

  .agent-prompt-section, .quick-protocol, .product-proof {
    padding: 52px 0;
  }

  .prompt-block {
    padding: 18px;
    box-shadow: 5px 5px #dce4da;
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    align-items: start;
  }

  .docs-intro h1 {
    font-size: 2.75rem;
  }

  .docs-warning, .field-reference {
    grid-template-columns: 1fr;
  }

  .poll-table > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .onboarding-hero {
    min-height: calc(100svh - 62px);
    padding: 36px 0 28px;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: .66rem;
  }

  .onboarding-copy h1 {
    font-size: clamp(3.5rem, 17vw, 4.7rem);
    line-height: .9;
  }

  .hero-statement {
    margin-top: 24px;
    font-size: 1.05rem;
  }

  .ascii-field {
    opacity: 1;
    width: 100%;
    height: 278px;
    box-shadow: 6px 6px #607a581c;
  }

  .ascii-layer {
    font-size: .66rem;
    line-height: 1.22;
  }

  .onboarding-copy .hero-detail {
    font-size: .94rem;
    line-height: 1.55;
  }

  .install-block {
    margin-top: 24px;
    box-shadow: 5px 5px #dce4da;
  }

  .install-heading {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    min-height: 0;
    padding: 13px;
  }

  .install-heading small {
    font-size: .76rem;
  }

  .install-method-row {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 10px 13px;
  }

  .install-tabs {
    width: 100%;
  }

  .install-tabs button {
    flex: 1;
  }

  .install-panel {
    grid-template-columns: 1fr;
    min-height: 0;
    margin: 10px 13px 13px;
  }

  .install-instruction {
    padding: 13px;
  }

  .install-action {
    border-top: 1px dashed #435f4257;
    border-left: 0;
    grid-template-rows: 44px;
    grid-template-columns: minmax(0, 1fr) 118px;
  }

  .install-action > span {
    text-align: left;
    justify-content: start;
  }

  .install-panel p, .install-panel code {
    font-size: .8rem;
  }

  .install-panel .copy-button {
    width: 100%;
    min-height: 44px;
  }

  .hero-foot {
    gap: 10px 16px;
    margin-top: 22px;
  }

  .human-flow, .product-demo {
    padding: 68px 0;
  }

  .human-flow .section-heading h2 {
    font-size: 2.55rem;
  }

  .persistent-explainer {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 70px 0 82px;
  }

  .demo-heading h2, .persistent-explainer h2 {
    font-size: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .ascii-field[data-active="true"] .ascii-base, .ascii-field[data-active="true"] .ascii-focus .ascii-layer {
    transform: translate(-50%, -50%);
  }
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/