/* 섹션 토글 */
.section-toggle .toggle-icon { transition: transform 0.2s; }
.section-toggle:not(.collapsed) .toggle-icon { transform: rotate(180deg); }

/* 라벨 */
.label-col { min-width: 60px; }

/* 폼 */
.gpa-scale-select { max-width: 100px; }
.form-label {
    font-weight: 600;
}

.btn {
    white-space: nowrap;
}

.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    border-radius: 6px;
    padding: 10px;
    font-weight: 600;
    width: 100%;
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: white;
}

/* 콘텐츠 카드 */
.content-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    border: none;
    box-shadow: var(--shadow-sm);
}
.card-title {
    font-weight: 700;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 통계 카드 */
.stat-card {
    padding: 20px 24px;
    border-radius: 12px;
    background: var(--bg-card);
    margin-bottom: 16px;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s;
}
.stat-card:hover {
    box-shadow: var(--shadow-md);
}
.stat-icon {
    display: none;
}
.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--text);
}
.stat-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.stat-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.stat-card-alert {
    border-color: var(--danger);
}

a.stat-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
a.stat-card-link:hover .stat-card {
    border-color: var(--primary);
}

/* 상태 뱃지 */
.status-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}
.status-badge.status-open { background-color: #e3f2fd; color: #1565c0; }
.status-badge.status-closed,
.status-badge.status-withdrawn { background-color: var(--bg-subtle); color: var(--text-muted); }
.status-badge.status-pending,
.status-badge.status-reviewing,
.status-badge.status-shortlisted,
.status-badge.status-interview,
.status-badge.status-reviewed,
.status-badge.status-offer { background-color: var(--bg-subtle); color: var(--text-secondary); }
.status-badge.status-hired,
.status-badge.status-accepted { background-color: #e8f5e9; color: #2e7d32; }
.status-badge.status-rejected { background-color: #fce4e4; color: #b71c1c; }
.status-badge.status-scheduled { background-color: #e3f2fd; color: #1565c0; }
.status-badge.status-completed { background-color: #e8f5e9; color: #2e7d32; }
.status-badge.status-cancelled { background-color: var(--bg-subtle); color: var(--text-muted); }
.status-badge.status-no_show { background-color: #fce4e4; color: #b71c1c; }
.status-badge.stage-proposed,
.status-badge.stage-seeker_confirmed,
.status-badge.stage-submitted { background-color: var(--bg-subtle); color: var(--text-secondary); }

.truncate-cell { max-width: 160px; }

/* 테이블 */
.table-custom { margin-bottom: 0; }
.table-custom th { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; border-bottom: 1px solid var(--border); padding: 0.6rem 0.5rem; }
.table-custom td { vertical-align: middle; font-size: 0.9rem; padding: 0.6rem 0.5rem; }
.table > :not(caption) > * > * { border-bottom-color: var(--border); }
.table-hover > tbody > tr:hover > * { background-color: var(--bg-hover); }

/* 뱃지 공통 */
.badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 6px;
    letter-spacing: -0.01em;
}
.badge.bg-success { background-color: #E7F6EC !important; color: #0B7A3E !important; }
.badge.bg-danger { background-color: #FDECEC !important; color: #C0262D !important; }
.badge.bg-warning { background-color: #FFF3D6 !important; color: #8A5300 !important; }
.badge.bg-info, .badge.bg-primary { background-color: #E8F3FF !important; color: #1B64DA !important; }
.badge.bg-secondary { background-color: #F2F4F6 !important; color: #4E5968 !important; }
.badge.bg-light { background-color: #fff !important; color: #4E5968 !important; border: 1px solid var(--border); }

[data-theme="dark"] .badge.bg-success { background-color: #1B3326 !important; color: #56D384 !important; }
[data-theme="dark"] .badge.bg-danger { background-color: #3A1E20 !important; color: #FF8A80 !important; }
[data-theme="dark"] .badge.bg-warning { background-color: #352B14 !important; color: #F2C14E !important; }
[data-theme="dark"] .badge.bg-info, [data-theme="dark"] .badge.bg-primary { background-color: #172B45 !important; color: #79B8FF !important; }
[data-theme="dark"] .badge.bg-secondary, [data-theme="dark"] .badge.bg-light { background-color: #2D333B !important; color: #C9D1D9 !important; }

body.theme-high-contrast .badge { background-color: #000 !important; color: #fff !important; border: 1px solid #fff; }

/* 버튼 색상 */
.btn-primary {
    --bs-btn-bg: #0056b3; --bs-btn-border-color: #0056b3;
    --bs-btn-hover-bg: #004494; --bs-btn-hover-border-color: #004494;
    --bs-btn-active-bg: #003a7d; --bs-btn-active-border-color: #003a7d;
}
.btn-outline-primary {
    --bs-btn-color: #0056b3; --bs-btn-border-color: #0056b3;
    --bs-btn-hover-bg: #0056b3; --bs-btn-hover-border-color: #0056b3;
    --bs-btn-active-bg: #004494; --bs-btn-active-border-color: #004494;
}
.btn-success {
    --bs-btn-bg: #15803D; --bs-btn-border-color: #15803D;
    --bs-btn-hover-bg: #166534; --bs-btn-hover-border-color: #166534;
    --bs-btn-active-bg: #14532D; --bs-btn-active-border-color: #14532D;
}
.btn-outline-success {
    --bs-btn-color: #15803D; --bs-btn-border-color: #15803D;
    --bs-btn-hover-bg: #15803D; --bs-btn-hover-border-color: #15803D;
    --bs-btn-active-bg: #166534; --bs-btn-active-border-color: #166534;
}
.badge .badge-icon {
    margin-right: 0.25rem;
}

.table a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
.table a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* 공고 카드 */
.job-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.15s;
}
.job-card:hover {
    box-shadow: var(--shadow-md);
}
.job-card-header {
    padding: 16px 20px 10px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.job-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
    line-height: 1.4;
}
.job-card-header h3 a {
    color: inherit;
    text-decoration: none;
}
.job-card-header h3 a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.job-card-company {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.job-card-body {
    padding: 10px 20px 14px;
    flex: 1;
}
.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.job-card-meta i {
    margin-right: 3px;
    width: 14px;
    text-align: center;
    color: var(--text-muted);
}
.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.job-card-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.accommodation-tag {
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.job-card-footer {
    padding: 10px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.d-day-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
}
.d-day-active {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.d-day-urgent {
    background-color: #fff3e0;
    color: #e65100;
}
.d-day-closed {
    background-color: var(--bg-subtle);
    color: var(--text-muted);
}
.job-card-salary {
    font-weight: 600;
    color: var(--text);
}

.job-card-status {
    position: absolute;
    top: 12px;
    right: 12px;
}

/* 프로필 카드 */
.profile-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.profile-card.flex-grow-1 {
    flex: 1 1 auto;
}
.profile-row .col-lg-6 .profile-card:last-child {
    margin-bottom: 0;
}
.profile-card-header {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-card-header i {
    font-size: 1rem;
    color: var(--text-muted);
}
.profile-card-body {
    padding: 16px 20px;
    flex: 1;
}
.profile-field {
    display: flex;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.profile-field:last-child {
    border-bottom: none;
}
.profile-field-label {
    flex: 0 0 120px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.profile-field-value {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text);
}
.profile-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 2px 3px 2px 0;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.profile-tag-blue,
.profile-tag-green,
.profile-tag-purple {
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* 아이템 카드 */
.item-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s;
}
.item-card:hover {
    box-shadow: var(--shadow-md);
}
.item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}
.item-title:hover {
    color: var(--primary);
}
.item-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.item-meta i {
    width: 18px;
    color: var(--text-muted);
}
.item-badge {
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 5px;
    margin-bottom: 8px;
    display: inline-block;
    border: none;
    letter-spacing: -0.01em;
}
.item-badge.badge-green {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.item-badge.badge-closed {
    background-color: var(--bg-subtle);
    color: var(--text-muted);
}
.item-card .btn-sm.rounded-pill {
    padding: 0.3rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.2;
}

/* 탭 */
.nav-pills .nav-link {
    color: var(--text);
    font-weight: 600;
    border-radius: 4px;
    padding: 8px 16px;
    margin: 0 4px;
}
.nav-pills .nav-link.active {
    background-color: var(--primary);
    color: #fff;
}

/* 도구 버튼 */
.tool-btn {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 6px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 8px;
}
.tool-btn:hover {
    background-color: var(--bg);
    border-color: #ccc;
    color: var(--text);
}

/* 스킬 뱃지 */
.skill-badge {
    display: inline-block;
    background-color: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
}
.tool-btn i {
    font-size: 1rem;
    margin-right: 10px;
    color: var(--text-muted);
}

/* 타임라인 */
.status-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
    overflow-x: auto;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-width: 80px;
    flex: 1;
}
.timeline-step::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.timeline-step:last-child::after {
    display: none;
}
.timeline-step.active::after {
    background: var(--primary);
}
.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #fff;
    z-index: 1;
    position: relative;
}
.timeline-step.active .timeline-dot {
    background: var(--primary);
}
.timeline-step.current .timeline-dot {
    background: var(--primary);
}
.timeline-step.rejected .timeline-dot {
    background: var(--danger);
}
.timeline-step.withdrawn .timeline-dot {
    background: #999;
}
.timeline-step.hired .timeline-dot {
    background: var(--success);
}
.timeline-label {
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 6px;
    color: var(--text-muted);
}
.timeline-step.active .timeline-label,
.timeline-step.current .timeline-label {
    color: var(--text);
}
.timeline-step.rejected .timeline-label {
    color: var(--danger);
}
.timeline-step.hired .timeline-label {
    color: var(--success);
}
.timeline-date {
    font-size: 0.62rem;
    color: var(--text-muted);
    margin-top: 2px;
}
@media (max-width: 767.98px) {
    .status-timeline {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .timeline-step {
        min-width: 64px;
    }
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 32px 20px;
}
.empty-state-icon {
    display: none;
}
.empty-state-text {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* 프로필 양식 */
.form-section {
    background: var(--bg-card);
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.form-section legend {
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border-radius: 8px 8px 0 0;
    margin: 0;
    width: 100%;
    float: none;
}
.form-section legend i {
    color: var(--text-muted);
}
.form-section .form-section-body {
    padding: 20px;
}

/* 기업 사진 */
.photo-item { text-align: center; }
.photo-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }

/* 페이지 헤더 */
.page-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.page-header h2 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    margin: 0;
}

/* 모달 */
.modal-content {
    border-radius: 8px;
    border: none;
    background: var(--bg-card);
    color: var(--text);
}
.modal-header {
    border-bottom: none;
    padding: 24px 24px 8px;
}
.modal-body {
    padding: 16px 24px 24px;
}

/* 자기소개 */
.intro-title-input {
    max-width: 300px;
}

/* 이력서 증명사진 */
.resume-photo-wrap {
    flex-shrink: 0;
    width: 120px;
    text-align: center;
}
.resume-photo-preview {
    width: 120px;
    height: 160px;
    border: 2px dashed var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    overflow: hidden;
    color: #ccc;
    font-size: 2.5rem;
}
.resume-photo-preview:has(img) {
    cursor: pointer;
    position: relative;
}
.resume-photo-preview:has(img)::after {
    content: '\f044';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.15s;
    border-radius: 4px;
}
.resume-photo-preview:has(img):hover::after {
    opacity: 1;
}
.resume-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 사진 크롭 */
.crop-container {
    max-height: 400px;
    background: #111;
    border-radius: 6px;
    overflow: hidden;
}
.crop-container img {
    display: block;
    max-width: 100%;
}
.crop-zoom-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 0 8px;
}
.crop-zoom-icon {
    color: #888;
    font-size: 0.85rem;
}
.crop-zoom-slider {
    flex: 1;
    accent-color: var(--primary);
}
.crop-ratio-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.crop-ratio-btn {
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}
.crop-ratio-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.crop-ratio-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.crop-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.crop-ctrl-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: nowrap;
}
.crop-ctrl-btn i {
    margin-right: 4px;
}
.crop-ctrl-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.crop-size-info {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 매칭 파이프라인 */
.pipeline-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 0;
}
.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 50px;
}
.pipeline-count {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}
.pipeline-count-out { color: var(--text-muted); }
.pipeline-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}
.pipeline-arrow {
    color: #ccc;
    font-size: 0.6rem;
    margin-top: -12px;
}
.pipeline-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    margin: 0 4px;
}

/* 일괄 처리 바 */
.bulk-bar-bg { background: var(--bg-card); }

/* 반응형 컴포넌트 */
@media (max-width: 767.98px) {
    .content-card {
        padding: 14px;
        border-radius: 6px;
        margin-bottom: 14px;
    }
    .stat-card {
        padding: 12px 14px;
        margin-bottom: 12px;
    }
    .stat-info h3 {
        font-size: 1.2rem;
    }
    .stat-info p {
        font-size: 0.8rem;
    }
    .profile-field {
        flex-direction: column;
    }
    .profile-field-label {
        flex: none;
        margin-bottom: 4px;
    }
    .job-card-meta {
        flex-direction: column;
        gap: 4px;
    }
    .job-card-header h3 {
        padding-right: 32px;
    }
    .list-section {
        padding: 0 0 24px;
    }
    .card-title {
        font-size: 0.95rem;
        flex-wrap: wrap;
        gap: 8px;
    }
    .content-card .d-flex.align-items-start.gap-3 {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

@media (max-width: 479.98px) {
    .content-card {
        padding: 12px;
    }
    .stat-info h3 {
        font-size: 1.1rem;
    }
    .job-card-header {
        padding: 12px 14px 8px;
    }
    .job-card-body {
        padding: 8px 14px 10px;
    }
    .job-card-footer {
        padding: 8px 14px;
    }
}

/* 다크모드 */

/* 상태 뱃지 */
[data-theme="dark"] .status-badge.status-open,
[data-theme="dark"] .status-badge.status-scheduled { background: rgba(74, 158, 255, 0.15); color: var(--primary); }
[data-theme="dark"] .status-badge.status-hired,
[data-theme="dark"] .status-badge.status-accepted,
[data-theme="dark"] .status-badge.status-completed { background: rgba(63, 185, 80, 0.15); color: var(--success); }
[data-theme="dark"] .status-badge.status-rejected,
[data-theme="dark"] .status-badge.status-no_show { background: rgba(248, 81, 73, 0.15); color: var(--danger); }

/* 공고 D-day */
[data-theme="dark"] .d-day-active { background: rgba(63, 185, 80, 0.15); color: var(--success); }
[data-theme="dark"] .d-day-urgent { background: rgba(210, 153, 34, 0.15); color: var(--warning); }
[data-theme="dark"] .item-badge.badge-green { background: rgba(63, 185, 80, 0.15); color: var(--success); }

/* 도구 버튼 */
[data-theme="dark"] .tool-btn:hover { border-color: var(--text-muted); }

/* 타임라인 */
[data-theme="dark"] .timeline-step.withdrawn .timeline-dot { background: var(--text-muted); }

/* 매칭 파이프라인 */
[data-theme="dark"] .pipeline-arrow { color: var(--text-muted); }

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

/* 사진 크롭 */
[data-theme="dark"] .crop-zoom-icon { color: var(--text-muted); }

/* 자격증/학교 검색 콤보박스 */
.ref-combo-wrap {
    position: relative;
}
.ref-combo-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 2px 0 0;
    padding: 0;
    max-height: 15rem;
    overflow-y: auto;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}
.ref-combo-list li {
    padding: 0.5rem 0.75rem;
    color: var(--text);
    cursor: pointer;
}
.ref-combo-list li.active {
    background: var(--bg-hover);
}
.ref-combo-list li.ref-combo-literal {
    color: var(--text-secondary);
    font-style: italic;
}

/* 상담 요청 */
.consult-content-preview { color: var(--text-secondary); font-size: 0.88rem; }

.consult-content-full { white-space: pre-wrap; }

.consult-reply-box {
    background: var(--bg-subtle);
    border-radius: 8px;
    padding: 12px 14px;
    white-space: pre-wrap;
}

/* 직무 관리 */
.duty-fit-row legend { color: var(--text-secondary); }

.duty-fit-readonly-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.duty-fit-readonly-row:last-child { border-bottom: none; }
.duty-fit-readonly-label { color: var(--text); }

.duty-recommend-card { display: flex; flex-direction: column; gap: 8px; }
.duty-recommend-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.duty-req-preview {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 매칭 정보 */
.device-check:focus-visible + .device-item { outline: 2px solid var(--primary); outline-offset: 2px; }
