h1:focus {
    outline: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* List filters */
.filter-search { max-width: 320px; }
.filter-select { max-width: 200px; }
.filter-date { max-width: 170px; }

/* Rows waiting on the signed-in user, and releases missing their annual OWASP checklist. */
.row-awaiting td { background-color: #fff8e1; }
.row-not-owasp td { color: #b71c1c; }
.awaiting { color: #6d6d6d; }
.row-link { cursor: pointer; }

.edit-form { max-width: 720px; }

/* Release view label/value pairs */
.fields {
    display: grid;
    grid-template-columns: minmax(10rem, max-content) 1fr;
    gap: 0.5rem 1.5rem;
    margin: 0;
}
.fields dt { color: #5f6368; }
.fields dd { margin: 0; }
.preserve-lines { white-space: pre-line; }

/* Release sign-off sections */
.section-your-turn { border-color: #1565c0 !important; border-width: 2px !important; }
.yes-no-label { color: #5f6368; }

/* Static account pages (sign-in, no access) */
.account-header {
    background: #1565c0;
    color: #fff;
    font: 500 1.25rem/1 Roboto, Helvetica, Arial, sans-serif;
    padding: 1rem 1.5rem;
}
.account-main {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
    font-family: Roboto, Helvetica, Arial, sans-serif;
}
.account-card {
    width: 100%;
    max-width: 24rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 2rem;
}
.account-card h1 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 1.5rem;
}
.account-card form { display: flex; flex-direction: column; gap: 0.35rem; }
.account-card label { font-size: 0.875rem; color: #5f6368; margin-top: 0.75rem; }
.account-card input {
    font: inherit;
    padding: 0.6rem 0.75rem;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
}
.account-card input:focus { outline: 2px solid #1565c0; outline-offset: 1px; }
.account-card button {
    margin-top: 1.5rem;
    font: inherit;
    font-weight: 500;
    color: #fff;
    background: #1565c0;
    border: 0;
    border-radius: 4px;
    padding: 0.7rem;
    cursor: pointer;
}
.account-card.wide { max-width: 34rem; }
.account-header a { color: inherit; text-decoration: none; }
.account-header a:hover, .account-header a:focus { text-decoration: underline; }
.account-card h2 { font-size: 1.05rem; font-weight: 500; margin: 1.75rem 0 0.25rem; }
.account-button {
    display: block;
    margin: 1rem 0 0.5rem;
    padding: 0.7rem;
    border-radius: 4px;
    background: #1565c0;
    color: #fff;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}
.account-button:focus { outline: 2px solid #1565c0; outline-offset: 2px; }
.account-card button.small { margin-top: 0.5rem; padding: 0.45rem 0.9rem; font-size: 0.875rem; align-self: flex-start; }
.account-card button.secondary { background: #fff; color: #1565c0; border: 1px solid #1565c0; }
.account-card button.danger { background: #b3261e; }
.account-info {
    background: #e8f4fd;
    color: #0b4f8a;
    border-radius: 4px;
    padding: 0.75rem;
    margin: 0 0 1rem;
}
.account-hint { color: #5f6368; font-size: 0.875rem; }
.account-links { margin: 1rem 0 0; font-size: 0.9rem; }
.account-external { margin-top: 0.75rem; display: flex; flex-direction: column; }
.account-step { margin-top: 1.25rem; }
.account-checkbox { display: flex; gap: 0.5rem; align-items: center; color: inherit !important; }
.account-card .account-checkbox input { padding: 0; }
.password-field { display: flex; gap: 0.5rem; }
.password-field input { flex: 1; }
.account-card .password-field button.password-toggle {
    margin: 0;
    padding: 0 0.75rem;
    background: #fff;
    color: #1565c0;
    border: 1px solid #bdbdbd;
}
.password-rules { margin: 0.5rem 0 0; padding-left: 1.25rem; font-size: 0.85rem; color: #5f6368; }
.password-rules li.met { color: #1b5e20; }
.password-rules li.met::marker { content: "✓ "; }
.manage-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: -0.5rem 0 1.25rem; font-size: 0.9rem; }
.linked-logins { list-style: none; padding: 0; }
.linked-logins li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.linked-logins form { display: block; }
.linked-logins button { margin: 0 !important; }
.account-error {
    background: #fdecea;
    color: #8a1c13;
    border-radius: 4px;
    padding: 0.75rem;
    margin: 0 0 1rem;
}
.account-validation, .validation-message { color: #b00020; font-size: 0.8rem; }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
