@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap");
:root {
  --bg: #f7f8fa;
  --line: #e9ecf1;
  --ink: #202936;
  --muted: #8992a1;
  --primary: #6264dd;
  --green: #209d7a;
  --amber: #d49424;
  --red: #dc6470;
  --purplebg: #f0efff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    13px "DM Sans",
    "Noto Sans SC",
    sans-serif;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button {
  border: none;
  background: transparent;
  color: inherit;
}
a {
  color: var(--primary);
  text-decoration: none;
}
svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
.sidebar {
  width: 228px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 27px 18px 16px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px 27px;
  color: var(--ink);
}
.brand-symbol {
  font-size: 39px;
  letter-spacing: -10px;
  line-height: 1;
  font-weight: 700;
  color: var(--primary);
  padding-right: 10px;
}
.brand-symbol span {
  color: #9a9be9;
}
.brand b {
  font-size: 21px;
  letter-spacing: 1.5px;
}
.brand b span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-top: 1px;
}
.workspace {
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 10px;
  margin-bottom: 26px;
}
.workspace-icon {
  background: #f0efff;
  border-radius: 7px;
  color: var(--primary);
  padding: 5px 9px;
}
.workspace b,
.profile b {
  font-size: 12px;
  display: block;
}
.workspace small,
.profile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.workspace .dim {
  margin-left: auto;
}
.nav-label {
  font-size: 10px;
  color: #a1a7b2;
  margin: 0 14px 10px;
  letter-spacing: 1px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  margin: 4px 0;
  border-radius: 7px;
  color: #677182;
  text-align: left;
  font-size: 12px;
}
nav button.active {
  color: var(--primary);
  background: var(--purplebg);
  font-weight: 600;
}
nav button:hover {
  background: #f5f5fc;
}
nav button i {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  color: var(--red);
  background: #fff0f1;
  border-radius: 4px;
  padding: 0 5px;
}
.sidebar-bottom {
  margin-top: auto;
}
.agent-mini {
  margin: 20px 8px;
  padding: 15px 9px;
  border-top: 1px solid var(--line);
}
.agent-mini b {
  font-size: 11px;
  font-weight: 500;
}
.agent-mini small {
  display: block;
  margin-left: 14px;
  color: var(--muted);
  font-size: 10px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 13px 8px 0;
  border-top: 1px solid var(--line);
  text-align: left;
}
.profile .dim {
  margin-left: auto;
}
.shell {
  margin-left: 228px;
}
header {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.breadcrumb {
  color: #8d94a0;
  font-size: 11px;
}
.breadcrumb span {
  margin: 0 12px;
  color: #c3c8d2;
}
.breadcrumb b {
  color: #4b5565;
  font-weight: 500;
}
.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.prototype-label {
  color: #8a8fa7;
  background: #f5f5fa;
  border: 1px solid #ececf3;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 10px;
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-content: center;
  color: #8390a3;
  position: relative;
}
.icon-button::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dc6470;
  border: 1px solid white;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 11px;
  background: #edf2fb;
  color: #6d81aa;
  flex-shrink: 0;
}
.avatar.purple {
  background: #edeaff;
  color: #8380c6;
}
.avatar.green {
  background: #e6f3ef;
  color: #4c997e;
}
.avatar.orange {
  background: #fff0df;
  color: #b39168;
}
.avatar.small {
  width: 26px;
  height: 26px;
  font-size: 10px;
}
.avatar-group {
  display: flex;
  align-items: center;
}
.avatar-group .avatar {
  border: 2px solid white;
  margin-left: -5px;
}
.avatar-group .avatar:first-child {
  margin-left: 0;
}
main {
  padding: 30px 36px 22px;
  max-width: 1700px;
  margin: auto;
  min-height: calc(100vh - 117px);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 600;
}
h2 {
  font-size: 14px;
  font-weight: 600;
}
h3 {
  font-size: 13px;
  font-weight: 600;
}
.sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 15px;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  border: 1px solid #e0e4ec;
  border-radius: 6px;
  background: #fff;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 500;
  min-height: 34px;
}
.btn:hover {
  border-color: #aca9ec;
  background: #fafaff;
}
.btn.primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 4px #6264dd15;
}
.btn.primary:hover {
  background: #5456cb;
}
.btn.danger {
  color: var(--red);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.sm {
  padding: 4px 9px;
  min-height: 27px;
  font-size: 10px;
}
.link {
  color: var(--primary);
  font-size: 11px;
  padding: 0;
}
.dim {
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 24px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 19px 21px;
  position: relative;
}
.stat-label {
  color: #838b99;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.stat-label svg {
  color: #a9b0bd;
  width: 17px;
}
.stat-value {
  font-size: 29px;
  line-height: 1.2;
  margin: 13px 0 10px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.stat-value small {
  font-size: 11px;
  color: #9ca3b2;
  margin-left: 7px;
  font-weight: 400;
}
.stat-note {
  font-size: 10px;
  color: var(--muted);
}
.stat-note .up {
  color: var(--green);
}
.stat-note .warning {
  color: var(--amber);
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 22px;
}
.panel-title {
  padding: 18px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel-title h2 small {
  font-size: 10px;
  color: #a0a8b5;
  font-weight: 400;
  margin-left: 9px;
}
.tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  padding: 0 21px;
}
.tabs button {
  font-size: 11px;
  padding: 0 0 12px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tabs button.active {
  color: var(--primary);
  border-color: var(--primary);
}
.toolbar {
  display: flex;
  gap: 8px;
  padding: 16px 21px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.toolbar input {
  max-width: 250px;
}
.field,
input,
select,
textarea {
  border: 1px solid #e0e5ed;
  background: #fff;
  border-radius: 6px;
  padding: 8px 11px;
  color: #4f5b6c;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #a3abb7;
}
textarea {
  resize: vertical;
  width: 100%;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
}
.search input {
  width: 100%;
  font-size: 11px;
  padding-left: 31px;
}
.search svg {
  position: absolute;
  left: 10px;
  color: #a4adbb;
  width: 14px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #fafbfd;
  color: #9199a7;
  font-size: 10px;
  font-weight: 400;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #f0f2f6;
  font-size: 11px;
  color: #677181;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr.clickable {
  cursor: pointer;
}
tbody tr.clickable:hover {
  background: #fbfbff;
}
.project-name {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #374154;
  font-weight: 500;
}
.project-icon {
  width: 33px;
  height: 33px;
  border-radius: 8px;
  background: #edf0ff;
  color: #7c87ce;
  display: inline-grid;
  place-content: center;
}
.project-icon.green {
  background: #eaf7f1;
  color: #6ba68d;
}
.project-icon.orange {
  background: #fff2e5;
  color: #c7a173;
}
.project-name small {
  display: block;
  font-size: 9px;
  color: #a1a9b7;
  font-weight: 400;
  margin-top: 2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  font-size: 10px;
  padding: 2px 7px;
  gap: 5px;
  background: #f1f3f7;
  color: #7a8494;
  white-space: nowrap;
}
.badge.purple {
  background: #f0effe;
  color: #7a77cf;
}
.badge.green {
  background: #eaf6f1;
  color: #3e9a78;
}
.badge.amber {
  background: #fff6e6;
  color: #bc923d;
}
.badge.red {
  background: #fff0f1;
  color: #d06f79;
}
.badge.blue {
  background: #edf4ff;
  color: #6d92c4;
}
.progress {
  height: 5px;
  width: 100%;
  min-width: 60px;
  background: #f0f1f6;
  border-radius: 5px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: #8885df;
  border-radius: 5px;
}
.progress.green i {
  background: #76b9a0;
}
.progress.amber i {
  background: #dab16a;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #9ba4b2;
  margin-bottom: 6px;
}
.progress-block {
  width: 105px;
}
.person-inline {
  display: flex;
  align-items: center;
  gap: 7px;
}
.attention {
  margin: 0 18px 12px;
  padding: 13px 12px;
  border: 1px solid #f0ebe2;
  border-radius: 7px;
  background: #fffdf9;
  display: flex;
  align-items: start;
  gap: 9px;
  cursor: pointer;
}
.attention.red {
  background: #fffafa;
  border-color: #f4e6e9;
}
.attention svg {
  color: #c8a05b;
  width: 16px;
  margin-top: 2px;
}
.attention.red svg {
  color: #db8792;
}
.attention b {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.attention p {
  font-size: 10px;
  color: #9c9da5;
  margin-top: 5px;
}
.attention .badge {
  margin-top: 6px;
}
.team-line {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 21px;
}
.team-line .team-info {
  flex: 1;
}
.team-line b {
  font-size: 11px;
  font-weight: 500;
}
.team-line small {
  display: block;
  color: #9ba3af;
  font-size: 9px;
}
.team-line .progress {
  width: 74px;
  min-width: 74px;
  height: 4px;
}
.team-line .pct {
  font-size: 10px;
  color: #929aa8;
  width: 27px;
  text-align: right;
}
.bottom-caption {
  border-top: 1px solid #f0f1f4;
  margin-top: 9px;
  padding: 11px 21px;
  font-size: 9px;
  color: #a0a6b0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.activity {
  padding: 0 21px 5px;
}
.activity-item {
  display: flex;
  gap: 11px;
  position: relative;
  padding: 0 0 18px;
}
.activity-item:before {
  content: "";
  position: absolute;
  left: 13px;
  top: 29px;
  bottom: 0;
  width: 1px;
  background: #eff0f4;
}
.activity-item:last-child:before {
  display: none;
}
.activity-symbol {
  background: #f5f4fe;
  color: #8a86c6;
  border-radius: 6px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.activity-symbol svg {
  width: 13px;
}
.activity-item p {
  font-size: 11px;
}
.activity-item small {
  font-size: 10px;
  color: #9da5b1;
  display: block;
  margin-top: 4px;
}
.activity-item time {
  margin-left: auto;
  color: #a2a9b5;
  font-size: 9px;
  white-space: nowrap;
}
.health-row {
  padding: 12px 21px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  border-top: 1px solid #f4f5f7;
}
.health-row span:last-child {
  margin-left: auto;
  font-size: 10px;
}
.mini-bars {
  display: flex;
  align-items: end;
  height: 32px;
  gap: 3px;
  margin-left: auto;
}
.mini-bars i {
  width: 5px;
  background: #dddaf9;
  border-radius: 2px;
}
.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 14px;
}
footer {
  display: flex;
  justify-content: space-between;
  color: #a4acb8;
  font-size: 9px;
  margin: 0 36px;
  padding: 12px 0 18px;
  border-top: 1px solid var(--line);
}
.empty {
  text-align: center;
  padding: 40px;
  color: #9aa3b1;
  font-size: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.server-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px;
  cursor: pointer;
  transition: 0.2s;
}
.server-card:hover {
  transform: translateY(-2px);
  border-color: #c5c2ee;
  box-shadow: 0 7px 20px #27325608;
}
.server-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.server-icon {
  padding: 9px;
  background: #f4f5fa;
  border-radius: 8px;
  color: #8c94a5;
}
.server-card h2 {
  margin: 16px 0 3px;
}
.mono {
  font:
    11px "SFMono-Regular",
    Consolas,
    monospace;
  color: #7b879b;
}
.server-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.server-metrics b {
  font-size: 17px;
  font-weight: 500;
}
.server-metrics small {
  display: block;
  font-size: 9px;
  color: #a0a8b5;
  margin: 4px 0 8px;
}
.server-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8994a4;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #9693bd;
  background: #f3f2fd;
  border: 1px solid #e9e7f8;
  border-radius: 7px;
  padding: 12px 15px;
  margin-bottom: 20px;
}
.notice.amber {
  background: #fffbf3;
  color: #b39461;
  border-color: #f4ead6;
}
.detail-hero {
  background: white;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 9px;
  margin-bottom: 22px;
}
.detail-meta {
  display: flex;
  gap: 30px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.detail-meta small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 5px;
}
.detail-meta b {
  font-size: 12px;
  font-weight: 500;
}
.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}
.kv {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 11px;
  padding: 20px;
}
.kv dt {
  color: #9aa2af;
}
.kv dd {
  margin: 0;
}
.task-title {
  color: #4d586b;
}
.task-title small {
  display: block;
  color: #a0a9b7;
  font-size: 9px;
}
.code-hash {
  display: inline-block;
  background: #f4f4fa;
  border: 1px solid #e8e9f3;
  color: #8b88b8;
  padding: 1px 5px;
  border-radius: 4px;
  font: 10px monospace;
}
.code-branch {
  font-size: 10px;
  color: #9ba1ae;
}
.commit-row {
  display: flex;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.commit-row:last-child {
  border: 0;
}
.commit-row p {
  font-size: 12px;
  font-weight: 500;
}
.commit-row small {
  font-size: 10px;
  color: #9ba3b1;
}
.commit-row .right {
  margin-left: auto;
  text-align: right;
}
.report-editor {
  padding: 22px;
}
.report-editor textarea {
  min-height: 420px;
  line-height: 2;
  color: #697386;
  border-color: #eceef3;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-field {
  margin-bottom: 15px;
}
.form-field label {
  display: block;
  font-size: 11px;
  color: #8490a3;
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-size: 12px;
}
.form-field .hint {
  font-size: 10px;
  color: #9ca4b1;
  margin-top: 5px;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #171b3140;
  backdrop-filter: blur(3px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  background: #fff;
  border: 1px solid #e7e9f0;
  box-shadow: 0 25px 90px #15234225;
  border-radius: 13px;
  width: 580px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
}
.modal.wide {
  width: 750px;
}
.modal-head {
  padding: 21px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h2 {
  font-size: 16px;
}
.modal-body {
  padding: 24px 25px;
}
.modal-foot {
  padding: 15px 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.close {
  color: #9ca4b2;
  font-size: 23px;
  line-height: 1;
}
.terminal {
  background: #202534;
  color: #c1cedd;
  font: 11px/2.1 monospace;
  padding: 20px;
  border-radius: 8px;
  white-space: pre-wrap;
  min-height: 190px;
}
.terminal .ok {
  color: #8ad4b7;
}
.terminal .muted {
  color: #738194;
}
.timeline-steps {
  display: flex;
  gap: 5px;
  margin-bottom: 17px;
}
.timeline-steps span {
  flex: 1;
  background: #f0f1f5;
  border-radius: 3px;
  height: 4px;
}
.timeline-steps span.done {
  background: #87bfa8;
}
.timeline-steps span.current {
  background: #8d88e2;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: calc(50% + 80px);
  transform: translate(-50%, 20px);
  background: #2e3547;
  color: #fff;
  padding: 12px 21px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 5px 22px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 90;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.field-chip {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  background: #f4f5fa;
  border: 1px solid #edeff5;
  padding: 5px 8px;
  border-radius: 5px;
  margin: 3px 5px 3px 0;
}
.report-list {
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.settings-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.settings-tabs button {
  padding: 7px 15px;
  border-radius: 6px;
  color: #8a94a5;
  font-size: 12px;
}
.settings-tabs button.active {
  background: #eae9fb;
  color: var(--primary);
}
.sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.config-code {
  font: 11px/1.8 monospace;
  min-height: 210px;
  background: #fafbfe;
}
.flag {
  font-size: 9px;
  padding: 1px 4px;
  border: 1px solid #eee4d4;
  color: #bea06f;
  border-radius: 3px;
  margin-left: 5px;
}
.page-fade {
  animation: page-in 0.22s ease;
}
@keyframes page-in {
  from {
    opacity: 0.4;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .grid-main {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
  td {
    padding: 20px 23px;
  }
  .panel-title {
    padding: 21px 23px;
  }
  .stat {
    padding: 23px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 200px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .shell {
    margin-left: 200px;
  }
  main {
    padding: 25px 24px;
  }
  .grid-main {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  td,
  th {
    padding: 14px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1000px) {
  .grid-main,
  .split {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .right-column .panel {
    margin-bottom: 0;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .sub-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .sidebar {
    width: 64px;
    padding: 22px 8px;
  }
  .brand {
    padding: 0 1px 25px;
  }
  .brand b,
  .workspace,
  .nav-label,
  nav button span,
  nav button i,
  .sidebar-bottom {
    display: none;
  }
  nav button {
    padding: 12px;
    justify-content: center;
  }
  .shell {
    margin-left: 64px;
  }
  header {
    padding: 0 16px;
    height: 60px;
  }
  .prototype-label {
    display: none;
  }
  main {
    padding: 23px 16px;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 21px;
  }
  .page-heading .actions {
    flex-wrap: wrap;
    justify-content: end;
  }
  .right-column,
  .cards,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 10px;
  }
  .stat-value {
    font-size: 25px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  footer {
    margin: 0 16px;
  }
  .modal-body {
    padding: 18px;
  }
  .overlay {
    padding: 12px;
  }
  .header-right {
    gap: 12px;
  }
  .detail-meta {
    gap: 20px;
  }
  .stat {
    padding: 14px;
  }
  .sub {
    max-width: 250px;
  }
  #toast {
    left: 50%;
    max-width: 85%;
    white-space: nowrap;
  }
  .toolbar {
    flex-wrap: wrap;
  }
}
/* Keep the project summary readable alongside the attention column. */
.grid-main th,
.grid-main td {
  padding-left: 12px;
  padding-right: 12px;
}
.grid-main .project-name {
  gap: 8px;
}
.grid-main .project-name small {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.grid-main .progress-block {
  width: 90px;
}
.grid-main .avatar {
  width: 25px;
  height: 25px;
  font-size: 9px;
}
.grid-main .avatar-group {
  min-width: 73px;
}
.grid-main table {
  font-size: 10px;
}
.grid-main .project-icon {
  width: 29px;
  height: 29px;
}
.loading {
  padding: 90px;
  text-align: center;
  color: var(--muted);
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-art {
  background: #f0effb;
  padding: 12vh 9vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-art h1 {
  font-size: 42px;
  line-height: 1.5;
  letter-spacing: -2px;
  color: #44457a;
  margin: 35px 0 20px;
}
.login-art p {
  color: #9292b3;
  max-width: 320px;
  line-height: 2;
}
.login-box {
  max-width: 370px;
  width: 100%;
  margin: auto;
  padding: 35px 15px;
}
.login-box h1 {
  margin-bottom: 8px;
}
.login-box form {
  margin-top: 30px;
}
.login-box input {
  padding: 11px;
}
.login-box .btn {
  width: 100%;
  padding: 11px;
}
.error-msg {
  font-size: 12px;
  color: var(--red);
  margin-bottom: 15px;
}
.login-steps {
  display: flex;
  gap: 16px;
  margin-top: 50px;
  align-items: center;
  color: #8f8eb5;
  font-size: 12px;
}
.source-note {
  font-size: 10px;
  color: #999fae;
}
.project-name small {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wrap-cell {
  white-space: normal;
  min-width: 160px;
  max-width: 280px;
  word-break: break-word;
}
.no-data {
  padding: 65px 25px;
  text-align: center;
}
.no-data .empty-icon {
  color: #bab9d6;
  background: #f5f4fb;
  padding: 15px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 15px;
}
.no-data p {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 18px;
}
.small-note {
  font-size: 10px;
  color: #929dad;
  line-height: 1.8;
}
.check-group {
  max-height: 170px;
  overflow: auto;
  background: #fafbfe;
  border: 1px solid #e7eaf1;
  padding: 12px;
  border-radius: 7px;
}
.check-group label {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 5px 0;
  font-size: 12px;
  color: #657184;
}
.check-group input {
  width: auto !important;
}
.form-field .check-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-field .check-label input {
  width: auto;
}
.row-link {
  cursor: pointer;
  color: #6465bc;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.status-label {
  font-size: 10px;
  color: #9ba5b3;
}
.metrics-unknown {
  color: #abb3be;
  font-size: 17px;
}
.key-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  font-size: 11px;
}
.key-grid dt {
  color: #929dad;
}
.key-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.inline-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.auth-chip {
  padding: 3px 8px;
  background: #f2f2f8;
  border-radius: 4px;
  font-size: 10px;
  color: #8e94a7;
}
.footer-warning {
  font-size: 10px;
  color: #9a96b1;
}
.form-field textarea.code {
  font: 11px/1.7 monospace;
  min-height: 130px;
}
.modal-body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.filter-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-tabs button {
  padding: 6px 12px;
  font-size: 11px;
  color: #929baa;
  border-radius: 5px;
}
.filter-tabs button.active {
  background: #eeedfc;
  color: var(--primary);
}
.input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.input-row > * {
  flex: 1;
}
.cards.two {
  grid-template-columns: 1fr 1fr;
}
.task-evidence {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.terminal {
  max-height: 420px;
  overflow: auto;
  overflow-wrap: anywhere;
}
.label-tip {
  font-size: 10px;
  font-weight: 400;
  color: #a0a6b3;
  margin-left: 7px;
}
.count-chip {
  font-size: 10px;
  border-radius: 4px;
  padding: 2px 6px;
  background: #f3f3fb;
  color: #9291b6;
}
.repo-owner {
  min-width: 65px;
}
.form-error {
  font-size: 12px;
  color: var(--red);
  padding: 8px 0;
  white-space: pre-wrap;
}
.snapshot-text {
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 12px;
  color: #687487;
  max-height: 60vh;
  overflow: auto;
}
.token-once {
  background: #fff7e8;
  border: 1px solid #f4e5ca;
  padding: 14px;
  border-radius: 7px;
  overflow-wrap: anywhere;
  font-family: monospace;
  font-size: 12px;
}
.nowrap {
  white-space: nowrap;
}
.inline-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.muted-row {
  opacity: 0.65;
}
@media (max-width: 750px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .login-box {
    padding: 35px;
  }
  .cards.two {
    grid-template-columns: 1fr;
  }
  .page-heading .actions .btn {
    padding: 7px 9px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
}
