@charset "utf-8";
/* ==========================================================================
   위즈원 PC 자가진단 쓰기·읽기 화면 정리 (2026-11-18)
   - Poll_check 스킨 전용. 기존 board.css / message/css/default.css 는 그대로 두고 덮어씀
   ========================================================================== */

/* ---------- 쓰기: 문항표 ---------- */
#fo_write .extraVarsList{width:100%;margin:0 0 20px;border:0;border-collapse:separate;border-spacing:0 10px;font-size:15px;color:#1F2937}
#fo_write .extraVarsList tr > *{padding:16px 14px;border:0;border-top:1px solid #E3E8F0;border-bottom:1px solid #E3E8F0;background:#fff !important;vertical-align:middle;word-break:keep-all}
#fo_write .extraVarsList tr > :first-child{border-left:1px solid #E3E8F0;border-radius:12px 0 0 12px}
#fo_write .extraVarsList tr > :last-child{border-right:1px solid #E3E8F0;border-radius:0 12px 12px 0}
#fo_write .extraVarsList tr:hover > *{background:#F8FAFD !important}
#fo_write .extraVarsList th.no{width:44px;padding-right:0;text-align:center}
#fo_write .extraVarsList th.no{font-size:0}
#fo_write .extraVarsList th.title{text-align:left;font-size:16px;font-weight:600;line-height:1.55;color:#1F2937}
#fo_write .extraVarsList td{width:1%;white-space:nowrap;text-align:right}

/* 문항 번호 배지 */
#fo_write .extraVarsList{counter-reset:wzq}
#fo_write .extraVarsList tr{counter-increment:wzq}
#fo_write .extraVarsList th.no::after{content:"Q" counter(wzq);display:inline-block;min-width:34px;padding:3px 6px;border-radius:999px;background:#EAF1FB;color:#2E5FAE;font-size:12px;font-weight:700;line-height:1.5;box-sizing:border-box}

/* 보기(라디오) 버튼 — 기존 순서(큰 값이 왼쪽) 유지 */
#fo_write .extraVarsList ul{display:inline-flex;flex-direction:row-reverse;gap:6px;margin:0;padding:0;list-style:none;vertical-align:middle}
#fo_write .extraVarsList li{position:relative;display:block;float:none;margin:0;padding:0;list-style:none}
#fo_write .extraVarsList li input[type=radio],
#fo_write .extraVarsList li input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
#fo_write .extraVarsList li label{display:flex;align-items:center;justify-content:center;min-width:46px;height:40px;margin:0;padding:0 10px;border:1.5px solid #D5DCE6;border-radius:10px;background:#F8FAFC;color:#374151;font-size:15px;font-weight:600;cursor:pointer;box-sizing:border-box;transition:background .15s,border-color .15s,color .15s}
#fo_write .extraVarsList li label:hover{border-color:#2E5FAE;color:#2E5FAE}
#fo_write .extraVarsList li input:checked + label{border-color:#2E5FAE;background:#2E5FAE;color:#fff;box-shadow:0 2px 6px rgba(46,95,174,.3)}
#fo_write .extraVarsList li input:focus-visible + label{outline:2px solid #2E5FAE;outline-offset:2px}
#fo_write .extraVarsList td p,
#fo_write .extraVarsList .rx_ev_description{margin:8px 0 0;font-size:12px;font-weight:400;color:#6B7280;white-space:normal;text-align:right}

/* 결과확인 버튼 */
#fo_write .boardNavigation{padding:20px 0 30px;border-top:0;text-align:center}
#fo_write .boardNavigation .buttonOfficial,
#fo_write .boardNavigation .buttonOfficial input{background:none;border:0;padding:0;margin:0}
#fo_write .boardNavigation .buttonOfficial input[type=submit]{display:inline-block;min-width:260px;height:54px;padding:0 40px;border:0;border-radius:14px;background:#2E5FAE;color:#fff;font-size:17px;font-weight:700;cursor:pointer;box-shadow:0 4px 12px rgba(46,95,174,.25);-webkit-appearance:none;appearance:none}
#fo_write .boardNavigation .buttonOfficial input[type=submit]:hover{background:#244C8C}

/* ---------- 읽기: 진단결과 ---------- */
html body h1:has(+ #result_info),
html body h1:has(+ #result_info2){margin:6px 0 16px;font-size:26px;font-weight:800;line-height:1.4;color:#1F3D7A;letter-spacing:-.3px}
html body #result_total{margin:0 0 14px;padding:12px 18px;border:1px solid #E3E8F0;border-radius:12px;background:#F8FAFC;text-align:right;font-size:15px}
html body #result_info{margin:0 0 16px;padding:22px 26px;border:1px solid #F1D99A;border-left:6px solid #E9B949;border-radius:14px;background:#FFFBEB;text-align:left;font-size:16px;line-height:1.8;color:#1F2937;word-break:keep-all}
html body #result_info table{width:100%;border-collapse:collapse}
html body #result_info table th{width:1%;padding:7px 16px 7px 0;text-align:left;white-space:nowrap;font-weight:700;color:#1F3D7A}
html body #result_info table td{width:auto;padding:7px 0;text-align:left}
html body #result_info td div{max-width:100%;min-height:24px;border-radius:0 6px 6px 0}
html body #result_info2{margin:0 0 16px;padding:16px;border:1px solid #F1D99A;border-radius:14px;background:#FFFBEB}
html body #result_info2 table{width:100% !important;border-collapse:collapse}
html body #result_info2 table th{padding:10px 8px;border:1px solid #EFE6CC;background:#FFF6D6;color:#1F3D7A;font-size:14px;font-weight:700;white-space:normal}
html body #result_info2 td{padding:10px 10px;border:1px solid #EFE6CC;background:#fff;font-size:14px;line-height:1.6;vertical-align:top;word-break:keep-all}
html body #result_info2 th p,
html body #result_info2 td p{margin:0}

/* 총점 줄 ("○○점입니다.") */
html body .wz_total{display:inline-block;margin:4px 0 14px;padding:6px 16px;border-radius:999px;background:#EAF1FB;color:#1F3D7A;font-size:16px;font-weight:600}
html body .wz_total strong{font-size:20px;font-weight:800;color:#2E5FAE}

/* 띄어쓰기 없는 긴 문항(스피치 성격진단)도 줄바꿈되도록 — 2026-11-18 실사이트 확인 후 추가 */
#fo_write .extraVarsList th.title{word-break:keep-all;overflow-wrap:anywhere}
