:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: #eef0f2;
  color: #15181c;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main {
  max-width: 1400px;
  margin: 20px auto;
  padding: 20px;
}
header {
  background: #fff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
header > div {
  margin-left: auto;
  overflow-wrap: anywhere;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #0f5c42;
  font-size: 28px;
  font-weight: 750;
}
.brand span {
  color: #15181c;
  font-size: 16px;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.025em;
  margin: 0;
}
h2 {
  font-size: 19px;
  margin: 0 0 18px;
}
p {
  margin: 12px 0;
}
a {
  color: inherit;
}
button,
.button,
summary {
  cursor: pointer;
  font: inherit;
  border: 1px solid #d9dee4;
  border-radius: 999px;
  background: white;
  padding: 11px 18px;
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
}
button:hover,
.button:hover {
  background: #f2f4f5;
}
.primary,
summary {
  background: #15181c;
  color: white;
  border-color: #15181c;
}
.primary:hover {
  background: #0f5c42;
}
.card {
  background: white;
  border-radius: 22px;
  padding: 26px;
  min-width: 0;
}
.notice {
  background: #e6f4ee;
  color: #0f5c42;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 13px;
}
.error {
  background: #fff0f0;
  color: #991b1b;
  border-left: 3px solid #991b1b;
  padding: 18px;
  border-radius: 14px;
}
.title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 32px 0 24px;
}
.title p,
.hint,
small {
  color: #596372;
  font-size: 13px;
}
.badge {
  display: inline-block;
  border-radius: 999px;
  background: #f2f4f5;
  padding: 6px 10px;
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.metrics strong {
  display: block;
  font-size: 32px;
  margin-top: 8px;
}
.metrics .locked {
  font-size: 26px;
  color: #0f5c42;
}
.metrics small {
  font-weight: 400;
  font-size: 12px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
  margin: 24px 0 40px;
}
.workspace h2 {
  margin-top: 16px;
}
.initial {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e6f4ee;
  color: #0f5c42;
  font-weight: 700;
}
.hostname {
  font-size: 14px;
  color: #0f5c42;
  overflow-wrap: anywhere;
}
.workspace p {
  overflow-wrap: anywhere;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  min-width: 0;
}
input,
select {
  font: inherit;
  font-size: 16px;
  width: 100%;
  min-width: 0;
  border: 1px solid #d9dee4;
  background: #f7f8f9;
  border-radius: 12px;
  padding: 12px;
  min-height: 44px;
}
select {
  padding-right: 28px;
}
.composer {
  margin: 24px 0;
}
.composer > .card {
  margin-top: 16px;
}
summary {
  list-style: none;
  width: fit-content;
}
summary::-webkit-details-marker {
  display: none;
}
section + section {
  margin-top: 32px;
}
.operator-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eef0f2;
}
.operator-row b {
  overflow-wrap: anywhere;
}
.operator-row label {
  margin: 0;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
th,
td {
  padding: 14px;
  border-bottom: 1px solid #eef0f2;
  white-space: nowrap;
}
th {
  background: #f7f8f9;
  font-weight: 500;
  color: #596372;
}
.steps {
  padding-left: 24px;
}
.steps li {
  padding: 14px 0;
  overflow-wrap: anywhere;
}
.steps .badge {
  margin-left: 16px;
}
.login {
  max-width: 480px;
  margin: 64px auto;
}
.login form {
  margin-top: 24px;
}
.empty {
  text-align: center;
  padding: 48px;
  color: #596372;
}
footer {
  font-size: 12px;
  color: #596372;
  text-align: center;
  margin: 60px 0 20px;
}
.skip {
  position: absolute;
  top: -80px;
}
.skip:focus {
  top: 0;
  background: white;
  padding: 12px;
  z-index: 2;
}
:focus-visible {
  outline: 3px solid #0f8a5f;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  header,
  main {
    margin: 12px;
    padding: 16px;
  }
  .metrics,
  .fields,
  .operator-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .title {
    align-items: start;
    flex-direction: column;
  }
  .card {
    padding: 20px;
  }
  .operator-row {
    gap: 12px;
  }
  .operator-row button {
    width: 100%;
  }
  .steps .badge {
    margin-left: 0;
    display: block;
    width: fit-content;
  }
  .brand {
    font-size: 22px;
  }
  .brand span {
    font-size: 14px;
  }
  .login {
    margin: 24px auto;
  }
  .metrics {
    gap: 12px;
  }
  .metrics section + section {
    margin-top: 0;
  }
}
:root .metrics > section {
  margin-top: 0;
}
.local-state {
  border-top: 1px solid #e5e7eb;
  margin-top: 20px;
  padding-top: 12px;
}
