
.dpt-container{
  max-width:720px;
  margin:32px auto;
  padding:0 12px;
  box-sizing:border-box;
}

.dpt-card{
  border-radius:24px;
  padding:24px 20px 20px;
  box-sizing:border-box;
}

.dpt-title{
  font-size:1.4rem;
  font-weight:700;
  letter-spacing:-0.02em;
  margin:0 0 6px 0;
}

.dpt-subtitle{
  margin:0 0 18px 0;
  font-size:0.95rem;
  opacity:0.85;
}

.dpt-grid{
  display:grid;
  gap:14px;
}

.dpt-grid-2{
  display:grid;
  gap:14px;
}

@media (min-width:768px){
  .dpt-grid-2{
    grid-template-columns:1fr 1fr;
  }
}

.dpt-q{
  padding:16px;
  border-radius:14px;
  box-sizing:border-box;
}

.dpt-q h4{
  margin:0 0 10px 0;
  font-size:1rem;
}

.dpt-scale{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.dpt-scale label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid currentColor;
  font-size:0.9rem;
  cursor:pointer;
  transition:transform .06s ease-out, box-shadow .06s ease-out, background .08s ease-out, color .08s ease-out;
}

.dpt-scale input{
  display:none;
}

/* 선택 되었을 때만 버튼 느낌으로 강조 */
.dpt-scale label.is-selected{
  background:linear-gradient(135deg,#f97316,#facc15);
  color:#111827;
  border-color:transparent;
  font-weight:600;
}

.dpt-scale label:hover{
  transform:translateY(-1px);
}

/* 진행률 텍스트/바 */
.dpt-progress{
  width:100%;
  height:10px;
  border-radius:999px;
  margin:6px 0 16px 0;
  overflow:hidden;
  position:relative;
  background-color:rgba(0,0,0,0.06);
}

.dpt-progress::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(90deg,#f97316 var(--pct,0%), transparent 0);
}

/* 하단 액션 영역 */
.dpt-actions{
  margin-top:18px;
  display:flex;
  gap:8px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

/* 기본 버튼 */
.dpt-btn{
  border:none;
  border-radius:999px;
  padding:9px 18px;
  font-size:0.95rem;
  font-weight:600;
  cursor:pointer;
  background:linear-gradient(135deg,#f97316,#facc15);
  color:#111827;
  white-space:nowrap;
  box-shadow:0 10px 22px rgba(248,181,0,0.45);
  transition:transform .08s ease-out, box-shadow .08s ease-out, filter .1s ease-out;
}

.dpt-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(248,181,0,0.6);
  filter:brightness(1.03);
}

.dpt-btn:active{
  transform:translateY(0);
  box-shadow:0 6px 12px rgba(0,0,0,0.25);
  filter:brightness(.97);
}

/* 보조 버튼 – 테마 색 따라가게 */
.dpt-btn.secondary{
  background:none;
  box-shadow:none;
  border:1px solid currentColor;
  color:inherit;
}

.dpt-foot{
  margin-top:14px;
  font-size:0.8rem;
  opacity:0.8;
}

/* 결과 카드 등 */
.dpt-pill{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid currentColor;
  font-size:0.8rem;
  margin-right:6px;
}

.dpt-score-badge{
  font-weight:700;
}

.dpt-kv{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:6px 0;
  border-bottom:1px dashed currentColor;
  font-size:0.9rem;
}

.dpt-kv strong{
  font-weight:700;
}

.dpt-type-card{
  border-radius:18px;
  padding:18px 16px;
  box-sizing:border-box;
  margin-top:10px;
}

.dpt-type-card h3{
  margin:0 0 8px 0;
  font-size:1.1rem;
}

/* 알림 박스 */
.dpt-alert{
  border-left:4px solid currentColor;
  padding:10px 14px;
  border-radius:8px;
  box-sizing:border-box;
  margin:8px 0;
}

.dpt-print{
  text-align:right;
  margin-top:10px;
}

@media (max-width:600px){
  .dpt-container{
    margin:20px auto;
  }
  .dpt-card{
    padding:20px 16px 18px;
  }
}
