/* 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: 13px;
    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: 13px;
}

.intro-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 13px;
    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: 13px;
    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: 13px;
}

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

.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: 13px;
    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: 13px;
}

.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: 13px;
}

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

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

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

.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: 13px;
}

.security-hold p {
    margin: 3px 0 0;
    color: #866a48;
    font-size: 13px;
    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: 13px;
    font-weight: 750;
}

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

.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: 13px;
}

.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: 13px;
    font-weight: 750;
}

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

.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: 13px;
}

.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; }
.register-form .adjuster-assistant-toggle { display: flex; margin: 0 0 10px; padding: 14px; align-items: flex-start; gap: 11px; color: #40506a; background: #fff; border: 1px solid #dce4f4; border-radius: 11px; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.register-form .adjuster-assistant-toggle:hover { background: #f9fbff; border-color: #aebefd; }
.register-form .adjuster-assistant-toggle > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.register-form .adjuster-assistant-toggle > .consent-box { display: grid; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; padding: 0; place-items: center; }
.register-form .adjuster-assistant-toggle > span:last-child { display: flex; min-width: 0; margin: 0; align-items: flex-start; justify-content: flex-start; flex-direction: column; }
.register-form .adjuster-assistant-toggle strong { color: var(--ink); font-size: 13px; }
.register-form .adjuster-assistant-toggle small { margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.5; }
.register-form .adjuster-assistant-toggle > input:checked ~ span:last-child strong { color: var(--blue); }
.register-form .adjuster-assistant-toggle > input:focus-visible + .consent-box { outline: 3px solid rgba(65, 111, 255, .25); outline-offset: 2px; }
.claims-role-help { margin: 0 0 14px; padding: 10px 12px; color: #52627d; background: #eef3ff; border-radius: 9px; font-size: 13px; line-height: 1.55; }
.claims-fields.assistant-mode .claims-role-help { color: #176750; background: #eaf8f2; }
.claims-fields.assistant-mode .evidence-grid { grid-template-columns: 1fr; }
.adjuster-certificate-field[hidden] { display: none !important; }
.claims-fields input[type="file"] { height: 52px; padding: 6px 10px; color: #65718a; background: linear-gradient(135deg, #f8faff, #f2f5ff); border: 1px dashed #c7d1eb; border-radius: 11px; font-size: 13px; cursor: pointer; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.claims-fields input[type="file"]::file-selector-button { height: 36px; margin-right: 12px; padding: 0 16px; color: #fff; background: linear-gradient(135deg, var(--blue), #7685ff); border: 0; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.upload-field:hover input[type="file"] { background: #f5f7ff; border-color: var(--blue); box-shadow: 0 8px 22px rgba(83, 102, 242, .1); }
.upload-field.has-file input[type="file"] { background: #effaf5; border-color: #79caa6; }
.upload-field.has-file > span::after { content: '첨부 완료'; display: inline-flex; margin-left: 7px; padding: 3px 6px; color: #287b56; background: #ddf6e9; border-radius: 5px; font-size: 13px; font-weight: 800; }
.evidence-grid label { margin-bottom: 5px; }
.adjuster-category-field { display: grid; gap: 9px; }
.adjuster-category-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.adjuster-category-options label { margin: 0; cursor: pointer; }
.adjuster-category-options input { position: absolute; opacity: 0; pointer-events: none; }
.adjuster-category-options label > span { display: flex; min-height: 70px; padding: 13px 14px; flex-direction: column; justify-content: center; background: #f7f9fd; border: 1px solid #dfe5ef; border-radius: 11px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.adjuster-category-options label:hover > span { border-color: #aebafd; }
.adjuster-category-options input:checked + span { background: #eef1ff; border-color: var(--blue); box-shadow: 0 8px 22px rgba(83, 102, 242, .12); }
.adjuster-category-options strong { color: var(--navy-900); font-size: 13px; }
.adjuster-category-options small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.category-help { color: var(--muted); font-size: 13px; }
.category-help.error { color: #c4434d; font-weight: 750; }
.agent-document-status { display: grid; gap: 4px; margin-top: 12px; padding: 11px 12px; color: #526078; background: #f1f4fb; border: 1px solid #dfe5ef; border-radius: 10px; }
.agent-document-status strong { color: #33415c; font-size: 13px; }
.agent-document-status span { font-size: 13px; line-height: 1.55; }
.agent-document-status[data-state="ready"],
.agent-document-status[data-state="complete"] { color: #287b56; background: #effaf5; border-color: #a9ddc4; }
.agent-document-status[data-state="ready"] strong,
.agent-document-status[data-state="complete"] strong { color: #1f6d4b; }
.agent-document-status[data-state="checking"] { color: #3e5da7; background: #eef3ff; border-color: #bdcaf4; }
.agent-document-status[data-state="checking"] strong { color: #294a98; }
.agent-document-status[data-state="error"] { color: #a53a44; background: #fff3f4; border-color: #efc2c7; }
.agent-document-status[data-state="error"] strong { color: #96323c; }
.evidence-notice { margin: 8px 0 0; color: #68758c; font-size: 13px; }

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

.security-note {
    margin: 3px 0 15px;
    color: #8c97aa;
    font-size: 13px;
    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: 13px;
}

.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: 13px;
    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: 13px;
    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: 13px;
    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: 13px;
    }

    .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: 13px;
    }

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

    .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: 13px; 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: 13px; }
.account-message.error { color: #c83b3b; }
.account-message.complete { color: #14866d; }
.account-switch { margin: 20px 0 0; color: var(--muted); font-size: 13px; 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: 13px; }
.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: 13px; text-overflow: ellipsis; white-space: nowrap; }
.member-type { display: flex; align-items: flex-start; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.claims-role-badge { display: inline-flex; padding: 4px 7px; color: #3958ba; background: #edf2ff; border: 1px solid #d5dfff; border-radius: 999px; font-size: 11px; font-weight: 850; line-height: 1; }
.member-status { padding: 6px 8px; text-align: center; background: #eef2f7; border-radius: 8px; font-size: 13px; font-weight: 750; }
.member-status.pending { color: #9b661b; background: #fff4d9; }
.member-status.approved { color: #13735e; background: #e5f8f1; }
.member-status.test-approved { color: #6547ad; background: #eee8ff; }
.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: 13px; font-weight: 750; cursor: pointer; }
.member-actions .approve { color: #fff; background: var(--blue); }
.member-actions .delete { color: #b53e47; background: #fff0f1; border: 1px solid #ffd4d7; }
.member-actions .delete:hover { color: #fff; background: #c94750; border-color: #c94750; }
.member-actions button:disabled { color: #9aa4b6; background: #e8ecf2; cursor: not-allowed; }
.member-license-devices { grid-column: 1 / -1; display: grid; gap: 8px; padding: 13px 14px; background: #f5f9ff; border: 1px solid #dce9ff; border-radius: 11px; }
.license-device-head { display: flex; align-items: center; justify-content: space-between; }
.license-device-head > div { display: grid; gap: 3px; }
.license-device-head strong { color: #223451; font-size: 13px; }
.license-device-head small, .license-device-head > span { color: var(--muted); font-size: 13px; }
.license-device-row { display: grid; grid-template-columns: minmax(150px, 1.3fr) 75px 120px 140px minmax(130px, auto); align-items: center; gap: 10px; padding: 10px 11px; background: #fff; border: 1px solid #e1e8f2; border-radius: 9px; }
.license-device-row > div:first-child { display: grid; gap: 3px; }
.license-device-row strong { font-size: 13px; }
.license-device-row code, .license-device-row small { color: var(--muted); font-size: 13px; }
.device-status { justify-self: start; padding: 5px 8px; color: #5c687c; background: #edf0f4; border-radius: 999px; font-size: 13px; font-weight: 750; }
.device-status.approved { color: #087845; background: #e5f7ee; }
.device-status.pending { color: #9b6200; background: #fff3d6; }
.device-status.rejected, .device-status.revoked { color: #a33e46; background: #fff0f1; }
.license-device-actions { display: flex; justify-content: flex-end; gap: 6px; }
.license-device-actions button { padding: 7px 9px; color: var(--ink-soft); background: #eef1f5; border-radius: 7px; font-size: 13px; font-weight: 750; cursor: pointer; }
.license-device-actions button.approve { color: #fff; background: var(--blue); }
.license-device-actions button.danger { color: #fff; background: #bd3f49; }
.license-device-actions button:disabled { opacity: .55; cursor: not-allowed; }
.license-device-row.removal-requested { background: #fffaf0; border-color: #edcf91; }
.license-device-row.removal-requested .device-status { color: #895800; background: #fff0c9; }
.license-device-empty { margin: 0; color: var(--muted); font-size: 13px; }

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

.member-documents strong { color: var(--ink); }
.member-documents .document-not-required { padding: 7px 10px; color: #667187; background: #eef1f5; border-radius: 7px; font-weight: 750; }
.member-identity .member-affiliation { display: block; margin-top: 4px; color: var(--blue); font-size: 13px; font-weight: 750; }
.member-identity .member-contact { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.member-category-badges { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.member-category-badges span { padding: 4px 7px; color: var(--blue); background: #eef1ff; border-radius: 6px; font-size: 13px; font-weight: 800; }
.member-affiliation-editor { display: flex; grid-column: 1 / -1; align-items: end; gap: 8px; padding: 12px 14px; background: #f7f9fc; border: 1px solid #e2e7f0; border-radius: 10px; }
.member-affiliation-editor label { flex: 1; }
.member-affiliation-editor label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 750; }
.member-affiliation-editor input { width: 100%; height: 35px; padding: 0 10px; background: #fff; border: 1px solid #dce2ed; border-radius: 8px; font-size: 13px; }
.member-affiliation-editor button { height: 35px; padding: 0 13px; color: #fff; background: var(--blue); border: 0; border-radius: 8px; font-size: 13px; font-weight: 750; cursor: pointer; }
.member-documents a { padding: 7px 10px; color: var(--blue); background: #fff; border: 1px solid #dce2f5; border-radius: 7px; font-weight: 750; }
.member-agent-number-editor { display: grid; grid-column: 1 / -1; gap: 11px; padding: 15px; background: #f7f9ff; border: 1px solid #dce5ff; border-radius: 12px; }
.agent-number-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.agent-number-heading > div { display: grid; gap: 4px; }
.agent-number-heading strong { color: var(--ink); font-size: 13px; }
.agent-number-heading small { color: var(--muted); font-size: 13px; }
.registry-status.unregistered { color: #5f6c82; background: #e9edf4; }
.agent-number-fields { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; align-items: end; gap: 8px; }
.agent-number-fields label { display: grid; gap: 6px; min-width: 0; }
.agent-number-fields label span { color: var(--muted); font-size: 13px; font-weight: 750; }
.agent-number-fields input { width: 100%; min-width: 0; height: 38px; padding: 0 10px; background: #fff; border: 1px solid #dce2ed; border-radius: 8px; font-size: 13px; letter-spacing: .03em; }
.agent-number-fields a, .agent-number-fields button { display: inline-flex; height: 38px; padding: 0 12px; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.agent-number-fields a { color: #fff; background: var(--navy-900); }
.agent-number-fields button { color: #fff; background: var(--blue); border: 0; cursor: pointer; }
.agent-number-fields button:disabled { opacity: .58; cursor: wait; }
.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: 13px; }
.registry-verification-head > div span, .registry-checked-at { color: var(--muted); font-size: 13px; }
.registry-status { flex: 0 0 auto; padding: 6px 8px; color: #7b6230; background: #fff1ce; border-radius: 7px; font-size: 13px; font-weight: 800; }
.registry-status.matched { color: #13735e; background: #dff6ed; }
.registry-status.test-approved { color: #6547ad; background: #eee8ff; }
.registry-status.mismatched { color: #a33b3b; background: #fdeaea; }
.claims-verification-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.claims-verification-summary span { display: grid; min-width: 0; gap: 3px; padding: 9px 10px; color: #4f5c72; background: #fff; border: 1px solid #e2e7ef; border-radius: 8px; font-size: 12px; line-height: 1.45; }
.claims-verification-summary b { color: #758198; font-size: 11px; }
.claims-verification-summary small { overflow-wrap: anywhere; color: #778398; font-size: 11px; font-style: normal; }
.registry-approval-source { display: block; color: #657188; font-size: 12px; line-height: 1.5; }
.registry-approval-source.auto-approved { padding: 8px 10px; color: #11684f; background: #e7f8f1; border: 1px solid #bfe8d8; border-radius: 8px; font-weight: 800; }
.registry-search-links { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.registry-search-links a { padding: 7px 9px; color: #fff; background: var(--navy-900); border-radius: 7px; font-size: 13px; font-weight: 750; }
.registry-search-links .registry-auto-lookup { padding: 7px 10px; color: #fff; background: var(--blue); border: 0; border-radius: 7px; font-size: 13px; font-weight: 800; cursor: pointer; }
.registry-search-links .registry-auto-lookup:disabled { opacity: .55; cursor: wait; }
.registry-search-links small { flex: 1 1 240px; color: var(--muted); font-size: 13px; }
.registry-assistant-lookup { display: grid; flex: 1 1 100%; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 7px; padding-top: 3px; }
.registry-assistant-lookup label { display: grid; min-width: 0; gap: 5px; }
.registry-assistant-lookup label span { color: var(--muted); font-size: 12px; font-weight: 750; }
.registry-assistant-lookup input { width: 100%; min-width: 0; height: 35px; padding: 0 9px; background: #fff; border: 1px solid #dce2ed; border-radius: 8px; font-size: 13px; letter-spacing: .03em; }
.registry-assistant-lookup > small { grid-column: 1 / -1; width: auto; flex: none; font-size: 12px; }
.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: 13px; }
.registry-verification-form button { height: 35px; padding: 0 13px; color: #fff; background: var(--blue); border-radius: 8px; font-size: 13px; font-weight: 750; cursor: pointer; }
.registry-verification-disabled select, .registry-verification-disabled input, .registry-verification-disabled button { color: #8590a3; background: #e9edf4; cursor: not-allowed; }
.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: 13px; letter-spacing: .03em; }
.member-license button { padding: 8px 10px; color: #fff; background: var(--navy-900); border-radius: 8px; font-size: 13px; font-weight: 750; cursor: pointer; }
.member-license button:disabled { color: #9aa4b6; background: #e8ecf2; cursor: not-allowed; }
.member-license > span { color: var(--muted); font-size: 13px; }
.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: 13px; 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: 13px; }
.member-access-editor > button { height: 35px; padding: 0 13px; color: #fff; background: var(--blue); border-radius: 8px; font-size: 13px; font-weight: 750; cursor: pointer; }
.member-access-editor > small { align-self: center; color: var(--muted); font-size: 13px; }
.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: 13px; }
.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: 13px; }
.admin-member-filter { display: grid; grid-template-columns: minmax(260px, auto) repeat(2, minmax(150px, 1fr)) auto auto; align-items: end; gap: 8px; }
.member-type-filter { display: flex; align-self: end; gap: 5px; height: 42px; padding: 4px; background: #f0f3f9; border-radius: 10px; }
.member-type-filter label { flex: 1; cursor: pointer; }
.member-type-filter input { position: absolute; opacity: 0; pointer-events: none; }
.member-type-filter span { display: flex; height: 34px; padding: 0 12px; align-items: center; justify-content: center; color: var(--muted); border-radius: 7px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.member-type-filter input:checked + span { color: #fff; background: var(--blue); box-shadow: 0 5px 14px rgba(83, 102, 242, .22); }
.admin-member-filter label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 750; }
.admin-member-filter .member-type-filter span { display: flex; height: 34px; margin: 0; padding: 0 12px; align-items: center; justify-content: center; border-radius: 7px; font-weight: 800; }
.admin-member-filter .member-type-filter input:checked + span { color: #fff; background: var(--blue); }
.admin-member-filter input { width: 100%; min-width: 0; height: 42px; padding: 0 12px; background: #f7f9fc; border: 1px solid #dfe4ed; border-radius: 9px; font-size: 13px; }
.admin-member-filter button { height: 42px; }
.admin-member-filter .filter-reset { color: var(--navy-900); background: #eef1f7; box-shadow: none; }
.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; }
.admin-management-tabs { display: inline-flex; gap: 6px; margin: 0 0 14px; padding: 6px; background: #e9edf5; border: 1px solid #dfe5ef; border-radius: 14px; }
.admin-management-tabs button { display: flex; min-width: 170px; min-height: 44px; padding: 9px 13px; align-items: center; justify-content: center; gap: 9px; color: var(--ink-soft); background: transparent; border: 0; border-radius: 10px; font-size: 13px; font-weight: 800; cursor: pointer; }
.admin-management-tabs button.active { color: var(--ink); background: #fff; box-shadow: 0 6px 18px rgba(20, 36, 76, .09); }
.admin-management-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.admin-management-tabs strong { display: grid; min-width: 23px; height: 23px; padding: 0 6px; place-items: center; color: #fff; background: var(--blue); border-radius: 999px; font-size: 13px; }
.admin-management-tabs button:not(.active) strong { color: #5c687c; background: #d6dce7; }
.admin-main > .account-message { margin: 0 0 10px; }
[data-admin-panel][hidden] { display: none; }
.device-approval-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 16px; padding: 25px 28px; }
.device-approval-intro h2 { margin: 2px 0 5px; font-size: 19px; }
.device-approval-intro > div:first-child > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.device-approval-count { display: flex; min-width: 120px; min-height: 72px; padding: 12px 17px; align-items: baseline; justify-content: center; color: var(--blue); background: #eef3ff; border-radius: 13px; }
.device-approval-count span { align-self: center; margin-right: 9px; color: var(--muted); font-size: 13px; }
.device-approval-count strong { font-size: 27px; line-height: 1; }
.device-approval-count small { margin-left: 3px; font-size: 13px; font-weight: 800; }
.device-approval-list { display: grid; gap: 13px; }
.device-approval-card { overflow: hidden; background: #fff; border: 1px solid #dfe6f1; border-radius: 17px; box-shadow: 0 14px 38px rgba(14, 34, 78, .065); }
.device-approval-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 18px 20px 15px; border-bottom: 1px solid #edf0f5; }
.device-request-member { display: grid; min-width: 0; grid-template-columns: auto 1fr; align-items: center; gap: 3px 8px; }
.device-request-member > span { grid-row: 1 / span 2; padding: 6px 8px; color: var(--blue); background: #eef3ff; border-radius: 7px; font-size: 13px; font-weight: 800; }
.device-request-member > strong { font-size: 13px; }
.device-request-member > small { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.device-request-meta { display: grid; grid-template-columns: auto auto; justify-items: end; gap: 2px 8px; }
.device-request-meta span { color: var(--muted); font-size: 13px; }
.device-request-meta time { color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.device-request-meta code { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.device-change-comparison { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; gap: 10px; padding: 17px 20px; }
.device-change-comparison section { display: grid; min-height: 102px; padding: 14px 15px; align-content: center; gap: 5px; background: #f7f9fc; border: 1px solid #e2e7ef; border-radius: 12px; }
.device-change-comparison section.requested { background: #f1f5ff; border-color: #cfdcff; }
.device-change-comparison section > span { color: var(--muted); font-size: 13px; font-weight: 800; }
.device-change-comparison section.requested > span { color: var(--blue); }
.device-change-comparison section strong { font-size: 13px; }
.device-change-comparison section code, .device-change-comparison section small { color: var(--muted); font-size: 13px; }
.device-change-comparison > i { display: grid; width: 32px; height: 32px; margin: auto; place-items: center; color: var(--blue); background: #edf2ff; border-radius: 50%; font-size: 15px; font-style: normal; font-weight: 850; }
.device-change-comparison section.current-devices { align-content: start; }
.device-current-list { display: grid; gap: 7px; margin-top: 3px; }
.device-current-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 9px; padding: 9px 10px; background: #fff; border: 1px solid #e1e6ef; border-radius: 9px; }
.device-current-item > span { grid-column: 1 / -1; color: #68758a; font-size: 11px; font-weight: 800; }
.device-current-item strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-current-item code { justify-self: end; }
.device-current-item small { grid-column: 1 / -1; }
.device-current-item.removal-target { background: #fff8e8; border-color: #e9c36f; box-shadow: inset 3px 0 #d49516; }
.device-current-item.removal-target > span { color: #98600a; }
.device-current-empty { display: grid; gap: 5px; padding: 13px; color: var(--muted); background: #fff; border: 1px dashed #d7dde7; border-radius: 9px; }
.device-change-comparison section.removal-result { background: #fff5f5; border-color: #efcccc; }
.device-change-comparison section.removal-result > span { color: #a23d46; }
.device-approval-card.approval-blocked { border-color: #e7c77f; }
.device-approval-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 20px 17px; }
.device-approval-actions p { margin: 0; color: var(--muted); font-size: 13px; }
.device-approval-actions p.attention { color: #8c5a08; font-weight: 750; }
.device-approval-actions > div { display: flex; flex: 0 0 auto; gap: 7px; }
.device-approval-actions button { min-height: 36px; padding: 0 13px; color: #a33e46; background: #fff0f1; border: 1px solid #ffd8dc; border-radius: 8px; font-size: 13px; font-weight: 800; cursor: pointer; }
.device-approval-actions button.approve { color: #fff; background: var(--blue); border-color: var(--blue); }
.device-approval-actions button.danger { color: #fff; background: #bd3f49; border-color: #bd3f49; }
.device-approval-actions button:focus-visible, .license-device-actions button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.device-approval-actions button:disabled { opacity: .55; cursor: not-allowed; }
.device-approval-empty { display: grid; min-height: 190px; padding: 35px; place-content: center; gap: 7px; color: var(--muted); text-align: center; background: #fff; border: 1px solid #e3e8f0; border-radius: 17px; box-shadow: 0 14px 38px rgba(14, 34, 78, .05); }
.device-approval-empty strong { color: var(--ink-soft); font-size: 13px; }
.device-approval-empty span { font-size: 13px; }
.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: 13px; }
.account-facts dd { margin: 0; color: var(--ink); font-size: 13px; 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: 13px; 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: 13px; }

.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: 13px; }
.account-welcome strong { font-size: 13px; }
.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: 13px; 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: 13px; }
.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: 13px; }
.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: 13px; }
.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-value { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.account-license-panel code { overflow-wrap: anywhere; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .05em; }
.account-license-value button { flex: 0 0 auto; padding: 6px 10px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); border-radius: 7px; font-size: 13px; font-weight: 800; cursor: pointer; }
.account-license-value button:hover { background: rgba(255, 255, 255, .2); }
.account-license-panel small { margin-bottom: 16px; color: rgba(225, 232, 255, .68); font-size: 13px; }
.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: 13px; }
.account-device-card { margin-bottom: 22px; padding: 32px; background: #fff; border: 1px solid #e2e7f0; border-radius: 22px; box-shadow: 0 18px 52px rgba(14, 34, 78, .07); }
.account-device-card[hidden] { display: none !important; }
.account-device-card[aria-busy="true"] { opacity: .78; }
.account-device-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.account-device-card-head h2 { margin: 0 0 6px; font-size: 22px; }
.account-device-card-head > div:first-child > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.account-device-capacity { display: flex; min-width: 150px; min-height: 74px; padding: 13px 18px; align-items: baseline; justify-content: center; color: var(--blue); background: #eef3ff; border-radius: 14px; }
.account-device-capacity > span { align-self: center; margin-right: 10px; color: var(--muted); font-size: 12px; font-weight: 750; }
.account-device-capacity strong { font-size: 29px; line-height: 1; }
.account-device-capacity small { margin-left: 4px; font-size: 13px; font-weight: 850; }
.account-device-notice { display: flex; margin-bottom: 13px; padding: 13px 15px; align-items: center; gap: 9px; color: #4e607b; background: #f5f7fb; border: 1px solid #e2e7f0; border-radius: 11px; }
.account-device-notice strong { flex: 0 0 auto; color: var(--ink-soft); font-size: 13px; }
.account-device-notice span { font-size: 12px; line-height: 1.55; }
.account-device-notice[data-state="attention"] { color: #7c570e; background: #fff8e8; border-color: #ecd49a; }
.account-device-notice[data-state="attention"] strong { color: #8d5c06; }
.account-device-notice[data-state="selected"] { color: #6e551b; background: #fffaf0; border-color: #ead29e; }
.account-device-notice[data-state="selected"] strong { color: #8b5900; }
.account-device-notice[data-state="available"] { color: #236856; background: #effaf6; border-color: #c7e8dd; }
.account-device-notice[data-state="available"] strong { color: #0c745a; }
.account-device-list { display: grid; gap: 9px; }
.account-device-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) auto minmax(255px, 1fr) auto; align-items: center; gap: 14px; padding: 14px 15px; background: #f9fafc; border: 1px solid #e2e7ef; border-radius: 12px; }
.account-device-row.pending { background: #f5f8ff; border-color: #d7e1fb; }
.account-device-row.removal-requested { background: #fff9ed; border-color: #e8ca87; box-shadow: inset 3px 0 #d39719; }
.account-device-identity { display: grid; min-width: 0; gap: 4px; }
.account-device-identity strong { overflow: hidden; color: var(--ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.account-device-identity code { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-device-status { justify-self: start; padding: 6px 9px; color: #0b7357; background: #e8f7f1; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.account-device-row.pending .account-device-status { color: #8e610d; background: #fff0cc; }
.account-device-row.removal-requested .account-device-status { color: #955f08; background: #ffedc2; }
.account-device-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.account-device-dates span { display: grid; gap: 2px; }
.account-device-dates b { color: var(--muted); font-size: 11px; font-weight: 750; }
.account-device-dates time { color: var(--ink-soft); font-size: 12px; }
.account-device-action { display: flex; justify-content: flex-end; }
.account-device-action button { min-height: 36px; padding: 0 12px; color: #a23d46; background: #fff0f1; border: 1px solid #ffd4d8; border-radius: 8px; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.account-device-action button.cancel { color: #5a6476; background: #eef1f5; border-color: #dde2ea; }
.account-device-action button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.account-device-action button:disabled { opacity: .5; cursor: not-allowed; }
.account-device-waiting { color: var(--muted); font-size: 12px; white-space: nowrap; }
.account-device-empty { display: grid; min-height: 110px; place-content: center; gap: 6px; color: var(--muted); text-align: center; background: #f8fafc; border: 1px dashed #d8dee8; border-radius: 12px; }
.account-device-empty strong { color: var(--ink-soft); font-size: 14px; }
.account-device-empty span { font-size: 12px; }
.account-device-message { margin: 12px 0 0; }
.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: 13px; 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: 13px; }
.account-agent-card { margin-bottom: 22px; padding: 32px; background: #fff; border: 1px solid #e2e7f0; border-radius: 22px; box-shadow: 0 18px 52px rgba(14, 34, 78, .07); }
.account-agent-card[hidden] { display: none !important; }
.account-agent-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.account-agent-card-head h2 { margin: 0 0 6px; font-size: 22px; }
.account-agent-card-head > div:first-child > p { margin: 0; color: var(--muted); font-size: 13px; }
.account-agent-status { display: grid; min-width: 285px; gap: 4px; padding: 14px 16px; color: #526078; background: #f5f7fb; border: 1px solid #e3e8f0; border-radius: 13px; }
.account-agent-status strong { font-size: 14px; }
.account-agent-status span { font-size: 12px; line-height: 1.55; }
.account-agent-status[data-state="processing"], .account-agent-status[data-state="loading"] { color: #815d13; background: #fff8e8; border-color: #f0daa2; }
.account-agent-status[data-state="matched"] { color: #0f725d; background: #eefaf6; border-color: #bee8da; }
.account-agent-status[data-state="mismatched"] { color: #a32e2e; background: #fff3f3; border-color: #f0c6c6; }
.account-agent-status[data-state="admin_review"], .account-agent-status[data-state="unavailable"] { color: #315d9e; background: #f0f5ff; border-color: #cbdaf4; }
.account-agent-official { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.account-agent-official > div { padding: 18px; background: #f7f9fc; border: 1px solid #e3e8f0; border-radius: 14px; }
.account-agent-official span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 750; }
.account-agent-official output { display: block; overflow-wrap: anywhere; color: var(--ink); font-size: 17px; font-weight: 850; }
.account-agent-official small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.account-agent-form { display: grid; gap: 20px; }
.account-agent-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.account-agent-form legend, .account-agent-password > span { margin-bottom: 6px; color: #35425a; font-size: 14px; font-weight: 850; }
.account-agent-documents > p { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.account-agent-document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.account-agent-upload { display: grid; min-width: 0; gap: 11px; padding: 16px; background: #fbfcfe; border: 1px solid #dfe5ef; border-radius: 13px; cursor: pointer; }
.account-agent-upload:hover { border-color: #b8c8eb; }
.account-agent-upload:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(68, 104, 255, .12); }
.account-agent-upload > span { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.account-agent-upload strong { color: #35425a; font-size: 13px; }
.account-agent-upload em { flex: 0 0 auto; color: #7b879a; font-size: 11px; font-style: normal; font-weight: 750; }
.account-agent-upload em[data-present="true"] { color: #14866d; }
.account-agent-upload input { width: 100%; color: #536078; font-size: 12px; }
.account-agent-upload input::file-selector-button { margin-right: 8px; padding: 7px 9px; color: #3857b8; background: #eef3ff; border: 0; border-radius: 7px; font-weight: 750; cursor: pointer; }
.account-agent-upload small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.account-agent-consents { display: grid; gap: 10px; padding: 17px !important; background: #f7f9fc; border: 1px solid #e3e8f0 !important; border-radius: 13px; }
.account-agent-consents > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.account-agent-consents label { display: flex; align-items: flex-start; gap: 9px; color: #445169; font-size: 12px; line-height: 1.55; }
.account-agent-consents input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--blue); }
.account-agent-consents a { flex: 0 0 auto; color: var(--blue); font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.account-agent-password { display: grid; width: min(100%, 430px); gap: 7px; }
.account-agent-password input { width: 100%; height: 48px; padding: 0 14px; background: #f7f9fc; border: 1px solid #dfe4ed; border-radius: 10px; }
.account-agent-password input[disabled] { color: #8b96a8; background: #eef1f5; }
.account-agent-password small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.account-agent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.account-agent-actions .button { min-height: 44px; }
.account-agent-action-help { margin: -8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.download-main { width: min(calc(100% - 48px), 1060px); min-height: 100vh; margin: 0 auto; padding: 124px 0 75px; }
.download-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.download-head h1 { margin: 0 0 10px; letter-spacing: -.045em; font-size: 42px; line-height: 1.18; }
.download-head > div > p:last-child { margin: 0; color: var(--ink-soft); font-size: 13px; }
.download-user { display: grid; min-width: 180px; gap: 3px; padding: 13px 16px; background: #fff; border: 1px solid #e3e8f0; border-radius: 13px; }
.download-user small { color: var(--muted); font-size: 13px; }
.download-user strong { font-size: 13px; }
.download-program-card { display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; background: #fff; border: 1px solid #e2e7f0; border-radius: 24px; box-shadow: 0 24px 70px rgba(14, 34, 78, .1); }
.download-program-visual { position: relative; display: flex; min-height: 400px; padding: 42px; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #0a173a, #1a347a); }
.download-program-visual::before, .download-program-visual::after { position: absolute; content: ""; border-radius: 50%; filter: blur(3px); }
.download-program-visual::before { width: 260px; height: 260px; right: -90px; top: -80px; background: rgba(76, 111, 255, .38); }
.download-program-visual::after { width: 190px; height: 190px; left: -80px; bottom: -80px; background: rgba(67, 212, 180, .18); }
.download-program-visual > span { position: relative; z-index: 1; color: #9eb2ff; letter-spacing: .16em; font-size: 13px; font-weight: 850; }
.download-program-visual > strong { position: relative; z-index: 1; margin-top: -4px; letter-spacing: -.06em; font-size: 72px; line-height: 1; }
.download-program-visual > i { position: relative; z-index: 1; width: 56px; height: 4px; margin: 25px 0 15px; background: var(--mint); border-radius: 10px; }
.download-program-visual > small { position: relative; z-index: 1; color: rgba(224, 232, 255, .62); letter-spacing: .13em; font-size: 13px; }
.download-program-info { display: flex; padding: 44px; flex-direction: column; justify-content: center; }
.download-program-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.download-program-top > span { color: var(--blue); font-size: 13px; font-weight: 850; }
.download-program-top > em { padding: 6px 9px; color: #8a6220; background: #fff1d6; border-radius: 999px; font-size: 13px; font-style: normal; font-weight: 800; }
.download-program-top > em.available { color: #087845; background: #e5f7ee; }
.download-program-info h2 { margin: 0 0 10px; letter-spacing: -.025em; font-size: 27px; }
.download-program-info > p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.download-ready { margin-top: 26px; }
.download-ready dl { display: grid; grid-template-columns: .55fr 1.45fr .55fr .7fr; margin: 0 0 18px; padding: 14px 0; border-top: 1px solid #e8ecf3; border-bottom: 1px solid #e8ecf3; }
.download-ready dl > div { display: grid; gap: 3px; padding: 0 12px; border-right: 1px solid #e8ecf3; }
.download-ready dl > div:first-child { padding-left: 0; }
.download-ready dl > div:last-child { border: 0; }
.download-ready dt { color: var(--muted); font-size: 13px; }
.download-ready dd { overflow: hidden; margin: 0; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 750; }
.download-action { display: inline-flex; min-height: 44px; padding: 0 18px; align-items: center; }
.download-release-notes { margin: -6px 0 17px; padding: 11px 13px; color: var(--ink-soft); background: #f5f7fb; border-radius: 9px; font-size: 13px; white-space: pre-wrap; }
.download-pending { margin-top: 25px; padding: 17px; background: #f5f7fb; border: 1px solid #e3e8f0; border-radius: 12px; }
.download-pending strong { font-size: 13px; }
.download-pending p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.download-notice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.download-notice-grid article { display: flex; gap: 12px; padding: 18px; background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; }
.download-notice-grid article > span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; color: var(--blue); background: #eef3ff; border-radius: 8px; font-size: 13px; font-weight: 850; }
.download-notice-grid strong { display: block; margin-bottom: 3px; font-size: 13px; }
.download-notice-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.download-admin-main { width: min(calc(100% - 48px), 1240px); min-height: 100vh; margin: 0 auto; padding: 118px 0 75px; }
.download-admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 20px; }
.download-admin-head h1 { margin: 0 0 7px; letter-spacing: -.04em; font-size: 38px; }
.download-admin-head > div > p:last-child { margin: 0; color: var(--ink-soft); font-size: 13px; }
.download-admin-head > small { padding: 8px 11px; color: var(--blue); background: #eef3ff; border-radius: 8px; font-size: 13px; font-weight: 800; }
.download-admin-main > .account-message { min-height: 22px; margin: 0 0 10px; }
.download-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 17px; }
.download-admin-card { overflow: hidden; background: #fff; border: 1px solid #e2e7f0; border-radius: 18px; box-shadow: 0 16px 45px rgba(14, 34, 78, .07); }
.download-admin-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 24px 24px 18px; background: linear-gradient(145deg, #101f49, #1b3578); }
.download-admin-card-head span { color: #91a9ff; letter-spacing: .12em; font-size: 13px; font-weight: 850; }
.download-admin-card-head h2 { margin: 3px 0 0; color: #fff; font-size: 20px; }
.download-admin-card-head em { padding: 5px 8px; color: #d2d9eb; background: rgba(255,255,255,.1); border-radius: 999px; font-size: 13px; font-style: normal; font-weight: 800; }
.download-admin-card-head em.available { color: #5fe2bd; background: rgba(49, 206, 167, .15); }
.download-current { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 19px 24px 8px; gap: 12px; }
.download-current > div { min-width: 0; }
.download-current dt { color: var(--muted); font-size: 13px; }
.download-current dd { overflow: hidden; margin: 2px 0 0; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.download-admin-card > p { min-height: 52px; margin: 6px 24px 17px; padding: 11px; color: var(--ink-soft); background: #f5f7fb; border-radius: 9px; font-size: 13px; white-space: pre-wrap; }
.download-upload-form { display: grid; gap: 12px; padding: 20px 24px 24px; border-top: 1px solid #edf0f5; }
.download-upload-form label > span { display: block; margin-bottom: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.download-upload-form input[type="text"], .download-upload-form textarea { width: 100%; padding: 10px 11px; background: #f7f9fc; border: 1px solid #dfe4ed; border-radius: 8px; font-size: 13px; }
.download-upload-form textarea { resize: vertical; }
.download-file-field { padding: 11px; background: #f7f9fc; border: 1px dashed #cbd5e5; border-radius: 9px; }
.download-file-field input { width: 100%; font-size: 13px; }
.download-upload-form .button { width: 100%; min-height: 42px; justify-content: center; }
.download-admin-notice { display: flex; gap: 18px; margin-top: 18px; padding: 17px 20px; background: #fff; border: 1px solid #e3e8f0; border-radius: 13px; }
.download-admin-notice strong { flex: 0 0 auto; color: var(--blue); font-size: 13px; }
.download-admin-notice p { margin: 0; color: var(--muted); font-size: 13px; }
.download-admin-notice code { color: var(--ink); font-weight: 750; }

@media (max-width: 760px) {
    .account-card { padding: 32px 24px; }
    .admin-account-head { align-items: flex-start; flex-direction: column; gap: 20px; }
    .admin-management-tabs { display: flex; width: 100%; }
    .admin-management-tabs button { min-width: 0; flex: 1; padding-inline: 8px; }
    .device-approval-intro { align-items: stretch; flex-direction: column; gap: 18px; }
    .device-approval-count { min-height: 58px; }
    .device-approval-card-head { align-items: stretch; flex-direction: column; gap: 12px; }
    .device-request-meta { justify-items: start; }
    .device-change-comparison { grid-template-columns: 1fr; }
    .device-change-comparison > i { transform: rotate(90deg); }
    .device-current-item { grid-template-columns: 1fr; }
    .device-current-item code { justify-self: start; }
    .device-approval-actions { align-items: stretch; flex-direction: column; }
    .device-approval-actions > div { width: 100%; }
    .device-approval-actions button { min-height: 42px; flex: 1; }
    .member-row { grid-template-columns: 1fr auto; }
    .member-row time { display: none; }
    .member-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .license-device-row { grid-template-columns: 1fr auto; }
    .license-device-row > small { display: none; }
    .license-device-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .agent-number-heading { align-items: flex-start; }
    .agent-number-fields { grid-template-columns: 1fr; }
    .agent-number-fields a, .agent-number-fields button { width: 100%; }
    .member-registry-verification, .registry-verification-form { grid-template-columns: 1fr; }
    .claims-verification-summary { grid-template-columns: 1fr; }
    .registry-search-links { align-items: flex-start; flex-wrap: wrap; }
    .registry-search-links small { width: 100%; }
    .registry-assistant-lookup { width: 100%; grid-template-columns: 1fr; }
    .registry-assistant-lookup .registry-auto-lookup { width: 100%; }
    .registry-assistant-lookup > small { grid-column: auto; }
    .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-member-filter { grid-template-columns: 1fr; }
    .member-affiliation-editor { align-items: stretch; flex-direction: column; }
    .adjuster-category-options { 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; }
    .account-device-card { padding: 25px 21px; }
    .account-device-card-head { flex-direction: column; gap: 16px; }
    .account-device-capacity { width: 100%; min-height: 60px; }
    .account-device-notice { align-items: flex-start; flex-direction: column; }
    .account-device-row { grid-template-columns: 1fr auto; gap: 11px; }
    .account-device-dates { grid-column: 1 / -1; }
    .account-device-action { grid-column: 1 / -1; justify-content: stretch; }
    .account-device-action button { width: 100%; min-height: 42px; }
    .account-agent-card { padding: 25px 21px; }
    .account-agent-card-head { flex-direction: column; gap: 16px; }
    .account-agent-status { width: 100%; min-width: 0; }
    .account-agent-official, .account-agent-document-grid { grid-template-columns: 1fr; }
    .account-agent-consents > div { flex-direction: column; gap: 6px; }
    .account-agent-actions { align-items: stretch; flex-direction: column; }
    .account-agent-actions .button { width: 100%; }
    .download-main { width: min(calc(100% - 26px), 680px); padding-top: 100px; }
    .download-head { align-items: flex-start; flex-direction: column; gap: 18px; }
    .download-head h1 { font-size: 34px; }
    .download-program-card { grid-template-columns: 1fr; }
    .download-program-visual { min-height: 230px; padding: 30px; }
    .download-program-visual > strong { font-size: 56px; }
    .download-program-info { padding: 28px 23px; }
    .download-ready dl, .download-notice-grid { grid-template-columns: 1fr; }
    .download-ready dl > div { padding: 9px 0; border-right: 0; border-bottom: 1px solid #e8ecf3; }
    .download-ready dl > div:last-child { border-bottom: 0; }
    .download-admin-main { width: min(calc(100% - 26px), 680px); padding-top: 96px; }
    .download-admin-head { align-items: flex-start; flex-direction: column; gap: 14px; }
    .download-admin-grid { grid-template-columns: 1fr; }
    .download-admin-notice { flex-direction: column; gap: 5px; }
}

@media (min-width: 761px) { .member-type-options-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.admin-member-filter { grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto; }
.admin-member-filter .member-type-filter { grid-column: 1 / -1; min-width: 0; height: auto; flex-wrap: wrap; }
@media (max-width: 760px) {
    .admin-member-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-member-filter .member-type-filter span { padding: 0 7px; }
}
