
.window-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text-1);
  font-weight: 600;
}

.dashboard-tab {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101828;
  color: var(--text-1);
  font-weight: 600;
  min-height: 34px;
  padding: 4px 12px;
}

.dashboard-tab.active {
  border-color: rgba(127, 151, 191, 0.4);
  color: var(--text-0);
  background: #16213a;
}

.dashboard-window-pane {
  padding: 10px 12px;
  display: grid;
  gap: 8px;
  min-height: 345px;
  overflow: auto;
}

.dashboard-selected-card {
  height: auto;
  padding: 12px;
}

.dashboard-profile-card {
  display: grid;
  gap: 10px;
  min-height: 0;
}

.dashboard-profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-profile-skin {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid rgba(117, 152, 212, 0.42);
  image-rendering: pixelated;
}

.dashboard-profile-meta {
  display: grid;
  gap: 3px;
}

.dashboard-profile-name {
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 700;
  line-height: 1.02;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-profile-uuid {
  color: #8ca7cf;
  font-size: 12px;
  word-break: break-all;
  opacity: 0.86;
}

.dashboard-profile-host {
  color: #9bb4d8;
  font-size: 13px;
}

.dashboard-profile-proxy {
  color: #8bb7ff;
  font-size: 12px;
}

.dashboard-profile-error {
  color: #ff9d9d;
  font-size: 12px;
  font-weight: 700;
  word-break: break-word;
}

.dashboard-profile-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(124, 160, 218, 0.36);
  border-radius: 999px;
  background: #16213a;
  color: var(--text-0);
  min-height: 24px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-pill.muted {
  color: #bbd1f2;
}

.dashboard-pill.running {
  border-color: rgba(61, 213, 138, 0.62);
  background: rgba(20, 95, 62, 0.55);
  color: #b8f5d9;
}

.dashboard-pill.starting {
  border-color: rgba(243, 190, 89, 0.62);
  background: rgba(91, 67, 24, 0.62);
  color: #ffe2a5;
}

.dashboard-pill.stopping {
  border-color: rgba(245, 158, 11, 0.62);
  background: rgba(120, 53, 15, 0.62);
  color: #fde68a;
}

.dashboard-pill.error {
  border-color: rgba(247, 120, 120, 0.6);
  background: rgba(95, 37, 37, 0.65);
  color: #ffd4d4;
}

.dashboard-pill.stopped {
  border-color: rgba(147, 171, 207, 0.44);
  background: rgba(40, 57, 84, 0.72);
  color: #cad7ec;
}

.dashboard-profile-bars {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3f8ff;
}

.dashboard-profile-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-profile-stats span {
  border: 1px solid rgba(124, 160, 218, 0.32);
  border-radius: 8px;
  padding: 6px 10px;
  background: #16213a;
  color: var(--text-0);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-profile-stats span strong {
  color: #9dc0ed;
  font-weight: 700;
  font-size: 12px;
}

.dashboard-profile-status {
  border: 1px solid rgba(124, 160, 218, 0.32);
  border-radius: 8px;
  min-height: 38px;
  padding: 8px 10px;
  color: #9fb6d8;
}

.dashboard-profile-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dash-view-link {
  border: 0;
  background: transparent;
  color: #66a1ff;
  font-weight: 700;
  padding: 0;
  text-align: left;
}

.dash-menu-trigger {
  border: 0;
  background: transparent;
  color: #95b2db;
  font-size: 20px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.dashboard-profile-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(117, 152, 212, 0.28);
  border-radius: 10px;
  background: #101828;
  padding: 8px;
}

.link-btn {
  text-align: left;
  border: 1px solid rgba(117, 152, 212, 0.3);
  border-radius: 8px;
  background: #16213a;
  color: var(--text-0);
  min-height: 34px;
  padding: 7px 10px;
  font-weight: 700;
}

.dash-chat-log {
  min-height: 250px;
  max-height: 300px;
  overflow: auto;
  border: 1px solid rgba(124, 160, 218, 0.28);
  border-radius: 10px;
  background: #0d1524;
  padding: 8px 10px;
}

.dash-chat-line {
  color: #d6e6ff;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
  white-space: pre-wrap;
  word-break: break-word;
}

.dash-chat-line.warn {
  color: #ffd28f;
}

.dash-chat-line.error {
  color: #ff9d9d;
}

.dash-chat-line.chat {
  color: #68ff82;
}

.dash-chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
