.in-dashboard {
  background: var(--bg);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 30px 16px 18px;
  z-index: 20;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sidebar > .brand {
  font-size: 25px;
  gap: 7px;
  margin: 0 7px;
  letter-spacing: -1px;
}
.sidebar > .brand img {
  width: 44px;
  height: 44px;
}
.sidebar > .brand small {
  display: block;
  font-size: 8px;
  color: var(--faint);
  letter-spacing: 1.15px;
  margin-top: 7px;
  font-weight: 500;
}
.workspace-nav {
  margin-top: 38px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.side-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 4px 0;
}
.side-link svg {
  width: 19px;
  height: 19px;
}
.side-link:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.side-link.active {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
}
.sidebar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--faint);
  margin: 22px 13px 11px;
  font-weight: 600;
}
.nav-count {
  font-size: 10px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
  letter-spacing: 0;
}
#sidebar-servers .side-link {
  padding: 10px 12px;
  font-size: 13px;
  gap: 11px;
}
#sidebar-servers .server-avatar {
  width: 33px;
  height: 33px;
}
#server-nav:not(:empty) {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin: 16px 5px 0;
}
#server-nav .side-link {
  font-size: 12px;
  padding: 9px;
}
.nav-planned {
  margin-left: auto;
  font-size: 9px;
  color: var(--faint);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.preview-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0 5px 16px;
  background: var(--surface);
}
.preview-note > svg {
  color: var(--accent-text);
  width: 18px;
  height: 18px;
  margin-bottom: 9px;
}
.preview-note strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.preview-note p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 5px;
}
.sidebar-bottom .side-link {
  font-size: 12px;
}
.dashboard-body {
  margin-left: 250px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.dashboard-topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.topbar-actions .icon-button {
  border: 0;
  width: 34px;
  height: 34px;
}
.topbar-actions svg {
  width: 18px;
  height: 18px;
}
.demo-badge {
  font-size: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 500;
}
.topbar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  font-size: 12px;
  font-weight: 600;
}
.topbar-profile .avatar {
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
}
.topbar-profile small {
  display: block;
  color: var(--faint);
  font-size: 9px;
  font-weight: 400;
  margin-top: 1px;
}
#breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}
#breadcrumbs svg {
  width: 14px;
  height: 14px;
}
#breadcrumbs strong {
  color: var(--ink);
  font-weight: 550;
}
#breadcrumbs > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
#mobile-menu {
  display: none;
}
#dashboard-main {
  padding: 30px 34px 20px;
  max-width: 1460px;
  width: 100%;
  margin-inline: auto;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.page-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.page-heading h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 700;
}
.page-heading p {
  font-size: 13px;
  margin-top: 8px;
}
.directory-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  width: 235px;
  min-height: 42px;
}
.search-field svg {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.search-field input {
  min-width: 0;
  width: 100%;
  color: var(--ink);
  font-size: 12px;
  border: 0;
  background: transparent;
  outline: none;
}
.search-field:focus-within {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}
.search-field input::placeholder {
  color: var(--faint);
}
.server-filter select,
.server-switch select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 30px 10px 13px;
  min-height: 42px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  max-width: 100%;
}
.server-filter select {
  width: 137px;
}
.server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.server-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 19px;
  min-width: 0;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.server-card:hover {
  border-color: var(--accent);
  box-shadow: 0 3px 13px #00000020;
}
.server-card.selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface) 80%);
}
.server-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}
.server-card-heading .server-avatar {
  width: 58px;
  height: 58px;
}
.server-card-heading > div {
  min-width: 0;
}
.server-card h3 {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  font-weight: 650;
}
.server-card .badge {
  font-size: 10px;
  padding: 3px 7px;
  margin-top: 7px;
}
.server-state-lines {
  margin: 17px 0 0 71px;
}
.server-state-lines p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-top: 7px;
  white-space: nowrap;
}
.server-state-lines .status-dot {
  width: 7px;
  height: 7px;
  background: var(--faint);
  opacity: 0.65;
}
.server-state-lines p > span:last-child {
  color: var(--faint);
}
.server-state-lines .is-active .status-dot {
  background: var(--success);
  opacity: 1;
}
.server-state-lines .is-active > span:last-child {
  color: var(--success);
}
.button.full {
  width: 100%;
  font-size: 12px;
  min-height: 39px;
  margin-top: 18px;
  padding: 8px 12px;
}
.button.full svg {
  width: 15px;
  height: 15px;
}
.dashboard-footer {
  max-width: 1460px;
  width: 100%;
  margin: auto auto 0;
  padding: 19px 34px 25px;
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--faint);
  font-size: 10px;
  flex-wrap: wrap;
}
.dashboard-footer > span:first-child {
  margin-right: auto;
}
.dashboard-footer .link-button {
  font-size: 10px;
}
.dashboard-tip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 23px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 26px;
}
.dashboard-tip > svg {
  color: var(--accent-text);
  width: 22px;
  height: 22px;
}
.dashboard-tip > div {
  flex: 1;
}
.dashboard-tip strong {
  font-size: 13px;
  font-weight: 600;
}
.dashboard-tip p {
  font-size: 12px;
  margin-top: 3px;
}
.count-bubble {
  font-size: 11px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
