/* Skip link - hidden until focused for keyboard users */
.skip-to-main {
    position: absolute !important;
    left: -9999px;
    z-index: var(--phs-z-skip-link);
    padding: 12px 24px;
    background: var(--phs-link-ada);
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}
.skip-to-main:focus {
    left: 16px;
    top: 16px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.btn-close::after {
    content: "Close";
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.project-activity-content .project-title a {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
    color: #0954a5;
}
    .project-activity-content .project-title a:hover {
        color: #073d7a;
    }
.dashboard-actions-row > a,
.dashboard-actions-row > button {
    min-height: 44px !important;
    display: flex !important;
}
.announcement-title {
    display: inline-block;
    min-height: 35px;
    min-width: 44px;
    padding: 12px 8px;
    line-height: 1.4;
}
    .announcement-title.text-primary {
        color: #0954a5 !important;
    }

        .announcement-title.text-primary:hover {
            color: #073d7a !important;
        }
.filter-section .form-select {
    min-height: 44px;
}
.activity-status-badge.status-inserted {
    color: #0a5427;
    background-color: #e8fff3;
}

.project-activity-content .user-name {
    color: #4a4b57;
}
.project-activity-content .activity-time-label {
    color: #4a4b57;
}
.todo-badge.badge-yellow {
    color: #5f4a00;
    background-color: #fff8dd;
}
.settings-icon {
    color: #4b5057 !important;
}
.filter-label {
    color: #4a4f57 !important;
}
.filter-small-label {
    color: #4a4f57 !important;
}

[data-theme="dark"] .filter-small-label {
    color: white !important;
}
.legend-percentage {
    color: #4a4f57 !important;
}
.project-description {
    line-height: 1.5 !important;
}

.menu-card-link {
    all: unset;
    display: block;
    min-height: 44px;
    cursor: pointer;
}

/* Button reset for accessibility-converted elements - only remove default browser styles */
button.alerts-modal-close {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

/* card-icon: only remove default button border, preserve existing .card-icon design */
button.card-icon {
    border: 0 !important;
    outline: none !important;
}
button.card-icon:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

button.announcement-title {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-weight: 700;
}