@charset "utf-8";
/* =====================================================================
 * satisfaction.css — 환경보건포털 만족도 조사 전용 (survey/ehtis-satisfaction/)
 * css/survey.css 다음에 로드한다. 5점 척도 표 · 선택 개수 표시만 추가.
 * ================================================================== */

/* SQ 보기가 많아 간격을 줄인다 */
.sv_person_tbl .st_sq_opts { gap: 8px 26px; }

/* 다중선택 개수 */
.st_pick_count { margin: 8px 0 0; font-size: 13px; color: #666; text-align: right; }
.st_pick_count strong { color: #2c3e6b; }
.st_pick_count.is_max strong { color: #d93025; }
.sv_opt.is_locked { color: #aaa; cursor: not-allowed; }

/* ---------- 5점 척도 표 (문12 · 문19~24) ---------- */
.st_mx_tbl { font-size: 13.5px; }
.st_mx_tbl th.st_mx_head { background: #E8EEF7; font-weight: 700; padding: 7px 4px; }
.st_mx_tbl th.st_mx_head:first-child { width: 30%; }
.st_mx_tbl td.st_mx_label { text-align: center; padding: 14px 10px; }
.st_mx_tbl td.st_mx_cell { padding: 0; }
.st_mx_tbl td.st_mx_cell label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    cursor: pointer;
}
.st_mx_tbl td.st_mx_cell label:hover { background: #f5f8fc; }
.st_mx_tbl td.st_mx_cell input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2c3e6b;
    cursor: pointer;
}
.st_mx_tbl .st_mx_txt { display: none; }
.st_mx_tbl tr.st_mx_miss td.st_mx_label { color: #d93025; font-weight: 700; }

@media (max-width: 768px) {
    .sv_person_tbl .st_sq_opts { flex-direction: column; gap: 8px; }

    /* 척도 표 → 항목별 카드, 보기는 세로 목록 */
    .st_mx_tbl,
    .st_mx_tbl tbody,
    .st_mx_tbl tr,
    .st_mx_tbl td { display: block; width: 100%; }
    .st_mx_tbl thead { display: none; }
    .st_mx_tbl tr { border: 1px solid #7f7f7f; margin-bottom: 10px; }
    .st_mx_tbl td { border: 0; }
    .st_mx_tbl td.st_mx_label {
        background: #E8EEF7;
        text-align: left;
        font-weight: 700;
        padding: 9px 12px;
        border-bottom: 1px solid #7f7f7f;
    }
    .st_mx_tbl td.st_mx_cell label {
        justify-content: flex-start;
        gap: 8px;
        min-height: 0;
        padding: 8px 12px;
    }
    .st_mx_tbl .st_mx_txt { display: inline; }
}
