.naver-print-guide-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 18, 28, 0.48);
}

.naver-print-guide-modal {
  box-sizing: border-box;
  position: fixed;
  z-index: 61;
  left: 50%;
  top: 50%;
  width: min(520px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 26px;
  background: #fff;
  color: var(--text-primary, #172033);
  box-shadow: 0 24px 60px rgba(20, 32, 46, 0.18);
}

.naver-print-guide-handle {
  display: none;
}

.naver-print-guide-close {
  position: absolute;
  right: 16px;
  top: 17px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--text-light, #94a3b8);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.naver-print-guide-close:active {
  color: var(--text-primary, #172033);
  background: var(--bg-cream, #f6f2ea);
}

.naver-print-guide-kicker {
  margin: 0 0 8px;
  color: var(--teal-dark, #155e75);
  font-size: 13px;
  font-weight: 900;
}

.naver-print-guide-modal h2 {
  width: calc(100% - 70px);
  margin: 0;
  color: var(--text-primary, #172033);
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: 0;
}

.naver-print-guide-copy {
  margin: 14px 0 18px;
  color: var(--text-secondary, #3d4d5f);
  font-size: 16px;
  line-height: 1.65;
}

.naver-print-guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.naver-print-guide-steps li {
  padding: 13px;
  border: 1px solid var(--border-light, #d9e0e4);
  background: #fbfcfc;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.naver-print-guide-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal-dark, #155e75);
  font-size: 15px;
  font-weight: 900;
}

.naver-print-guide-steps p {
  margin: 4px 0 0;
  color: #26384a;
  font-size: 15px;
  line-height: 1.5;
}

.naver-print-guide-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.naver-print-guide-copy-btn,
.naver-print-guide-try-btn {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  font: inherit;
}

.naver-print-guide-copy-btn {
  color: #fff;
  background: var(--teal-dark, #155e75);
}

.naver-print-guide-try-btn {
  color: var(--teal-dark, #155e75);
  border: 1px solid #9dc9c2;
  background: #eef9f6;
}

.naver-print-guide-copy-btn:active,
.naver-print-guide-try-btn:active {
  transform: translateY(1px);
}

.naver-print-guide-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--text-secondary, #475569);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

@media screen and (max-width: 899px) {
  .naver-print-guide-modal {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-height: 88vh;
    padding: 14px 16px 18px;
    transform: none;
    border-radius: 20px 20px 0 0;
  }

  .naver-print-guide-handle {
    display: block;
    width: 48px;
    height: 5px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: var(--text-light, #94a3b8);
    opacity: 0.4;
  }

  .naver-print-guide-modal h2 {
    width: calc(100% - 66px);
    font-size: 22px;
  }

  .naver-print-guide-copy {
    font-size: 15px;
  }

  .naver-print-guide-actions {
    grid-template-columns: 1fr;
  }
}

@media print {
  .naver-print-guide-backdrop,
  .naver-print-guide-modal {
    display: none !important;
  }
}
