/* ──────────────────────────────────────────────
   harassment.css
   직장내 괴롭힘 체크 전용 스타일시트
   inline style 금지 – class 방식으로만 작성
   ────────────────────────────────────────────── */

:root {
    --hr-primary: #2563eb;
    --hr-primary-dark: #1d4ed8;
    --hr-danger: #dc2626;
    --hr-warning: #d97706;
    --hr-success: #16a34a;
    --hr-muted: #6b7280;
    --hr-border: #e5e7eb;
    --hr-bg: #f9fafb;
    --hr-white: #ffffff;
    --hr-text: #111827;
    --hr-text-sub: #6b7280;
    --hr-radius: 10px;
    --hr-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ── 네비게이션 ── */
/* ── 푸터 ── */
.hr_footer {
    background: var(--hr-white);
    border-top: 1px solid var(--hr-border);
    padding: 16px 20px;
}
.hr_footer_inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}
.hr_footer_copy {
    font-size: 12px;
    color: var(--hr-text-sub);
    text-decoration: none;
}
.hr_footer_ftc_btn {
    font-size: 11px;
    color: var(--hr-text-sub);
    background: #f3f4f6;
    border: 1px solid var(--hr-border);
    border-radius: 4px;
    padding: 3px 8px;
    text-decoration: none;
    white-space: nowrap;
}
.hr_footer_ftc_btn:hover {
    background: #e5e7eb;
    color: var(--hr-text);
}
.hr_footer_related_select {
    font-size: 12px;
    color: var(--hr-text-sub);
    border: 1px solid var(--hr-border);
    border-radius: 6px;
    padding: 4px 8px;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.hr_footer_related_select:focus {
    border-color: var(--hr-primary);
}

/* ── 네비게이션 ── */
.hr_nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--hr-white);
    border-bottom: 1px solid var(--hr-border);
    box-shadow: var(--hr-shadow);
}
.hr_nav_inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hr_nav_logo { text-decoration: none; display: flex; align-items: center; gap: 6px; }
.hr_nav_logo_img { height: 25px; }
.hr_nav_logo_text {
    font-size: 20px;
    font-weight: 700;
    color: var(--hr-text);
}
.hr_nav_logo_sub { color: var(--hr-primary); }
.hr_nav_right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hr_nav_user { font-size: 13px; color: var(--hr-muted); }

/* ── 버튼 공통 ── */
.hr_nav_btn {
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.hr_nav_btn_primary { background: var(--hr-primary); color: var(--hr-white); }
.hr_nav_btn_primary:hover { background: var(--hr-primary-dark); color: var(--hr-white); }
.hr_nav_btn_outline {
    background: transparent;
    color: var(--hr-primary);
    border: 1px solid var(--hr-primary);
}
.hr_nav_btn_outline:hover { background: #eff6ff; color: var(--hr-primary); }
.hr_nav_btn_admin { background: var(--hr-danger); color: var(--hr-white); }
.hr_nav_btn_admin:hover { background: #b91c1c; color: var(--hr-white); }

.hr_btn_primary {
    display: inline-block;
    padding: 10px 22px;
    background: var(--hr-primary);
    color: var(--hr-white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.hr_btn_primary:hover { background: var(--hr-primary-dark); color: var(--hr-white); }
.hr_btn_primary.hr_btn_large { padding: 14px 32px; font-size: 16px; }

.hr_btn_secondary {
    display: inline-block;
    padding: 10px 22px;
    background: var(--hr-bg);
    color: var(--hr-text);
    border: 1px solid var(--hr-border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.hr_btn_outline {
    display: inline-block;
    padding: 8px 18px;
    background: transparent;
    color: var(--hr-primary);
    border: 1px solid var(--hr-primary);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}

/* ── 메인 레이아웃 ── */
.hr_main { min-height: calc(100vh - 60px); background: var(--hr-bg); }
.hr_page_wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}
.hr_detail_wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    list-style: none;
    padding-left: 20px;
}
.hr_detail_wrap > li { margin: 0; }

/* ── 히어로 ── */
.hr_hero {
    text-align: center;
    padding: 80px 20px;

    
    display: flex;
    flex-direction: column;
    gap: 30px
}
.hr_hero_title {
    font-size: 34px;
    font-weight: 700;
    color: var(--hr-text);
    line-height: 1.4;
    margin-bottom: 30px;
;
}
.hr_hero_desc { font-size: 15px; color: var(--hr-text-sub); line-height: 1.7; }

/* ── 검색 ── */
.hr_search_wrap { display: flex; gap: 8px; margin-bottom: 16px; width: 100%; }
.hr_search_input { flex: 1; min-width: 0; padding: 9px 14px; border: 1px solid var(--hr-border); border-radius: 8px; font-size: 14px; outline: none; box-sizing: border-box; }
.hr_search_input:focus { border-color: var(--hr-primary); }
.hr_search_btn { padding: 9px 18px; background: var(--hr-primary); color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.hr_search_btn:hover { opacity: 0.88; }

/* ── 필터 탭 ── */
.hr_filter_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 100px;
    list-style: none;
    padding: 0;
    margin-top: 0;
}
.hr_filter_btn {
    padding: 7px 16px;
    border: 1px solid var(--hr-border);
    border-radius: 20px;
    background: var(--hr-white);
    color: var(--hr-text-sub);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
}

/* ── 반응형 ── */
@media (max-width: 600px) {
    .hr_filter_btn {
        padding: 4px 10px;
    }
}
.hr_filter_btn.active,
.hr_filter_btn:hover {
    background: var(--hr-primary);
    color: var(--hr-white);
    border-color: var(--hr-primary);
}

/* ── 사례 카드 그리드 ── */
.hr_card_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hr_card {
    background: var(--hr-white);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 18px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
.hr_card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.hr_card:hover .hr_card_preview{ color: blue}
.hr_card_top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.hr_card_title { font-size: 15px; font-weight: 600; color: var(--hr-text); margin-bottom: 8px; }
.hr_card_preview { font-size: 13px; color: var(--hr-text-sub); line-height: 1.6; margin-bottom: 12px; }
.hr_card_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

/* ── 무한스크롤 ── */
.hr_load_more_trigger { height: 40px; }
.hr_no_more { text-align: center; color: var(--hr-muted); font-size: 13px; padding: 20px; }

/* ── 배지 / 태그 ── */
.hr_tag {
    display: inline-block;
    padding: 3px 10px;
    background: #eff6ff;
    color: var(--hr-primary);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.hr_badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.hr_badge_warning { background: #fef3c7; color: #92400e; }
.hr_badge_danger  { background: #fee2e2; color: #991b1b; }
.hr_badge_success { background: #dcfce7; color: #166534; }
.hr_badge_muted   { background: #f3f4f6; color: var(--hr-muted); }
.hr_badge_disagree { background: #fef3c7; color: #b45309; }
.hr_ai_badge    { display: inline-block; padding: 2px 7px; background: #e0f2fe; color: #0369a1; border-radius: 4px; font-size: 11px; }
.hr_human_badge { display: inline-block; padding: 2px 7px; background: #dcfce7; color: #166534; border-radius: 4px; font-size: 11px; }
.hr_stat_badge  { display: inline-block; padding: 2px 8px; background: #f0f0ff; color: #4338ca; border-radius: 10px; font-size: 11px; font-weight: 600; border: 1px solid #c7d2fe; }

/* ── 인정점수 게이지 ── */
.hr_score_gauge { display: inline-flex; align-items: center; gap: 1px; }
.hr_gauge_dot {
    width: 4px; height: 10px; border-radius: 1px;
    background: #e5e7eb;
    transition: background 0.15s;
}
/* .hr_score_gauge[data-score="1"]  .hr_gauge_dot.active { background: #fee2e2; }
.hr_score_gauge[data-score="2"]  .hr_gauge_dot.active { background: #fecaca; }
.hr_score_gauge[data-score="3"]  .hr_gauge_dot.active { background: #fca5a5; }
.hr_score_gauge[data-score="4"]  .hr_gauge_dot.active { background: #f87171; }
.hr_score_gauge[data-score="5"]  .hr_gauge_dot.active { background: #ef4444; }
.hr_score_gauge[data-score="6"]  .hr_gauge_dot.active { background: #dc2626; }
.hr_score_gauge[data-score="7"]  .hr_gauge_dot.active { background: #b91c1c; }
.hr_score_gauge[data-score="8"]  .hr_gauge_dot.active { background: #991b1b; }
.hr_score_gauge[data-score="9"]  .hr_gauge_dot.active { background: #7f1d1d; }
.hr_score_gauge[data-score="10"] .hr_gauge_dot.active { background: #450a0a; } */
.hr_gauge_dot.active:nth-child(1)  { background: #fee2e2; }
.hr_gauge_dot.active:nth-child(2)  { background: #fecaca; }
.hr_gauge_dot.active:nth-child(3)  { background: #fca5a5; }
.hr_gauge_dot.active:nth-child(4)  { background: #f87171; }
.hr_gauge_dot.active:nth-child(5)  { background: #ef4444; }
.hr_gauge_dot.active:nth-child(6)  { background: #dc2626; }
.hr_gauge_dot.active:nth-child(7)  { background: #b91c1c; }
.hr_gauge_dot.active:nth-child(8)  { background: #991b1b; }
.hr_gauge_dot.active:nth-child(9)  { background: #7f1d1d; }
.hr_gauge_dot.active:nth-child(10) { background: #450a0a; }
.hr_gauge_label { margin-left: 5px; font-size: 12px; font-weight: 600; color: var(--hr-muted); }

/* ── 사례 상세 ── */
.hr_detail_header { margin-bottom: 24px; }
.hr_detail_header_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hr_detail_header_list > li { margin: 0; }
.hr_detail_tags { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.hr_detail_tags_left { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.hr_back_btn { flex-shrink: 0; font-size: 13px; }
.hr_detail_title { font-size: 22px; font-weight: 700; color: var(--hr-text); margin: 0; }

.hr_share_wrap { display: flex; gap: 8px; justify-content: flex-end; }
.hr_share_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--hr-border);
    border-radius: 6px;
    background: var(--hr-white);
    font-size: 13px;
    cursor: pointer;
    color: var(--hr-text);
}
.hr_share_btn:hover { background: var(--hr-bg); }
.hr_share_icon_img { width: 18px; height: 18px; object-fit: contain; }

/* ── 섹션 공통 ── */
.hr_section {
    background: var(--hr-white);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    margin-bottom: 16px;
    overflow: hidden;
}
.hr_section_header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--hr-bg);
    border-bottom: 1px solid var(--hr-border);
}
.hr_section_title { font-size: 15px; font-weight: 600; color: var(--hr-text); }
.hr_toggle_header { cursor: pointer; user-select: none; }
.hr_toggle_header:hover { filter: brightness(0.97); }
.hr_toggle_icon { margin-left: auto; font-size: 0.82rem; color: var(--hr-muted); white-space: nowrap; }
.hr_section_body { padding: 16px 18px; font-size: 14px; line-height: 1.8; color: var(--hr-text); word-break: break-word; overflow-wrap: break-word; }
.hr_facts { font-size: 14px; line-height: 1.9; }

/* ── 주장/판정 섹션 컨테이너 ── */
.hr_vote_section {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.hr_vote_section > li { margin: 0; }
.hr_vote_title { font-size: 18px; font-weight: 700; color: var(--hr-text); margin-bottom: 0; }
.hr_vote_notice_li {
    background: var(--hr-white);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    overflow: hidden;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hr_vote_claims_li { display: flex; flex-direction: column; gap: 8px; }
.hr_vote_judgment_li { display: flex; flex-direction: column; gap: 16px; }
.hr_vote_item_text { font-size: 14px; line-height: 1.9; color: var(--hr-text); white-space: pre-wrap; }


.hr_toggle_icon { color: var(--hr-muted); font-size: 12px; transition: transform 0.2s; }

/* ── VS 레이아웃 ── */
.hr_versus_wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hr_versus_side {
    flex: 1;
    align-self: stretch;
    background: var(--hr-white);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hr_versus_side.hr_aj_selected,
.hr_versus_side.hr_aj_blocked {
    align-self: stretch;
}
.hr_versus_side.hr_aj_blocked {
    background: #f5f5f5;
    border-color: #ddd;
}
.hr_versus_header {
    font-size: 13px;
    font-weight: 600;
    padding: 12px 16px;
    background: var(--hr-bg);
    border-bottom: 1px solid var(--hr-border);
    color: var(--hr-text-sub);
}
.hr_versus_content {
    padding: 16px;
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
    color: var(--hr-text);
    min-height: 120px;
}
.hr_claim_badge_wrap { margin-bottom: 10px; }
.hr_claim_lock {
    text-align: center;
    padding: 20px 12px;
}
@media (max-width: 600px) {
    .hr_versus_wrap { flex-direction: column; gap: 16px; }
    .hr_versus_side { width: 100%; }
}

/* ── 불일치 배너 ── */
.hr_disagree_banner {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #92400e;
    margin-bottom: 16px;
}

/* ── AI 고지 배너 ── */
.hr_disclaimer_banner_wrap { max-width: 800px; margin: 30px auto 0; padding: 0 40px; }
.hr_disclaimer_banner {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #0c4a6e;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ── 당사자 주장·AI판정 상단 면책 고지 ── */
.hr_ai_disclaimer {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    color: #92400e;
    line-height: 1.8;
    margin-bottom: 10px;
}
.hr_ai_disclaimer strong { font-weight: 700; }
.hr_disclaimer_check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #92400e;
    cursor: pointer;
    margin-bottom: 16px;
    user-select: none;
}
.hr_disclaimer_check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--hr-primary);
    flex-shrink: 0;
}

/* ── AI 판정 카드 ── */
.hr_ai_judgment_card {
    margin-top: 20px;
    width: 100%;
}
.hr_judgment_text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--hr-text);
    padding: 4px 0;
}

/* ── 잠금 / 노출 제한 ── */
.hr_lock_wrap {
    padding: 30px 18px;
    text-align: center;
}
.hr_lock_wrap_soft { padding-top: 16px; border-top: 1px dashed var(--hr-border); }
.hr_lock_icon { font-size: 32px; margin-bottom: 10px; }
.hr_lock_text { font-size: 14px; color: var(--hr-text-sub); margin-bottom: 14px; }

/* ── 관련 사례 ── */
.hr_related_wrap {
    background: var(--hr-bg);
    border-top: 1px solid var(--hr-border);
    padding: 48px 0;
}
.hr_related_title {
    font-size: 18px;
    font-weight: 700;
    color: var(--hr-text);
    margin: 0 0 20px;
}
.hr_related_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hr_related_card a {
    display: block;
    background: #fff;
    border: 1px solid var(--hr-border);
    border-radius: 10px;
    padding: 16px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.hr_related_card a:hover {
    border-color: var(--hr-primary);
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}
.hr_related_tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--hr-primary);
    background: #eff6ff;
    border-radius: 4px;
    padding: 2px 7px;
    margin-bottom: 8px;
}
.hr_related_case_title {
    font-size: 14px;
    font-weight: 600;
    color: var(--hr-text);
    margin: 0 0 6px;
    line-height: 1.4;
}
.hr_related_case_facts {
    font-size: 12px;
    color: var(--hr-text-sub);
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .hr_related_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hr_related_grid { grid-template-columns: 1fr; }
}

/* ── CTA ── */
.hr_cta_wrap {
    display: flex;
    flex-direction: column;
    gap: 50px;
    list-style: none;
    padding: 80px 20px;
    margin: 20px 0 0 0;
    text-align: center;
    background: var(--hr-white);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
}
.hr_cta_text { font-size: 24px; color: var(--hr-text); font-weight: 900; line-height:45px;}
.hr_cta_text_point { background: linear-gradient(transparent 50%, #fbbf24 80%); padding-bottom: 2px; font-size: 30px; }
.hr_cta_box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--hr-radius);
    padding: 24px;
    text-align: center;
    margin-top: 24px;
}
.hr_cta_box_title { font-size: 17px; font-weight: 700; color: var(--hr-text); margin-bottom: 8px; }
.hr_cta_box_desc { font-size: 14px; color: var(--hr-text-sub); margin-bottom: 16px; }
.hr_cta_box_btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── 알림 박스 ── */
.hr_notice_box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.hr_notice_sub { font-size: 13px; color: var(--hr-muted); margin: 6px 0 12px; }
.hr_notice_ai {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0c4a6e;
    font-size: 13px;
    padding: 12px 16px;
    text-align: left;
    margin-bottom: 16px;
}

/* ── 폼 ── */
.hr_form_wrap { max-width: 680px; margin: 0 auto; }
.hr_form_back_wrap { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.hr_form_title { font-size: 22px; font-weight: 700; margin-bottom: 24px; color: var(--hr-text); }
.hr_field_group { margin-bottom: 24px; }
.hr_field_inline { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding: 16px 18px; background: var(--hr-bg); border-radius: 8px; }
.hr_inline_group { display: flex; flex-direction: column; gap: 6px; }
.hr_inline_group .hr_label { margin-bottom: 0; }
.hr_inline_group .hr_select { min-width: 140px; }
.hr_label { display: block; font-size: 14px; font-weight: 600; color: var(--hr-text); margin-bottom: 4px; }
.hr_field_hint { font-size: 12px; color: var(--hr-muted); margin-bottom: 8px; line-height: 1.5; }
.hr_required { color: var(--hr-danger); }
.hr_textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--hr-border);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
}
.hr_textarea:focus { outline: none; border-color: var(--hr-primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.hr_input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--hr-border);
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}
.hr_input:focus { outline: none; border-color: var(--hr-primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.hr_select {
    padding: 8px 12px;
    border: 1px solid var(--hr-border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--hr-white);
}
.hr_form_actions { margin-top: 28px; padding: 16px 0; display: flex; justify-content: center; }

/* ── 상담 신청 전용 ── */
.hr_consult_hero {
    text-align: center;
    padding: 40px 20px 32px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--hr-radius);
    margin-bottom: 24px;
}
.hr_consult_hero_icon { font-size: 40px; margin-bottom: 12px; }
.hr_consult_hero_title { font-size: 24px; font-weight: 700; color: var(--hr-text); margin-bottom: 10px; }
.hr_consult_hero_desc { font-size: 14px; color: var(--hr-text-sub); line-height: 1.7; margin-bottom: 16px; }
.hr_consult_badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hr_consult_badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--hr-white);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    font-size: 13px;
    color: var(--hr-primary);
    font-weight: 500;
}

.hr_consult_process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
    padding: 16px;
    background: var(--hr-white);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
}
.hr_consult_step { text-align: center; }
.hr_consult_step_num {
    width: 32px;
    height: 32px;
    background: var(--hr-primary);
    color: var(--hr-white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
}
.hr_consult_step_text { font-size: 12px; color: var(--hr-text-sub); font-weight: 500; }
.hr_consult_step_arrow { font-size: 18px; color: var(--hr-border); margin-bottom: 18px; }

.hr_consult_form_active {
    background: var(--hr-white);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
}
.hr_consult_submit_btn { width: 100%; max-width: 360px; font-size: 16px; }
.hr_consult_form_notice { text-align: center; font-size: 12px; color: var(--hr-muted); margin-top: 12px; }

.hr_consult_vote_required {
    text-align: center;
    padding: 36px 24px;
    background: var(--hr-white);
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
}
.hr_consult_vote_icon { font-size: 36px; margin-bottom: 12px; }
.hr_consult_vote_title { font-size: 17px; font-weight: 700; color: var(--hr-text); margin-bottom: 8px; }
.hr_consult_vote_desc { font-size: 14px; color: var(--hr-muted); margin-bottom: 20px; }
.hr_consult_vote_progress { margin-bottom: 24px; }
.hr_consult_vote_bar_wrap {
    width: 100%;
    max-width: 300px;
    height: 8px;
    background: var(--hr-border);
    border-radius: 4px;
    margin: 0 auto 8px;
    overflow: hidden;
}
.hr_consult_vote_bar {
    height: 100%;
    background: var(--hr-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
    max-width: 100%;
}
.hr_consult_vote_count { font-size: 13px; color: var(--hr-primary); font-weight: 600; }

/* ── 테이블 ── */
.hr_table_wrap { overflow-x: auto; margin-bottom: 20px; }
.hr_table {
    width: 100%;
    border-collapse: collapse;
    background: var(--hr-white);
    border-radius: var(--hr-radius);
    overflow: hidden;
    border: 1px solid var(--hr-border);
}
.hr_table th {
    background: var(--hr-bg);
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hr-text-sub);
    text-align: left;
    border-bottom: 1px solid var(--hr-border);
}
.hr_table td {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--hr-text);
    border-bottom: 1px solid var(--hr-border);
}
.hr_table tr:last-child td { border-bottom: none; }
.hr_table_admin .hr_table_row_top td { border-bottom: none; padding-bottom: 4px; }
.hr_table_admin .hr_table_row_top td[rowspan] { border-bottom: 1px solid var(--hr-border); padding-bottom: 12px; }
.hr_table_admin .hr_table_row_bottom td { border-bottom: 1px solid var(--hr-border); padding-top: 4px; }
.hr_table_admin tbody tr:last-child td { border-bottom: none; }
.hr_th_center { text-align: center !important; }
.hr_td_center { text-align: center; vertical-align: middle; }
.hr_table_sub { font-size: 12px; color: var(--hr-muted); margin-left: 4px; }
.hr_table_title_link { color: var(--hr-text); text-decoration: none; font-weight: 500; }
.hr_table_title_link:hover { color: var(--hr-primary); text-decoration: underline; }
.hr_table_actions { text-align: center; vertical-align: middle; }
.hr_admin_action_btn {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--hr-border);
    border-radius: 5px;
    font-size: 12px;
    color: var(--hr-text);
    background: var(--hr-white);
    cursor: pointer;
    text-decoration: none;
    margin: 2px;
}
.hr_admin_action_btn:hover { border-color: var(--hr-primary); color: var(--hr-primary); background: #eff6ff; }
.hr_admin_action_btn.hr_btn_danger { border-color: #fca5a5; color: #dc2626; }
.hr_admin_action_btn.hr_btn_danger:hover { border-color: #dc2626; background: #fef2f2; color: #b91c1c; }

/* ── 관리자 대시보드 (home) ── */
.hr_admin_dashboard {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: var(--hr-radius);
    padding: 20px 24px;
    margin-bottom: 28px;
}
.hr_admin_dashboard_title {
    font-size: 15px;
    font-weight: 700;
    color: var(--hr-danger);
    margin-bottom: 12px;
}
.hr_admin_dashboard_links { display: flex; gap: 10px; flex-wrap: wrap; }
.hr_admin_dashboard_btn {
    display: inline-block;
    padding: 9px 20px;
    background: var(--hr-danger);
    color: var(--hr-white);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.hr_admin_dashboard_btn:hover { background: #b91c1c; color: var(--hr-white); }

/* ── 공통 유틸 ── */
.hr_empty { padding: 40px; text-align: center; color: var(--hr-muted); font-size: 14px; }
.hr_muted { color: var(--hr-muted); font-size: 13px; padding: 12px 0; }
.hr_link { color: var(--hr-primary); font-size: 13px; cursor: pointer; background: none; border: none; text-decoration: none; }
.hr_link:hover { text-decoration: underline; }
.hr_page_title { font-size: 22px; font-weight: 700; color: var(--hr-text); margin-bottom: 20px; }
.hr_admin_header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.hr_admin_header_actions { display: flex; gap: 8px; }
.hr_toggle_btn {
    padding: 5px 12px;
    border-radius: 5px;
    border: 1px solid var(--hr-border);
    background: var(--hr-bg);
    font-size: 12px;
    cursor: pointer;
}
.hr_toggle_btn.active { background: #dcfce7; border-color: #86efac; color: #166534; }

/* ── 유사 사례 모달 ── */
.hr_similar_list { display: flex; flex-direction: column; gap: 8px; }
.hr_similar_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none;
    padding: 14px 16px;
    border: 1px solid var(--hr-border);
    border-radius: var(--hr-radius);
    background: var(--hr-white);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.hr_similar_item:hover {
    border-color: var(--hr-primary);
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
    background: #f0f5ff;
}
.hr_similar_item_body { flex: 1; min-width: 0; }
.hr_similar_title {
    font-size: 14px;
    font-weight: 600;
    color: var(--hr-text);
    margin-bottom: 7px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hr_similar_meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.hr_similar_arrow { color: #c0c8d8; font-size: 16px; flex-shrink: 0; }
.hr_empty_msg { text-align: center; color: var(--hr-muted); font-size: 14px; padding: 16px 0; }

/* ── 모달 ── */
.hr_modal_overlay.defaultHide { display: none; }
.hr_modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hr_modal_box {
    background: var(--hr-white);
    border-radius: var(--hr-radius);
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.hr_modal_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hr-border);
    font-size: 16px;
    font-weight: 700;
}
.hr_modal_close { background: none; border: none; font-size: 16px; cursor: pointer; color: var(--hr-muted); }
.hr_modal_body { padding: 20px; }
.hr_modal_footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--hr-border);
}

/* ── OAuth 버튼 ── */
.hr_oauth_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 8px 13px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    text-decoration: none;
    box-sizing: border-box;
}
.hr_oauth_icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.hr_oauth_desc {
    padding: 16px 0;
    text-align: center;
    font-size: 14px;
}
.hr_oauth_kakao { background: #fee500; color: #3a1d1d; }
.hr_oauth_naver { background: #03c75a; color: var(--hr-white); }
.hr_oauth_google { background: var(--hr-white); color: var(--hr-text); border: 2px solid #dadce0; }
.hr_login_or_divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 12px 0;
    color: var(--hr-muted);
    font-size: 13px;
}
.hr_login_or_divider::before,
.hr_login_or_divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}
.hr_login_or_divider span {
    margin: 0 10px;
}
.hr_browse_cases_btn {
    display: block;
    width: 100%;
    padding: 8px 13px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: var(--hr-muted);
    background: transparent;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
}
.hr_browse_cases_btn:hover {
    background: #f5f5f5;
    color: var(--hr-text);
}

/* ── 신청자 관계 라디오 ── */
.hr_role_options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}
.hr_role_option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    color: var(--hr-text);
    transition: border-color 0.15s, background 0.15s;
}
.hr_role_option:has(input:checked) {
    border-color: var(--hr-primary);
    background: #eff6ff;
    color: var(--hr-primary);
    font-weight: 600;
}
.hr_role_option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ── 폼 Zone (신청자 정보 / 사례 내용) ── */
.hr_form_zone {
    list-style: none;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    background: var(--hr-white);
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.hr_form_zone > li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hr_form_zone_label {
    font-size: 11px;
    font-weight: 700;
    color: var(--hr-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

/* ── 익명 작성 동의 Zone ── */
.hr_anonymize_zone {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border-top: 3px solid #f59e0b;
    border-bottom: 3px solid #f59e0b;
    padding: 24px 28px;
    margin: 0 -28px;
}
.hr_anonymize_zone_inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.hr_anonymize_zone_icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.hr_anonymize_zone_content {
    flex: 1;
}
.hr_anonymize_zone_title {
    font-size: 15px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}
.hr_anonymize_zone_text {
    font-size: 13px;
    color: #78350f;
    line-height: 1.7;
    margin: 0 0 14px;
}
.hr_anonymize_zone_check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    cursor: pointer;
    background: rgba(255,255,255,0.6);
    border: 1px solid #fbbf24;
    border-radius: 6px;
    padding: 10px 14px;
}
.hr_anonymize_zone_check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #d97706;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── 개인정보 동의 박스 ── */
.hr_privacy_box {
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 20px;
    background: #eff6ff;
    margin-bottom: 20px;
}
.hr_privacy_title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hr-text);
    margin-bottom: 10px;
}
.hr_privacy_text_wrap {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: var(--hr-white);
    padding: 12px 14px;
    margin-bottom: 12px;
}
.hr_privacy_text {
    font-size: 12px;
    color: #555;
    line-height: 1.7;
    white-space: pre-wrap;
    margin: 0;
    font-family: inherit;
}
.hr_privacy_check_label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--hr-text);
    cursor: pointer;
}
.hr_privacy_check_label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--hr-primary);
    cursor: pointer;
}

/* ── 저작권 동의 박스 modifier ── */
.hr_copyright_box {
    border-color: #a78bfa;
    background: #f5f3ff;
}

/* ── 반응형 ── */
@media (max-width: 600px) {
    .hr_nav_inner {
        height: auto;
        padding: 10px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .hr_nav_logo { justify-content: flex-start; }
    .hr_nav_right { justify-content: flex-end; }
    .hr_nav_user { display: none; }
    .hr_hero_title { font-size: 26px; }
    .hr_card_grid { grid-template-columns: 1fr; }
    .hr_detail_title { font-size: 18px; }
    .hr_learning_box { padding: 16px; }
    .hr_learning_points { gap: 8px; }
    .hr_cta_meta { gap: 10px; }
}

/* ── AI 판정 학습 힌트 ── */
.hr_score_hint_wrap {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--hr-radius);
    padding: 16px 20px;
    margin-bottom: 16px;
    text-align: left;
}
.hr_score_hint_score_row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.hr_score_hint_score_group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.hr_score_hint_label {
    font-size: 12px;
    color: var(--hr-text-sub);
    white-space: nowrap;
}
.hr_score_hint_value {
    font-size: 28px;
    font-weight: 800;
    color: var(--hr-primary);
    line-height: 1;
}
.hr_score_hint_denom {
    font-size: 14px;
    font-weight: 500;
    color: var(--hr-muted);
}
.hr_score_hint_desc {
    font-size: 13px;
    color: var(--hr-text);
}
.hr_score_hint_intro {
    font-size: 13px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 10px;
}
.hr_score_hint_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.hr_score_hint_list li {
    font-size: 13px;
    color: var(--hr-text);
    line-height: 1.6;
    padding-left: 18px;
    position: relative;
}
.hr_score_hint_list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0369a1;
    font-weight: 700;
    font-size: 12px;
}

/* ── 학습 포인트 박스 ── */
.hr_learning_box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--hr-radius);
    padding: 20px 22px;
    margin-top: 12px;
}
.hr_learning_box_title {
    font-size: 13px;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hr_learning_points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hr_learning_point {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.hr_learning_point_num {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0369a1;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.hr_learning_point_text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--hr-text);
}
.hr_learning_point_text strong { color: #0369a1; }
.hr_learning_divider {
    border: none;
    border-top: 1px solid #bae6fd;
    margin: 14px 0 10px;
}
.hr_learning_focus {
    font-size: 13px;
    color: #0369a1;
    line-height: 1.6;
}

/* ── CTA 메타 정보 (ticker) ── */
.hr_cta_ticker_wrap {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.hr_cta_meta {
    display: flex;
    width: max-content;
    animation: hr_ticker 18s linear infinite;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hr_cta_meta:hover { animation-play-state: paused; }
@keyframes hr_ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.hr_cta_meta_item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--hr-text-sub);
    white-space: nowrap;
    padding: 0 28px;
    border-right: 1px solid var(--hr-border);
}
.hr_cta_meta_item svg { color: var(--hr-primary); flex-shrink: 0; }
