.screen-live-status {
  margin-bottom: 8px;
}

.screen-live-status > div {
  flex-wrap: wrap;
}

.screen-region-status {
  margin: 0 0 10px;
  color: #526975;
  font-size: 13px;
}

.screen-region-status.is-drawing {
  color: #9a6700;
  font-weight: 700;
}

.screen-stage {
  width: 100%;
  max-height: none;
  box-sizing: border-box;
}

.screen-stage img {
  max-height: none;
  object-fit: fill;
}

.screen-selection[hidden] {
  display: none;
}

.screen-ai-analysis {
  grid-column: 1 / -1;
  border-top: 1px solid #d9e2e8;
  padding: 14px 12px 4px;
  min-width: 0;
}

.screen-ai-analysis > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.screen-ai-analysis h3,
.screen-ai-analysis h4 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0;
}

.screen-ai-analysis header span {
  color: #60707a;
  font-size: 12px;
  text-align: right;
}

.screen-ai-analysis p {
  margin: 6px 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.screen-ai-analysis section { margin-top: 10px; }
.screen-ai-analysis ul { margin: 5px 0 0; padding-left: 20px; line-height: 1.55; }
.screen-ai-analysis li { overflow-wrap: anywhere; }
.screen-ai-analysis .is-risk h4 { color: #a43b2d; }
.screen-ai-analysis .is-action h4 { color: #176a4d; }

.screen-ai-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: #d9e2e8;
  margin-top: 10px;
}

.screen-ai-numbers > div {
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 3px;
  min-width: 0;
}

.screen-ai-numbers b { font-size: 18px; overflow-wrap: anywhere; }
.screen-ai-numbers small { color: #60707a; overflow-wrap: anywhere; }
