:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #263735;
  background: #f3f5f4;
  font-synthesis: none;
  --accent: #244e48;
  --line: #dfe5e1;
  --muted: #71807c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
input:focus-visible,
a:focus-visible,
.browser-frame:focus-visible {
  outline: 3px solid #6dada0;
  outline-offset: 4px;
}
button {
  border: 0;
}
.workspace {
  max-width: 1024px;
  margin: auto;
  padding: 0 42px;
}
.mode-banner {
  background: #e7ece8;
  border-bottom: 1px solid #d5ded7;
  padding: 12px 22px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #496257;
}
header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-size: 19px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.header-note {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
main {
  max-width: 740px;
  margin: 64px auto 0;
}
.intro {
  margin-bottom: 44px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6f8981;
  font-weight: 600;
}
h1 {
  font-size: 43px;
  line-height: 1.12;
  letter-spacing: -1.7px;
  font-weight: 540;
  margin: 16px 0;
}
p {
  line-height: 1.6;
}
.intro p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.conversation {
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.user-message {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #657772;
  font-size: 13px;
}
.user-message > span:first-child {
  background: #eaf0ec;
  border-radius: 14px 14px 3px 14px;
  padding: 14px 18px;
}
.user-avatar {
  font-size: 10px;
  color: #7c9089;
}
.leo-message {
  display: flex;
  gap: 17px;
  align-items: flex-start;
}
.leo-avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid #d7e2da;
  border-radius: 10px;
  background: #e5ede7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #456658;
}
.leo-content {
  flex: 1;
  min-width: 0;
}
.speaker {
  font-weight: 650;
  font-size: 12px;
  display: block;
  padding-top: 9px;
  margin-bottom: 14px;
}
.message-copy {
  font-size: 16px;
  margin: 0 0 21px;
  line-height: 1.65;
  color: #40564e;
}
.action-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 26px;
  box-shadow: 0 6px 24px #23413a04;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 0 0 14px;
  font-weight: 570;
}
.field-label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 11px;
}
.photo-button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 15px;
  background: #f6f8f6;
  border: 1px dashed #ccd8d0;
  width: 100%;
  padding: 20px;
  border-radius: 11px;
  color: #38564a;
}
.photo-button.selected {
  border-style: solid;
  border-color: #7fa394;
  background: #edf4ef;
}
.photo-symbol {
  font-size: 23px;
  flex: none;
}
.photo-button strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.photo-button small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 5px;
}
.gallery {
  display: block;
  margin: 12px 0 20px;
  padding: 4px 0;
  font-size: 12px;
  color: #698579;
  background: none;
}
.purpose {
  margin-top: 23px;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice {
  padding: 15px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbfa;
  color: #556b62;
  font-size: 12px;
}
.choice[aria-pressed="true"] {
  background: #edf4ef;
  border-color: #8bad9e;
  color: #234e3f;
}
.purpose-known {
  font-size: 13px;
  color: #607b6e;
  margin: 20px 0;
}
.primary,
.secondary {
  padding: 15px 18px;
  border-radius: 9px;
  width: 100%;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  min-height: 48px;
}
.primary {
  background: var(--accent);
  color: #fff;
}
.secondary {
  background: #edf2ee;
  color: #3c6250;
  border: 1px solid #dbe5dd;
}
.action-card > .primary {
  margin-top: 23px;
}
.demo-button {
  margin-top: 14px;
}
.privacy {
  font-size: 11px;
  color: #7b8b84;
  line-height: 1.6;
  margin: 15px 0 0;
}
.progress-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: #edf2ef;
  border-radius: 12px;
  padding: 20px;
}
.progress-card strong {
  display: block;
  font-size: 13px;
}
.progress-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.5;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d0ddd4;
  border-top-color: #3f7160;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.receipt {
  color: #819189;
  font-size: 12px;
  display: flex;
  gap: 10px;
  margin: 10px 0 10px 51px;
  line-height: 1.5;
}
.receipt span:first-child {
  color: #69997e;
}
.receipts:empty {
  display: none;
}
.task-footer {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin: 32px 0;
  padding: 18px 0;
  font-size: 11px;
  color: #93a199;
}
.task-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.quiet {
  background: none;
  color: #6b8177;
  padding: 7px 0;
  font-size: 11px;
}
.error {
  color: #a44c37;
  background: #fff2ed;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 13px;
  margin: 15px 0 0;
  line-height: 1.5;
}
.notice-copy {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.private-field {
  display: block;
  width: 100%;
  padding: 16px;
  border: 1px solid #cbd9d0;
  border-radius: 9px;
  background: #fafcfb;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #254b3a;
  margin: 13px 0 0;
}
.private-field[type="password"] {
  letter-spacing: normal;
}
.contact-choices {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.contact-choices button {
  background: #f5f8f5;
  border: 1px solid #dce6de;
  border-radius: 10px;
  padding: 17px;
  text-align: left;
  color: #3a5d49;
  font-size: 13px;
}
.contact-choices button:last-child {
  font-size: 12px;
  color: #79897e;
  background: none;
  border-style: dashed;
}
.browser-card {
  padding: 0;
  overflow: hidden;
  background: #e6ece8;
  border: 1px solid #cdd8d0;
  border-radius: 13px;
  margin: 20px 0;
}
.browser-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 11px;
  color: #587363;
  background: #f6f9f6;
}
.browser-viewport {
  position: relative;
  touch-action: none;
}
.browser-frame {
  display: block;
  width: 100%;
  height: auto;
  outline-offset: -4px !important;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.frame-loading {
  position: absolute;
  inset: 0;
  background: #ffffff35;
  pointer-events: none;
}
.handoff-tools {
  padding: 15px;
  background: #f7f9f7;
  display: grid;
  gap: 10px;
}
.handoff-input {
  display: flex;
  gap: 8px;
}
.handoff-input input {
  min-width: 0;
  flex: 1;
  border: 1px solid #d3ded5;
  border-radius: 7px;
  padding: 12px;
  font-size: 13px;
  background: #fff;
}
.handoff-input button,
.keyboard-row button {
  border: 1px solid #d6e0d8;
  border-radius: 7px;
  background: #fff;
  color: #52705d;
  padding: 10px;
  font-size: 11px;
}
.keyboard-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.handoff-help {
  font-size: 12px;
  color: #73907c;
  line-height: 1.5;
  margin: 13px 0 0;
}
.handoff-return {
  margin-top: 18px;
}
.result-code {
  font-size: clamp(25px, 7vw, 36px);
  font-weight: 620;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 25px 12px;
  border: 1px solid #d3e0d7;
  background: #f1f6f2;
  border-radius: 10px;
  margin: 20px 0;
  color: #24513b;
}
.result-details {
  font-size: 13px;
  color: #6f8678;
  line-height: 1.8;
}
.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 19px;
}
.fixture-note {
  font-size: 12px;
  color: #956b37;
  line-height: 1.5;
  margin: 14px 0;
}
.purpose-notice {
  margin: 0 0 12px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  margin-top: 50px;
  font-size: 11px;
  color: #91a298;
}
@media (max-width: 620px) {
  .workspace {
    padding: 0 20px;
  }
  header {
    min-height: 78px;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .header-note {
    display: none;
  }
  main {
    margin-top: 38px;
  }
  .intro {
    margin-bottom: 34px;
  }
  h1 {
    font-size: 35px;
    letter-spacing: -1.2px;
  }
  .intro p {
    font-size: 13px;
  }
  .leo-message {
    gap: 12px;
  }
  .leo-avatar {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    font-size: 13px;
  }
  .speaker {
    padding-top: 6px;
  }
  .message-copy {
    font-size: 14px;
  }
  .action-card {
    padding: 20px;
    border-radius: 13px;
  }
  .photo-button {
    padding: 16px;
  }
  .choices {
    gap: 8px;
  }
  .choice {
    padding: 13px 9px;
  }
  .user-message {
    font-size: 11px;
    gap: 8px;
  }
  .user-message > span:first-child {
    padding: 12px 14px;
  }
  .task-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .task-controls {
    justify-content: flex-end;
    width: 100%;
    gap: 21px;
  }
  .receipt {
    margin-left: 41px;
  }
  .handoff-input {
    flex-wrap: wrap;
  }
  .handoff-input input {
    flex-basis: 75%;
  }
  .keyboard-row button {
    padding: 12px 10px;
  }
  .browser-note {
    padding: 12px;
    font-size: 10px;
  }
  .handoff-tools {
    padding: 11px;
  }
  .mode-banner {
    font-size: 11px;
  }
  .result-actions {
    grid-template-columns: 1fr;
  }
  footer {
    margin-top: 30px;
    line-height: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}

.browser-note {
  flex-wrap: wrap;
}
.browser-note #frame-status {
  margin-left: auto;
}
.browser-note #frame-zoom {
  border: 1px solid #cddbd2;
  background: #fff;
  border-radius: 7px;
  color: #3c6250;
  padding: 9px 11px;
  font-size: 11px;
  min-height: 38px;
}
.browser-viewport.expanded {
  overflow: auto;
  max-height: min(60vh, 520px);
  touch-action: pan-x pan-y;
  overscroll-behavior: contain;
}
.browser-viewport.expanded .browser-frame {
  max-width: none;
  touch-action: pan-x pan-y;
}
.browser-viewport.expanded .frame-loading {
  position: sticky;
  display: block;
  inset: auto;
  top: 0;
  height: 0;
}

@media(max-width:620px){.header-note.savannah-return{display:inline-block;font-size:11px;line-height:1.5;color:#6b8177;text-decoration:none}}
