:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1c3434;
  background: #f4f6f3;
  font-synthesis: none;
  line-height: 1.6;
  --ink: #1c3434;
  --muted: #687b78;
  --teal: #17675c;
  --line: #e0e7e1;
  --soft: #edf4ee;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button {
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.45;
  transition: background 0.15s;
}
button:hover:not(:disabled) {
  background: #0e5148;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
button.secondary:hover:not(:disabled),
button.quiet:hover:not(:disabled) {
  background: var(--soft);
}
button.quiet {
  background: transparent;
  color: var(--muted);
}
a {
  color: var(--teal);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #83baa5;
  outline-offset: 3px;
}
.topbar {
  height: 86px;
  padding: 0 max(24px, calc((100% - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 42px;
  background: var(--teal);
  border-radius: 12px 12px 12px 3px;
  color: white;
  font-family: Georgia, serif;
  font-size: 28px;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 3px;
}
main {
  max-width: 1240px;
  padding: 35px 24px 24px;
  margin: auto;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.7px;
  line-height: 1.45;
  margin-bottom: 8px;
}
h2 {
  font-size: 21px;
  line-height: 1.5;
  margin-bottom: 0;
}
h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.hero p:last-child {
  margin-bottom: 0;
}
.hotel-switcher {
  min-width: 320px;
}
.inline {
  display: flex;
  gap: 8px;
}
.inline select {
  min-width: 0;
  flex: 1;
}
.inline button {
  white-space: nowrap;
}
.capabilities {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.capability {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 99px;
  color: var(--muted);
}
.capability.available {
  background: var(--soft);
  border-color: #d6e7d9;
  color: var(--teal);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.steps a {
  font-size: 13px;
  text-decoration: none;
  background: #eaf0e9;
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--ink);
}
.steps span {
  font-size: 11px;
  margin-right: 12px;
  color: #7b9088;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 22px;
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
}
.section-heading .eyebrow {
  margin-bottom: 3px;
}
.section-number {
  font-family: Georgia, serif;
  font-size: 34px;
  color: #d5e2d7;
}
label {
  display: block;
  font-size: 12px;
  color: #425b56;
  font-weight: 500;
  margin-bottom: 15px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: #fcfdfb;
  border: 1px solid #dce4dd;
  border-radius: 7px;
  color: var(--ink);
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #9bc5b5;
  outline-offset: 1px;
  border-color: #9bc5b5;
}
input::placeholder,
textarea::placeholder {
  color: #98a7a1;
}
textarea {
  resize: vertical;
  min-height: 70px;
}
select {
  height: 42px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.wide {
  grid-column: 1/-1;
}
.required {
  color: #a3573b;
}
.help {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 5px 0 12px;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
.form-footer .help {
  margin: 0;
}
details {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin: 4px 0 16px;
}
summary {
  color: var(--teal);
  font-size: 12px;
  cursor: pointer;
  margin-bottom: 10px;
}
.code-input {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
}
.creation-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 22px;
}
.creation-grid .panel {
  min-width: 0;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 4px;
}
.checkbox input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--teal);
}
.full-width {
  width: 100%;
  margin-top: 4px;
}
.work-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 25px;
}
.job-list {
  max-height: 780px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-card {
  width: 100%;
  border: 1px solid var(--line);
  text-align: left;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  font-size: 12px;
  font-weight: 500;
}
.job-card:hover:not(:disabled),
.job-card.selected {
  background: var(--soft);
  border-color: #9fbfb1;
}
.job-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.job-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.status {
  font-size: 10px;
  border-radius: 4px;
  padding: 2px 5px;
  white-space: nowrap;
  background: #edf1ee;
  color: #667b72;
}
.status.succeeded {
  color: #286447;
  background: #e3f0e5;
}
.status.failed {
  color: #a14b36;
  background: #f9e9e3;
}
.status.running,
.status.submitted {
  color: #8b6932;
  background: #faf0da;
}
.result-panel {
  border-left: 1px solid var(--line);
  padding-left: 25px;
  min-height: 260px;
  overflow-wrap: anywhere;
}
.empty {
  color: #82968b;
  text-align: center;
  font-size: 13px;
  padding: 64px 18px;
  background: #f8faf7;
  border: 1px dashed #e1e8df;
  border-radius: 9px;
}
.job-list .empty {
  padding: 40px 12px;
}
.result-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.result-heading h3 {
  margin-bottom: 4px;
}
.result-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.result-actions button {
  font-size: 11px;
  padding: 6px 10px;
}
.result-section {
  margin: 20px 0;
}
.result-section h4 {
  font-size: 13px;
  margin: 0 0 8px;
}
.result-section p,
.result-section ul {
  font-size: 13px;
  margin: 0 0 10px;
  white-space: pre-wrap;
}
.result-section ul {
  padding-left: 20px;
}
.prose {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.9;
}
.selling-point,
.shot {
  padding: 16px;
  background: #f6f9f3;
  border-radius: 8px;
  margin: 10px 0;
}
.selling-point h4,
.shot h4 {
  margin-bottom: 5px;
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.tag {
  font-size: 11px;
  color: var(--teal);
  background: var(--soft);
  padding: 3px 8px;
  border-radius: 5px;
}
.result-video {
  display: block;
  width: 100%;
  max-height: 560px;
  background: #132823;
  border-radius: 9px;
  margin: 15px 0;
}
.source-link {
  font-size: 12px;
  display: block;
  margin: 7px 0;
  overflow-wrap: anywhere;
}
.notice {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px 24px;
  text-align: center;
  font-size: 13px;
  background: #e4f1e5;
  color: #205b45;
  border-bottom: 1px solid #cce1d2;
}
.notice.error {
  background: #fff0e9;
  color: #973d29;
  border-color: #f0d9cb;
}
.login-card {
  max-width: 460px;
  margin: 80px auto;
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
}
.login-card h1 {
  font-size: 25px;
}
.login-card form {
  margin-top: 25px;
}
.login-card button {
  width: 100%;
}
footer {
  text-align: center;
  font-size: 11px;
  color: #829287;
  margin: 28px 0 12px;
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .hotel-switcher {
    width: 100%;
    min-width: 0;
  }
  .creation-grid {
    grid-template-columns: 1fr;
  }
  .work-grid {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  h1 {
    font-size: 27px;
  }
}
@media (max-width: 620px) {
  .topbar {
    height: 72px;
    padding: 0 18px;
  }
  .brand {
    font-size: 14px;
  }
  main {
    padding: 24px 14px;
  }
  .hero {
    gap: 20px;
  }
  h1 {
    font-size: 25px;
  }
  .panel {
    padding: 20px 16px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .steps a {
    padding: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .job-list {
    max-height: 260px;
  }
  .result-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }
  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .result-heading {
    flex-direction: column;
  }
  .login-card {
    margin: 45px 16px;
    padding: 24px;
  }
  .inline button {
    padding: 10px 12px;
  }
}
