.sdlc-wrap{
  max-width:960px;
  margin:24px auto;
  padding:0 16px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hiragino Sans","Yu Gothic",sans-serif;
  color:#1f2937;
}
.sdlc-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:20px;
  padding:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}
.sdlc-title{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.3;
}
.sdlc-lead{
  margin:0 0 20px;
  color:#4b5563;
  line-height:1.8;
}
.sdlc-single{
  max-width:760px;
  margin:0 auto;
}
.sdlc-progress-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
  font-size:14px;
  color:#4b5563;
}
.sdlc-progress-bar{
  width:100%;
  height:12px;
  background:#e5e7eb;
  border-radius:999px;
  overflow:hidden;
  margin-bottom:24px;
}
.sdlc-progress-fill{
  height:100%;
  background:#2563eb;
  border-radius:999px;
}
.sdlc-question-card{
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:24px;
  margin-bottom:20px;
}
.sdlc-q-no{
  display:inline-block;
  background:#111827;
  color:#fff;
  font-size:12px;
  padding:5px 10px;
  border-radius:999px;
  margin-bottom:12px;
}
.sdlc-q-text{
  font-size:24px;
  line-height:1.6;
  font-weight:700;
}
.sdlc-answer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.sdlc-answer-btn{
  display:block;
  cursor:pointer;
}
.sdlc-answer-btn input{
  display:none;
}
.sdlc-answer-btn span{
  display:block;
  padding:16px 18px;
  border-radius:14px;
  border:1px solid #d1d5db;
  background:#ffffff;
  font-size:16px;
  line-height:1.5;
  transition:.2s ease;
}
.sdlc-answer-btn input:checked + span{
  background:#111827;
  border-color:#111827;
  color:#ffffff;
  font-weight:700;
}
.sdlc-nav-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:20px;
}
.sdlc-primary-btn,
.sdlc-secondary-btn{
  border:0;
  border-radius:999px;
  padding:14px 22px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}
.sdlc-primary-btn{
  background:#2563eb;
  color:#fff;
}
.sdlc-secondary-btn{
  background:#111827;
  color:#fff;
}
.sdlc-restart-form,
.sdlc-save-form{
  margin-top:14px;
}
.sdlc-hidden-form{
  display:none;
}
.sdlc-text-btn{
  border:0;
  background:transparent;
  color:#6b7280;
  text-decoration:underline;
  cursor:pointer;
  font-size:14px;
}
.sdlc-badge-row{
  margin:0 0 16px;
}
.sdlc-badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-weight:700;
  font-size:13px;
  margin-right:8px;
  margin-bottom:8px;
}
.sdlc-panel{
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:18px;
  background:#fff;
  overflow:hidden;
}
.sdlc-score-main{
  font-size:42px;
  font-weight:800;
  margin:10px 0 14px;
}
.sdlc-score-main span{
  font-size:18px;
  color:#6b7280;
  font-weight:600;
}
.sdlc-comment{
  line-height:1.9;
  color:#374151;
}
.sdlc-hr{
  border:none;
  border-top:1px solid #e5e7eb;
  margin:18px 0;
}
.sdlc-axis-table{
  width:100%;
  border-collapse:collapse;
}
.sdlc-axis-table th,
.sdlc-axis-table td{
  border-bottom:1px solid #e5e7eb;
  padding:10px 8px;
  text-align:left;
  font-size:14px;
}
.sdlc-axis-table th{
  background:#f9fafb;
}
.sdlc-mt{
  margin-top:20px;
}
.sdlc-mt-sm{
  margin-top:12px;
}
#sdlcRadarChart,
#sdlcHistoryChart{
  display:block;
  width:100% !important;
  height:320px !important;
  max-height:320px !important;
}
.sdlc-diff-box{
  margin:0 0 14px;
  padding:10px 12px;
  border-radius:12px;
  background:#f3f4f6;
  font-size:14px;
}
.sdlc-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.sdlc-stat-box{
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px;
  background:#f9fafb;
}
.sdlc-stat-label{
  color:#6b7280;
  font-size:13px;
  margin-bottom:6px;
}
.sdlc-stat-value{
  font-size:26px;
  font-weight:800;
}
.sdlc-code-box{
  width:100%;
  min-height:220px;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size:12px;
  line-height:1.6;
}

@media (max-width: 768px){
  .sdlc-title{
    font-size:24px;
  }
  .sdlc-q-text{
    font-size:20px;
  }
  .sdlc-stats-grid{
    grid-template-columns:1fr;
  }
  .sdlc-score-main{
    font-size:34px;
  }
  .sdlc-nav-row{
    flex-direction:column;
    align-items:stretch;
  }
  .sdlc-primary-btn,
  .sdlc-secondary-btn{
    width:100%;
  }
}
