.nag-dashboard-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    background: transparent;
    color: #142b43;
    padding: 10px 15px;
    min-height: 44px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s, border-color .18s;
}

.nag-dashboard-trigger:hover {
    background: #edf2f8;
    border-color: #9eafc2;
}

.nag-dashboard-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(520px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    color: #142b43;
    background: #fff;
    box-shadow: 0 24px 90px rgba(15, 23, 42, .22);
}

.nag-dashboard-dialog::backdrop {
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(5px);
}

.nag-dashboard-content {
    padding: 30px;
}

.nag-dashboard-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.nag-dashboard-eyebrow {
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .13em;
    color: #64748b;
}

.nag-dashboard-heading h2 {
    color: #142b43;
    font-size: clamp(23px, 5vw, 29px);
    letter-spacing: -.045em;
    line-height: 1.2;
    margin: 10px 0;
}

.nag-dashboard-heading p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.nag-dashboard-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 26px;
    cursor: pointer;
}

.nag-dashboard-projects {
    display: grid;
    gap: 12px;
}

.nag-dashboard-project {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 100px;
    padding: 17px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #142b43;
    text-decoration: none;
    transition: background .18s, border-color .18s;
}

.nag-dashboard-project:hover {
    background: #f8fafc;
    border-color: #93a5bc;
}

.nag-project-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 11px;
}

.nag-project-icon svg {
    width: 27px;
    height: 27px;
}

.nag-project-blue {
    background: #eaf0ff;
    color: #2563eb;
}

.nag-project-green {
    background: #e5f5ed;
    color: #059669;
}

.nag-project-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 5px;
}

.nag-project-copy strong {
    font-size: 17px;
    color: #142b43;
}

.nag-project-copy small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.nag-project-status {
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.nag-project-arrow {
    color: #64748b;
    font-size: 19px;
}

.nag-dashboard-footer {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

.nag-dashboard-trigger:focus-visible,
.nag-dashboard-dialog a:focus-visible,
.nag-dashboard-close:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .nag-dashboard-content {
        padding: 21px;
    }

    .nag-dashboard-project {
        padding: 13px;
        gap: 11px;
    }

    .nag-project-icon {
        width: 42px;
        height: 42px;
    }

    .nag-project-copy strong {
        font-size: 15px;
    }

    .nag-dashboard-trigger {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nag-dashboard-trigger,
    .nag-dashboard-project {
        transition: none;
    }
}
