.identity-page {
    padding: 44px 0;
    background: #f8f9fc;
    color: #102033;
    min-height: 75vh;
}
.identity-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 35px;
    width: min(1120px, calc(100% - 48px));
    margin: auto;
    align-items: start;
}
.identity-intro {
    position: sticky;
    top: 105px;
    background: #081b30;
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    padding: 32px;
}
.identity-intro h1 {
    font-size: clamp(30px, 3.3vw, 46px);
    line-height: 1.2;
    margin: 12px 0 18px;
}
.identity-intro p {
    color: #d9e5ef;
}
.identity-intro img {
    margin-top: 32px;
    border-radius: 8px;
    aspect-ratio: 7/3;
    object-fit: cover;
}
.identity-eyebrow {
    letter-spacing: 0.16em;
    font-weight: 700;
    font-size: 12px;
}
.identity-sandbox {
    display: block;
    padding: 8px 10px;
    border: 1px solid #d5b575;
    border-radius: 7px;
    color: #f3d99f;
    font-size: 12px;
    font-weight: 750;
}
.identity-card {
    padding: clamp(20px, 3vw, 36px);
    background: #fff;
    border: 1px solid #dde4ec;
    border-radius: 16px;
    min-width: 0;
}
.identity-card h2 {
    font: 650 25px/1.25 var(--serif);
    margin: 16px 0;
}
.identity-card h2:first-child {
    margin-top: 0;
}
.identity-card p {
    color: #41546a;
}
.identity-card a {
    color: #74521e;
    text-underline-offset: 3px;
}
.identity-form {
    display: grid;
    gap: 8px;
    margin: 20px 0;
}
.identity-form label {
    font-weight: 650;
    font-size: 14px;
}
.identity-form input:not([type="checkbox"]),
.identity-form select {
    width: 100%;
    min-width: 0;
    min-height: 45px;
    border: 1px solid #bfcbd9;
    border-radius: 7px;
    padding: 9px 12px;
    font: inherit;
    background: #fff;
    color: #102033;
}
.identity-form input:focus-visible,
.identity-form select:focus-visible {
    outline: 2px solid #a77b32;
    outline-offset: 2px;
}
.identity-form small {
    color: #556a80;
}
.identity-form .button {
    margin-top: 10px;
    white-space: normal;
}
.identity-check {
    display: flex;
    align-items: start;
    gap: 10px;
    margin: 5px 0;
}
.identity-check input {
    margin-top: 5px;
    width: 17px;
    height: 17px;
    accent-color: #102a43;
}
.identity-status {
    padding: 12px;
    border: 1px solid #b7d9cc;
    background: #f0faf6;
    border-radius: 7px;
    color: #175c45 !important;
}
.identity-errors {
    border: 1px solid #e8b9b5;
    background: #fff4f2;
    padding: 12px;
    border-radius: 7px;
    color: #922e24;
}
.identity-errors ul {
    margin: 0;
    padding-left: 20px;
}
.identity-foot {
    margin-top: 24px;
}
.identity-link-button {
    border: 0;
    background: transparent;
    color: #74521e;
    text-decoration: underline;
    font: inherit;
    padding: 5px;
    width: fit-content;
}
.identity-secret {
    font-family: monospace;
    overflow-wrap: anywhere;
    letter-spacing: 0.1em;
    background: #f5f1e8;
    padding: 14px;
    border-radius: 8px;
}
.identity-recovery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.identity-recovery li {
    padding: 9px;
    background: #f0f4f8;
    border-radius: 5px;
    overflow-wrap: anywhere;
}
.identity-sessions {
    list-style: none;
    padding: 0;
}
.identity-sessions li {
    display: grid;
    gap: 5px;
    padding: 12px 0;
    border-bottom: 1px solid #e1e7ef;
    overflow-wrap: anywhere;
}
.identity-sessions span {
    color: #596c80;
    font-size: 13px;
}
.identity-sessions strong {
    font-weight: 500;
    font-size: 13px;
}
.identity-card .button-gold {
    color: #102033;
}
.identity-form button {
    min-height: 44px;
}
@media (max-width: 760px) {
    .identity-page {
        padding: 22px 0;
    }
    .identity-shell {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 32px);
        gap: 18px;
    }
    .identity-intro {
        position: static;
        padding: 22px;
    }
    .identity-intro img {
        display: none;
    }
    .identity-intro h1 {
        margin-bottom: 12px;
        font-size: 30px;
    }
    .identity-intro p:not(.identity-eyebrow) {
        display: none;
    }
}
