/* 공통 */
.text-prewrap { white-space: pre-wrap; }
.row-link { cursor: pointer; }
.schedule-time-col { min-width: 44px; text-align: center; }
.date-header-highlight { background: var(--bg-subtle); }

/* 화면 보호 */
.privacy-section {
    position: relative;
}
.privacy-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    background: var(--bg-card);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.privacy-section.active .privacy-overlay {
    display: flex;
}

/* 접기/펼치기 */
.candidacy-header { cursor: pointer; }
.candidacy-header .fa-chevron-down { transition: transform 0.2s; }
.candidacy-header[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }

/* 대시보드 숫자 카드 */
.dash-metric-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px 24px;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.dash-metric-card:hover {
    box-shadow: var(--shadow-md);
    color: inherit;
}
.dash-metric-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.dash-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.dash-metric-value .unit {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 2px;
}
.dash-metric-card.metric-danger .dash-metric-value {
    color: var(--danger);
}

/* 대시보드 파이프라인 */
.dash-pipeline {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 0;
}
.dash-pipeline-step {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 12px 4px;
    border-radius: 8px;
    transition: background 0.15s;
}
.dash-pipeline-step:hover {
    background: var(--bg);
    color: inherit;
}
.dash-pipeline-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
}
.dash-pipeline-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.dash-pipeline-arrow {
    color: var(--text-muted);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* 대시보드 상담 목록 */
.dash-session-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
}
.dash-session-item:last-child {
    border-bottom: none;
}
.dash-session-item:hover {
    color: inherit;
}
.dash-session-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.dash-session-info {
    flex: 1;
    min-width: 0;
}
.dash-session-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}
.dash-session-type {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.dash-session-time {
    font-size: 0.8125rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
.dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.dash-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.dash-count-sub { color: var(--text-muted); font-weight: 400; }
.dash-empty { color: var(--text-muted); }

/* 대시보드 차트 */
.funnel-progress {
    height: 32px;
    border-radius: 6px;
    font-size: 0.8rem;
    overflow: hidden;
}
.dash-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
}
.dash-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    cursor: default;
}
.dash-bar-inner {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
}
.dash-bar {
    width: 100%;
    min-height: 2px;
    transition: height 0.2s;
}
.dash-bar-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 2px;
}
.dash-bar-week {
    font-size: 0.7rem;
    text-align: center;
    flex: 1;
}

/* 공고별 현황 */
.job-stats-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.job-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    gap: 12px;
}
.job-stats-row:last-child {
    border-bottom: none;
}
.job-stats-row:hover {
    color: var(--primary);
}
.job-stats-title {
    font-size: 0.85rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.job-stats-title .status-badge {
    font-size: 0.7rem;
    padding: 1px 5px;
    margin-left: 4px;
    vertical-align: middle;
}
.job-stats-nums {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}
.job-stats-nums i {
    margin-right: 2px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* 공고 상세 */
.job-detail-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}
.job-hero {
    margin-bottom: 20px;
}
.job-hero h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}
.job-hero-company {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.job-hero-company img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
}
.job-hero-company a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}
.job-hero-company a:hover {
    color: var(--primary);
}
.job-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.job-hero-applicant { margin-top: 10px; font-size: 0.82rem; color: var(--text-muted); }
.job-hero-applicant i { margin-right: 4px; }
.badge-dday {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 5px 10px;
}
.badge-dday.urgent {
    background: var(--danger);
    color: #fff;
}
.badge-dday.soon {
    background: #fd7e14;
    color: #fff;
}
.badge-dday.normal {
    background: var(--success);
    color: #fff;
}

/* 요약 바 */
.job-summary-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}
.job-summary-item {
    padding: 14px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.job-summary-item:last-child {
    border-right: none;
}
.job-summary-item i {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.job-summary-item .summary-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.job-summary-item .summary-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

/* 섹션 제목 */
.job-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    padding-bottom: 8px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.job-section-title i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 정보 그리드 */
.job-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.job-info-row {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}
.job-info-label {
    flex: 0 0 90px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.job-info-value {
    flex: 1;
    font-size: 0.88rem;
    color: var(--text);
}

/* 복리후생 뱃지 */
.welfare-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* 전형절차 */
.hiring-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.hiring-step {
    padding: 6px 14px;
    background: var(--text);
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}
.hiring-arrow {
    color: #bbb;
    font-size: 0.85rem;
}

/* 스티키 하단 바 */
.job-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 10px 20px;
    z-index: 1040;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.04);
}
.job-sticky-bar .btn-apply {
    padding: 8px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .job-summary-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .job-summary-item {
        padding: 10px;
    }
    .job-info-grid {
        grid-template-columns: 1fr;
    }
    .job-sticky-bar {
        padding: 8px 16px;
    }
    .job-sticky-bar .btn-apply {
        padding: 8px 20px;
    }
}

/* 기업 상세 */
.company-info-table th {
    width: 100px;
    background: var(--bg);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    vertical-align: middle;
}
.company-info-table td {
    font-size: 0.88rem;
    vertical-align: middle;
}
.company-intro-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
    white-space: pre-line;
}
.benefit-badge {
    font-size: 0.8rem;
    padding: 3px 8px;
    border: 1px solid var(--border);
}

/* 인재 검색 */
.talents-auth-card { max-width: 480px; margin: 0 auto; }
.talent-sort-select { width: auto; min-width: 140px; font-size: 0.85rem; }
.talent-avatar { width: 52px; height: 52px; font-size: 1.3rem; }

/* 필터 */
.filter-section {
    margin-bottom: 20px;
}
.filter-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 16px 20px;
    border: 1px solid var(--border);
}
.filter-card .form-select,
.filter-card .form-control {
    border-radius: 4px;
    font-size: 0.88rem;
    padding: 6px 10px;
    background-color: var(--bg);
    border: 1px solid var(--border);
}
.filter-card .form-select:focus,
.filter-card .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}
.btn-search {
    background-color: var(--text);
    color: var(--bg);
    border-radius: 4px;
    padding: 8px;
    font-weight: 600;
    width: 100%;
}
.btn-search:hover {
    background-color: var(--text-secondary);
    color: var(--bg);
}

/* 커뮤니티 */
.post-item {
    transition: border-color 0.15s;
    position: relative;
    background: var(--bg-card);
}
.post-item:hover {
    border-color: #bbb !important;
}
.tag-badge {
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    text-decoration: none;
}
.tag-badge:hover {
    background-color: var(--bg-hover);
    color: var(--text);
}

/* 채팅 */
.chat-bubble {
    max-width: 75%;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
}
.chat-bubble.me {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 2px;
}
.chat-bubble.them {
    background: var(--bg-subtle);
    color: var(--text);
    border-bottom-left-radius: 2px;
}
.chat-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* 적합도 뱃지 */
.fit-wrap { display: flex; flex-wrap: wrap; gap: 4px; }
.fit-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 13px; font-weight: 500; }
.fit-badge.fit-high { background: #e8f5e9; color: #2e7d32; }
.fit-badge.fit-mid { background: #fff8e1; color: #856404; }
.fit-badge.fit-low { background: var(--bg-subtle); color: var(--text-secondary); }
.fit-badge.fit-none { background: var(--bg-subtle); color: #ccc; text-decoration: line-through; }
.fit-legend { margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.fit-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; }
.fit-dot.fit-high { background: #e8f5e9; }
.fit-dot.fit-mid { background: #fff8e1; }
.fit-dot.fit-low { background: var(--bg-subtle); }
.fit-notes { margin-top: 8px; padding: 8px; background: var(--bg); border-radius: 4px; font-size: 13px; color: var(--text-secondary); }

/* 이력서 상세 */
.resume-detail { max-width: 800px; margin: 0 auto; }
.resume-detail .profile-card { page-break-inside: avoid; }
.resume-header { display: flex; gap: 20px; align-items: flex-start; }
.resume-header-photo {
    width: 120px; height: 160px; border-radius: 6px;
    overflow: hidden; flex-shrink: 0; background: var(--bg-subtle);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
}
.resume-header-photo img { width: 100%; height: 100%; object-fit: cover; }
.resume-header-photo .no-photo { color: #ccc; font-size: 2.5rem; }
.resume-header-info { flex: 1; }
.resume-header-name {
    font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 10px;
}
.resume-header-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.9rem; color: var(--text-secondary); }
.resume-header-meta i { color: var(--text-muted); width: 16px; text-align: center; margin-right: 3px; }
.resume-header-summary { margin: 10px 0 0; font-size: 0.9rem; color: var(--text-secondary); }
.resume-section-title {
    font-weight: 700; font-size: 0.95rem; color: var(--text);
    padding: 10px 20px; border-bottom: 1px solid var(--border);
    background: var(--bg); border-radius: 8px 8px 0 0;
    display: flex; align-items: center; gap: 8px;
}
.resume-section-title i { color: var(--text-muted); }
.resume-section-body { padding: 16px 20px; }
.resume-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.resume-item:last-child { border-bottom: none; }
.resume-item-title { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.resume-item-sub { font-size: 0.85rem; color: var(--text-secondary); }
.resume-item-desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; white-space: pre-line; }
.resume-field { display: flex; padding: 5px 0; }
.resume-field-label { flex: 0 0 110px; font-weight: 600; color: var(--text-secondary); font-size: 0.9rem; }
.resume-field-value { flex: 1; font-size: 0.9rem; }
.intro-block { margin-bottom: 16px; }
.intro-block:last-child { margin-bottom: 0; }
.intro-block-title { font-weight: 600; color: var(--text); margin-bottom: 6px; }
.intro-block-content { font-size: 0.9rem; line-height: 1.7; white-space: pre-line; color: var(--text); }

/* 상담 기록 */
.consultation-fields { margin: 0; }
.consultation-field-row { display: flex; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--border); }
.consultation-field-row:last-child { border-bottom: none; }
.consultation-field-row dt { min-width: 100px; flex-shrink: 0; color: var(--text-secondary); font-weight: 500; font-size: 0.88rem; }
.consultation-field-row dd { margin: 0; font-size: 0.88rem; white-space: pre-line; }

/* 상담 캘린더 */
.cal-toggle { display: flex; gap: 4px; }
.cal-toggle-btn {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border: 1px solid var(--border); border-radius: 4px;
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.85rem;
}
.cal-toggle-btn:hover { border-color: #bbb; color: var(--text); }
.cal-toggle-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.cal-nav {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 12px;
}
.cal-nav-btn {
    font-size: 1rem; color: var(--text-secondary);
    text-decoration: none; padding: 2px 8px;
    border: 1px solid var(--border); border-radius: 4px;
}
.cal-nav-btn:hover { border-color: #bbb; color: var(--text); }
.cal-month-title { font-weight: 700; font-size: 1rem; }
.cal-today-link { font-size: 0.82rem; color: var(--primary); text-decoration: none; margin-left: 4px; }
.cal-today-link:hover { text-decoration: underline; }
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}
.cal-dow {
    text-align: center; font-size: 0.8125rem; font-weight: 600;
    color: var(--text-secondary); padding: 6px 0;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.cal-cell {
    min-height: 80px; padding: 4px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.cal-out .cal-date { color: #ccc; }
.cal-today { background: var(--bg-subtle); }
.cal-today .cal-date { font-weight: 700; color: var(--primary); }
.cal-date { font-size: 0.8rem; margin-bottom: 2px; }
.cal-entry {
    display: block; font-size: 0.8125rem; padding: 1px 4px;
    border-radius: 3px; margin-bottom: 2px;
    text-decoration: none; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.cal-entry-scheduled { background: #e3f2fd; color: #1565c0; }
.cal-entry-completed { background: #e8f5e9; color: #2e7d32; }
.cal-entry-cancelled { background: var(--bg-subtle); color: var(--text-muted); }
.cal-entry-no_show { background: #fce4e4; color: #b71c1c; }

/* 통합 일정 */
.schedule-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.schedule-mini-cal {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 16px;
}
.schedule-mini-cal .cal-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.schedule-mini-cal .cal-nav-btn {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 2px 6px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: none;
    cursor: pointer;
    line-height: 1;
}
.schedule-mini-cal .cal-nav-btn:hover { border-color: var(--text-muted); color: var(--text); }
.schedule-mini-cal .cal-month-title { font-weight: 600; font-size: 0.9rem; }
.schedule-mini-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 0;
}
.schedule-mini-grid .dow {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0;
}
.schedule-mini-grid .day {
    font-size: 0.8125rem;
    padding: 4px 0;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    line-height: 1.8;
}
.schedule-mini-grid .day:hover { background: var(--bg-subtle); }
.schedule-mini-grid .day.out { color: var(--text-muted); opacity: 0.4; }
.schedule-mini-grid .day.today {
    font-weight: 700;
    color: #fff;
    background: var(--primary);
}
.schedule-mini-grid .day.selected {
    font-weight: 700;
    box-shadow: inset 0 0 0 2px var(--primary);
    color: var(--primary);
}
.schedule-mini-grid .day.today.selected {
    box-shadow: inset 0 0 0 2px var(--primary);
    color: #fff;
}
.schedule-mini-grid .day.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
}
.schedule-mini-grid .day.today.has-event::after { background: #fff; }

.schedule-agenda { flex: 1; min-width: 0; }
.schedule-date-group { margin-bottom: 20px; }
.schedule-date-header {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}
.schedule-date-header.today { color: var(--primary); }

.schedule-event {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: background 0.15s;
}
.schedule-event:hover { background: var(--bg-subtle); }
.schedule-event-time {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    min-width: 48px;
    flex-shrink: 0;
    padding-top: 1px;
}
.schedule-event-body { flex: 1; min-width: 0; }
.schedule-event-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}
.schedule-event-title a { color: inherit; text-decoration: none; }
.schedule-event-title a:hover { color: var(--primary); }
.schedule-event-meta {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}
.schedule-event-meta i { margin-right: 3px; }
.schedule-event-actions {
    display: none;
    gap: 4px;
    flex-shrink: 0;
    align-items: center;
}
.schedule-event:hover .schedule-event-actions { display: flex; }

.schedule-badge {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}
.schedule-badge-scheduled { background: #e3f2fd; color: #1565c0; }
.schedule-badge-completed { background: #e8f5e9; color: #2e7d32; }
.schedule-badge-cancelled { background: var(--bg-subtle); color: var(--text-muted); }
.schedule-badge-no_show { background: #fff3e0; color: #e65100; }

.schedule-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--text-muted);
}
.schedule-empty i { font-size: 2rem; margin-bottom: 8px; display: block; }

.schedule-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.schedule-filter-tabs {
    display: flex;
    gap: 4px;
}
.schedule-filter-tab {
    font-size: 0.82rem;
    padding: 4px 12px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.15s;
}
.schedule-filter-tab:hover { border-color: var(--text-muted); color: var(--text); }
.schedule-filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.schedule-filter-tab .cnt {
    font-size: 0.7rem;
    margin-left: 3px;
    opacity: 0.7;
}

/* 달력 전체보기 */
.schedule-cal-toggle {
    background: none; border: 1px solid var(--border); border-radius: 4px;
    cursor: pointer; color: var(--text-secondary);
    font-size: 0.8125rem; padding: 2px 8px; margin-left: auto;
    white-space: nowrap;
}
.schedule-cal-toggle:hover { border-color: var(--text-muted); color: var(--text); }
.schedule-full-cal {
    display: none;
    margin-bottom: 20px;
}
.schedule-full-cal.show { display: block; }
.schedule-full-cal .cal-nav {
    display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.schedule-full-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}
.schedule-full-grid .dow {
    text-align: center; font-size: 0.82rem; font-weight: 600;
    color: var(--text-secondary); padding: 8px 0;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.schedule-full-grid .day {
    min-height: 80px; padding: 6px 8px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    position: relative;
}
.schedule-full-grid .day:hover { background: var(--bg-subtle); }
.schedule-full-grid .day.out { background: var(--bg); }
.schedule-full-grid .day.out .day-num { color: var(--text-muted); opacity: 0.4; }
.schedule-full-grid .day.today { background: var(--bg-subtle); }
.schedule-full-grid .day.today .day-num { font-weight: 700; color: var(--primary); }
.schedule-full-grid .day-num { font-size: 0.82rem; margin-bottom: 4px; }
.schedule-full-grid .day-dot {
    display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary); margin-left: 4px;
    vertical-align: middle;
}
.schedule-full-grid .day.selected {
    box-shadow: inset 0 0 0 2px var(--primary);
}

.schedule-wrap.full-view .schedule-mini-cal { display: none; }

@media (max-width: 768px) {
    .schedule-wrap { flex-direction: column; }
    .schedule-mini-cal { display: none; }
    .schedule-event-actions { display: flex; }
    .schedule-full-grid .day { min-height: 48px; padding: 4px; }
    .schedule-full-grid .day-num { font-size: 0.8125rem; }
}

/* 커뮤니티 */
.community-search-form { max-width: 300px; }

/* 검색 입력 */
.search-input-sm { max-width: 200px; }

/* 일괄 처리 */
.bulk-check-col { width:36px; }
.bulk-comment-input { max-width:200px; }

/* 파이프라인 칸반 */
.pipeline-wrap { display:flex; gap:10px; overflow-x:auto; padding-bottom:8px; }
.pipeline-col { min-width:170px; flex:1; background:var(--bg); border-radius:6px; padding:10px; }
.pipeline-col-header { font-weight:600; font-size:0.85rem; margin-bottom:8px; display:flex; justify-content:space-between; align-items:center; }
.pipeline-card { background:var(--bg-card); border:1px solid var(--border); border-radius:4px; padding:8px; margin-bottom:6px; transition:border-color .15s; }
.pipeline-card:hover { border-color:var(--text-muted); }
.pipeline-card a { text-decoration:none; color:inherit; display:block; }
.pipeline-card .name { font-weight:600; font-size:0.85rem; }
.pipeline-card .meta { font-size: 0.8125rem; color:var(--text-muted); margin-top:3px; }

@media print {
    .sidebar, .topbar, .page-header .btn, .no-print, .sidebar-hover-zone { display: none !important; }
    .main-wrap { margin-left: 0 !important; }
    .content-area { padding: 0 !important; }
    .resume-detail { max-width: 100%; }
    .profile-card { box-shadow: none !important; border: 1px solid #ddd !important; }
    .content-card { border: none !important; box-shadow: none !important; }
}

/* 지원 현황 차트 */
.applicant-chart-wrap { max-width: 480px; height: 200px; }

/* 기업리뷰 */
.review-summary { display: flex; align-items: center; gap: 16px; }
.review-summary-score { text-align: center; }
.review-score-num { font-size: 2rem; font-weight: 700; color: var(--text); display: block; line-height: 1; }
.review-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-star { font-size: 0.85rem; color: #ddd; }
.review-star.filled { color: #f5a623; }
.review-avg-label { font-size: 0.8rem; font-weight: normal; color: #888; margin-left: 6px; }
.review-pros-cons { font-size: 0.9rem; color: var(--text-secondary); display: flex; gap: 8px; align-items: flex-start; }
.review-label { font-size: 0.8125rem; font-weight: 600; padding: 1px 6px; border-radius: 3px; flex-shrink: 0; }
.review-label.good { background: #e8f5e9; color: #2e7d32; }
.review-label.bad { background: #fce4ec; color: #c62828; }
.review-form { border-top: 1px solid var(--border); padding-top: 14px; }

/* 메시지 */
.msg-container {
    display: flex;
    height: calc(100vh - 64px);
    overflow: hidden;
}
.msg-sidebar {
    width: 360px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.msg-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}
.msg-sidebar-header h2 {
    margin: 0;
    font-size: 1.25rem;
}
.msg-list {
    flex: 1;
    overflow-y: auto;
}
.msg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    position: relative;
}
.msg-item:hover {
    background: var(--bg);
}
.msg-unread {
    background: var(--bg-subtle);
}
.msg-unread .msg-item-name {
    font-weight: 700;
}
.msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.msg-item-body {
    flex: 1;
    min-width: 0;
}
.msg-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}
.msg-item-name {
    font-weight: 500;
}
.msg-item-time {
    font-size: 0.8125rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
.msg-item-preview {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msg-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.msg-contacts-section {
    border-top: 1px solid var(--border);
}
.msg-section-label {
    padding: 10px 20px 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.msg-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.msg-empty i {
    font-size: 2rem;
    margin-bottom: 12px;
}
.msg-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.msg-placeholder {
    text-align: center;
    color: var(--text-muted);
}
.msg-placeholder i {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* 메시지 스레드 */
.msg-thread-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
}
.msg-thread-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.msg-thread-header h2 {
    margin: 0;
    font-size: 1.1rem;
}
.msg-back-btn {
    color: var(--text-secondary);
    font-size: 1.1rem;
}
.msg-thread-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.msg-thread-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.msg-bubble {
    max-width: 70%;
    display: flex;
    flex-direction: column;
}
.msg-bubble-in {
    align-self: flex-start;
}
.msg-bubble-out {
    align-self: flex-end;
}
.msg-bubble-content {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}
.msg-bubble-in .msg-bubble-content {
    background: var(--bg);
    border-bottom-left-radius: 4px;
}
.msg-bubble-out .msg-bubble-content {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.msg-bubble-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 3px;
    padding: 0 4px;
}
.msg-bubble-out .msg-bubble-time {
    text-align: right;
}
.msg-thread-input {
    border-top: 1px solid var(--border);
    padding: 12px 20px;
}
.msg-input-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.msg-textarea {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 0.9rem;
    resize: none;
    font-family: inherit;
    max-height: 120px;
}
.msg-textarea:focus {
    border-color: var(--primary);
}
.msg-send-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.msg-send-btn:hover {
    background: var(--primary-hover);
}

@media (max-width: 768px) {
    .msg-container { flex-direction: column; height: auto; }
    .msg-sidebar { width: 100%; border-right: none; }
    .msg-main { display: none; }
    .msg-bubble { max-width: 85%; }
}

/* 대시보드 요약 */
.dash-summary-list {
    display: flex;
    flex-direction: column;
}
.dash-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
}
.dash-summary-item:last-child {
    border-bottom: none;
}
.dash-summary-item:hover {
    color: var(--primary);
}
.dash-summary-item i {
    width: 20px;
    text-align: center;
}

/* 보조기기 그리드 */
.device-cat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.device-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
.device-check {
    display: none;
}
.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    min-width: 64px;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
}
.device-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.device-check:checked + .device-item {
    border-color: var(--primary);
    background: #e7f1ff;
    color: var(--primary);
}
.device-icon-row {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* 대시보드 보조기기 */
.dash-device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    min-width: 64px;
    text-align: center;
    text-decoration: none;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
}
.dash-device-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f8f9fa;
}
.dash-device-count {
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
}

/* 보조기기 선택 상태 */
.dash-device-item.device-active {
    border-color: var(--primary);
    background: #e7f1ff;
    color: var(--primary);
}
.device-seeker-list {
    margin: 0 0 16px;
    padding: 0;
}
.device-seeker-list .table {
    font-size: 0.85rem;
}

/* 보조기기 비활성 */
.dash-device-item.device-empty {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}
.dash-device-count.device-count-zero {
    background: var(--text-muted);
}

/* 보조기기 다크모드 */
[data-theme="dark"] .dash-device-item {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-secondary);
}
[data-theme="dark"] .dash-device-item:hover {
    background: var(--bg-subtle);
}
[data-theme="dark"] .dash-device-item.device-active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* 적합도 뱃지 */
[data-theme="dark"] .fit-badge.fit-high { background: rgba(63, 185, 80, 0.15); color: var(--success); }
[data-theme="dark"] .fit-badge.fit-mid { background: rgba(210, 153, 34, 0.15); color: var(--warning); }
[data-theme="dark"] .fit-badge.fit-none { color: var(--text-muted); }
[data-theme="dark"] .fit-dot.fit-high { background: rgba(63, 185, 80, 0.3); }
[data-theme="dark"] .fit-dot.fit-mid { background: rgba(210, 153, 34, 0.3); }

/* 이력서 */
[data-theme="dark"] .resume-header-photo .no-photo { color: var(--text-muted); }

/* 캘린더 */
[data-theme="dark"] .cal-toggle-btn:hover,
[data-theme="dark"] .cal-nav-btn:hover { border-color: var(--text-muted); }
[data-theme="dark"] .cal-out .cal-date { color: var(--text-muted); }
[data-theme="dark"] .cal-entry-scheduled { background: rgba(74, 158, 255, 0.15); color: var(--primary); }
[data-theme="dark"] .cal-entry-completed { background: rgba(63, 185, 80, 0.15); color: var(--success); }
[data-theme="dark"] .cal-entry-no_show { background: rgba(248, 81, 73, 0.15); color: var(--danger); }

/* 통합 일정 다크모드 */
[data-theme="dark"] .schedule-mini-grid .day.today { background: var(--primary); color: #fff; }
[data-theme="dark"] .schedule-mini-grid .day:hover { background: var(--bg-subtle); }
[data-theme="dark"] .schedule-event:hover { background: var(--bg-subtle); }
[data-theme="dark"] .schedule-badge-scheduled { background: rgba(74, 158, 255, 0.15); color: var(--primary); }
[data-theme="dark"] .schedule-badge-completed { background: rgba(63, 185, 80, 0.15); color: var(--success); }
[data-theme="dark"] .schedule-badge-cancelled { background: var(--bg-subtle); color: var(--text-muted); }
[data-theme="dark"] .schedule-badge-no_show { background: rgba(248, 81, 73, 0.15); color: var(--danger); }
[data-theme="dark"] .schedule-filter-tab:hover { border-color: var(--text-muted); }
[data-theme="dark"] .schedule-full-grid .day { background: var(--bg-card); }
[data-theme="dark"] .schedule-full-grid .day.out { background: var(--bg); }
[data-theme="dark"] .schedule-full-grid .day:hover { background: var(--bg-subtle); }
[data-theme="dark"] .schedule-full-grid .day.today { background: var(--bg-subtle); }
[data-theme="dark"] .schedule-cal-toggle:hover { border-color: var(--text-muted); }

/* 기업리뷰 */
[data-theme="dark"] .review-star { color: var(--border); }
[data-theme="dark"] .review-star.filled { color: #f5a623; }
[data-theme="dark"] .review-avg-label { color: var(--text-muted); }
[data-theme="dark"] .review-label.good { background: rgba(63, 185, 80, 0.15); color: var(--success); }
[data-theme="dark"] .review-label.bad { background: rgba(248, 81, 73, 0.15); color: var(--danger); }

/* 전형절차 */
[data-theme="dark"] .hiring-arrow { color: var(--text-muted); }

/* 커뮤니티 */
[data-theme="dark"] .post-item:hover { border-color: var(--text-muted) !important; }

/* 보조기기 선택 */
[data-theme="dark"] .device-check:checked + .device-item {
    background: rgba(74, 158, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* 매칭 후속 조치 */
.next-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border: 1px solid var(--border); border-left: 4px solid var(--success); border-radius: 8px; background: var(--bg-card); }
.row-hl > td { --bs-table-bg: var(--bg-subtle); --bs-table-hover-bg: var(--bg-subtle); }
.row-hl > td:first-child { border-left: 4px solid var(--primary); }
tr[id^="cand-"] { scroll-margin-top: 80px; }

/* 공지사항 */
.notice-nav-label { width: 4.5em; flex-shrink: 0; }

/* 상담 신청 */
.consult-content-cell { max-width: 320px; white-space: pre-wrap; word-break: break-word; }
.consult-cat-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.consult-cat-check { display: none; }
.consult-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    min-width: 96px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    text-align: center;
}
.consult-cat-item i { font-size: 1.25rem; }
.consult-cat-item:hover { border-color: var(--primary); color: var(--primary); }
.consult-cat-check:checked + .consult-cat-item {
    border-color: var(--primary);
    background: #e7f1ff;
    color: var(--primary);
}
.consult-cat-check:focus-visible + .consult-cat-item { outline: 2px solid var(--primary); outline-offset: 2px; }
[data-theme="dark"] .consult-cat-check:checked + .consult-cat-item {
    background: rgba(74, 158, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.hotline-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hotline-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hotline-label { min-width: 160px; font-weight: 600; color: var(--text-secondary); }
.hotline-list a { font-weight: 600; }
