/* Targeted corrections for the Ggs issue report; preserve interaction hooks. */
html body[data-peso-page^="jobseeker-"].dark-mode #skillsModal :is(.modal-skill-added,.skill-type-badge--hard),
html body[data-peso-page^="jobseeker-"].jsa-dark #skillsModal :is(.modal-skill-added,.skill-type-badge--hard) {
    color: #a5ecc7 !important;
    -webkit-text-fill-color: #a5ecc7 !important;
}
html body[data-peso-page^="jobseeker-"].dark-mode #skillsModal .skill-type-badge--hard {
    background: #183f2d !important;
    border-color: #4c8767 !important;
}
html body[data-peso-page="jobseeker-search"] .job-card .job-details { padding: 22px !important; }
html body[data-peso-page="jobseeker-search"] .job-card .job-card-badge { position: static !important; margin: 0 0 12px !important; transform: none !important; }
html body[data-peso-page="jobseeker-search"] .job-card .job-title { margin: 0 0 10px !important; line-height: 1.35 !important; }
html body #skillsModal :is(.skill-chip-remove,.modal-skill-remove) {
    background: #fbe8e7 !important; color: #a72525 !important;
    min-width: 36px; min-height: 36px; border-radius: 10px !important;
}
html body #skillsModal :is(.skill-chip-remove,.modal-skill-remove) i { color: #a72525 !important; -webkit-text-fill-color: #a72525 !important; }
html body[data-peso-page^="admin-"]:not(.light) :is(.stat-card .value, .stat-card .stat-value, .announce-title, .jobfair-title, #refreshBtn) {
    color: #eaf7f0 !important;
    -webkit-text-fill-color: #eaf7f0 !important;
}
html body[data-peso-page^="admin-"]:not(.light) #sidebar .nav-link.active,
html body[data-peso-page^="admin-"]:not(.light) #sidebar .nav-link.active :is(span,i) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body[data-peso-page^="jobseeker-"]:not(.light) .peso-completion-card {
    background: #142e24 !important;
    color: #effaf4 !important;
}
html body[data-peso-page^="jobseeker-"]:not(.light) .peso-completion-card :is(h2,h3,p,small,span,strong) {
    color: #e1f1e8 !important;
    -webkit-text-fill-color: #e1f1e8 !important;
}
html body[data-peso-page^="jobseeker-"] .profile-menu a.active,
html body[data-peso-page^="jobseeker-"] .profile-menu a.active i {
    background-color: #087743 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body #skillsModal .skills-type-toggle button { white-space: nowrap !important; word-break: normal !important; }
html body #skillsModal :is(.skills-panel,.skills-modal-toolbar,.modal-skill-card) { min-width: 0; }
html body #skillsModal :is(.skill-name,.modal-skill-name) { overflow-wrap: break-word; word-break: normal; }
html body[data-peso-page="employer-calendar"] .fc .fc-daygrid-event {
    border-radius: 6px !important;
    min-height: 26px !important;
    height: auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
}
html body[data-peso-page="employer-calendar"] .fc :is(.fc-event-main,.fc-event-title) {
    min-width: 0;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: normal !important;
}
html body[data-peso-page="employer-calendar"] .fc .fc-toolbar { flex-wrap: wrap; gap: 12px; }
html body .resume-empty-state input[type="file"] { max-width: 100%; color: var(--text-primary,inherit); }
@media(max-width: 760px) {
    html body #skillsModal .modal-body { overflow-y: auto !important; grid-template-columns: minmax(0,1fr) !important; }
    html body #skillsModal :is(.left-panel,.right-panel) { overflow: visible !important; padding: 18px !important; }
    html body #skillsModal :is(.skills-workspace,.skills-modal-layout,.skills-modal-body,.skills-modal-toolbar) {
        grid-template-columns: minmax(0,1fr) !important;
    }
    html body #skillsModal .skills-panel { overflow: visible !important; }
    html body #skillsModal :is(.skills-grid,.modal-skills-grid) { grid-template-columns: minmax(0,1fr) !important; }
}
