:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172626;
  background: #f5f6f3;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #b7daca;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
header {
  height: 84px;
  padding: 0 5vw;
  border-bottom: 1px solid #e1e6e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbf8;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.mark {
  display: grid;
  place-items: center;
  background: #173e35;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 20px;
  letter-spacing: -0.1em;
  padding-right: 3px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.environment {
  font-size: 12px;
  border: 1px solid #d9dfd7;
  padding: 7px 10px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
}
.environment i {
  width: 6px;
  height: 6px;
  background: #53826c;
  border-radius: 50%;
}
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 30px 80px;
  min-height: calc(100vh - 154px);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #66796f;
}
h1 {
  font-size: 42px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 17px 0 14px;
}
p {
  color: #708078;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 20px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.primary {
  background: #174c3d;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 38px;
  min-height: 44px;
}
.primary:hover {
  background: #113b2f;
}
.secondary {
  background: #fff;
  border: 1px solid #dce3da;
  color: #344b40;
}
.quiet {
  background: transparent;
  color: #708078;
  padding: 8px;
}
.small {
  font-size: 12px;
  color: #839087;
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 14px;
}
h2 {
  font-size: 14px;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 600;
}
#release-count {
  font-size: 11px;
  background: #e8ece5;
  color: #7a887b;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 7px;
}
.release-list {
  display: grid;
  gap: 13px;
}
.release {
  background: #fff;
  border: 1px solid #dfe5db;
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}
.release h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
}
.release-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.badge {
  font-size: 10px;
  letter-spacing: 0.015em;
  border: 1px solid #d8e7db;
  background: #eff6f0;
  color: #3e7156;
  padding: 4px 8px;
  border-radius: 5px;
}
.badge.deployed {
  background: #edf2f9;
  color: #537199;
  border-color: #dce4f0;
}
.release-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #92a093;
}
.release-meta a {
  color: #5d7869;
  text-decoration: none;
}
.commit {
  font-family: ui-monospace, monospace;
  background: #f4f6f1;
  padding: 4px 7px;
  border-radius: 4px;
}
.actions {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.actions .quiet {
  font-size: 11px;
  font-weight: 400;
}
details {
  grid-column: 1/-1;
  border-top: 1px solid #f0f2ed;
  padding-top: 12px;
  color: #8a978d;
  font-size: 11px;
}
summary {
  cursor: pointer;
  user-select: none;
}
.digest {
  font:
    11px ui-monospace,
    monospace;
  overflow-wrap: anywhere;
  padding-top: 10px;
  color: #698170;
}
.empty {
  padding: 35px;
  border: 1px dashed #d8dfd3;
  border-radius: 12px;
  color: #7e8d7f;
  text-align: center;
  font-size: 14px;
}
.history {
  margin-top: 42px;
}
.job {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 2px;
  border-bottom: 1px solid #e2e6de;
  font-size: 12px;
  color: #5f7365;
}
.job strong {
  color: #385746;
  font-weight: 500;
}
.job .small {
  margin-top: 5px;
}
.connection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #edf1e7;
  border: 1px solid #dbe4d2;
  border-radius: 10px;
  margin-bottom: 24px;
}
.connection p {
  font-size: 12px;
  margin: 5px 0 0;
}
.connection form {
  display: flex;
  gap: 8px;
}
.connection input {
  border: 1px solid #ccd8c5;
  background: #fff;
  border-radius: 7px;
  font-size: 12px;
  min-width: 240px;
  padding: 10px;
  color: #35513f;
}
.auth {
  max-width: 480px;
  padding: 55px 0;
}
.auth h1 {
  font-size: 60px;
  margin-bottom: 24px;
}
.auth .primary {
  margin-top: 28px;
  margin-bottom: 16px;
  min-width: 240px;
}
.auth .small {
  font-size: 11px;
}
footer {
  max-width: 1080px;
  padding: 22px 30px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #96a18f;
  border-top: 1px solid #e2e7dc;
}
dialog {
  border: 1px solid #dce4d7;
  padding: 35px;
  border-radius: 16px;
  max-width: 520px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 90px #12322422;
  color: #243e2e;
}
dialog::backdrop {
  background: #142d2366;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 27px;
  letter-spacing: -0.035em;
  margin: 14px 0;
}
dialog .close {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 22px;
}
dialog dl {
  background: #f4f6f1;
  padding: 15px;
  border-radius: 8px;
  margin: 24px 0;
}
dt {
  font-size: 10px;
  color: #87947e;
  margin-bottom: 5px;
}
dd {
  margin: 0 0 13px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.mono {
  font:
    10px ui-monospace,
    monospace;
}
dialog .primary {
  width: 100%;
  margin-bottom: 12px;
}
dialog .small {
  margin: 0;
}
#notice {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #233f30;
  color: #fff;
  padding: 14px 22px;
  border-radius: 9px;
  font-size: 13px;
  box-shadow: 0 5px 35px #17352622;
  max-width: min(92vw, 650px);
  z-index: 5;
}
#notice.error {
  background: #814638;
}
@media (max-width: 660px) {
  header {
    height: 70px;
    padding: 0 22px;
  }
  .brand {
    font-size: 13px;
  }
  .header-right {
    gap: 10px;
  }
  main {
    padding: 40px 20px 60px;
  }
  .heading {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }
  h1 {
    font-size: 34px;
  }
  .release {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .actions {
    align-items: stretch;
  }
  .actions .primary {
    width: 100%;
  }
  .connection {
    align-items: stretch;
    flex-direction: column;
  }
  .connection form {
    flex-direction: column;
  }
  .connection input {
    min-width: 0;
    width: 100%;
  }
  .section-label > .small {
    display: none;
  }
  .auth {
    padding: 30px 0;
  }
  .auth h1 {
    font-size: 48px;
  }
  footer {
    padding: 20px;
    gap: 20px;
  }
  footer span:last-child {
    display: none;
  }
  .job {
    align-items: flex-start;
  }
  .job > .small {
    text-align: right;
  }
}
