:root {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #153b3b;
  background: #f5f7f5;
  font-synthesis: none;
  line-height: 1.5;
  --green: #075e50;
  --line: #dde6df;
  --muted: #5e7370;
}
.check { display:flex; align-items:center; gap:10px; }
.check input { display:inline-block; width:20px; min-height:20px; margin:0; flex-shrink:0; }
.profile-option { border:1px solid var(--line); border-radius:12px; padding:18px; margin:0 0 24px; }
.profile-option .muted { display:block; font-weight:400; margin-top:8px; }
.search-form { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.search-form label { flex:1; min-width:220px; }
.qr { display:block; max-width:100%; height:auto; margin:20px auto; }
.recovery { padding-left:20px; columns:2; overflow-wrap:anywhere; }
pre { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }
button:disabled { opacity:.5; cursor:not-allowed; }
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 17px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #f1b541;
  outline-offset: 3px;
}
.primary {
  background: var(--green);
  color: white;
}
.secondary {
  background: #eef4ef;
  color: #124d42;
  border-color: #cadbd0;
}
.danger {
  background: #fff2ed;
  color: #9a3826;
  border-color: #ebc4b8;
}
.text-button {
  padding: 0;
  color: var(--muted);
  background: none;
}
.full {
  width: 100%;
  justify-content: space-between;
}
.header {
  padding: 20px max(24px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #163e37;
  font-weight: 750;
  font-size: 20px;
  text-decoration: none;
  line-height: 1.1;
}
.brand small {
  display: block;
  letter-spacing: 0.18em;
  font-size: 10px;
  margin-top: 7px;
}
.brand-icon {
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 23px;
}
.brand-logo { display:block; width:192px; height:auto; }
.brand-lockup { display:block; }
.brand-lockup small { text-align:right; letter-spacing:.22em; margin-top:2px; color:var(--green); }
.header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}
.header nav a {
  text-decoration: none;
}
.environment {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #e9efdc;
  padding: 8px 16px;
  color: #4c5c2b;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #779345;
}
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  min-height: calc(100vh - 185px);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 38px;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 15px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 750;
  color: #527769;
  margin-bottom: 16px;
}
.muted,
.help {
  color: var(--muted);
}
.help {
  font-size: 13px;
  margin: 23px 0 0;
}
.lead {
  font-size: 19px;
  max-width: 480px;
  color: #617872;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 6px 22px #183d3104;
  margin-bottom: 22px;
}
.login-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 85px;
  align-items: center;
  padding: 46px 20px;
}
.intro h1 {
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 25px 0;
}
.principles {
  margin-top: 36px;
}
.principles > div {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 19px 0;
}
.principles > div > span {
  color: #739084;
  font-size: 12px;
  padding: 6px 0;
}
.principles p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.principles strong {
  color: #244c40;
  font-size: 15px;
}
.login-card {
  padding: 38px;
}
.login-card h2 {
  font-size: 29px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 18px 0;
  color: #38594f;
}
input,
select {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd8d0;
  border-radius: 8px;
  background: #fcfdfc;
  color: #173f35;
  margin-top: 7px;
}
input::placeholder {
  color: #81958b;
  font-size: 13px;
}
input[type="hidden"] {
  display: none;
}
.login-card button {
  margin-top: 8px;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: 10px 0 30px;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  background: #edf1ed;
  color: #556b61;
  font-size: 11px;
  line-height: 1.4;
  padding: 6px 10px;
  font-weight: 650;
}
.good {
  background: #e6f2e8;
  color: #347346;
}
.warn {
  background: #fff0d4;
  color: #875b0a;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.stats > div {
  border: 1px solid var(--line);
  padding: 23px;
  background: #fff;
  border-radius: 12px;
}
.stats strong {
  display: block;
  font-size: 31px;
  font-weight: 650;
  line-height: 1.2;
}
.stats span {
  color: var(--muted);
  font-size: 12px;
}
.anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin: 30px 0;
  font-size: 13px;
}
.home-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
}
.empty {
  text-align: center;
  padding: 46px 25px;
  color: var(--muted);
}
.empty h3 {
  color: #42665a;
  margin: 18px 0 10px;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: #eef4ee;
  border-radius: 16px;
  font-size: 28px;
}
.empty-inline {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 24px;
  color: var(--muted);
}
dl {
  margin: 20px 0;
}
dt {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}
dd {
  margin: 3px 0;
  overflow-wrap: anywhere;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 20px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
th {
  color: #74867e;
  font-size: 11px;
  font-weight: 650;
  background: #f6f8f5;
  padding: 13px 12px;
}
td {
  border-bottom: 1px solid var(--line);
  padding: 16px 12px;
  vertical-align: top;
  max-width: 300px;
  overflow-wrap: anywhere;
}
td small,
.app-tile small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
td button {
  font-size: 12px;
  padding: 8px 12px;
}
td details {
  margin-top: 10px;
}
code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
summary {
  cursor: pointer;
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
  padding: 10px 0;
}
.editor {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 22px;
}
.form-grid > button {
  justify-self: start;
  align-self: end;
  margin-bottom: 18px;
}
.form-action {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 18px;
}
.form-grid label {
  margin: 12px 0 18px;
}
.narrow {
  max-width: 580px;
  margin: 40px auto;
}
.narrow h1 {
  font-size: 30px;
}
.notice,
.alert {
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 13px;
}
.notice {
  background: #eff5eb;
  color: #49613c;
}
.alert {
  background: #fff1e8;
  color: #863721;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.app-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  overflow-wrap: anywhere;
}
.app-tile form {
  margin-top: 15px;
}
.secret {
  border: 2px solid #cdab42;
}
.secret code {
  display: block;
  font-size: 16px;
  padding: 15px;
  background: #fff9e8;
}
.credential-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
footer {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #7a8c81;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 5px;
  left: 5px;
  background: #fff;
  padding: 12px;
  z-index: 10;
}
section[id] {
  scroll-margin-top: 20px;
}
@media (max-width: 900px) {
  .login-grid {
    gap: 35px;
    padding: 26px 0;
  }
  .intro h1 {
    font-size: 48px;
  }
  .login-card {
    padding: 25px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .header {
    padding: 16px;
    align-items: flex-start;
  }
  .header nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 12px;
  }
  .brand {
    font-size: 16px;
    flex-shrink: 0;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .environment {
    font-size: 10px;
  }
  main {
    padding: 26px 16px 36px;
  }
  .login-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
  }
  .intro h1 {
    font-size: 43px;
    margin: 18px 0;
  }
  .intro .lead {
    font-size: 16px;
    margin-bottom: 0;
  }
  .principles {
    display: none;
  }
  .login-card {
    padding: 25px;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 20px;
  }
  .stats {
    gap: 10px;
  }
  .stats > div {
    padding: 16px;
  }
  .stats span {
    font-size: 11px;
  }
  .form-grid,
  .tiles {
    grid-template-columns: 1fr;
  }
  .page-title {
    display: block;
  }
  h1 {
    font-size: 30px;
  }
  .page-title .badge {
    margin-top: 10px;
  }
  footer {
    flex-direction: column;
    gap: 7px;
  }
  .anchors {
    gap: 12px 18px;
  }
  .credential-row {
    flex-direction: column;
  }
  .narrow {
    margin: 10px auto;
  }
  .table-wrap td {
    min-width: 130px;
  }
}
.header,
.header nav {
  flex-wrap: wrap;
}
.card,
.form-grid > * {
  min-width: 0;
}
input,
select {
  min-width: 0;
}
.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}
.tiles {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
