.robot-workspace {
  max-width: 1500px;
  min-width: 0;
}
.robot-heading,
.robot-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.robot-heading {
  margin-bottom: 24px;
}
.robot-heading .eyebrow {
  margin: 0 0 8px;
}
.robot-heading h1 {
  margin: 0;
}
.robot-heading .intro {
  margin: 8px 0 0;
}
.robot-connection {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: #edf3ff;
  border: 1px solid #cddcfa;
  border-radius: 12px;
  margin-bottom: 28px;
}
.robot-connection p {
  margin: 0;
  font-size: 13px;
  color: #476080;
}
.robot-connection [data-robot-status] {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6px;
  color: #1f3760;
}
.robot-connection-icon,
.robot-card-icon,
.robot-empty-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e1eaff;
  color: #2759d6;
  flex-shrink: 0;
}
.robot-pending {
  background: #fff6df;
  color: #795918;
}
.robot-section-heading {
  margin-bottom: 16px;
}
.robot-section-heading h2,
.robot-section-heading p {
  margin: 0;
}
.robot-section-heading a {
  color: #2759d6;
  font-size: 13px;
}
.robot-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.robot-metric {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: white;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
}
.robot-metric span,
.robot-metric small {
  font-size: 12px;
  color: #687790;
}
.robot-metric strong {
  font-size: 28px;
  color: #344c71;
  line-height: 1.2;
}
.robot-quality {
  margin: 28px 0;
}
.robot-quality-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.robot-chart {
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  background: white;
  padding: 16px;
  min-width: 0;
}
.robot-chart h3 {
  margin: 0;
  font-size: 13px;
}
.robot-chart p {
  margin: 4px 0 12px;
  color: #687790;
  font-size: 12px;
}
.robot-chart-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.robot-chart-value strong {
  font-size: 26px;
}
.robot-chart-value span {
  color: #687790;
  font-size: 12px;
}
.robot-chart-empty {
  margin-top: 12px;
  padding: 18px 8px;
  background: #f7f9fd;
  border: 1px dashed #d5ddeb;
  border-radius: 6px;
  color: #687790;
  font-size: 12px;
  text-align: center;
}
.robot-two-column,
.robot-setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.robot-panel {
  margin: 0 0 20px;
  min-width: 0;
}
.robot-panel > h2 {
  margin-top: 0;
}
.robot-start-grid,
.robot-form-grid,
.robot-analysis-grid,
.robot-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.robot-start-card {
  min-width: 0;
}
.robot-start-card h3,
.robot-schedule-card h3,
.robot-analysis-grid h3 {
  font-size: 15px;
  margin: 12px 0 6px;
}
.robot-start-card p,
.robot-setup-aside p,
.robot-analysis-grid p,
.robot-schedule-card p {
  font-size: 13px;
  color: #687790;
}
.robot-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.robot-shortcuts a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  font-size: 13px;
}
.robot-shortcuts a span:last-child {
  margin-left: auto;
  color: #2759d6;
}
.robot-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px 12px;
}
.robot-empty h3 {
  margin: 0;
  font-size: 15px;
}
.robot-empty p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #687790;
  max-width: 440px;
}
.robot-form-grid {
  margin: 20px 0;
}
.robot-form-grid .robot-full {
  grid-column: 1 / -1;
}
.robot-form-grid p {
  margin: -8px 0 0;
}
.robot-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.robot-checkbox input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}
.robot-workspace input:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 2px;
}
.robot-workspace input {
  min-width: 0;
}
.robot-workspace button,
.robot-workspace .button {
  min-height: 44px;
}
.robot-workspace button:disabled {
  cursor: not-allowed;
}
.robot-draft-result:not(:empty) {
  background: #e9f4ef;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 13px;
}
.robot-draft-result.error {
  background: #fff0f0;
}
.robot-draft-result p {
  margin: 4px 0 0;
}
.robot-run-actions {
  border-top: 1px solid #e1e6ef;
  margin-top: 24px;
  padding-top: 8px;
}
.robot-text-link {
  display: block;
  margin-top: 16px;
  color: #2759d6;
  font-size: 13px;
}
.robot-checklist {
  margin: 12px 0;
  padding-left: 22px;
  font-size: 13px;
  line-height: 2.1;
  color: #52627c;
}
.robot-table {
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 10px 10px 0 0;
}
.robot-table-group {
  margin-bottom: 20px;
  background: white;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  min-width: 0;
}
.robot-table-note {
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: #687790;
  overflow-wrap: anywhere;
}
.robot-table-caption {
  text-align: left;
  padding: 16px;
  font-weight: 600;
  white-space: normal;
}
.robot-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.robot-schedule-card,
.robot-analysis-grid article {
  padding: 18px;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
}
.robot-report-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 13px;
  color: #52627c;
}
.robot-workspace p,
.robot-workspace h3,
.robot-workspace label,
.robot-workspace strong,
.robot-report-fields span {
  overflow-wrap: anywhere;
}
@media (max-width: 1200px) {
  .robot-quality-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .robot-two-column,
  .robot-setup-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .robot-metrics,
  .robot-quality-grid,
  .robot-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .robot-connection {
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .robot-start-grid,
  .robot-form-grid,
  .robot-analysis-grid,
  .robot-schedule-grid,
  .robot-report-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .robot-panel {
    padding: 18px;
  }
  .robot-metric,
  .robot-chart {
    padding: 12px;
  }
  .robot-shortcuts {
    grid-template-columns: minmax(0, 1fr);
  }
}
