@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --green: #89ff8e;
  --navy: #06182b;
  --navy-soft: #0f2a47;
  --white: #f5f5f4;
  --border: #dddddd;
  --muted: #5a5a56;
  --danger: #e76b6b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  background: var(--green);
  color: var(--navy);
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 0.5px solid rgba(6, 24, 43, 0.15);
}

.topbar img { height: 28px; width: auto; display: block; }

.topbar .subdomain-label {
  font-size: 13px;
  color: #0a2a47;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(6, 24, 43, 0.3);
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

h1 { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.lede { font-size: 13px; color: #0a2a47; margin: 0 0 22px; line-height: 1.5; }

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}

.card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 8px;
}

input[type="text"], input[type="email"], select {
  width: 100%;
  height: 40px;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #1e1e1c;
  background: #ffffff;
}

.btn {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: center;
  background: var(--navy);
  color: var(--green);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px;
  border-radius: 8px;
}

.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-outline {
  background: transparent;
  border: 0.5px solid var(--navy);
  color: var(--navy);
}

.question-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 0.5px solid #e2e2e0;
}

.question-row:last-child { border-bottom: none; }

.question-row input[type="text"] {
  border: none;
  background: transparent;
  height: auto;
  padding: 2px 0;
  flex: 1;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #9a9a96;
  font-size: 15px;
  padding: 4px;
}

.set-card {
  background: var(--white);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.set-card .set-title { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.set-card .set-meta { font-size: 12px; color: #8a8f94; margin: 0; }

.add-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.add-row .plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
}

.add-row span.label { font-size: 13px; font-weight: 600; color: var(--navy); }

.link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
}

.link-box span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hidden { display: none !important; }

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-row .box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #9ca3af;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.checkbox-row input:checked + .box {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--green);
  font-size: 12px;
}

.checkbox-row p { font-size: 13px; line-height: 1.6; color: #1e3348; margin: 0; }

.video-frame {
  position: relative;
  background: var(--navy);
  border-radius: 10px;
  height: 220px;
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame video { width: 100%; height: 100%; object-fit: cover; }

.video-frame .placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 26px;
}

.controls-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }

.control-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
}

.notice {
  font-size: 13px;
  color: #4a4351;
  background: #fff389;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

a { color: var(--navy); }
