:root {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #202924;
  background: #f3f5f0;
  font-size: 16px;
  line-height: 1.6;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  max-width: 1100px;
  margin: auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce2d9;
}
.brand {
  color: #234a36;
  text-decoration: none;
  font-size: 25px;
  font-weight: 850;
}
.brand span {
  font-size: 13px;
  font-weight: 500;
  color: #637268;
  margin-left: 14px;
}
main {
  max-width: 1000px;
  margin: auto;
  padding: 28px 24px 80px;
}
h1 {
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -1.4px;
  margin: 10px 0;
}
h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 6px 0 18px;
}
p {
  color: #606b63;
  margin: 8px 0 20px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #3d7053;
}
.intro {
  margin: 15px 0 30px;
}
.connection {
  border: 1px solid #d8e0d5;
  background: #eaf0e5;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
}
.connection p {
  font-size: 13px;
  margin: 3px 0 0;
}
.card {
  background: #fff;
  border: 1px solid #dde3d9;
  border-radius: 22px;
  margin: 28px 0;
  padding: 24px;
  box-shadow: 0 5px 24px #1a352806;
}
.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.badge {
  color: #3c624b;
  background: #edf4e9;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 12px;
  white-space: nowrap;
}
.content {
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr;
  gap: 30px;
}
video {
  width: 100%;
  max-height: 590px;
  aspect-ratio: 9/16;
  border-radius: 14px;
  background: #17241b;
  display: block;
}
.caption {
  font-size: 12px;
  margin: 12px 0;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin: 16px 0 5px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #ccd6c9;
  background: #fafcf8;
  border-radius: 9px;
  font: inherit;
  color: #202924;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 96px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #729b67;
  outline-offset: 2px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
button {
  font: inherit;
  font-weight: 650;
  background: #234f37;
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 12px 17px;
  cursor: pointer;
  min-height: 46px;
}
button:hover {
  filter: brightness(1.08);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.secondary {
  color: #234f37;
  background: #e5eee1;
}
.quiet {
  background: transparent;
  color: #526357;
  font-size: 13px;
  min-height: 40px;
  padding: 6px 10px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 500;
}
.check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}
.fine {
  font-size: 12px;
}
.status {
  padding: 13px 16px;
  border-radius: 10px;
  background: #f3f6ef;
  margin: 18px 0 0;
  font-size: 14px;
}
.status a {
  color: #24573b;
}
details {
  border-top: 1px solid #e0e7dc;
  padding-top: 16px;
  margin-top: 22px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.revision {
  border-left: 3px solid #cea160;
  padding-left: 14px;
  white-space: pre-wrap;
}
#message:not(:empty) {
  padding: 13px 18px;
  background: #fff3d8;
  border: 1px solid #ead3a3;
  border-radius: 12px;
  margin-bottom: 18px;
}
#login {
  max-width: 420px;
  margin: 60px auto;
}
#login-form button {
  width: 100%;
  margin-top: 25px;
}
dialog {
  border: 1px solid #d5dfce;
  border-radius: 20px;
  padding: 28px;
  width: min(92vw, 520px);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #10231988;
}
.close {
  float: right;
}
dialog dt {
  font-size: 12px;
  color: #697365;
  margin-top: 13px;
}
dialog dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
dialog #approve-final {
  width: 100%;
  margin-top: 16px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 670px) {
  header {
    padding: 16px 18px;
  }
  main {
    padding: 18px 14px 60px;
  }
  .card {
    padding: 17px;
    border-radius: 16px;
  }
  .content {
    display: block;
  }
  video {
    max-width: 340px;
    margin: auto;
    max-height: 64vh;
  }
  .connection {
    align-items: flex-start;
    flex-direction: column;
  }
  .connection button {
    width: 100%;
  }
  .row {
    gap: 10px;
  }
  .actions button {
    flex: 1;
  }
  dialog {
    padding: 22px;
  }
  .card-head {
    display: block;
  }
  .badge {
    display: inline-block;
    margin-bottom: 14px;
  }
}
