.kx-exh {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
}

/* 헤더 카드 */
.kx-exh__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.kx-exh__company {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-bold);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-2);
}
.kx-exh__ctx {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-neutral-500);
  font-size: var(--fs-h3);
}
.kx-exh__miniplan {
  position: relative;
  width: 128px;
  height: 96px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-card);
  flex-shrink: 0;
}
.kx-exh__miniplan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.kx-exh__miniplan-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 16px;
  transform: translate(-50%, -50%);
  background: rgba(0, 102, 179, 0.8);
  border: 2px solid var(--color-primary-600);
  border-radius: 2px;
  box-shadow: var(--shadow-level2);
}

/* 스테퍼 */
.kx-exh__stepper {
  background: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5) var(--space-8);
}
.kx-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  list-style: none;
}
.kx-stepper::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--color-neutral-200);
}
.kx-stepper__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-white);
  padding: 0 var(--space-3);
  z-index: 1;
}
.kx-stepper__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  border: 2px solid var(--color-neutral-200);
  color: var(--color-neutral-500);
  background: var(--color-white);
}
.kx-stepper__item.is-done .kx-stepper__dot {
  background: var(--color-primary-600);
  border-color: var(--color-primary-600);
  color: var(--color-on-accent);
}
.kx-stepper__item.is-current .kx-stepper__dot {
  border-color: var(--color-primary-600);
  color: var(--color-primary-600);
  box-shadow: 0 0 0 4px var(--color-primary-100);
}
.kx-stepper__item.is-current .kx-stepper__dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary-600);
}
.kx-stepper__label {
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: var(--color-neutral-700);
}
.kx-stepper__item.is-current .kx-stepper__label {
  color: var(--color-primary-700);
}
.kx-stepper__note {
  position: absolute;
  top: 62px;
  white-space: nowrap;
  font-size: var(--fs-micro);
  color: var(--color-primary-700);
  background: var(--color-primary-050);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* split */
.kx-exh__split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-4);
  align-items: start;
}
.kx-exh__h {
  font-size: var(--fs-h2);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.kx-exh__tasks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.kx-task {
  position: relative;
  background: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  padding-left: var(--space-5);
  overflow: hidden;
}
.kx-task::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-neutral-200);
}
.kx-task--urgent {
  border-color: var(--color-violation-warn);
}
.kx-task--urgent::before {
  background: var(--color-violation-warn);
}
.kx-task--primary::before {
  background: var(--color-primary-600);
}
.kx-task h3 {
  font-size: var(--fs-h3);
  color: var(--color-neutral-900);
  margin-top: var(--space-2);
}
.kx-task__warn {
  font-size: var(--fs-caption);
  color: var(--color-error);
  margin-top: var(--space-1);
}
.kx-task__link {
  margin-top: var(--space-2);
  border: none;
  background: none;
  color: var(--color-primary-600);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  padding: 0;
}
.kx-task__link:hover {
  text-decoration: underline;
}

.kx-cost {
  background: var(--color-white);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.kx-cost h4 {
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-neutral-500);
  margin-bottom: var(--space-2);
}
.kx-cost__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-neutral-100);
  font-size: var(--fs-body);
}
.kx-cost__row:last-child {
  border-bottom: none;
}
.kx-cost__right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* preview */
.kx-exh__preview {
  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-4);
}
.kx-exh__preview-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-card);
  border-left: var(--accent-ai);
  min-height: 300px;
  flex: 1;
}
.kx-exh__preview-frame img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}
.kx-exh__preview-frame figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}
.kx-exh__wm {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-24deg);
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.kx-exh__cta {
  display: flex;
  gap: var(--space-3);
}

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