/* Registry screen branding only. Public landing and certificate documents are excluded. */
.registry-brand {
    --ink: #001d34;
    --muted: #4d6173;
    --paper: #f3f7fb;
    --line: #cedce7;
    --accent: #d8eeff;
    --dark: #001d34;
    --white: #ffffff;
    font-family: Arial, "Helvetica Neue", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
.registry-brand :is(h1, h2, h3, .topbar-title) {
    font-weight: 750;
}
.registry-brand :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #0076bd;
    outline-offset: 3px;
}
.registry-brand .skip-link {
    z-index: 100;
    color: #001d34;
    background: #ffffff;
    border: 2px solid #0076bd;
    border-radius: 4px;
}
.registry-brand .registry-brand-link {
    display: inline-flex;
    justify-content: center;
    background: #ffffff;
    padding: 12px;
    border: 1px solid #d9e5ef;
    border-radius: 8px;
    max-width: 100%;
    flex-shrink: 0;
}
.registry-brand .registry-logo {
    display: block;
    width: 134px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
.registry-brand .muted,
.registry-brand .field-hint {
    color: var(--muted);
}
.registry-brand .eyebrow {
    color: #005f9a;
    font-weight: 750;
}
.registry-brand :is(.field input, .field textarea, .field select) {
    background: #ffffff;
    border-color: #8aa3b7;
}
.registry-brand .field input::placeholder {
    color: #52687a;
}
.registry-brand .checkbox input {
    accent-color: #006eaf;
}
.registry-brand .password-recovery,
.registry-brand .security-shell > p a {
    color: #005f9a;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.registry-brand .btn.primary {
    background: #006eaf;
    color: #ffffff;
    font-weight: 750;
}
.registry-brand .btn.primary:hover {
    background: #005386;
}
.registry-brand .btn.secondary {
    border-color: #8aa3b7;
    background: #ffffff;
}
.registry-brand .btn.secondary:hover {
    background: #e4f2ff;
}
.registry-brand.login-page {
    padding: 40px 24px;
    background: #eaf2f9;
}
.registry-brand .login-shell {
    grid-template-columns: 1fr 1fr;
    max-width: 1120px;
    min-height: 700px;
    border-radius: 12px;
    box-shadow: 0 20px 60px #001d341c;
    border: 1px solid #cedce7;
    padding: 0;
}
.registry-brand .login-story {
    padding: 36px 42px;
    background: #001d34;
    color: #ffffff;
}
.registry-brand .login-story .registry-logo {
    width: 173px;
}
.registry-brand .login-story > .eyebrow {
    margin-top: 28px;
    font-size: 11px;
    color: #a8dcff;
}
.registry-brand .login-story h1 {
    font-size: clamp(34px, 3.4vw, 46px);
    letter-spacing: -1.5px;
}
.registry-brand .login-story > p:not(.eyebrow) {
    color: #d7e9f7;
    font-size: 14px;
    max-width: 350px;
}
.registry-brand .login-art {
    width: min(100%, 340px);
    height: 126px;
    margin: 24px 0 0;
}
.registry-brand .login-art i {
    height: 120px;
    background: #008acb;
}
.registry-brand .login-art i:nth-child(2) {
    background: #006eaf;
    height: 105px;
}
.registry-brand .login-art i:nth-child(3) {
    background: #80d5ed;
    height: 85px;
}
.registry-brand .login-caption {
    color: #c5def0;
    font-size: 11px;
    letter-spacing: 0;
    margin-top: 24px;
}
.registry-brand .login-form {
    padding: 48px;
    min-width: 0;
}
.registry-brand .login-form h2 {
    font-size: clamp(26px, 2.4vw, 34px);
    letter-spacing: -0.8px;
}
.registry-brand .login-form > .muted {
    font-size: 14px;
}
.registry-brand .login-form > .eyebrow {
    color: #005f9a;
    font-size: 11px;
}
.registry-brand .login-form :is(.field label, .checkbox, .field-hint) {
    font-size: 13px;
}
.registry-brand .login-form .field input {
    min-height: 46px;
    font-size: 16px;
}
.registry-brand .login-form .checkbox {
    min-height: 44px;
}
.registry-brand .login-form .btn {
    min-height: 48px;
    font-size: 15px;
}
.registry-brand .security-shell {
    min-height: auto;
    margin: 0 auto;
    width: min(600px, 100%);
    padding: 32px;
    background: #ffffff;
    border: 1px solid #cedce7;
    border-radius: 10px;
    box-shadow: 0 16px 48px #001d3414;
}
.registry-brand .security-shell .registry-logo {
    width: 121px;
}
.registry-brand .security-shell h1 {
    font-size: clamp(26px, 4vw, 34px);
}
.registry-brand .registry-copyright {
    margin-top: 28px;
    color: #4d6173;
    font-size: 12px;
}
.registry-brand .sidebar {
    background: #001d34;
    color: #ffffff;
    padding: 24px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
.registry-brand .sidebar .registry-brand-link {
    align-self: center;
    width: 100%;
}
.registry-brand .nav-label {
    margin: 24px 12px 12px;
    color: #b8d7ed;
    font-size: 10px;
}
.registry-brand .nav-link {
    min-height: 44px;
    padding: 10px 12px;
    margin-bottom: 4px;
    color: #e0effa;
    font-weight: 600;
}
.registry-brand .nav-link:hover {
    background: #123e5c;
}
.registry-brand .nav-link.current {
    background: #d8eeff;
    color: #001d34;
    font-weight: 750;
    box-shadow: inset 3px 0 #0099d5;
}
.registry-brand .sidebar-note {
    padding-top: 24px;
    margin: auto 8px 24px;
    color: #e0effa;
}
.registry-brand .sidebar-note p,
.registry-brand .account span {
    color: #bfd7e8;
}
.registry-brand .small-dot {
    background: #80d5ed;
}
.registry-brand .account {
    border-color: #31556f;
    padding-top: 18px;
}
.registry-brand .account > div:last-child {
    min-width: 0;
}
.registry-brand .avatar {
    background: #006eaf;
    color: #ffffff;
    font-weight: 700;
}
.registry-brand .signout {
    color: #e0effa;
    min-height: 44px;
    margin-top: 8px;
    margin-left: 42px;
    padding: 8px 0;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.registry-brand .sidebar :is(a, button):focus-visible {
    outline-color: #80d5ed;
}
.registry-brand .sidebar .registry-brand-link:focus-visible {
    outline-color: #0099d5;
}
.registry-brand .topbar {
    background: #ffffff;
    border-color: #cedce7;
    height: auto;
    min-height: 82px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-wrap: wrap;
}
.registry-brand .topbar-title {
    color: #001d34;
    font-size: 14px;
}
.registry-brand .global-search {
    min-width: 0;
    color: #3f596e;
}
.registry-brand .global-search input {
    color: #001d34;
    min-height: 44px;
    font-size: 14px;
    min-width: 0;
}
.registry-brand .global-search input::placeholder {
    color: #52687a;
}
.registry-brand .global-search button {
    min-height: 44px;
    padding: 8px 12px;
    color: #005386;
    border-color: #8aa3b7;
    font-size: 13px;
    font-weight: 700;
}
.registry-brand .footer {
    color: #4d6173;
    background: #ffffff;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 11px;
}
.registry-brand .footer span:last-child {
    font-size: 12px;
}
@media (max-width: 900px) {
    .registry-brand .login-story {
        padding: 32px;
    }
    .registry-brand .login-form {
        padding: 36px 28px;
    }
}
@media (max-width: 680px) {
    .registry-workspace {
        --workspace-toolbar-height: 124px;
    }
    .registry-brand.login-page {
        padding: 16px;
        place-items: start center;
    }
    .registry-brand .login-shell {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
    }
    .registry-brand .login-story {
        padding: 24px;
    }
    .registry-brand .login-story .registry-logo {
        width: 104px;
    }
    .registry-brand .login-story > .eyebrow {
        margin-top: 22px;
    }
    .registry-brand .login-story h1 {
        font-size: 34px;
    }
    .registry-brand .login-art {
        display: none;
    }
    .registry-brand .login-caption {
        display: block;
        margin-top: 20px;
    }
    .registry-brand .login-form {
        padding: 28px 24px;
    }
    .registry-brand .security-shell {
        padding: 24px 20px;
    }
    .registry-brand .topbar {
        position: sticky;
        top: 0;
        z-index: 50;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 44px 44px;
        align-content: center;
        height: var(--workspace-toolbar-height);
        padding: 12px 16px;
        gap: 8px;
    }
    .registry-brand .topbar > div {
        min-width: 0;
    }
    .registry-brand .topbar-title {
        max-width: none;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .registry-brand .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        color: #001d34;
        flex-shrink: 0;
        padding: 8px;
    }
    .registry-brand .global-search {
        width: 100%;
        gap: 6px;
    }
    .registry-brand .global-search input {
        flex: 1;
        width: 100%;
        padding: 8px 4px;
    }
    .registry-brand .global-search button {
        flex-shrink: 0;
    }
    .registry-brand .sidebar,
    .registry-brand .sidebar.is-open {
        top: var(--workspace-toolbar-height);
        bottom: 0;
        width: min(280px, calc(100% - 32px));
        visibility: hidden;
    }
    .registry-brand .sidebar.is-open {
        visibility: visible;
        box-shadow: 8px 0 24px #001d3433;
    }
    .registry-brand .workspace #main {
        scroll-margin-top: calc(var(--workspace-toolbar-height) + 16px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .registry-brand .sidebar {
        transition: none;
    }
}
