:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #20382d;
  background: #f5f6f2;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: grid;
  grid-template-columns: 246px 1fr;
  min-height: 100vh;
}
aside {
  padding: 36px 24px;
  background: #112f28;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.brand {
  color: #d8ef85;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 36px;
  font-weight: 800;
}
.brand span {
  font-size: 14px;
  letter-spacing: 2px;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0;
  color: #afc7b9;
  font-weight: 400;
  margin-top: 5px;
}
nav {
  display: grid;
  gap: 8px;
}
nav button {
  background: transparent;
  color: #afc7b9;
  border: 0;
  text-align: left;
  padding: 13px 16px;
}
nav button.selected {
  background: #244b3e;
  color: #fff;
}
.aside-bottom {
  margin-top: auto;
  color: #c4d6cb;
  font-size: 12px;
  line-height: 2;
}
.aside-bottom small {
  color: #94b1a0;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8ef85;
  margin-right: 5px;
}
main {
  padding: 48px;
  min-width: 0;
  max-width: 1600px;
  width: 100%;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  margin-bottom: 32px;
}
.eyebrow {
  letter-spacing: 2px;
  color: #6b7d6f;
  font-size: 11px;
  font-weight: 700;
}
h1 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -1px;
  margin: 12px 0;
}
p {
  color: #64746a;
  line-height: 1.6;
}
h2 {
  font-size: 20px;
  font-weight: 600;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  border: 1px solid #cbd8ce;
  border-radius: 8px;
  background: white;
  color: #205a47;
  padding: 10px 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.primary {
  background: #205a47;
  color: white;
  border-color: #205a47;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #8ab68b;
  outline-offset: 3px;
}
input,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd8ce;
  border-radius: 7px;
  background: white;
  color: #20382d;
  margin: 7px 0 18px;
}
label {
  font-size: 13px;
  font-weight: 600;
  display: block;
}
small {
  font-size: 12px;
  color: #6d7b70;
}
.panel {
  background: white;
  border: 1px solid #e0e6dc;
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 22px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat {
  padding: 23px;
  background: white;
  border: 1px solid #e0e6dc;
  border-radius: 12px;
}
.stat strong {
  display: block;
  font-size: 30px;
  margin-top: 12px;
  font-weight: 500;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.company {
  background: white;
  border: 1px solid #e0e6dc;
  border-radius: 14px;
  padding: 25px;
}
.company h2 {
  margin-top: 20px;
  margin-bottom: 6px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 5px;
  background: #edf3e5;
  color: #416046;
  text-transform: capitalize;
}
.badge.suspended {
  background: #fcebe2;
  color: #8c4830;
}
.company footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #edf0e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
.login {
  max-width: 460px;
}
.error {
  color: #a3382b !important;
}
.row {
  padding: 18px 0;
  border-bottom: 1px solid #e6ece3;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 130px 110px 100px;
  align-items: center;
  gap: 16px;
}
.row select {
  margin: 0;
}
.row span {
  overflow-wrap: anywhere;
}
.row small {
  display: block;
}
.feature-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
}
.feature-toggle input {
  width: auto;
  margin: 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.empty {
  padding: 35px;
  text-align: center;
}
.checklist {
  line-height: 2.3;
  color: #64746a;
}
#identity {
  font-size: 13px;
  text-align: right;
}
#identity button {
  margin-top: 10px;
}
#notice:empty {
  display: none;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  body {
    grid-template-columns: 190px 1fr;
  }
  main {
    padding: 30px 24px;
  }
  aside {
    padding: 30px 18px;
  }
  .row {
    grid-template-columns: 1fr 100px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
}
@media (max-width: 600px) {
  body {
    display: block;
  }
  aside {
    padding: 18px;
    gap: 20px;
  }
  .brand {
    font-size: 24px;
  }
  .aside-bottom {
    display: none;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
  }
  main {
    padding: 25px 18px;
  }
  header {
    display: block;
  }
  #identity {
    text-align: left;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .stat strong {
    margin: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .toolbar {
    align-items: start;
  }
  .row {
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 12px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

.join-page {
  display: block;
}
.join-page main {
  max-width: 760px;
  margin: 0 auto;
}
.setup-key {
  display: block;
  overflow-wrap: anywhere;
  background: #f0f5e9;
  padding: 18px;
  border-radius: 8px;
  letter-spacing: 1px;
}
.invite-link {
  overflow-wrap: anywhere;
  user-select: all;
}
.authenticator-qr {
  display: block;
  width: min(100%, 280px);
  height: auto;
  background: #fff;
  image-rendering: pixelated;
  margin: 16px 0;
}
