/* 「바리스타 로봇 액션 만들기」 실습실(F27). 틀은 drone.css · shuttle.css를 함께 쓰고, 카운터 · 진행률 막대만 여기에 둔다. 색은 tokens.css의 변수만 쓴다. */

.cafe-sign {
  font-family: var(--font-sans);
  font-size: 3.2px;
  text-anchor: middle;
  fill: var(--stage-text-sub);
}

.counter-top { fill: var(--map-route); }
.barista-body { fill: var(--purple-light); }
.barista-eye { fill: var(--stage-deep); }
.barista-arm { stroke: var(--purple-light); stroke-width: 1.4; stroke-linecap: round; fill: none; }
.cup-body { fill: var(--stage-text-dim); }
.cup-steam { stroke: var(--stage-text-dim); stroke-width: 0.5; fill: none; opacity: 0; }
.cup[data-state="brewing"] .cup-body { fill: var(--purple-light); }
.cup[data-state="succeeded"] .cup-body { fill: var(--ok-dot); }
.cup[data-state="succeeded"] .cup-steam { opacity: 1; stroke: var(--stage-text-sub); }
.cup[data-state="canceled"] .cup-body,
.cup[data-state="aborted"] .cup-body,
.cup[data-state="failed"] .cup-body { fill: var(--fail-dot); }

.order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.order-label {
  flex: 1 1 160px;
  color: var(--stage-text);
  font-size: var(--size-sub);
}

/* 진행률 막대: 브라우저 기본 모양 대신 토큰 색만 쓴다 */
.order-progress {
  width: 100%;
  height: 12px;
  appearance: none;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--map-tile);
  color: var(--stage-text-dim); /* 막대를 못 그리는 브라우저가 보이는 「n%」 글(대비 표에 있는 짝) */
  overflow: hidden;
}
.order-progress::-webkit-progress-bar { background: var(--map-tile); border-radius: var(--radius-pill); }
.order-progress::-webkit-progress-value { background: var(--purple-light); border-radius: var(--radius-pill); }
.order-progress::-moz-progress-bar { background: var(--purple-light); border-radius: var(--radius-pill); }

.order-status {
  margin: 0;
  color: var(--stage-text);
  font-size: var(--size-sub);
  min-height: 1.4em;
}

.order-result {
  margin: 0;
  color: var(--stage-text-sub);
  font-size: var(--size-sub);
  min-height: 1.4em;
  overflow-wrap: anywhere;
}

/* F39: 메뉴 · 잔 수 고르기, 확인 주문 줄, 역할 그림 한 줄(shuttle.css와 같은 모양) */
.order-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  border: 0;
}
.order-pick legend { margin-bottom: 4px; }
.order-choice {
  color: var(--stage-text);
  font-size: var(--size-sub);
}
.order-steps { color: var(--stage-text-sub); }

.check-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.check-row .cmd-note { flex: 1 1 100%; margin: 0; }

.role-box {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--purple-soft);
}
.role-line {
  margin: 0 0 6px;
  color: var(--purple-text);
  font-size: var(--size-sub);
  overflow-wrap: anywhere;
}
.role-line b { margin-right: 6px; }
.role-line em { font-style: normal; font-weight: 600; }
.role-note {
  margin: 8px 0 4px;
  color: var(--text-muted);
  font-size: var(--size-sub);
}
