:root {
  --blue: #2454e6;
  --ink: #15223b;
  --muted: #7a8496;
  --line: #e8ecf2;
  --bg: #f6f8fc;
  --green: #14a881;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  background: var(--bg);
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
}
.muted,
.help {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.boot {
  display: grid;
  place-items: center;
  min-height: 100vh;
  color: var(--muted);
}
.workspace {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 238px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 20px 20px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 29px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}
.logo {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  width: 34px;
  height: 34px;
  font-size: 24px;
  border-radius: 10px;
  letter-spacing: -2px;
  padding-right: 2px;
}
.brand-dot {
  color: var(--blue);
  margin-left: -9px;
}
.workspace-label {
  font-size: 9px;
  color: #9aa3b3;
  letter-spacing: 1.5px;
  font-weight: 650;
  margin: 49px 12px 16px;
}
nav {
  display: grid;
  gap: 7px;
}
.nav-item {
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  color: #778199;
  font-weight: 500;
}
.nav-item.active {
  background: #edf2ff;
  color: var(--blue);
}
.nav-item:hover {
  background: #f4f6fa;
}
.nav-symbol {
  font-size: 21px;
  width: 22px;
  text-align: center;
  line-height: 1;
}
.sidebar-bottom {
  margin-top: auto;
}
.foundation {
  border: 1px solid var(--line);
  padding: 13px 10px;
  border-radius: 10px;
  font-size: 11px;
  color: #66748c;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.live-dot,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: var(--green);
}
.version {
  margin-left: auto;
  background: #f2f4f8;
  padding: 3px 5px;
  border-radius: 4px;
  font-size: 10px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.profile strong {
  font-size: 12px;
}
.profile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.icon-button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 24px;
  padding: 3px 7px;
}
.profile .icon-button {
  margin-left: auto;
  font-size: 21px;
}
.main {
  margin-left: 238px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  font-size: 11px;
  color: var(--muted);
}
.topbar-right {
  display: flex;
  gap: 25px;
  align-items: center;
}
.connection {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #59826f;
}
.connection i {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}
.connection.off {
  color: #b77823;
}
.connection.off i {
  background: #d6a345;
}
.content {
  padding: 38px;
  max-width: 1570px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading h1 {
  margin-top: 8px;
}
.page-heading p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.button {
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  gap: 9px;
  justify-content: center;
  align-items: center;
  padding: 11px 15px;
  font-weight: 550;
  font-size: 12px;
  white-space: nowrap;
}
.button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 6px #2454e619;
}
.primary:hover {
  background: #1948ce;
}
.secondary {
  background: #fff;
  color: #536079;
  border-color: var(--line);
}
.text-button {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 11px;
  padding: 4px;
}
.notice {
  background: #edf3ff;
  border: 1px solid #dfe8ff;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.notice-icon {
  height: 34px;
  width: 34px;
  border-radius: 10px;
  color: var(--blue);
  background: #e0e9ff;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.notice strong {
  font-size: 12px;
  font-weight: 600;
}
.notice p {
  font-size: 11px;
  line-height: 1.6;
  color: #78849b;
  margin-top: 5px;
}
.notice .badge {
  margin-left: auto;
}
.badge {
  font-size: 10px;
  border-radius: 5px;
  background: #f0f3f8;
  color: #7d8799;
  padding: 5px 8px;
  white-space: nowrap;
}
.blue {
  background: #e1eaff;
  color: #4168d1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.stat-card > span {
  color: #7c879b;
  font-size: 11px;
}
.stat-card strong {
  display: block;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -1.3px;
  margin: 14px 0 7px;
}
.stat-card small {
  color: #99a1b0;
  font-size: 10px;
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 24px 21px;
}
.panel-heading p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 7px;
}
.stack-panel {
  padding-bottom: 22px;
}
.stack-step {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 24px;
}
.step-number {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #edf3ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
}
.muted-number {
  background: #f3f5f9;
  color: #8a94a6;
}
.stack-step strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
}
.stack-step small {
  display: block;
  color: #9099aa;
  font-size: 10px;
  margin-top: 5px;
}
.stack-step .status-dot {
  margin-left: auto;
  width: 6px;
  height: 6px;
}
.amber {
  background: #dfa646;
}
.grey {
  background: #bac2d0;
}
.stack-connector {
  height: 20px;
  width: 1px;
  background: var(--line);
  margin: 5px 0 5px 39px;
}
.stack-link {
  margin: 25px 24px 0;
  font-size: 11px;
}
.empty {
  padding: 37px 20px 42px;
  text-align: center;
}
.empty-symbol {
  width: 49px;
  height: 49px;
  border-radius: 14px;
  background: #f2f5fc;
  color: #8399ca;
  font-size: 25px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
}
.empty h3 {
  margin-bottom: 8px;
  font-size: 13px;
}
.empty p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 11px;
  margin: auto;
  max-width: 360px;
}
.empty .button {
  margin-top: 20px;
}
.recent-row {
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.recent-row strong {
  font-size: 12px;
  font-weight: 550;
}
.recent-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #fafbfe;
  color: #96a0b1;
  font-weight: 600;
  padding: 13px 24px;
}
td {
  padding: 17px 24px;
  font-size: 11px;
  border-top: 1px solid var(--line);
}
.name-cell strong {
  font-weight: 550;
  display: block;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.name-cell small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-actions {
  display: flex;
  gap: 8px;
}
.row-actions button {
  font-size: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #68768d;
  border-radius: 6px;
  padding: 6px 8px;
}
.row-actions button:hover {
  color: var(--blue);
  border-color: #b6c6f6;
}
.search {
  width: 245px;
  font-size: 11px;
  padding: 10px 12px;
}
.server-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.server-card {
  padding: 25px;
}
.server-card h2 {
  margin-top: 12px;
}
.server-address {
  font-size: 13px;
  color: var(--blue);
  margin-top: 10px;
}
dl {
  margin: 26px 0 0;
}
dl div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
}
footer {
  font-size: 10px;
  color: #a3abba;
  display: flex;
  gap: 10px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-right {
  margin-left: auto;
}
.login-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-intro {
  background: #eef3ff;
  padding: 48px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-intro h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-top: 20px;
  letter-spacing: -1.8px;
}
.login-intro p {
  line-height: 1.8;
  color: #8290a9;
  margin-top: 23px;
  font-size: 13px;
}
.login-foot {
  font-size: 10px;
  color: #8896af;
}
.login-panel {
  display: grid;
  place-items: center;
  background: #fff;
  padding: 30px;
}
.login-card {
  width: 100%;
  max-width: 350px;
}
.login-card h2 {
  font-size: 25px;
  margin-top: 10px;
  letter-spacing: -0.7px;
}
.login-card > p {
  font-size: 12px;
  margin-top: 9px;
  margin-bottom: 32px;
}
.login-card .button {
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
}
.form-error {
  color: #c74e55 !important;
  font-size: 12px;
  margin: 0 0 15px !important;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: #5e6b80;
  margin-bottom: 20px;
}
input,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #e1e6ef;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
  margin-top: 8px;
  font-size: 12px;
}
input:focus,
textarea:focus {
  outline: 2px solid #2454e642;
  border-color: #6b8aea;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #a3acba;
}
label small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #9da6b5;
  margin-top: 6px;
}
.optional {
  font-weight: 400;
  color: #a2aabb;
  margin-left: 4px;
}
.help {
  font-size: 10px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  width: calc(100% - 40px);
  max-width: 490px;
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 20px 80px #10234b20;
}
dialog::backdrop {
  background: #1727415e;
  backdrop-filter: blur(2px);
}
.wide-dialog {
  max-width: 690px;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 20px;
}
.dialog-heading h2 {
  font-size: 21px;
  margin-top: 8px;
}
.dialog-heading .icon-button {
  align-self: flex-start;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.import-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.contact-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding: 20px 0 15px;
  font-size: 11px;
}
.wide-dialog td,
.wide-dialog th {
  padding: 11px 12px;
}
.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 20;
  background: #182d48;
  color: #fff;
  font-size: 12px;
  padding: 15px 22px;
  border-radius: 10px;
  box-shadow: 0 6px 24px #15223b22;
  max-width: calc(100vw - 40px);
}
.toast.error {
  background: #a8424e;
}
@media (min-width: 1600px) {
  .content {
    padding: 50px;
  }
  .overview-columns {
    grid-template-columns: 2fr 1fr;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
  }
  .main {
    margin-left: 205px;
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .overview-columns {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 17px;
  }
  .login-intro {
    padding: 40px;
  }
  .login-intro h1 {
    font-size: 36px;
  }
  .server-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 25px;
  }
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px;
    gap: 4px;
  }
  .nav-item {
    font-size: 10px;
    padding: 9px 4px;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    justify-content: center;
  }
  .nav-symbol {
    font-size: 16px;
    width: 16px;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    height: 52px;
    padding: 0 20px;
    font-size: 10px;
  }
  .topbar-right {
    gap: 8px;
  }
  #today {
    display: none;
  }
  .content {
    padding: 25px 20px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading .button {
    font-size: 10px;
    padding: 10px;
    gap: 4px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .notice {
    padding: 15px;
    gap: 10px;
  }
  .notice .badge {
    display: none;
  }
  .notice p {
    font-size: 10px;
  }
  .panel-heading {
    padding: 20px;
    flex-wrap: wrap;
  }
  .search {
    width: 100%;
  }
  .overview-columns {
    gap: 20px;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-intro {
    padding: 30px;
    min-height: 200px;
    gap: 30px;
  }
  .login-intro h1 {
    font-size: 25px;
    margin-top: 12px;
  }
  .login-intro p,
  .login-foot {
    display: none;
  }
  .login-panel {
    padding: 35px 25px;
    place-items: start center;
  }
  .login-card {
    max-width: 400px;
  }
  .form-grid {
    gap: 12px;
  }
  .import-footer {
    align-items: flex-start;
  }
  .import-footer .button {
    padding: 10px;
    font-size: 10px;
  }
  .footer-right {
    display: none;
  }
}
