/* INSPiER account and policy pages */
.auth-page,
.policy-page {
    min-height: 100vh;
    color: var(--ink);
    background: #f5f7fb;
}

.auth-page .site-header,
.policy-page .site-header,
.auth-page .site-header.scrolled,
.policy-page .site-header.scrolled {
    height: 70px;
    color: var(--ink);
    background: rgba(255, 255, 255, .94);
    border-bottom-color: rgba(19, 32, 60, .08);
    box-shadow: 0 8px 28px rgba(8, 22, 52, .06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.auth-page .brand-word > span,
.policy-page .brand-word > span {
    color: var(--blue);
}

.auth-page .brand-word small,
.policy-page .brand-word small {
    color: var(--muted);
    border-color: var(--line);
}

.auth-page .main-nav a,
.policy-page .main-nav a {
    color: var(--ink-soft);
}

.auth-page .main-nav a:hover,
.policy-page .main-nav a:hover,
.auth-page .main-nav a.active,
.policy-page .main-nav a.active {
    color: var(--ink);
}

.auth-page .header-cta,
.policy-page .header-cta {
    color: #fff;
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.auth-page .header-account-actions,
.auth-page .header-shell > [data-logout] {
    margin-left: auto;
}

.signup-main {
    position: relative;
    min-height: calc(100vh - 86px);
    overflow: hidden;
    padding: 132px 24px 84px;
    background:
        radial-gradient(circle at 7% 12%, rgba(65, 111, 255, .09), transparent 26%),
        radial-gradient(circle at 94% 78%, rgba(67, 212, 180, .08), transparent 25%),
        #f5f7fb;
}

.signup-main::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .55;
    background-image: radial-gradient(rgba(62, 87, 145, .13) .65px, transparent .65px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, #000, transparent 38%, transparent 70%, #000);
    pointer-events: none;
}

.auth-orb {
    position: absolute;
    border: 1px solid rgba(66, 104, 218, .09);
    border-radius: 50%;
    pointer-events: none;
}

.auth-orb-one {
    top: 95px;
    left: -230px;
    width: 520px;
    height: 520px;
    box-shadow: 0 0 0 65px rgba(65, 111, 255, .025), 0 0 0 130px rgba(65, 111, 255, .018);
}

.auth-orb-two {
    right: -180px;
    bottom: -220px;
    width: 450px;
    height: 450px;
    border-color: rgba(67, 212, 180, .12);
}

.signup-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 375px minmax(0, 700px);
    justify-content: center;
    gap: 80px;
    width: min(100%, 1160px);
    margin: 0 auto;
}

.signup-intro {
    position: sticky;
    top: 130px;
    align-self: start;
    padding: 38px 0;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: var(--blue);
    letter-spacing: .18em;
    font-size: 10px;
    font-weight: 850;
}

.auth-kicker span {
    width: 20px;
    height: 2px;
    background: currentColor;
}

.signup-intro h1 {
    margin-bottom: 23px;
    letter-spacing: -.055em;
    font-size: 48px;
    line-height: 1.2;
}

.signup-intro > p:not(.auth-kicker) {
    margin-bottom: 35px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.8;
}

.signup-benefits {
    display: grid;
    gap: 12px;
    margin-bottom: 34px;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 13px;
}

.signup-benefits li > span {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--blue);
    background: #e7edff;
    border-radius: 11px;
}

.signup-benefits li:nth-child(2) > span {
    color: #159177;
    background: var(--mint-soft);
}

.signup-benefits li:nth-child(3) > span {
    color: #d96e3f;
    background: var(--orange-soft);
}

.signup-benefits svg {
    width: 19px;
    height: 19px;
}

.signup-benefits div {
    display: flex;
    flex-direction: column;
}

.signup-benefits strong {
    font-size: 13px;
}

.signup-benefits small {
    color: var(--muted);
    font-size: 10px;
}

.intro-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.intro-back svg {
    width: 16px;
    height: 16px;
    transform: rotate(180deg);
}

.intro-back:hover {
    color: var(--blue);
}

.signup-card {
    min-width: 0;
    padding: 42px 48px 46px;
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(14, 34, 78, .1);
}

.signup-progress {
    display: grid;
    grid-template-columns: 1fr 52px 1fr;
    align-items: center;
    margin-bottom: 39px;
    padding-bottom: 30px;
    border-bottom: 1px solid #edf0f5;
}

.signup-progress > div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #9aa4b7;
}

.signup-progress > div > span {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #8e99ac;
    background: #eef1f6;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
}

.signup-progress > div.active {
    color: var(--ink);
}

.signup-progress > div.active > span {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 8px 18px rgba(65, 111, 255, .25);
}

.signup-progress p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.signup-progress strong {
    font-size: 12px;
}

.signup-progress small {
    font-size: 8px;
}

.signup-progress > i {
    height: 1px;
    background: #dfe4ed;
}

.signup-step[hidden] {
    display: none;
}

.signup-step.active {
    animation: signupStep .32s ease both;
}

@keyframes signupStep {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.signup-heading {
    margin-bottom: 28px;
}

.signup-heading > span {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    letter-spacing: .13em;
    font-size: 8px;
    font-weight: 850;
}

.signup-heading h2 {
    margin-bottom: 9px;
    letter-spacing: -.04em;
    font-size: 30px;
    line-height: 1.35;
}

.signup-heading p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.consent-all {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    background: #eef3ff;
    border: 1px solid #d6e0ff;
    border-radius: 14px;
    cursor: pointer;
}

.consent-all input,
.agreement-item input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.consent-box {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    place-items: center;
    color: transparent;
    background: #fff;
    border: 1px solid #c8d1e0;
    border-radius: 7px;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.consent-box svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

input:checked + .consent-box {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

input:indeterminate + .consent-box {
    color: #fff;
    background: #829cf3;
    border-color: #829cf3;
}

input:focus-visible + .consent-box {
    outline: 3px solid rgba(65, 111, 255, .25);
    outline-offset: 2px;
}

.consent-all > span:last-child {
    display: flex;
    flex-direction: column;
}

.consent-all strong {
    font-size: 14px;
}

.consent-all small {
    color: #78859b;
    font-size: 10px;
}

.agreement-list {
    overflow: hidden;
    margin-top: 13px;
    border: 1px solid #e2e7ef;
    border-radius: 14px;
}

.agreement-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 15px;
    padding: 18px;
    border-bottom: 1px solid #e8ecf2;
}

.agreement-item:last-child {
    border-bottom: 0;
}

.agreement-item label {
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
}

.agreement-item label > span:last-child {
    color: #33415c;
    font-size: 13px;
    font-weight: 700;
}

.agreement-item label b {
    margin-right: 5px;
    color: var(--blue);
    font-size: 9px;
}

.agreement-item > button {
    padding: 7px 10px;
    color: var(--ink-soft);
    background: #f3f5f8;
    border: 1px solid #e1e6ee;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.agreement-item > button:hover {
    color: var(--blue-dark);
    background: var(--surface-blue);
    border-color: #cfd9fa;
}

.privacy-summary {
    grid-column: 1 / -1;
    display: grid;
    gap: 7px;
    margin: 15px 0 0 35px;
    padding: 13px 15px;
    background: #f7f9fc;
    border-radius: 10px;
}

.privacy-summary > div {
    display: grid;
    grid-template-columns: 67px 1fr;
    gap: 10px;
}

.privacy-summary dt {
    color: #7c879a;
    font-size: 9px;
    font-weight: 700;
}

.privacy-summary dd {
    margin: 0;
    color: #526078;
    font-size: 9px;
}

.consent-message {
    min-height: 19px;
    margin: 14px 0 7px;
    color: #7b879b;
    font-size: 10px;
}

.consent-message.complete {
    color: #158d72;
}

.signup-next {
    width: 100%;
}

.signup-next:disabled {
    color: #9aa4b6;
    background: #e9edf3;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.security-hold {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 25px;
    padding: 16px;
    color: #71512e;
    background: #fff8e8;
    border: 1px solid #f1dfb6;
    border-radius: 13px;
}

.security-hold > span {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #b17628;
    background: #ffedc7;
    border-radius: 10px;
}

.security-hold svg {
    width: 18px;
    height: 18px;
}

.security-hold div {
    display: flex;
    flex-direction: column;
}

.security-hold strong {
    font-size: 12px;
}

.security-hold p {
    margin: 3px 0 0;
    color: #866a48;
    font-size: 10px;
    line-height: 1.65;
}

.security-hold.connected {
    color: #176653;
    background: #effbf7;
    border-color: #c9ebdf;
}

.security-hold.connected > span {
    color: #14866d;
    background: #d8f4eb;
}

.security-hold.connected p {
    color: #467567;
}

.member-type-field {
    margin-bottom: 18px;
}

.field-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #445169;
    font-size: 11px;
    font-weight: 750;
}

.field-label b {
    color: #9ca6b7;
    font-size: 8px;
}

.member-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.member-type-options label {
    margin: 0;
    cursor: pointer;
}

.member-type-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.member-type-options label > span {
    display: flex;
    min-height: 76px;
    padding: 14px;
    flex-direction: column;
    justify-content: center;
    background: #f7f9fc;
    border: 1px solid #dfe4ed;
    border-radius: 11px;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.member-type-options input:checked + span {
    background: #eef3ff;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(65, 111, 255, .1);
}

.member-type-options input:focus-visible + span {
    outline: 3px solid rgba(65, 111, 255, .24);
}

.member-type-options strong {
    color: var(--ink);
    font-size: 13px;
}

.member-type-options small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.security-note.error { color: #c83b3b; }
.security-note.complete { color: #14866d; font-weight: 700; }

.register-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.register-form fieldset:disabled {
    opacity: .52;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.register-form label {
    display: block;
    margin-bottom: 15px;
}

.register-form label > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    color: #445169;
    font-size: 11px;
    font-weight: 750;
}

.register-form label > span b {
    color: #9ca6b7;
    font-size: 8px;
}

.register-form input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    background: #f7f9fc;
    border: 1px solid #dfe4ed;
    border-radius: 10px;
}

.register-form input::placeholder {
    color: #a1aab9;
    font-size: 11px;
}

.register-form select {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    color: var(--ink);
    background: #f7f9fc;
    border: 1px solid #dfe4ed;
    border-radius: 10px;
}

.claims-fields {
    margin: 2px 0 16px;
    padding: 16px;
    background: #f7f9ff;
    border: 1px solid #dfe5ff;
    border-radius: 13px;
}

.claims-fields[hidden] { display: none; }
.claims-fields input[type="file"] { height: auto; padding: 11px; font-size: 10px; }
.evidence-grid label { margin-bottom: 5px; }
.evidence-notice { margin: 8px 0 0; color: #68758c; font-size: 9px; }

.register-form label > small {
    display: block;
    margin-top: 5px;
    color: #929daf;
    font-size: 8px;
}

.security-note {
    margin: 3px 0 15px;
    color: #8c97aa;
    font-size: 9px;
    text-align: center;
}

.signup-actions {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
}

.signup-back {
    color: var(--ink-soft);
    background: #f1f3f7;
    border-color: #e0e5ed;
}

.signup-submit:disabled {
    color: #99a4b6;
    background: #e8ecf2;
    cursor: not-allowed;
}

.signup-submit:disabled:hover {
    transform: none;
}

.auth-footer {
    padding: 23px 24px;
    color: #8b95a8;
    background: #fff;
    border-top: 1px solid #e6eaf1;
}

.auth-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, 1160px);
    margin: 0 auto;
    font-size: 10px;
}

.auth-footer p {
    margin: 0;
}

.auth-footer nav {
    display: flex;
    gap: 20px;
}

.auth-footer a:hover {
    color: var(--blue);
}

/* Policy viewer modal */
body.policy-open {
    overflow: hidden;
}

.policy-modal {
    position: fixed;
    z-index: 600;
    inset: 0;
    display: grid;
    padding: 28px;
    place-items: center;
}

.policy-modal[hidden] {
    display: none;
}

.policy-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 12, 32, .72);
    backdrop-filter: blur(7px);
    cursor: default;
}

.policy-modal-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(940px, 100%);
    height: min(820px, calc(100vh - 56px));
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 23px;
    box-shadow: 0 35px 100px rgba(2, 8, 27, .4);
    animation: policyIn .28s ease both;
}

@keyframes policyIn {
    from { opacity: 0; transform: translateY(12px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.policy-modal-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px 24px;
    color: #fff;
    background: var(--navy-900);
}

.policy-modal-card > header div {
    display: flex;
    flex-direction: column;
}

.policy-modal-card > header span {
    color: #8fa8f7;
    letter-spacing: .14em;
    font-size: 7px;
    font-weight: 800;
}

.policy-modal-card > header h2 {
    margin: 2px 0 0;
    font-size: 17px;
}

.policy-modal-card > header button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border-radius: 10px;
    cursor: pointer;
}

.policy-modal-card > header svg {
    width: 19px;
    height: 19px;
}

.policy-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Standalone policy pages */
.policy-main {
    padding: 122px 24px 90px;
}

.policy-shell {
    width: min(100%, 920px);
    margin: 0 auto;
}

.policy-hero {
    margin-bottom: 26px;
    padding: 46px 50px;
    color: #fff;
    background: linear-gradient(135deg, #091632, #142b63);
    border-radius: 25px;
    box-shadow: 0 22px 60px rgba(10, 27, 65, .16);
}

.policy-hero > span {
    display: block;
    margin-bottom: 12px;
    color: #89a4fa;
    letter-spacing: .17em;
    font-size: 9px;
    font-weight: 850;
}

.policy-hero h1 {
    margin-bottom: 13px;
    letter-spacing: -.045em;
    font-size: 40px;
}

.policy-hero p {
    margin: 0;
    color: rgba(230, 237, 255, .65);
    font-size: 13px;
}

.policy-notice {
    margin-bottom: 22px;
    padding: 14px 17px;
    color: #72542f;
    background: #fff8e9;
    border: 1px solid #f0dfb8;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.7;
}

.policy-document {
    padding: 54px 58px;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(17, 36, 77, .07);
}

.policy-document > section + section {
    margin-top: 52px;
    padding-top: 48px;
    border-top: 1px solid #e8ecf2;
}

.policy-document h2 {
    margin-bottom: 27px;
    color: var(--blue-dark);
    letter-spacing: -.03em;
    font-size: 24px;
}

.policy-document h3 {
    margin: 34px 0 13px;
    letter-spacing: -.025em;
    font-size: 18px;
}

.policy-document h3:first-child {
    margin-top: 0;
}

.policy-document p,
.policy-document li {
    color: #46536b;
    font-size: 14px;
    line-height: 1.95;
}

.policy-document p {
    margin-bottom: 13px;
}

.policy-document ol,
.policy-document ul {
    margin: 8px 0 18px 20px;
    padding-left: 18px;
}

.policy-document ol {
    list-style: decimal;
}

.policy-document ul {
    list-style: disc;
}

.policy-document .alpha-list {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.policy-document .alpha-list > li {
    margin-bottom: 10px;
}

.policy-document .effective-date {
    margin-top: 45px;
    padding: 20px;
    color: #42516a;
    background: #f6f8fc;
    border-radius: 12px;
    font-weight: 700;
}

.policy-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.policy-actions .button-secondary {
    color: var(--ink);
    background: #fff;
    border-color: #dfe4ed;
}

.policy-embed .site-header,
.policy-embed .policy-hero,
.policy-embed .policy-notice,
.policy-embed .policy-actions,
.policy-embed .auth-footer {
    display: none !important;
}

.policy-embed .policy-main {
    padding: 0;
}

.policy-embed .policy-shell {
    width: 100%;
}

.policy-embed .policy-document {
    padding: 40px 48px 60px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 1060px) {
    .signup-shell {
        grid-template-columns: 310px minmax(0, 650px);
        gap: 45px;
    }

    .signup-intro h1 {
        font-size: 41px;
    }

    .signup-card {
        padding-right: 38px;
        padding-left: 38px;
    }
}

@media (max-width: 850px) {
    .signup-main {
        padding-top: 108px;
    }

    .signup-shell {
        grid-template-columns: 1fr;
        max-width: 680px;
        gap: 28px;
    }

    .signup-intro {
        position: static;
        padding: 10px 10px 0;
        text-align: center;
    }

    .signup-intro h1 {
        font-size: 42px;
    }

    .signup-intro > p:not(.auth-kicker) {
        margin-bottom: 0;
    }

    .signup-benefits,
    .intro-back {
        display: none;
    }
}

@media (max-width: 560px) {
    .signup-main {
        padding: 94px 13px 55px;
    }

    .signup-intro {
        padding-inline: 5px;
    }

    .signup-intro h1 {
        margin-bottom: 15px;
        font-size: 35px;
    }

    .signup-intro > p:not(.auth-kicker) {
        font-size: 13px;
    }

    .signup-card {
        padding: 27px 20px 28px;
        border-radius: 21px;
    }

    .signup-progress {
        grid-template-columns: 1fr 25px 1fr;
        margin-bottom: 29px;
        padding-bottom: 22px;
    }

    .signup-progress small {
        display: none;
    }

    .signup-progress > div {
        gap: 8px;
    }

    .signup-progress > div > span {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .signup-progress strong {
        font-size: 11px;
    }

    .signup-heading h2 {
        font-size: 25px;
    }

    .consent-all {
        padding: 15px;
    }

    .agreement-item {
        grid-template-columns: 1fr auto;
        padding: 15px;
    }

    .agreement-item label > span:last-child {
        font-size: 11px;
    }

    .agreement-item > button {
        padding: 6px 7px;
        font-size: 9px;
    }

    .privacy-summary {
        margin-left: 0;
        padding: 11px;
    }

    .privacy-summary > div {
        grid-template-columns: 58px 1fr;
    }

    .register-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .member-type-options {
        grid-template-columns: 1fr;
    }

    .signup-actions {
        grid-template-columns: 85px 1fr;
    }

    .auth-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .auth-footer nav {
        flex-wrap: wrap;
        gap: 8px 14px;
    }

    .policy-modal {
        padding: 0;
    }

    .policy-modal-card {
        width: 100%;
        height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .policy-main {
        padding: 96px 13px 55px;
    }

    .policy-hero {
        padding: 32px 25px;
        border-radius: 19px;
    }

    .policy-hero h1 {
        font-size: 31px;
    }

    .policy-document {
        padding: 34px 24px;
        border-radius: 18px;
    }

    .policy-document h2 {
        font-size: 21px;
    }

    .policy-document h3 {
        font-size: 17px;
    }

    .policy-document p,
    .policy-document li {
        font-size: 13px;
        line-height: 1.85;
    }

    .policy-embed .policy-document {
        padding: 28px 21px 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .signup-step.active,
    .policy-modal-card {
        animation: none;
    }
}

.account-main {
    min-height: 100vh;
    display: grid;
    padding: 120px 20px 60px;
    place-items: center;
    background: radial-gradient(circle at 20% 10%, rgba(65, 111, 255, .1), transparent 30%), #f5f7fb;
}

.account-card {
    width: min(100%, 460px);
    padding: 44px;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(14, 34, 78, .1);
}

.account-card h1 { margin-bottom: 8px; font-size: 34px; }
.account-lead { margin-bottom: 28px; color: var(--ink-soft); font-size: 13px; }
.account-form { display: grid; gap: 16px; }
.account-form label { display: grid; gap: 7px; color: #445169; font-size: 11px; font-weight: 750; }
.account-form input { width: 100%; height: 48px; padding: 0 14px; background: #f7f9fc; border: 1px solid #dfe4ed; border-radius: 10px; }
.account-message { min-height: 20px; margin: 0; color: var(--muted); font-size: 11px; }
.account-message.error { color: #c83b3b; }
.account-message.complete { color: #14866d; }
.account-switch { margin: 20px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.account-switch a { color: var(--blue); font-weight: 750; }

.admin-main { width: min(calc(100% - 40px), 1120px); min-height: 100vh; margin: 0 auto; padding: 125px 0 70px; }
.admin-account-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 25px; }
.admin-account-head h1 { margin-bottom: 8px; font-size: 38px; }
.admin-account-head p:not(.auth-kicker) { margin: 0; color: var(--ink-soft); }
.admin-summary { min-width: 120px; padding: 18px 22px; text-align: center; background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; }
.admin-summary span { display: block; color: var(--muted); font-size: 10px; }
.admin-summary strong { color: var(--blue); font-size: 27px; }
.member-list { overflow: hidden; background: #fff; border: 1px solid #e3e8f0; border-radius: 18px; box-shadow: 0 18px 50px rgba(14, 34, 78, .07); }
.member-row { display: grid; grid-template-columns: minmax(175px, 1.6fr) 90px 80px minmax(155px, 1fr) 82px 125px; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #edf0f5; }
.member-row:last-child { border-bottom: 0; }
.member-identity { display: flex; min-width: 0; flex-direction: column; }
.member-identity strong { font-size: 13px; }
.member-identity span, .member-row time { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.member-type { font-size: 11px; font-weight: 700; }
.member-status { padding: 6px 8px; text-align: center; background: #eef2f7; border-radius: 8px; font-size: 9px; font-weight: 750; }
.member-status.pending { color: #9b661b; background: #fff4d9; }
.member-status.approved { color: #13735e; background: #e5f8f1; }
.member-status.rejected { color: #a33b3b; background: #fdeaea; }
.member-actions { display: flex; justify-content: flex-end; gap: 6px; }
.member-actions button { padding: 7px 10px; color: var(--ink-soft); background: #f1f3f7; border-radius: 7px; font-size: 9px; font-weight: 750; cursor: pointer; }
.member-actions .approve { color: #fff; background: var(--blue); }
.member-actions button:disabled { color: #9aa4b6; background: #e8ecf2; cursor: not-allowed; }

.member-documents {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #69768d;
    background: #f8f9fd;
    border-radius: 10px;
    font-size: 9px;
}

.member-documents strong { color: var(--ink); }
.member-documents a { padding: 7px 10px; color: var(--blue); background: #fff; border: 1px solid #dce2f5; border-radius: 7px; font-weight: 750; }
.member-registry-verification { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(250px, .9fr) minmax(320px, 1.35fr); gap: 10px 18px; padding: 15px; background: #f4f7ff; border: 1px solid #dce5ff; border-radius: 12px; }
.registry-verification-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.registry-verification-head > div { display: grid; gap: 3px; }
.registry-verification-head strong { color: var(--ink); font-size: 10px; }
.registry-verification-head > div span, .registry-checked-at { color: var(--muted); font-size: 8px; }
.registry-status { flex: 0 0 auto; padding: 6px 8px; color: #7b6230; background: #fff1ce; border-radius: 7px; font-size: 8px; font-weight: 800; }
.registry-status.matched { color: #13735e; background: #dff6ed; }
.registry-status.mismatched { color: #a33b3b; background: #fdeaea; }
.registry-search-links { display: flex; align-items: center; gap: 7px; }
.registry-search-links a { padding: 7px 9px; color: #fff; background: var(--navy-900); border-radius: 7px; font-size: 8px; font-weight: 750; }
.registry-search-links small { color: var(--muted); font-size: 8px; }
.registry-verification-form { display: grid; grid-column: 1 / -1; grid-template-columns: 145px 1fr auto; gap: 8px; }
.registry-verification-form select, .registry-verification-form input { min-width: 0; height: 35px; padding: 0 9px; background: #fff; border: 1px solid #dce2ed; border-radius: 8px; font-size: 9px; }
.registry-verification-form button { height: 35px; padding: 0 13px; color: #fff; background: var(--blue); border-radius: 8px; font-size: 9px; font-weight: 750; cursor: pointer; }
.registry-checked-at { grid-column: 1 / -1; }
.member-license code { display: inline-block; padding: 8px 10px; color: var(--navy-900); background: #f6f8fc; border: 1px solid #dfe4ed; border-radius: 8px; font-size: 10px; letter-spacing: .03em; }
.member-license button { padding: 8px 10px; color: #fff; background: var(--navy-900); border-radius: 8px; font-size: 9px; font-weight: 750; cursor: pointer; }
.member-license button:disabled { color: #9aa4b6; background: #e8ecf2; cursor: not-allowed; }
.member-license > span { color: var(--muted); font-size: 9px; }
.member-empty { padding: 55px 20px; color: var(--muted); text-align: center; }
.member-access-editor { grid-column: 1 / -1; display: grid; grid-template-columns: 160px 170px auto 1fr; align-items: end; gap: 10px; margin: 3px -4px -4px; padding: 13px 14px; background: #f7f9fc; border-radius: 11px; }
.member-access-editor label { display: grid; gap: 5px; }
.member-access-editor label span { color: var(--muted); font-size: 8px; font-weight: 700; }
.member-access-editor select, .member-access-editor input { width: 100%; height: 35px; padding: 0 9px; background: #fff; border: 1px solid #dfe4ed; border-radius: 8px; font-size: 9px; }
.member-access-editor > button { height: 35px; padding: 0 13px; color: #fff; background: var(--blue); border-radius: 8px; font-size: 9px; font-weight: 750; cursor: pointer; }
.member-access-editor > small { align-self: center; color: var(--muted); font-size: 8px; }
.member-access-editor > small.expired { color: #c34d4d; font-weight: 750; }

.admin-settings { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 20px 35px; margin-bottom: 24px; }
.admin-settings h2 { margin-bottom: 5px; font-size: 18px; }
.admin-settings > div p { margin: 0; color: var(--muted); font-size: 10px; }
.admin-password-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px; }
.admin-password-form input { min-width: 0; height: 42px; padding: 0 11px; background: #f7f9fc; border: 1px solid #dfe4ed; border-radius: 9px; font-size: 10px; }
.admin-settings > .account-message { grid-column: 2; }

.profile-main { width: min(calc(100% - 40px), 1000px); min-height: 100vh; margin: 0 auto; padding: 125px 0 70px; }
.profile-head { margin-bottom: 28px; }
.profile-head h1 { margin-bottom: 8px; font-size: 38px; }
.profile-head > p:last-child { margin: 0; color: var(--ink-soft); }
.profile-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 20px; }
.profile-card { padding: 28px; background: #fff; border: 1px solid #e3e8f0; border-radius: 18px; box-shadow: 0 18px 50px rgba(14, 34, 78, .07); }
.profile-card h2 { margin-bottom: 20px; font-size: 19px; }
.password-card { grid-column: 2; }
.account-facts { display: grid; gap: 14px; margin: 0; }
.account-facts > div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid #edf0f5; }
.account-facts > div:last-child { padding-bottom: 0; border: 0; }
.account-facts dt { color: var(--muted); font-size: 10px; }
.account-facts dd { margin: 0; color: var(--ink); font-size: 11px; font-weight: 750; }
.my-license { margin-top: 24px; padding: 17px; background: #eef3ff; border: 1px solid #d6e0ff; border-radius: 12px; }
.my-license > span { display: block; margin-bottom: 7px; color: var(--blue); font-size: 9px; font-weight: 800; }
.my-license code { display: block; color: var(--navy-900); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.my-license small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; }

.account-dashboard { width: min(calc(100% - 48px), 1060px); min-height: 100vh; margin: 0 auto; padding: 124px 0 75px; }
.account-dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.account-dashboard-head h1 { margin-bottom: 8px; letter-spacing: -.045em; font-size: 40px; }
.account-dashboard-head > div > p:last-child { margin: 0; color: var(--ink-soft); font-size: 13px; }
.account-welcome { display: flex; align-items: center; gap: 11px; padding: 10px 14px; background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; }
.account-welcome > span { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), #7b91ff); border-radius: 11px; font-size: 14px; font-weight: 850; }
.account-welcome p { display: flex; margin: 0; flex-direction: column; }
.account-welcome small { color: var(--muted); font-size: 8px; }
.account-welcome strong { font-size: 11px; }
.account-overview-panel { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; margin-bottom: 22px; background: #fff; border: 1px solid #e2e7f0; border-radius: 22px; box-shadow: 0 22px 60px rgba(14, 34, 78, .08); }
.account-overview-info { padding: 38px 40px; }
.account-section-label, .account-license-panel > span { display: block; margin-bottom: 10px; color: var(--blue); letter-spacing: .14em; font-size: 8px; font-weight: 850; }
.account-overview-info h2 { margin-bottom: 12px; font-size: 25px; }
.account-overview-info p { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--ink-soft); font-size: 11px; }
.account-overview-info p b { color: var(--ink); }
.account-overview-info p i { width: 3px; height: 3px; background: #bac2d0; border-radius: 50%; }
.account-overview-info > small { color: var(--muted); font-size: 9px; }
.account-access-summary { display: flex; gap: 9px; margin: 0 0 17px; }
.account-access-summary span { padding: 7px 10px; color: var(--muted); background: #f4f6fa; border-radius: 8px; font-size: 8px; }
.account-access-summary strong { margin-left: 4px; color: var(--ink); }
.account-overview-info time { margin-left: 5px; color: var(--ink-soft); font-weight: 700; }
.account-license-panel { display: flex; padding: 32px 36px; flex-direction: column; justify-content: center; color: #fff; background: linear-gradient(135deg, #101f49, #192e68); }
.account-license-panel > span { color: #8fa8ff; }
.account-license-panel code { margin-bottom: 7px; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .05em; }
.account-license-panel small { margin-bottom: 16px; color: rgba(225, 232, 255, .68); font-size: 9px; }
.account-license-panel .button { align-self: flex-start; min-height: 38px; padding: 0 16px; background: #fff; color: var(--navy-900); box-shadow: none; font-size: 10px; }
.account-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; }
.account-settings-card { padding: 30px; background: #fff; border: 1px solid #e3e8f0; border-radius: 20px; box-shadow: 0 16px 45px rgba(14, 34, 78, .06); }
.settings-card-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 24px; }
.settings-card-head > span { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; color: var(--blue); background: #eef3ff; border-radius: 9px; font-size: 9px; font-weight: 850; }
.settings-card-head h2 { margin: 0 0 4px; font-size: 18px; }
.settings-card-head p { margin: 0; color: var(--muted); font-size: 9px; }

@media (max-width: 760px) {
    .account-card { padding: 32px 24px; }
    .admin-account-head { align-items: flex-start; flex-direction: column; gap: 20px; }
    .member-row { grid-template-columns: 1fr auto; }
    .member-row time { display: none; }
    .member-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .member-registry-verification, .registry-verification-form { grid-template-columns: 1fr; }
    .registry-search-links { align-items: flex-start; flex-wrap: wrap; }
    .registry-search-links small { width: 100%; }
    .member-access-editor { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .password-card { grid-column: auto; }
    .admin-settings { grid-template-columns: 1fr; }
    .admin-password-form { grid-template-columns: 1fr; }
    .admin-settings > .account-message { grid-column: auto; }
    .account-dashboard { width: min(calc(100% - 26px), 680px); padding-top: 100px; }
    .account-dashboard-head { align-items: flex-start; flex-direction: column; gap: 18px; }
    .account-overview-panel, .account-settings-grid { grid-template-columns: 1fr; }
    .account-overview-info, .account-license-panel { padding: 27px 24px; }
}
