.kx-uord {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.kx-uord__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--border-card);
  background: var(--color-white);
}
.kx-uord__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.kx-uord__title h1 {
  font-size: var(--fs-h2);
  color: var(--color-neutral-900);
}
.kx-uord__back {
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-neutral-200);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--fs-h3);
  color: var(--color-neutral-700);
}
.kx-uord__wizard {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  counter-reset: step;
}
.kx-uord__wizard li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  color: var(--color-neutral-500);
}
.kx-uord__wizard li::before {
  content: counter(step);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  background: var(--color-neutral-200);
  color: var(--color-neutral-500);
}
.kx-uord__wizard li.is-done::before {
  content: '✓';
  background: var(--color-primary-600);
  color: var(--color-on-accent);
}
.kx-uord__wizard li.is-current {
  color: var(--color-primary-700);
  font-weight: var(--fw-semibold);
}
.kx-uord__wizard li.is-current::before {
  background: var(--color-primary-600);
  color: var(--color-on-accent);
}

.kx-uord__body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-5);
  padding: var(--space-5);
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  align-items: start;
}

.kx-uord__diagram-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}
.kx-uord__diagram-bar h2 {
  font-size: var(--fs-h3);
  color: var(--color-neutral-900);
}
.kx-uord__diagram-bar p {
  font-size: var(--fs-caption);
  color: var(--color-neutral-500);
  margin-top: 2px;
}
.kx-uord__diagram-frame {
  position: relative;
  margin: 0;
  border: var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-primary-050);
}
.kx-uord__diagram-frame img {
  width: 100%;
  display: block;
  object-fit: contain;
  background: #f6f8fb;
}
.kx-uord__verified {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  font-size: var(--fs-micro);
  font-weight: var(--fw-bold);
  color: var(--color-primary-700);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-primary-100);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

/* 신청 내역 패널 */
.kx-uord__panel {
  background: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.kx-uord__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kx-uord__panel-head h2 {
  font-size: var(--fs-h3);
  color: var(--color-neutral-900);
}
.kx-uord__lines {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.kx-uord__lines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-neutral-100);
  font-size: var(--fs-body);
  color: var(--color-neutral-700);
}
.kx-uord__lines strong {
  color: var(--color-neutral-900);
}
.kx-uord__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-top: 2px solid var(--color-neutral-200);
}
.kx-uord__total span {
  font-size: var(--fs-body);
  color: var(--color-neutral-700);
}
.kx-uord__total strong {
  font-size: var(--fs-h2);
  color: var(--color-primary-700);
}
.kx-uord__notice {
  display: flex;
  gap: var(--space-2);
  background: var(--color-primary-050);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-size: var(--fs-caption);
  color: var(--color-primary-700);
  line-height: 16px;
}
.kx-uord__notice-icon {
  flex-shrink: 0;
}
.kx-uord__degraded {
  font-size: var(--fs-caption);
  color: var(--color-warning);
}
.kx-uord__applicant {
  border-top: 1px solid var(--color-neutral-100);
  padding-top: var(--space-3);
}
.kx-uord__applicant h3 {
  font-size: var(--fs-caption);
  color: var(--color-neutral-500);
  margin-bottom: var(--space-1);
}
.kx-uord__applicant p {
  font-size: var(--fs-caption);
  color: var(--color-neutral-700);
}
.kx-uord__agree {
  display: flex;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  color: var(--color-neutral-700);
  line-height: 16px;
  align-items: flex-start;
}
.kx-uord__agree input {
  margin-top: 2px;
  flex-shrink: 0;
}
.kx-uord__order-id {
  font-size: var(--fs-caption);
  color: var(--color-neutral-500);
  text-align: center;
}

@media (max-width: 1000px) {
  .kx-uord__body {
    grid-template-columns: 1fr;
  }
}
