:root {
  --ink: #173a35;
  --green: #1b5146;
  --accent: #c7ee9b;
  --bg: #f5f4ee;
  --muted: #73817a;
  --line: #dde2d8;
  --white: #fff;
  --red: #ab4036;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  padding: 11px 17px;
  border-radius: 7px;
  font-weight: 550;
  transition: background 0.15s;
}
button:hover {
  background: #edf2e6;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
input,
textarea,
select {
  color: var(--ink);
  border: 1px solid #cbd4c9;
  border-radius: 7px;
  background: #fff;
  padding: 12px;
  width: 100%;
  outline-offset: 3px;
}
input:focus,
textarea:focus {
  outline: 2px solid #80ac87;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 20px 0;
}
label input,
label select,
label textarea {
  display: block;
  margin-top: 8px;
}
textarea {
  min-height: 150px;
  resize: vertical;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 40px;
  letter-spacing: -1.6px;
  font-weight: 500;
  line-height: 1.14;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 550;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 650;
  margin-bottom: 21px;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover {
  background: #286757;
}
.primary span {
  float: right;
  margin-left: 35px;
}
.danger {
  color: var(--red);
}
.brand {
  text-decoration: none;
  font-size: 47px;
  letter-spacing: -4px;
  color: inherit;
  font-weight: 500;
  display: block;
  line-height: 1;
}
.brand span:not(.brand-dot) {
  letter-spacing: -6px;
}
.brand-dot {
  color: var(--accent);
  letter-spacing: 0;
}
.login-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-story {
  background: var(--ink);
  color: #f3f6ea;
  padding: 60px 12%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.login-story h1 {
  font-size: 58px;
  line-height: 1.07;
}
.login-story p {
  color: #afc5b8;
  max-width: 350px;
  font-size: 17px;
}
.login-story small {
  color: #99b6a7;
  font-size: 10px;
  letter-spacing: 2px;
}
.login-form {
  align-self: center;
  max-width: 460px;
  width: 100%;
  margin: auto;
  padding: 50px;
}
.login-form h2 {
  font-size: 32px;
}
.login-form .primary {
  width: 100%;
  margin: 6px 0 20px;
}
.login-form small {
  font-size: 11px;
}
.shell {
  display: grid;
  grid-template-columns: 232px 1fr;
  min-height: 100vh;
}
aside {
  padding: 35px 24px 25px;
  background: var(--ink);
  color: #f5f5ec;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.org-label {
  color: #9eb6aa;
  font-size: 9px;
  letter-spacing: 1.6px;
  margin: 43px 0 10px;
}
aside select {
  background: #244a42;
  color: #f6f7ee;
  border-color: #456259;
  font-size: 12px;
  padding: 12px 8px;
}
nav {
  margin-top: 30px;
  display: grid;
  gap: 6px;
}
nav button {
  display: flex;
  gap: 13px;
  border: 0;
  text-align: left;
  background: transparent;
  color: #b4c8bc;
  font-size: 17px;
  padding: 12px;
}
nav button span {
  font-size: 13px;
  font-weight: 500;
}
nav button.active {
  background: var(--accent);
  color: var(--ink);
}
nav button:hover {
  background: #315b4f;
  color: white;
}
.aside-bottom {
  margin-top: auto;
  color: #aec6b7;
  font-size: 11px;
}
.aside-bottom p {
  font-size: 10px;
  margin: 18px 0 5px;
}
.pilot-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 7px;
}
.subtle {
  background: transparent;
  color: inherit;
  padding: 6px 0;
  font-size: 11px;
  border: 0;
}
.workspace {
  min-width: 0;
}
header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.badge {
  font-size: 10px;
  letter-spacing: 0.3px;
  display: inline-block;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 20px;
  color: #4e705a;
  background: #eff4e9;
}
.badge.error,
.badge.failed {
  color: var(--red);
  background: #faebe6;
}
.badge.queued,
.badge.running,
.badge.syncing {
  background: #f9efcc;
  color: #816621;
}
main#main {
  padding: 42px 44px;
  max-width: 1380px;
  margin: auto;
  min-height: calc(100vh - 142px);
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}
.page-title h1 {
  margin-bottom: 10px;
}
.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.hero {
  background: #e6edde;
  border: 1px solid #d6dfcf;
  border-radius: 12px;
  padding: 30px 34px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.hero h2 {
  font-size: 30px;
  margin-bottom: 8px;
}
.hero p {
  font-size: 13px;
  color: #557160;
  max-width: 600px;
}
.search-form {
  display: flex;
  gap: 8px;
  max-width: 760px;
}
.search-form input {
  background: white;
  border-color: #d3dfca;
  padding: 16px;
}
.search-form button {
  white-space: nowrap;
  padding: 12px 23px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.stats {
  margin: 24px 0 32px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  background: white;
}
.stat .label {
  font-size: 11px;
  color: var(--muted);
}
.stat .number {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 12px 0 4px;
}
.stat small {
  font-size: 11px;
}
.two-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 25px;
  margin-bottom: 20px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.card-head h3 {
  margin: 0;
}
.list-row {
  border-top: 1px solid #edf0e7;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.list-row:first-child {
  border-top: 0;
}
.list-row p {
  font-size: 13px;
  margin: 0;
}
.list-row small {
  font-size: 10px;
}
.row-info {
  min-width: 0;
  flex: 1;
}
.object-button {
  display: block;
  text-align: left;
  border: 0;
  background: none;
  padding: 0;
  font-size: 13px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.type-icon {
  width: 33px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #718c6f;
  background: #f5f7ef;
  font-size: 17px;
  flex-shrink: 0;
}
.text-link {
  font-size: 11px;
  border: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.empty {
  color: var(--muted);
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.actions button {
  font-size: 12px;
  padding: 9px 13px;
}
.connection {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
}
.connection .details {
  font-size: 12px;
  color: var(--muted);
}
.section-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  margin: 30px 0 14px;
}
.result {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.result h3 {
  margin: 10px 0;
}
.result p {
  font-size: 13px;
  color: #617568;
  white-space: pre-wrap;
  margin-bottom: 10px;
}
.result small {
  font-size: 10px;
}
.result .object-button {
  font-size: 19px;
  font-weight: 600;
}
.prose {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.code {
  display: block;
  font-family: ui-monospace, monospace;
  background: #edf2e7;
  padding: 16px;
  border-radius: 6px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
footer {
  border-top: 1px solid var(--line);
  margin: 0 44px;
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
  color: #7c8c7a;
}
footer span {
  letter-spacing: 0;
}
#notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 460px;
  padding: 18px 24px;
  background: #173a35;
  color: white;
  border: 1px solid #8aab8d;
  box-shadow: 0 8px 30px #173a3522;
  border-radius: 8px;
  z-index: 10;
  font-size: 13px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  color: var(--ink);
  max-width: 750px;
  width: 90%;
  max-height: 85vh;
  box-shadow: 0 25px 90px #0002;
}
dialog::backdrop {
  background: #122c2466;
  backdrop-filter: blur(2px);
}
.close {
  float: right;
  border: 0;
  padding: 0 0 10px 15px;
  font-size: 27px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-grid label {
  margin: 0 0 15px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
}
.checkbox-label input {
  width: auto;
  margin: 3px 0;
}
.compact {
  font-size: 12px;
}
.progress {
  width: 100%;
  height: 7px;
  accent-color: var(--green);
  margin: 15px 0;
}
.loading {
  color: var(--muted);
  padding: 40px;
}
.notice-panel {
  background: #edf2e6;
  padding: 18px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.7;
}
.danger-panel {
  border-color: #d9b4a9;
}
.error-text {
  color: var(--red);
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 190px 1fr;
  }
  aside {
    padding: 30px 15px;
  }
  header {
    padding: 0 25px;
  }
  main#main {
    padding: 30px 25px;
  }
  .two-cols {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .login-story h1 {
    font-size: 44px;
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  aside {
    position: relative;
    height: auto;
    padding: 20px;
  }
  .brand {
    font-size: 36px;
  }
  aside .org-label {
    margin: 20px 0 6px;
  }
  nav {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 18px;
    gap: 4px;
  }
  nav button {
    display: block;
    padding: 9px;
    text-align: center;
  }
  nav button span {
    display: block;
    font-size: 10px;
    margin-top: 5px;
  }
  .aside-bottom {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat .number {
    font-size: 25px;
  }
  .stat {
    padding: 12px;
  }
  .stat small {
    font-size: 9px;
  }
  .page-title {
    display: block;
  }
  .page-title .actions {
    margin-top: 15px;
  }
  h1 {
    font-size: 30px;
  }
  .hero {
    padding: 22px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .search-form {
    flex-direction: column;
  }
  .connection {
    grid-template-columns: 1fr;
  }
  footer {
    margin: 0 25px;
    font-size: 8px;
    gap: 20px;
  }
  .login-shell {
    display: block;
  }
  .login-story {
    min-height: 240px;
    padding: 30px;
  }
  .login-story > div {
    margin-top: 35px;
  }
  .login-story h1 {
    font-size: 37px;
  }
  .login-story p,
  .login-story small {
    display: none;
  }
  .login-form {
    padding: 35px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
