@font-face {
  font-family: Inter;
  src: url("/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #352f29;
  --muted: #71665b;
  --line: #dfd7cd;
  --ground: #f6f3ed;
  --accent: #806246;
  --deep: #59432f;
  --highlight: #ae8863;
  --wash: #f1e9dd;
  font:
    15px/1.55 Inter,
    system-ui,
    sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--accent);
}
h1,
h2,
p {
  margin: 0 0 14px;
}
h1 {
  font-size: 30px;
  font-weight: 580;
  letter-spacing: -1.1px;
  line-height: 1.2;
}
h2 {
  font-size: 18px;
  font-weight: 620;
}
p {
  color: var(--muted);
}
small {
  font-size: 12px;
  color: var(--muted);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 3px;
}
.workspace {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  padding: 30px 18px 0;
  border-right: 1px solid var(--line);
  background: #faf8f4;
}
.brand {
  display: flex;
  gap: 9px;
  align-items: center;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.4px;
  color: var(--deep);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 34px;
  border: 1px solid #d1bea7;
  border-radius: 7px;
  background: var(--wash);
  font-size: 25px;
  font-weight: 400;
}
.brand-divider {
  color: #bbaa96;
  font-size: 24px;
  font-weight: 300;
  margin-left: 2px;
}
.brand small {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: var(--deep);
}
nav {
  display: grid;
  gap: 5px;
  margin-top: 38px;
}
nav a {
  padding: 11px 12px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  color: var(--muted);
}
nav a:hover,
nav a[aria-current] {
  background: #e8ddcd;
  color: var(--deep);
}
.nav-caption {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted);
  padding: 23px 12px 6px;
}
.account {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
}
.account small {
  display: block;
  font-size: 10px;
}
.account form {
  margin-left: auto;
}
.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #e8ddcd;
  color: var(--deep);
  font-weight: 600;
}
.link-button {
  background: none;
  border: 0;
  color: var(--accent);
  padding: 6px;
  font-size: 12px;
}
.workspace > main {
  min-width: 0;
  padding: 0 34px;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.separator {
  padding: 0 12px;
}
.topbar small {
  font-size: 11px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--highlight);
  border-radius: 50%;
  margin-right: 7px;
}
.content {
  max-width: 1220px;
  margin: auto;
  padding: 36px 0 50px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.heading p {
  font-size: 13px;
  margin-bottom: 0;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 13px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  white-space: normal;
}
.primary {
  background: var(--accent);
  color: white;
}
.primary:hover {
  background: var(--deep);
}
.secondary {
  background: white;
  color: var(--accent);
  border-color: var(--line);
}
.secondary:hover {
  background: var(--wash);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.stat {
  padding: 23px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  display: grid;
  gap: 12px;
}
.stat strong {
  font-size: 38px;
  font-weight: 500;
  color: var(--deep);
  line-height: 1;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.panel {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 22px;
}
.panel p {
  font-size: 13px;
  max-width: 80ch;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--wash);
  color: var(--accent);
  font-size: 11px;
  white-space: nowrap;
}
.badge.neutral {
  background: #f1ede6;
  color: var(--muted);
}
.endpoint {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: #faf8f4;
  padding: 12px 14px;
  border-radius: 6px;
}
.endpoint code {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.cascade {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0;
}
.cascade span {
  padding: 11px 20px;
  border: 1px solid #dbccba;
  border-radius: 7px;
  background: var(--wash);
  font-size: 13px;
  color: var(--deep);
}
.cascade i {
  font-style: normal;
  color: var(--highlight);
}
.inline-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
}
.inline-form label {
  display: grid;
  gap: 7px;
  flex: 1;
  min-width: 180px;
  font-size: 12px;
}
input {
  width: 100%;
  min-height: 41px;
  border: 1px solid #bbaa96;
  border-radius: 6px;
  padding: 8px 11px;
  background: white;
  color: var(--ink);
}
.table-panel {
  padding: 0;
}
.scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  text-align: left;
  padding: 17px 23px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  background: #faf8f4;
}
tr:last-child td {
  border: 0;
}
td small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
.empty {
  padding: 28px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.connection:last-child {
  border: 0;
}
.connection small {
  display: block;
}
.notice {
  background: var(--wash);
  padding: 15px 18px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--deep);
}
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  background: white;
}
.login-intro {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 42px 56px;
  background: #eee7dc;
  border-right: 1px solid var(--line);
}
.intro-copy {
  margin: auto 0;
  padding: 60px 0;
}
.intro-copy h1 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.15;
  letter-spacing: -2.4px;
  font-weight: 560;
}
.intro-copy p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 25px;
}
.intro-copy .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}
.intro-copy .cascade {
  margin-top: 35px;
}
.login-intro footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  gap: 15px;
}
.login-access {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.protected {
  position: absolute;
  top: 42px;
  right: 45px;
  font-size: 11px;
}
.login-form {
  width: 100%;
  max-width: 360px;
}
.login-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #dbccba;
  border-radius: 12px;
  background: var(--wash);
  font-size: 35px;
  color: var(--accent);
  margin-bottom: 32px;
}
.login-form h2 {
  font-size: 29px;
  font-weight: 590;
  letter-spacing: -1px;
}
.login-form p {
  font-size: 14px;
  margin-bottom: 25px;
}
.login-form .button {
  width: 100%;
  margin-bottom: 10px;
}
.login-note {
  display: block;
  margin-top: 25px;
  line-height: 1.8;
  font-size: 11px;
}
.demo-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 28px 0 12px;
}
.consent-page {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
}
.consent-card {
  max-width: 530px;
  width: 100%;
  padding: 38px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.consent-card .brand {
  margin-bottom: 35px;
}
.consent-card .notice {
  margin: 25px 0;
}
.consent-card form {
  display: flex;
  gap: 12px;
}
.toasts {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  max-width: 420px;
  z-index: 5;
}
.toast {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--highlight);
  padding: 16px 40px 16px 18px;
  border-radius: 7px;
  font-size: 13px;
  box-shadow: 0 4px 20px #352f2910;
  position: relative;
}
.toast.error {
  border-left-color: #b84646;
}
.toast button {
  position: absolute;
  right: 9px;
  top: 10px;
  border: 0;
  background: none;
  font-size: 20px;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 1000px) {
  .sidebar {
    padding-inline: 12px;
  }
  .workspace {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .workspace > main {
    padding: 0 22px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 20px 16px;
  }
  .login-intro {
    padding: 35px;
  }
  .login-access {
    padding: 35px;
  }
  .login-intro footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 18px 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 24px;
  }
  nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 16px;
  }
  nav a {
    padding: 9px;
    font-size: 12px;
  }
  .nav-caption {
    display: none;
  }
  .account {
    margin-top: 14px;
    padding: 12px 0;
  }
  .workspace > main {
    padding: 0 16px;
  }
  .topbar {
    height: 55px;
  }
  .topbar > small {
    display: none;
  }
  .content {
    padding-top: 25px;
  }
  .heading {
    align-items: start;
    flex-direction: column;
  }
  .heading h1 {
    font-size: 26px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    grid-template-columns: 1fr auto;
  }
  .stat strong {
    grid-column: 2;
    grid-row: 1/3;
  }
  .panel {
    padding: 19px;
  }
  .endpoint {
    align-items: start;
    flex-direction: column;
  }
  .login {
    display: block;
  }
  .login-intro {
    min-height: auto;
    padding: 25px;
  }
  .intro-copy {
    padding: 45px 0 25px;
  }
  .intro-copy h1 {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .intro-copy p {
    font-size: 14px;
  }
  .intro-copy .cascade {
    margin: 20px 0;
  }
  .login-intro footer {
    display: none;
  }
  .login-access {
    padding: 45px 25px;
  }
  .protected {
    display: none;
  }
  .login-symbol {
    display: none;
  }
  .login-form {
    max-width: none;
  }
  .consent-card {
    padding: 25px;
  }
  .consent-card form {
    flex-wrap: wrap;
  }
  .toasts {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
  .inline-form label {
    min-width: 100%;
  }
  th,
  td {
    padding: 14px 16px;
  }
}
