@font-face {
  font-family: Inter;
  src: local("Inter");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f6f8;
  color: #19232c;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  padding: 10px 15px;
  background: white;
  color: inherit;
}
button:hover {
  background: #eef2f1;
}
button.primary {
  background: #186756;
  color: white;
  border-color: #186756;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.shell {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 100vh;
}
.sidebar {
  min-width: 0;
  background: #fff;
  border-right: 1px solid #e3e7ea;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 10px;
}
.mark {
  background: #186756;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  font-size: 18px;
  font-weight: 700;
}
.brand strong {
  display: block;
  font-size: 17px;
}
.brand small {
  color: #6b767c;
  font-size: 11px;
  letter-spacing: 1px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #899299;
  margin: 0 12px 9px;
}
nav {
  display: grid;
  gap: 5px;
}
nav button {
  text-align: left;
  border: 0;
  background: transparent;
  color: #66727a;
}
nav button.active {
  background: #eaf3ef;
  color: #145443;
  font-weight: 600;
}
.sidebar footer {
  margin-top: auto;
  font-size: 12px;
  color: #6a767d;
  padding: 10px;
  line-height: 1.7;
}
.main {
  min-width: 0;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid #e3e7ea;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
}
.user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #eaf3ef;
  color: #186756;
}
.workspace {
  padding: 34px 38px;
  max-width: 1500px;
  margin: auto;
}
.eyebrow {
  font-size: 11px;
  color: #748078;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 650;
  margin: 9px 0;
}
h2 {
  font-size: 17px;
  margin: 0 0 14px;
}
p {
  line-height: 1.65;
  color: #69757d;
}
.heading p {
  margin: 5px 0;
}
.banner {
  border: 1px solid #dbe6df;
  background: #edf5f0;
  border-radius: 10px;
  padding: 13px 18px;
  color: #426050;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 26px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: white;
  border: 1px solid #e2e6e9;
  border-radius: 12px;
  padding: 23px;
}
.metric {
  font-size: 32px;
  margin: 15px 0 5px;
  font-weight: 600;
}
.muted {
  color: #78858b;
  font-size: 12px;
}
.panels {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  margin-top: 24px;
}
.panel {
  min-width: 0;
  background: white;
  border: 1px solid #e2e6e9;
  border-radius: 12px;
  padding: 24px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eff1f3;
}
.row:last-child {
  border: 0;
}
.row strong {
  display: block;
}
.badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 5px;
  background: #f1f3f5;
  color: #5b6870;
  font-size: 10px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.badge.good {
  background: #e7f4ec;
  color: #21754d;
}
.badge.warn {
  background: #fff3df;
  color: #936324;
}
.toolbar {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.toolbar input {
  max-width: 420px;
}
.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e6e9;
  border-radius: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #78838c;
  font-weight: 500;
  background: #fafbfc;
}
td,
th {
  padding: 17px 20px;
  border-bottom: 1px solid #edf0f2;
}
td {
  font-size: 12px;
}
td button {
  padding: 6px 10px;
  font-size: 11px;
}
.empty {
  text-align: center;
  padding: 60px 24px;
  color: #7b858c;
}
.empty strong {
  display: block;
  font-size: 17px;
  color: #39494f;
  margin-bottom: 8px;
}
.actions {
  display: flex;
  gap: 7px;
}
.auth {
  max-width: 440px;
  margin: 10vh auto;
  background: white;
  border: 1px solid #e2e6e9;
  border-radius: 18px;
  padding: 35px;
}
.auth .brand {
  padding: 0;
  margin-bottom: 30px;
}
label {
  display: block;
  font-size: 12px;
  color: #5c6a71;
  margin: 15px 0 7px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #d9e0e3;
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff;
  color: #19232c;
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.auth button {
  width: 100%;
  margin-top: 24px;
}
.error {
  color: #a52d30;
  font-size: 12px;
  line-height: 1.7;
}
.auth .muted {
  line-height: 1.7;
}
dialog {
  width: min(700px, 95vw);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #dce3e0;
  border-radius: 15px;
  padding: 28px;
}
dialog::backdrop {
  background: #142b2359;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.document {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f8faf9;
  padding: 20px;
  border-radius: 8px;
  max-height: 55vh;
  overflow: auto;
  line-height: 1.7;
  font-size: 13px;
}
#notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  background: #193f32;
  color: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px #0002;
  display: none;
}
.mobile-title {
  display: none;
}
.connection {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9babb1;
}
@media (max-width: 1050px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .panels {
    grid-template-columns: 1fr;
  }
  .workspace {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    padding: 16px;
    gap: 14px;
    border-bottom: 1px solid #ddd;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
  }
  .sidebar nav button {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .sidebar footer,
  .nav-label {
    display: none;
  }
  .topbar {
    height: 55px;
    padding: 0 18px;
  }
  .workspace {
    padding: 22px 16px;
  }
  .heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 25px;
  }
  .heading .primary {
    font-size: 11px;
  }
  .grid {
    gap: 10px;
  }
  .card {
    padding: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .auth {
    margin: 5vh 16px;
  }
  .user span {
    display: none;
  }
}

/* Console: clear hierarchy, compact operations and unframed information. */
body { background:#f6f7fa; color:#17212e; }
.shell { grid-template-columns:208px minmax(0,1fr); }
.sidebar { padding:24px 12px; background:#f9fafc; border-color:#dfe4ed; }
.mark { background:#304bd0; border-radius:4px; }
.brand strong { letter-spacing:-.6px; }
nav button { border-radius:4px; }
nav button.active { background:#e9edff; color:#2845c7; }
button.primary { background:#304bd0; border-color:#304bd0; }
button:hover { background:#eef1f8; }
button.primary:hover { background:#2440bc; }
button,input,select,textarea { border-radius:5px; }
.topbar { height:60px; padding:0 30px; }
.workspace { padding:30px; max-width:1620px; }
h1 { font-size:28px; font-weight:600; letter-spacing:-.8px; }
h2 { font-size:16px; font-weight:600; }
.eyebrow,.nav-label,th { font-family:ui-monospace,SFMono-Regular,monospace; }
.banner { background:#edf0f7; border-color:#dfe5ef; color:#56647a; border-radius:4px; }
.grid { gap:0; border-bottom:1px solid #dfe4ed; padding-bottom:25px; }
.card { background:transparent; border:0; border-right:1px solid #dfe4ed; border-radius:0; padding:5px 24px; }
.card:first-child { padding-left:0; }
.card:last-child { border-right:0; }
.metric { font-size:34px; font-variant-numeric:tabular-nums; }
.panels { gap:30px; }
.panel { background:transparent; border:0; border-top:1px solid #dfe4ed; border-radius:0; padding:22px 0; }
.table-wrap { border:0; border-top:1px solid #dfe4ed; border-bottom:1px solid #dfe4ed; border-radius:0; }
th { background:#eef1f6; font-size:10px; }
td,th { padding:15px 16px; }
tbody tr:hover { background:#f9faff; }
.badge { border-radius:3px; font-size:11px; }
.avatar { color:#304bd0; background:#e9edff; }
.remote-section { margin-bottom:32px; }
.remote-section .heading { margin-bottom:12px; }
.local-drafts-title { margin:24px 0 12px; color:#66748a; font-weight:500; }
.source-panel { margin-bottom:22px; }
.auth { max-width:1060px; margin:11vh auto; padding:0; display:grid; grid-template-columns:1.2fr 1fr; background:transparent; border:0; border-radius:0; min-height:540px; }
.auth-intro { display:flex; flex-direction:column; justify-content:space-between; padding:24px 52px 24px 0; }
.auth-intro .brand { margin:0; }
.auth-intro h1 { font-size:43px; font-weight:500; line-height:1.14; letter-spacing:-1.8px; margin:18px 0; }
.auth-intro p { max-width:340px; }
.auth-topics { display:flex; gap:24px; margin-top:28px; color:#56657a; font-size:12px; }
.auth-access { border-left:1px solid #d9e0eb; padding:35px 0 35px 52px; }
.auth-access h2 { font-size:24px; font-weight:500; margin:16px 0 10px; letter-spacing:-.7px; }
.auth-access form { margin-top:24px; }
.auth-access .muted { margin-top:20px; }
@media(max-width:1100px) { .auth { margin:8vh 35px; } .auth-intro { padding-right:32px; } .auth-access { padding-left:32px; } .auth-intro h1 { font-size:36px; } }
@media(max-width:760px) {
 .shell { grid-template-columns:minmax(0,1fr); }
 .sidebar { padding:15px; }
 .workspace { padding:24px 16px; }
 .topbar { padding:0 16px; }
 .grid { gap:20px 0; }
 .card { padding:5px 16px; }
 .card:nth-child(2) { border-right:0; }
 .card:nth-child(3) { padding-left:0; }
 .auth { display:block; margin:26px 22px; min-height:0; }
 .auth-intro { padding:0 0 22px; gap:20px; }
 .auth-intro h1 { font-size:31px; margin:10px 0; }
 .auth-intro > .muted,.auth-topics { display:none; }
 .auth-access { border-left:0; border-top:1px solid #d9e0eb; padding:26px 0 0; }
}
