@font-face {
  font-family: Hanken;
  src: url("/fonts/hanken-grotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --canvas: #edf1eb;
  --paper: #fffefa;
  --forest: #244d3f;
  --ink: #223e32;
  --muted: #66736b;
  --line: #d9dfd6;
  --mint: #e8eee4;
  --yellow: #efce73;
  --error: #a72d36;
  font-family: Hanken, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ad7b20;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  letter-spacing: -0.04em;
}
h1 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 12px;
}
h2 {
  font-size: 29px;
}
h3 {
  font-size: 21px;
}
p {
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 650;
}
.skip {
  position: absolute;
  top: -70px;
  left: 20px;
  background: var(--paper);
  padding: 15px;
  z-index: 10;
}
.skip:focus {
  top: 5px;
}
.topbar {
  max-width: 1320px;
  margin: auto;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 22px;
  white-space: nowrap;
  letter-spacing: -0.6px;
}
.brand img {
  width: 25px;
  height: 30px;
}
.brand b {
  font-weight: 400;
}
.toplinks {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.toplinks a {
  text-decoration: none;
}
.toplinks a:hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  min-height: 44px;
  border: 1px solid var(--forest);
  border-radius: 7px;
  background: var(--forest);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover {
  background: #183d30;
}
.button.secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--forest);
}
.button.secondary:hover {
  background: var(--mint);
}
.button.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--forest);
}
.button.small {
  padding: 8px 13px;
  min-height: 38px;
  font-size: 13px;
}
.button.danger {
  background: #a72d36;
  border-color: #a72d36;
  color: #fff;
}
.google-mark {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.footer {
  max-width: 1240px;
  margin: 30px auto;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.footer nav {
  display: flex;
  gap: 22px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.landing {
  max-width: 1240px;
  margin: 12px auto 45px;
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
}
.landing-copy {
  padding: 80px 56px;
  align-self: center;
}
.landing h1 {
  font-size: 64px;
  line-height: 1.03;
  max-width: 440px;
  margin: 22px 0;
}
.landing-copy > p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
  max-width: 330px;
  margin-bottom: 28px;
}
.landing-art {
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.landing-art img {
  width: 100%;
  mix-blend-mode: normal;
}
.art-caption {
  color: #e5ecdc;
  border-top: 1px solid #9ab19a45;
  display: flex;
  justify-content: space-between;
  width: 78%;
  padding-top: 18px;
  font-size: 12px;
  margin: 0 0 40px;
}
.mini-steps {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}
.mini-steps span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mini-steps b {
  font-size: 11px;
  background: var(--mint);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.workspace {
  max-width: 1240px;
  margin: 16px auto 40px;
}
.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 35px;
  gap: 20px;
}
.workspace-head h1 {
  font-size: 40px;
  margin: 0;
}
.workspace-head p {
  margin: 8px 0 0;
  font-size: 14px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #e2e9df;
  border-radius: 8px;
}
.tabs button {
  border: 0;
  border-radius: 6px;
  padding: 9px 16px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.tabs button[aria-selected="true"] {
  background: var(--paper);
  color: var(--forest);
  box-shadow: 0 1px 3px #183b3010;
}
.search {
  width: 240px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 12px;
  font-size: 15px;
  font-weight: 400;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--forest);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.form-card:hover {
  box-shadow: 0 5px 18px #1d3d3010;
  transform: translateY(-2px);
}
.card-open {
  display: block;
  padding: 26px 26px 18px;
  text-decoration: none;
  min-height: 180px;
}
.card-open h2 {
  font-size: 24px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  margin: 24px 0 10px;
}
.card-open p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  border-radius: 4px;
  background: var(--mint);
  padding: 5px 8px;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status.open {
  color: #356343;
  background: #e5efd9;
}
.status.draft {
  background: #f4ecd7;
  color: #867035;
}
.card-foot {
  padding: 17px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.empty {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 46px;
  display: flex;
  align-items: center;
  gap: 42px;
}
.empty-art {
  width: 220px;
  background: var(--forest);
  border-radius: 8px;
}
.empty h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.empty p {
  font-size: 15px;
  color: var(--muted);
  max-width: 350px;
}
.empty-actions {
  display: flex;
  gap: 10px;
}
.error {
  color: var(--error);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.notice {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0;
  line-height: 1.5;
}
.loading {
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
}
.editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--line);
}
.editor-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.back-link {
  font-size: 13px;
  text-decoration: none;
}
.editor-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 730px);
  gap: 40px;
  justify-content: center;
  margin-top: 32px;
}
.editor-sidebar {
  align-self: start;
  position: sticky;
  top: 25px;
}
.editor-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.editor-nav button {
  text-align: left;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 13px 15px;
  font-size: 14px;
}
.editor-nav button[aria-selected="true"] {
  background: #dfe8db;
  color: var(--forest);
  font-weight: 650;
}
.editor-sidebar .notice {
  padding: 0 15px;
  margin-top: 24px;
}
.editor-main {
  min-width: 0;
}
.paper {
  background: var(--paper);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 20px;
}
.form-title-input {
  font-size: 28px !important;
  letter-spacing: -0.03em;
  font-weight: 550 !important;
}
.question-card {
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 15px;
}
.question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}
.question-tools {
  display: flex;
  gap: 4px;
}
.icon-button {
  border: 0;
  background: transparent;
  border-radius: 5px;
  min-width: 32px;
  height: 32px;
  font-size: 17px;
}
.icon-button:hover {
  background: var(--mint);
}
.question-settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.question-settings select {
  max-width: 210px;
  font-size: 13px;
  padding: 10px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.question-card .field {
  margin-bottom: 15px;
}
.question-card .options {
  margin-top: 20px;
}
.add-question {
  width: 100%;
  border: 1px dashed #a9b8a3;
  background: transparent;
  border-radius: 7px;
  padding: 16px;
  font-size: 14px;
}
.add-question:hover {
  background: var(--mint);
}
.share-box {
  display: flex;
  gap: 10px;
  margin: 25px 0;
}
.share-box input {
  font-size: 13px !important;
}
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.danger-zone {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.danger-zone h3 {
  font-size: 19px;
}
.responses-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.responses-head h2 {
  margin: 0;
}
.response-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.response-row {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 20px;
  gap: 20px;
}
.response-row strong {
  font-size: 14px;
  font-weight: 550;
  display: block;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.response-row span {
  font-size: 12px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: 30px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 85vh;
}
dialog::backdrop {
  background: #162e2675;
}
dialog h2 {
  margin-bottom: 10px;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
}
.template-options {
  display: grid;
  gap: 10px;
  margin: 25px 0;
}
.template-button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 18px;
  text-align: left;
}
.template-button:hover {
  background: var(--mint);
}
.template-button strong {
  display: block;
  font-size: 16px;
  font-weight: 550;
}
.template-button span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
dl {
  margin: 24px 0;
}
dt {
  font-weight: 600;
  font-size: 14px;
  margin-top: 22px;
}
dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 13px;
  max-width: 90vw;
  z-index: 30;
  box-shadow: 0 4px 18px #142b2425;
}
.participant {
  max-width: 700px;
  margin: 20px auto 50px;
}
.form-banner {
  height: 110px;
  background: var(--forest);
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  position: relative;
}
.form-banner img {
  position: absolute;
  width: 280px;
  right: 16px;
  top: -46px;
}
.form-banner span {
  position: absolute;
  left: 32px;
  top: 43px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #e1e9d9;
  text-transform: uppercase;
}
.participant-paper {
  background: var(--paper);
  padding: 40px 45px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.participant h1 {
  font-size: 36px;
  overflow-wrap: anywhere;
}
.participant .description {
  color: var(--muted);
  font-size: 15px;
  white-space: pre-wrap;
}
.participant-question {
  margin: 30px 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.participant-question legend {
  font-size: 17px;
  font-weight: 550;
  line-height: 1.4;
  margin-bottom: 14px;
  width: 100%;
  overflow-wrap: anywhere;
}
.required {
  color: var(--muted);
  font-size: 13px;
}
.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.option-label:has(input:checked) {
  border-color: var(--forest);
  background: var(--mint);
}
.rating-options {
  display: flex;
  gap: 8px;
}
.rating-options label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.submit-area {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 32px;
}
.receipt {
  font-family: monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.account-label {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--muted);
}
.preview-label {
  text-align: center;
  padding: 10px;
  background: var(--yellow);
  font-size: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
}
@media (max-width: 1320px) {
  .workspace,
  .landing,
  .footer {
    margin-left: 40px;
    margin-right: 40px;
  }
}
@media (max-width: 960px) {
  .landing-copy {
    padding: 50px 35px;
  }
  .landing h1 {
    font-size: 50px;
  }
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .editor-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 25px;
  }
  .editor-head .button {
    padding: 10px 13px;
  }
  .mini-steps {
    gap: 13px;
  }
  .account-label {
    max-width: 150px;
  }
}
@media (max-width: 680px) {
  .topbar {
    padding: 20px;
  }
  .toplinks {
    gap: 12px;
  }
  .toplinks > a:first-child:not(.button) {
    display: none;
  }
  .brand {
    font-size: 20px;
  }
  .landing,
  .workspace,
  .footer {
    margin-left: 20px;
    margin-right: 20px;
  }
  .landing {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .landing-copy {
    padding: 36px 28px;
  }
  .landing h1 {
    font-size: 48px;
  }
  .landing-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .landing-art {
    height: 220px;
    overflow: hidden;
  }
  .landing-art img {
    width: 370px;
    position: relative;
    top: 28px;
  }
  .art-caption {
    display: none;
  }
  .mini-steps {
    margin-top: 25px;
    gap: 14px;
  }
  .mini-steps span {
    font-size: 11px;
  }
  .footer {
    font-size: 11px;
    flex-wrap: wrap;
  }
  .footer nav {
    gap: 16px;
  }
  .workspace-head {
    margin: 20px 0 24px;
  }
  .workspace-head h1 {
    font-size: 32px;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .search {
    width: 100%;
  }
  .tabs {
    align-self: start;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .empty {
    padding: 28px;
    flex-direction: column;
    gap: 24px;
    align-items: start;
  }
  .empty-art {
    width: 150px;
  }
  .empty h2 {
    font-size: 28px;
  }
  .empty-actions {
    flex-wrap: wrap;
  }
  .editor-head {
    flex-wrap: wrap;
  }
  .editor-head > div:last-child {
    margin-left: auto;
  }
  .editor-layout {
    display: block;
    margin-top: 20px;
  }
  .editor-sidebar {
    position: static;
    margin-bottom: 20px;
  }
  .editor-nav {
    flex-direction: row;
    background: #e2e9df;
    padding: 4px;
    border-radius: 7px;
  }
  .editor-nav button {
    flex: 1;
    text-align: center;
    font-size: 13px;
    padding: 11px 8px;
  }
  .editor-nav button[aria-selected="true"] {
    background: var(--paper);
  }
  .editor-sidebar .notice {
    display: none;
  }
  .paper,
  .question-card {
    padding: 22px;
  }
  .question-settings {
    gap: 12px;
  }
  .question-settings select {
    max-width: 180px;
  }
  .form-title-input {
    font-size: 23px !important;
  }
  .share-box {
    flex-direction: column;
  }
  .responses-head {
    align-items: start;
    flex-direction: column;
  }
  .account-label {
    display: none;
  }
  .participant {
    margin: 10px 15px 30px;
  }
  .participant-paper {
    padding: 30px 24px;
  }
  .participant h1 {
    font-size: 31px;
  }
  .form-banner {
    height: 90px;
  }
  .form-banner span {
    left: 24px;
    top: 35px;
  }
  .form-banner img {
    width: 240px;
    right: 0;
    top: -42px;
  }
  .rating-options {
    gap: 5px;
  }
  .rating-options label {
    flex-direction: column;
    gap: 7px;
    padding: 12px 6px;
  }
  .participant-question {
    margin: 27px 0;
  }
  .participant-question legend {
    font-size: 16px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.landing-art img,
.empty-art,
.form-banner img {
  height: auto;
}
.landing-copy > p.signin-terms {
  font-size: 11px;
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 300px;
}
