@charset "UTF-8";
:root {
  --ink: #17372e;
  --muted: #607269;
  --line: #dce6df;
  --paper: #f5f8f5;
  --mint: #c9f47c;
  --deep: #00372d;
  --teal: #2a9b82;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button[hidden],
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.05;
}
h2 {
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  font-weight: 600;
}
h3 {
  font-size: 1.1rem;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
code,
pre,
textarea.code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.85rem;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #102e26;
  color: #e0f2e7;
  padding: 24px;
  border-radius: 14px;
  line-height: 1.6;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}
input,
select,
textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #cad9cf;
  border-radius: 9px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
form {
  display: grid;
  gap: 18px;
}
.button {
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 11px 18px;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.button.primary {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}
.button.danger {
  color: #a3322a;
  border-color: #edc9c3;
}
.button.small {
  font-size: 0.8rem;
  min-height: 36px;
  padding: 8px 12px;
}
.button:hover {
  filter: brightness(0.96);
}
.full {
  width: 100%;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  text-align: left;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.1em;
  padding-right: 5px;
  border-radius: 11px;
  background: var(--mint);
  color: var(--deep);
  font-weight: 750;
}
.brand strong {
  font-size: 25px;
  letter-spacing: -1.2px;
  font-weight: 650;
  line-height: 1;
}
.brand strong span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 5px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 15px;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  padding: 7px 12px;
  letter-spacing: 0.02em;
}
.login-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
}
.login-story {
  padding: 50px 64px;
  background: var(--deep);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
}
.login-story > div {
  padding: 80px 0;
}
.login-story h1 {
  font-size: clamp(45px, 5.3vw, 82px);
  max-width: 750px;
  margin-bottom: 30px;
}
.login-story .eyebrow {
  color: var(--mint);
}
.login-story .lede {
  font-size: 18px;
  color: #b5d4c5;
  max-width: 500px;
}
.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.principles span {
  font-size: 11px;
  border: 1px solid #3a6152;
  padding: 9px 12px;
  border-radius: 6px;
  color: #c3d9cc;
}
.login-story footer {
  font-size: 11px;
  color: #9fc2b2;
}
.login-form {
  display: grid;
  place-items: center;
  padding: 60px 40px;
}
.auth-card {
  width: min(390px, 100%);
}
.auth-card .badge {
  margin-bottom: 25px;
}
.auth-card h2 {
  font-size: 32px;
}
.auth-card p {
  font-size: 14px;
}
.auth-card .help {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.divider {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}
.notice {
  padding: 14px 18px;
  background: #eaf2df;
  border: 1px solid #d0e1b8;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #315126;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.notice.error {
  background: #fff0ec;
  border-color: #f0c7bc;
  color: #8c3227;
}
.secret {
  display: block;
  overflow-wrap: anywhere;
  padding: 18px;
  background: #e8efe8;
  user-select: all;
  margin: 20px 0;
}
.workspace {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  min-height: 100svh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 24px;
}
.sidebar .brand {
  margin-bottom: 30px;
}
.environment {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: capitalize;
  color: var(--muted);
  padding: 12px 0 24px;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}
nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  padding: 13px 14px;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}
.nav-item.active {
  background: #eaf2e5;
  color: var(--deep);
}
.nav-item:hover {
  background: var(--paper);
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-top: 30px;
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.workspace-main {
  padding: 0 48px;
  max-width: 1500px;
  width: 100%;
  margin: auto;
}
.topbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar select {
  min-width: 200px;
  font-size: 13px;
}
.page-heading {
  padding: 48px 0 20px;
}
.page-heading h1 {
  font-size: 43px;
  margin-bottom: 14px;
}
.page-heading p {
  max-width: 750px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 26px;
  margin-bottom: 22px;
  overflow: hidden;
}
.card .number {
  font-size: 36px;
  letter-spacing: -0.05em;
  font-weight: 550;
  margin: 20px 0 8px;
}
.card p:last-child {
  margin-bottom: 0;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.card-head h2 {
  margin: 0;
}
.card-head select {
  max-width: 260px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.empty {
  padding: 35px 15px;
  text-align: center;
}
.empty p {
  max-width: 520px;
  margin: 10px auto;
}
.row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.row > * {
  flex: 1;
}
.row > .button {
  flex: none;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  font-weight: 550;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 17px 10px;
  border-bottom: 1px solid #eef2ee;
  vertical-align: top;
}
td code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
td:last-child {
  text-align: right;
}
tr:last-child td {
  border-bottom: 0;
}
.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.scope-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
}
.scope-list input {
  width: 16px;
  min-height: 16px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.workspace-footer {
  padding: 30px 0;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.docs {
  max-width: 850px;
}
.docs h2 {
  margin-top: 38px;
}
.docs h3 {
  margin-top: 25px;
}
.docs li {
  line-height: 1.7;
  color: var(--muted);
  margin: 7px 0;
}
.docs code {
  background: #e8efe8;
  padding: 2px 5px;
  border-radius: 4px;
}
.docs pre code {
  background: transparent;
  padding: 0;
}
.endpoint {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.endpoint h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.method {
  font-family: monospace;
  font-size: 11px;
  background: #e3f2dc;
  padding: 5px 7px;
  border-radius: 5px;
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
dialog {
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 18px;
  width: min(580px, calc(100% - 32px));
  color: var(--ink);
}
dialog::backdrop {
  background: #002f2790;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.dialog-header h2 {
  margin: 0;
}
.connect-layout {
  max-width: 760px;
  margin: auto;
  padding: 35px 24px;
}
.connect-layout > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.connect-card {
  margin: 70px 0 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
}
.connect-card h1 {
  font-size: 43px;
}
.connect-layout footer {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.connect-card #auth-panel {
  max-width: 430px;
}
.connection-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.connection-row p {
  font-size: 12px;
  margin: 8px 0;
}
.connect-card label {
  margin: 15px 0;
}
.endpoint-list {
  display: grid;
  gap: 8px;
}
#console-result {
  max-height: 500px;
  overflow: auto;
}
.no-margin {
  margin: 0;
}
@media (max-width: 1050px) {
  .workspace {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 16px;
  }
  .workspace-main {
    padding: 0 25px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 40px;
  }
  .login-form {
    padding: 45px 30px;
  }
  .topbar .badge {
    display: none;
  }
}
@media (max-width: 720px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    min-height: unset;
    padding: 30px;
  }
  .login-story > div {
    padding: 45px 0 25px;
  }
  .login-story h1 {
    font-size: 50px;
  }
  .login-story .lede {
    font-size: 16px;
  }
  .login-story footer,
  .principles {
    display: none;
  }
  .login-form {
    padding: 40px 24px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin-bottom: 12px;
  }
  .environment {
    padding: 0 0 15px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .nav-item {
    white-space: nowrap;
  }
  .sidebar-bottom {
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .workspace-main {
    padding: 0 20px;
  }
  .topbar {
    min-height: 80px;
  }
  .topbar > div {
    width: 100%;
    justify-content: space-between;
  }
  .topbar select {
    min-width: 0;
    max-width: 200px;
  }
  .page-heading {
    padding-top: 32px;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .card {
    padding: 20px;
  }
  .card-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .card-head select {
    max-width: 100%;
  }
  .scope-list {
    grid-template-columns: 1fr;
  }
  .connect-card {
    padding: 25px;
    margin-top: 35px;
  }
  .connect-card h1 {
    font-size: 35px;
  }
  .brand strong {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
