.robot-overview-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 20px;
  border: 0;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
}
.robot-overview-link.selected {
  background: #e5e8e6;
}
.robot-overview-link span {
  display: grid;
  gap: 4px;
  font-size: 15px;
}
.robot-overview-link small {
  color: #7a817e;
  font-size: 12px;
}
.robot-home,
.robot-detail {
  overflow-y: auto;
  padding: 30px 36px 40px;
  flex: 1;
  background: #f6f7f6;
  min-height: 0;
}
.robot-home-intro {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 27px;
}
.robot-home-icon {
  display: grid;
  place-items: center;
  width: 59px;
  height: 59px;
  border-radius: 18px;
  background: #e6f1e9;
  color: #3a7152;
}
.robot-home-intro h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 0 0 7px;
  font-weight: 600;
}
.robot-home-intro p {
  font-size: 14px;
  color: #748077;
  margin: 0;
}
.robot-stats {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-bottom: 26px;
  color: #727a75;
  font-size: 13px;
}
.robot-stats span {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.robot-stats strong {
  font-size: 24px;
  font-weight: 550;
  color: #313d36;
}
.robot-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.robot-card {
  background: white;
  border: 1px solid #e3e8e4;
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
}
.robot-card-identity {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  color: inherit;
}
.robot-card-identity .avatar.large {
  width: 47px;
  height: 47px;
  font-size: 23px;
  flex-shrink: 0;
}
.robot-card-identity > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.robot-card-identity strong {
  display: block;
  font-size: 16px;
  line-height: 1.5;
}
.robot-card-identity small {
  display: block;
  font-size: 12px;
  color: #828a85;
  margin-top: 3px;
}
.robot-status {
  font-size: 11px;
  color: #497459;
  align-self: flex-start;
  white-space: nowrap;
  background: #eef5ef;
  padding: 4px 7px;
  border-radius: 5px;
}
.robot-status.muted {
  color: #7a7e7b;
  background: #f2f2f0;
}
.robot-card-summary {
  font-size: 14px;
  color: #647168;
  line-height: 1.8;
  min-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 17px 0;
}
.robot-card-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #89928c;
}
.robot-card-meta span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.robot-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eff2ef;
  margin-top: 17px;
  padding-top: 14px;
}
.robot-create-card {
  min-height: 235px;
  background: #f0f4f1;
  border: 1px dashed #ccd8d0;
  border-radius: 12px;
  color: #5b7866;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.robot-create-card strong {
  font-size: 15px;
  font-weight: 500;
}
.robot-create-card span {
  font-size: 13px;
  color: #88988e;
}
.robot-create-card:hover {
  background: #eaf2ed;
}
.robot-help-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 23px;
  color: #8b958e;
  font-size: 13px;
  line-height: 1.7;
}
.robot-help-row > svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.robot-help-row p {
  margin: 0;
}
.robot-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.robot-profile > div {
  flex: 1;
  min-width: 0;
}
.robot-profile h2 {
  font-size: 24px;
  margin: 0 0 7px;
}
.robot-profile p {
  font-size: 14px;
  color: #67796c;
  margin: 0 0 8px;
}
.robot-profile small {
  color: #8d978f;
  font-size: 12px;
}
.robot-section {
  background: #fff;
  border: 1px solid #e3e8e4;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 18px;
}
.robot-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.robot-section-head h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: #34433a;
}
.robot-section-head p {
  font-size: 13px;
  color: #8c958f;
  margin: 0;
  line-height: 1.6;
}
.robot-section-head > svg {
  color: #8fa398;
}
.robot-memory-summary {
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
  color: #53675a;
  margin: 0 0 15px;
}
.robot-knowledge-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.robot-knowledge-tags button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  background: #f1f5f2;
  color: #5b7063;
  font-size: 12px;
  max-width: 100%;
  text-align: left;
}
.robot-section-actions {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}
.robot-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.runtime-label {
  display: block;
  font-size: 20px;
  font-weight: 550;
  margin: 9px 0 6px;
}
.robot-group-list {
  display: grid;
  gap: 5px;
}
.robot-group-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 12px 0;
  text-align: left;
  color: #596d60;
  font-size: 14px;
}
.robot-group-list button span {
  flex: 1;
}
.robot-maintenance {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: #8e9690;
}
.robot-maintenance small {
  font-size: 11px;
}
.robot-maintenance > div {
  display: flex;
  gap: 10px;
}
.robot-approval-banner {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #eef5e9;
  border: 1px solid #e0e9d8;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border-radius: 10px;
  color: #687e4d;
  margin: 0 0 20px;
}
.robot-approval-banner > span {
  flex: 1;
}
.robot-approval-banner strong {
  display: block;
  font-size: 14px;
}
.robot-approval-banner small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.source-receipt {
  font-size: 13px;
  color: #758379;
  line-height: 1.7;
}
.source-receipt p {
  margin: 7px 0;
}
.source-receipt small {
  font-size: 12px;
  color: #98a198;
}
.coverage-label {
  color: #557b61;
  font-size: 13px;
}
.coverage-label.partial {
  color: #9b7844;
}
.receipt-warning {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.receipt-warning svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.desktop-status-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  background: #eef5ef;
  padding: 18px;
  border-radius: 10px;
}
.desktop-status-panel > div {
  flex: 1;
}
.desktop-status-panel p {
  font-size: 13px;
  color: #758578;
  margin: 6px 0 0;
}
@media (max-width: 1150px) {
  .robot-home,
  .robot-detail {
    padding: 24px;
  }
  .robot-card-grid {
    grid-template-columns: 1fr;
  }
  .robot-detail-grid {
    grid-template-columns: 1fr;
  }
  .robot-card-summary {
    min-height: 0;
  }
  .robot-create-card {
    min-height: 160px;
  }
  .robot-stats {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .robot-home,
  .robot-detail {
    padding: 20px 16px;
  }
  .robot-home-intro h2 {
    font-size: 20px;
  }
  .robot-stats {
    flex-wrap: wrap;
    gap: 12px;
  }
  .robot-profile {
    flex-wrap: wrap;
  }
  .robot-maintenance {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (min-width: 761px) {
  .rail {
    width: 82px;
    padding-top: 25px;
  }
  .rail-main {
    gap: 4px;
  }
  .rail-item {
    height: 66px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .rail-item span {
    display: block;
    font-size: 13px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .self-avatar {
    margin-bottom: 24px;
  }
  .rail-brand {
    font-size: 23px;
    color: #66736b;
  }
  .rail-bottom .rail-item {
    height: 58px;
  }
}
.legacy-connector-download {
  margin-top: 25px;
  font-size: 13px;
  color: #85948a;
}
.legacy-connector-download summary {
  cursor: pointer;
}
.legacy-connector-download p {
  margin-top: 12px;
}
.app-update-button {
  background: #e4f1e8;
  color: #3b7754;
  margin-top: 8px;
  font-size: 12px;
  padding: 9px;
  border-radius: 5px;
  width: 100%;
  text-align: left;
}
