:root {
  color-scheme: dark;
  --bg: #141718;
  --surface: #1b1f20;
  --raised: #24292b;
  --line: #303638;
  --muted: #92a09f;
  --text: #e9eeec;
  --accent: #b9d9ca;
  --red: #f0a6a6;
  font-family: "Google Sans", sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea,
code,
pre {
  font-family: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button,
.button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #3a4443;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:hover,
.button:hover {
  background: #303a37;
  border-color: #60746b;
}
button.primary,
.button.primary {
  background: var(--accent);
  color: #172920;
  border-color: transparent;
}
button.primary:hover {
  background: #d3ebdf;
}
button.danger {
  color: var(--red);
  border-color: #674344;
}
button.danger:hover {
  background: #442d2e;
}
button.ghost {
  background: none;
  border-color: transparent;
  color: var(--muted);
}
button.icon {
  padding: 0;
  width: 40px;
  flex-shrink: 0;
}
svg.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workspace {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
  background: #0e1112;
  border-right: 1px solid #242b2c;
  padding: 34px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  letter-spacing: -1px;
  font-size: 26px;
  padding: 0 12px;
  color: #f2f5f3;
}
.brand-mark {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  background: #b9d9ca;
  color: #122a20;
  border-radius: 11px;
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  font-style: italic;
  padding: 0 3px 4px 0;
  letter-spacing: -3px;
}
.sidebar-content {
  margin-top: 47px;
  overflow-y: auto;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  padding: 12px 13px;
  border-radius: 11px;
  font-size: 13px;
  color: #9ba7a6;
  min-height: 44px;
}
.side-link:hover {
  color: #e4ebe8;
  background: #1c2321;
}
.side-link.active {
  color: #d8eae2;
  background: #26352f;
}
.side-link.active .icon {
  color: #b9d9ca;
}
.nav-label {
  font-size: 11px;
  color: #657572;
  margin: 35px 13px 13px;
  font-weight: 500;
}
.sidebar-account {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 17px 2px 0;
  border-top: 1px solid #252d2b;
}
.avatar {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #343d39;
  color: #d4e3db;
  font-size: 11px;
  flex-shrink: 0;
}
.account-name {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.account-name strong {
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-name > span {
  font-size: 10px;
  color: #81938c;
}
.sidebar-account button {
  width: 30px;
}
.sidebar-account button svg {
  width: 16px;
}
main {
  margin-left: 226px;
  padding: 54px 48px 70px;
  max-width: 1640px;
  min-height: 100vh;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 36px;
}
.heading h1 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0 0 11px;
}
.heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}
.stat {
  border: 1px solid #2a3330;
  background: #1a201e;
  border-radius: 15px;
  padding: 19px 21px;
  min-width: 0;
  position: relative;
}
.stat-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #a6b5ae;
}
.stat-icon {
  display: flex;
  align-items: center;
  color: #7d9a8d;
}
.stat-icon svg {
  height: 16px;
  width: 16px;
}
.stat-value {
  font-size: 30px;
  letter-spacing: -0.8px;
  font-weight: 400;
  line-height: 1.2;
  margin: 18px 0 9px;
}
.stat-value small {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
}
.stat-foot {
  font-size: 11px;
  color: #7f9389;
  line-height: 1.5;
}
.setup-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 27px;
  border: 1px solid #3f5549;
  background: #202c25;
  border-radius: 15px;
  margin-bottom: 30px;
}
.setup-intro {
  display: flex;
  gap: 17px;
  align-items: center;
}
.setup-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #344b3d;
  border-radius: 14px;
  color: #c9ddce;
}
.setup-intro h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 8px;
}
.setup-intro p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  color: #a6b9ac;
}
.setup-card .button {
  white-space: nowrap;
  border-color: #58705f;
}
.project-section {
  background: var(--surface);
  border: 1px solid #2b3233;
  border-radius: 16px;
  overflow: hidden;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 23px 25px;
  border-bottom: 1px solid #2b3333;
}
.list-toolbar h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.count {
  font-size: 11px;
  background: #303a35;
  color: #b4c7bc;
  border-radius: 6px;
  min-width: 23px;
  padding: 3px 6px;
  text-align: center;
}
.list-search {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #151a18;
  border: 1px solid #303a34;
  border-radius: 9px;
  padding: 0 10px;
  max-width: 235px;
  color: #84978d;
}
.list-search input {
  font-size: 12px;
  min-height: 35px;
  padding: 7px 0;
  background: none;
  border: 0;
  min-width: 0;
  width: 100%;
  color: #e4ebe8;
}
.list-search input:focus {
  outline: 0;
}
.list-search svg {
  width: 15px;
  height: 15px;
}
.project-row {
  display: grid;
  grid-template-columns: 42px minmax(110px, 1fr) 115px 150px 120px 18px;
  gap: 16px;
  align-items: center;
  padding: 22px 25px;
  border-bottom: 1px solid #2d3533;
  transition: background 0.15s;
}
.project-row:last-child {
  border: 0;
}
.project-row:hover {
  background: #232c27;
}
.project-row[hidden] {
  display: none;
}
.runtime-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: #293d43;
  color: #b0d2dd;
  font-size: 12px;
  font-weight: 600;
}
.runtime-icon.node {
  background: #304233;
  color: #c2d9a9;
}
.project-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}
.sub {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.row-label {
  display: block;
  font-size: 10px;
  color: #788e82;
  margin-bottom: 6px;
}
.row-value {
  font-size: 11px;
  color: #c8d3cd;
}
.chevron {
  color: #809088;
}
.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #bdd8c4;
  background: #2a3d30;
  border: 1px solid #3f5644;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 10px;
  white-space: nowrap;
}
.badge.off {
  color: #a7b0ac;
  background: #2a312d;
  border-color: #414b45;
}
.badge.error {
  color: #e6afac;
  background: #3b2b2a;
  border-color: #654544;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 30px;
  min-height: 285px;
}
.empty-icon {
  display: grid;
  place-items: center;
  background: #28352e;
  color: #87a694;
  border-radius: 16px;
  width: 56px;
  height: 56px;
  margin-bottom: 21px;
}
.empty-icon svg {
  width: 24px;
  height: 24px;
}
.empty h3 {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  max-width: 370px;
}
.panel {
  background: var(--surface);
  border: 1px solid #303737;
  border-radius: 15px;
  overflow: hidden;
}
.panel-head {
  padding: 20px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #2c3532;
}
.panel-head h2 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.panel-head small {
  font-size: 11px;
  color: var(--muted);
}
.panel-body {
  padding: 24px;
}
.description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.notice {
  font-size: 12px;
  line-height: 1.8;
  padding: 15px 18px;
  border: 1px solid #3d5148;
  background: #233029;
  border-radius: 11px;
  color: #b5c7bd;
  margin-bottom: 20px;
}
.error-banner {
  color: #edb7b3;
  background: #352827;
  border: 1px solid #63433f;
  border-radius: 11px;
  padding: 15px 18px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #92a69b;
  margin-bottom: 27px;
}
.breadcrumb .icon {
  width: 13px;
  height: 13px;
}
.breadcrumb a:hover {
  color: #d4e4db;
}
.tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  border-bottom: 1px solid #323d36;
  margin-bottom: 25px;
}
.tabs a {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 13px 15px 15px;
  font-size: 12px;
  color: #8eaa99;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tabs a.active {
  color: #d0e6d8;
  border-color: #b9d9ca;
}
.tabs a svg {
  width: 17px;
  height: 17px;
}
.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  gap: 18px;
}
.console {
  min-width: 0;
  background: #101613;
}
.console .panel-head {
  background: #1c2520;
}
.console-title {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
}
.console-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  padding: 21px;
}
.info-card h3 {
  font-size: 12px;
  font-weight: 500;
  color: #cedbd3;
  margin: 0 0 20px;
}
.info-pair {
  margin-top: 18px;
}
.info-pair dt {
  font-size: 10px;
  color: #7c9485;
  margin-bottom: 7px;
  text-transform: none;
}
.info-pair dd {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}
.terminal {
  height: 395px;
  overflow: auto;
  padding: 21px 23px;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #c1cfc7;
  font-variant-numeric: tabular-nums;
}
.log-time {
  color: #677e70;
  margin-right: 12px;
}
.log-system {
  color: #add2bb;
}
.terminal-empty {
  color: #83958b;
}
.command {
  display: flex;
  gap: 11px;
  align-items: center;
  border-top: 1px solid #2b3b30;
  padding: 8px 13px;
  color: #b9d9ca;
}
.command input {
  flex: 1;
  background: none;
  border: 0;
  min-width: 0;
}
.command button {
  min-height: 32px;
  width: 34px;
  padding: 0;
}
.resource .stat-value {
  font-size: 23px;
  margin-top: 15px;
}
.resource .stat-top {
  justify-content: space-between;
}
.resource .stat-top > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.spark {
  height: 29px;
  width: 100%;
  display: block;
  color: #a9c8b9;
  margin: 9px 0;
}
.spark.memory {
  color: #beb4d6;
}
.spark.disk {
  color: #c5cea5;
}
.spark.network {
  color: #a6c2cc;
}
.resource {
  padding-bottom: 15px;
}
.network-value {
  font-size: 13px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}
.summary-line strong {
  font-weight: 500;
  color: #d1ded6;
}
.summary-line dd {
  margin: 0;
  color: #d1ded6;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th,
td {
  padding: 18px 23px;
  border-bottom: 1px solid #2f3932;
}
th {
  font-weight: 400;
  color: #8fa697;
  font-size: 11px;
  white-space: nowrap;
  background: #202823;
}
tr:last-child td {
  border-bottom: 0;
}
td .sub {
  margin-top: 5px;
}
.table-action {
  min-height: 32px;
  font-size: 11px;
  padding: 0 12px;
  border-radius: 8px;
}
code {
  color: #b7ccbf;
  font-size: 12px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-form {
  padding: 25px;
  max-width: 750px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 21px;
}
.field label {
  font-size: 12px;
  color: #c8d9ce;
}
.field small {
  color: #8ba293;
  font-size: 11px;
  line-height: 1.7;
}
.field small:empty {
  display: none;
}
input,
select,
textarea {
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: #121a15;
  border: 1px solid #3a4b40;
  border-radius: 10px;
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #a5c3b0;
  outline: 1px solid #a5c3b0;
}
textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.8;
}
textarea.code {
  min-height: 380px;
  font-size: 12px;
  tab-size: 4;
  font-variant-numeric: tabular-nums;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 18px 0;
}
.checkbox input {
  width: 15px;
  min-height: 15px;
  margin: 4px 0;
}
.file-controls {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}
.file-path {
  font-size: 12px;
  color: #a5bdaf;
  overflow-wrap: anywhere;
}
.file-name {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 0;
  min-height: 32px;
  border: 0;
  background: none;
  font-size: 12px;
}
.file-name:hover {
  background: none;
  color: #c4e4d1;
}
.file-name svg {
  color: #8aa592;
}
#files-list.drag-over {
  border-color: var(--accent);
  background: #202d26;
}
.danger-zone {
  border-color: #63413f;
}
.danger-zone .panel-head {
  color: #edb7b3;
}
dialog {
  color: var(--text);
  background: #1c2520;
  border: 1px solid #465c4c;
  border-radius: 18px;
  padding: 0;
  width: min(570px, calc(100vw - 32px));
  max-height: 88vh;
  box-shadow: 0 25px 120px #0008;
}
dialog::backdrop {
  background: #080d0bbb;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  border-bottom: 1px solid #344538;
}
.dialog-head h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 0;
}
.dialog-body {
  padding: 25px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 17px 25px;
  border-top: 1px solid #344538;
}
.form-error {
  color: #eda8a5;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 15px;
}
.form-error:empty {
  display: none;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 25px;
}
.login {
  width: min(390px, 100%);
}
.login .brand {
  padding: 0;
  margin-bottom: 55px;
}
.login h1 {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 400;
  margin: 0 0 17px;
}
.login p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 32px;
}
.login .primary {
  width: 100%;
  margin-top: 9px;
  min-height: 46px;
}
.login .brand-mark {
  background: #b9d9ca;
}
.initial {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  font-size: 24px;
}
.initial span {
  color: var(--muted);
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  max-width: calc(100vw - 35px);
  padding: 14px 20px;
  background: #31453a;
  color: #e0efe6;
  border: 1px solid #637b6b;
  border-radius: 12px;
  z-index: 100;
  font-size: 12px;
  line-height: 1.7;
  box-shadow: 0 15px 40px #0006;
  display: none;
}
#toast.visible {
  display: block;
}
.node-rows {
  border: 1px solid #303b34;
  background: var(--surface);
  border-radius: 15px;
  overflow: hidden;
}
.node-rows .project-row {
  grid-template-columns: 40px minmax(140px, 1fr) 120px 140px 100px;
}
.node-rows .error-banner {
  margin: 0 20px 20px;
}
.loading {
  padding: 40px 25px;
  color: var(--muted);
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 11px;
}
.no-margin {
  margin: 0;
}
.mb {
  margin-bottom: 20px;
}
.disabled {
  opacity: 0.5;
}
.eyebrow {
  display: none;
}
::selection {
  background: #658f7766;
}
@media (min-width: 1550px) {
  main {
    padding: 60px 70px 80px;
  }
  .heading {
    margin-bottom: 40px;
  }
  .stats {
    gap: 20px;
  }
  .stat {
    padding: 24px;
  }
  .terminal {
    height: 450px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 200px;
    padding-left: 13px;
    padding-right: 13px;
  }
  main {
    margin-left: 200px;
    padding: 43px 30px 60px;
  }
  .project-row {
    grid-template-columns: 38px minmax(110px, 1fr) 100px 135px 18px;
    gap: 12px;
  }
  .owner-col {
    display: none;
  }
  .console-layout {
    grid-template-columns: 1fr;
  }
  .console-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .node-rows .project-row {
    grid-template-columns: 38px minmax(110px, 1fr) 100px 135px;
  }
  .node-rows .project-row > :last-child {
    display: none;
  }
  .stat {
    padding: 18px 16px;
  }
  .stat-value {
    font-size: 27px;
  }
  .setup-card {
    padding: 23px;
  }
  .setup-intro {
    gap: 13px;
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 75px;
    padding: 25px 10px 15px;
  }
  .brand {
    padding: 0 10px;
    font-size: 0;
    gap: 0;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }
  .sidebar-content {
    margin-top: 35px;
  }
  .side-link {
    justify-content: center;
    padding: 12px;
  }
  .side-link > span,
  .nav-label,
  .account-name {
    display: none;
  }
  .sidebar-content nav > .side-link:first-child {
    margin-bottom: 25px;
  }
  .sidebar-account {
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
  }
  main {
    margin-left: 75px;
    padding: 34px 25px 60px;
  }
  .heading h1 {
    font-size: 27px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }
  .setup-card {
    gap: 17px;
    align-items: flex-start;
  }
  .setup-icon {
    display: none;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .project-row {
    grid-template-columns: 37px minmax(110px, 1fr) 100px 18px;
  }
  .resource-col {
    display: none;
  }
  .node-rows .project-row {
    grid-template-columns: 37px minmax(110px, 1fr) 100px;
  }
  .setup-intro p {
    max-width: 270px;
  }
  .list-toolbar {
    padding: 20px;
  }
  .project-row {
    padding: 20px;
  }
  #toast {
    left: calc(50% + 35px);
  }
}
@media (max-width: 600px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 17px 18px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    border-right: 0;
    border-bottom: 1px solid #2b3730;
    gap: 20px;
    background: #101713;
  }
  .brand {
    padding: 0;
    font-size: 23px;
    gap: 10px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 25px;
  }
  .sidebar-account {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    border: 0;
    gap: 8px;
  }
  .sidebar-account .avatar {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .sidebar-account button {
    width: 27px;
    height: 30px;
    min-height: 30px;
  }
  .sidebar-content {
    grid-column: 1/-1;
    margin: 0;
    overflow: visible;
    min-width: 0;
  }
  .sidebar-content nav {
    display: flex;
    gap: 4px;
    overflow: auto;
    margin: 0 -18px;
    padding: 0 13px 9px;
    scrollbar-width: none;
  }
  .side-link {
    padding: 10px 12px;
    min-height: 39px;
    gap: 8px;
    border-radius: 9px;
    margin: 0;
    flex-shrink: 0;
    font-size: 12px;
  }
  .side-link > span {
    display: inline;
  }
  .side-link svg {
    width: 16px;
    height: 16px;
  }
  .sidebar-content nav > .side-link:first-child {
    margin: 0;
  }
  .sidebar-content nav > .side-link:nth-child(2) {
    margin-left: 4px;
  }
  .sidebar-content .nav-label {
    display: none;
  }
  main {
    margin: 0;
    padding: 29px 18px 50px;
    min-height: calc(100vh - 127px);
  }
  .heading {
    gap: 13px;
    margin-bottom: 26px;
    align-items: flex-start;
  }
  .heading h1 {
    font-size: 27px;
    margin-bottom: 10px;
  }
  .heading p {
    font-size: 12px;
    max-width: 235px;
  }
  .heading > .actions {
    justify-content: flex-end;
    max-width: 140px;
    gap: 6px;
  }
  .heading > .actions button {
    font-size: 11px;
    min-height: 37px;
    padding: 0 11px;
    gap: 5px;
  }
  .heading > .actions svg {
    width: 14px;
    height: 14px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 17px;
  }
  .stat-top {
    font-size: 11px;
    gap: 8px;
  }
  .stat-value {
    font-size: 26px;
    margin: 16px 0 7px;
  }
  .stat-foot {
    font-size: 10px;
  }
  .setup-card {
    display: block;
    padding: 22px;
    margin-bottom: 22px;
  }
  .setup-intro h2 {
    font-size: 16px;
  }
  .setup-intro p {
    font-size: 12px;
    max-width: none;
  }
  .setup-card .button {
    margin-top: 17px;
    width: 100%;
  }
  .list-toolbar {
    padding: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .list-toolbar h2 {
    font-size: 15px;
  }
  .list-search {
    max-width: 170px;
  }
  .project-row {
    grid-template-columns: 35px minmax(100px, 1fr) auto;
    padding: 19px 17px;
    gap: 11px;
  }
  .chevron {
    display: none;
  }
  .project-name {
    font-size: 12px;
  }
  .project-row .sub {
    font-size: 10px;
  }
  .node-rows .project-row {
    grid-template-columns: 35px minmax(100px, 1fr) auto;
  }
  .empty {
    padding: 48px 24px;
    min-height: 270px;
  }
  .empty h3 {
    font-size: 16px;
  }
  .empty p {
    font-size: 12px;
  }
  .tabs {
    gap: 0;
  }
  .tabs a {
    font-size: 11px;
    padding: 12px 11px;
    gap: 7px;
  }
  .tabs a svg {
    width: 15px;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 6px;
    margin-bottom: 23px;
  }
  .resource .stat-value {
    font-size: 20px;
  }
  .resource .stat-value small {
    font-size: 10px;
  }
  .network-value {
    font-size: 12px;
  }
  .console .panel-head {
    padding: 13px;
  }
  .console-title {
    font-size: 11px;
    gap: 7px;
  }
  .console-title .muted {
    display: none;
  }
  .console-layout {
    gap: 13px;
  }
  .console-side {
    gap: 10px;
  }
  .info-card {
    padding: 17px;
  }
  .info-card .description {
    font-size: 11px;
  }
  .info-card h3 {
    font-size: 11px;
  }
  .info-pair dt {
    font-size: 9px;
  }
  .info-pair dd {
    font-size: 10px;
  }
  .terminal {
    height: 360px;
    padding: 17px 14px;
    font-size: 11px;
  }
  .log-time {
    margin-right: 8px;
  }
  .command {
    padding: 7px 11px;
    gap: 5px;
  }
  .command input {
    padding-left: 7px;
    font-size: 11px;
  }
  .file-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .file-controls .actions {
    gap: 6px;
  }
  .file-controls button {
    font-size: 11px;
    padding: 0 11px;
  }
  .file-controls .icon {
    width: 32px;
    padding: 0;
  }
  .file-controls button svg {
    width: 15px;
  }
  .panel-head {
    padding: 17px;
  }
  .panel-head small {
    font-size: 10px;
  }
  .panel-body,
  .settings-form {
    padding: 20px;
  }
  td,
  th {
    padding: 16px;
  }
  .form-row {
    gap: 12px;
  }
  .summary-line {
    font-size: 11px;
  }
  #toast {
    left: 50%;
    bottom: 18px;
  }
  .dialog-head {
    padding: 20px;
  }
  .dialog-head h2 {
    font-size: 18px;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-footer {
    padding: 15px 20px;
  }
  .login h1 {
    font-size: 30px;
  }
}
.node-row-actions {
  margin-top: 12px;
}
.expiry-card {
  margin-bottom: 20px;
}
.expiry-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.expiry-body strong {
  font-size: 20px;
  font-weight: 500;
}
@media (max-width: 600px) {
  .expiry-body {
    align-items: flex-start;
    flex-direction: column;
  }
}
