.gv-controls {
  margin: 0 0 14px;
  padding: 20px;
  border: 1px solid #4d5541;
  border-radius: 18px;
  background: #242921;
  color: #ecefe5;
  font-family: "Trebuchet MS", sans-serif;
}
.gv-controls[hidden],
.gv-controls [hidden] {
  display: none !important;
}
.gv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.gv-top strong,
.gv-card > small {
  font-size: 11px;
  letter-spacing: 0.17em;
  color: #c9dc98;
}
.gv-controls p,
.gv-card p {
  line-height: 1.6;
}
.gv-capability {
  border-left: 3px solid #b6ce83;
  padding-left: 12px;
  font-size: 14px;
}
.gv-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gv-controls label {
  display: block;
  font-size: 13px;
}
.gv-controls select,
.gv-controls input {
  display: block;
  margin-top: 8px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #637054;
  border-radius: 8px;
  background: #1e241d;
  color: #f2f3ed;
  font: inherit;
}
.gv-reference {
  margin-top: 16px;
}
.gv-controls small {
  display: block;
  margin: 10px 0;
  color: #c0c8b6;
}
.gv-controls button,
.gv-card button,
.gv-card > a {
  font: inherit;
  color: inherit;
  border: 1px solid #788568;
  background: transparent;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
}
.gv-controls button:hover,
.gv-card button:hover {
  background: #404d32;
}
.gv-controls :focus-visible,
.gv-card :focus-visible {
  outline: 2px solid #cfe4a2;
  outline-offset: 3px;
}
.gv-card {
  margin: 24px 0;
  padding: clamp(20px, 4vw, 36px);
  background: #232823;
  border: 1px solid #485442;
  border-radius: 22px;
  color: #ecede5;
  overflow-wrap: anywhere;
}
.gv-card h2 {
  font:
    normal clamp(25px, 4vw, 37px)/1.15 Georgia,
    serif;
  margin: 16px 0;
}
.gv-user {
  border-bottom: 1px solid #4f5b47;
  padding-bottom: 18px;
  white-space: pre-wrap;
}
.gv-state {
  padding: 14px 18px;
  background: #343e2e;
  border-radius: 10px;
}
.gv-card label {
  display: block;
  font-size: 14px;
  margin: 20px 0;
}
.gv-card textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #59654f;
  border-radius: 12px;
  background: #191e19 !important;
  color: #e9eddf !important;
  resize: vertical;
  font:
    14px/1.7 "Trebuchet MS",
    sans-serif;
}
.gv-card video {
  display: block;
  width: 100%;
  max-height: 540px;
  margin: 20px 0;
  background: #171c17;
  border-radius: 12px;
}
.gv-card > a {
  display: inline-block;
  text-decoration: none;
}
.gv-card button {
  background: #c9dc98;
  color: #20271b;
}
.gv-controls input:disabled {
  opacity: 0.5;
}
@media (max-width: 520px) {
  .gv-settings {
    grid-template-columns: 1fr;
  }
  .gv-top {
    flex-wrap: wrap;
  }
  .gv-controls {
    padding: 16px;
  }
  .gv-card {
    padding: 20px;
  }
}
/* Video settings need normal document flow so they never cover inline results. */
#chat:has(.welcome.hidden) .composer-wrap:has(.gv-controls:not([hidden])) {
  position: static;
}
.gv-card label + small {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
  color: #bbc6ad;
}
.gv-saved{display:grid;gap:10px;margin-top:12px}.gv-saved-job{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border,#d5dde5);padding-top:12px;font-size:12px;overflow-wrap:anywhere}.gv-saved-job button{flex-shrink:0}.gv-settings{flex-wrap:wrap}
