html,
body {
    min-height: 100%;
}

body.shmtu-login-page {
    --shmtu-card-radius: 12px;
    --shmtu-button-radius: 8px;
    margin: 0;
    min-height: 100vh;
    color: #1f2933;
    background: #efefef;
    font-family: Roboto, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

.shmtu-login-main {
    box-sizing: border-box;
    min-height: calc(100vh - 104px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 18px 28px;
}

.shmtu-login-card {
    box-sizing: border-box;
    width: min(680px, 100%);
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: var(--shmtu-card-radius);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
    padding: 30px clamp(18px, 5vw, 40px) 32px;
}

.shmtu-login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.shmtu-login-logo {
    width: 38px;
    height: 38px;
}

.shmtu-login-brand h1 {
    margin: 0;
    color: #536dab;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
}

.shmtu-login-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 560px;
    margin: -2px auto 22px;
    border-bottom: 1px solid #d7dce5;
}

.shmtu-login-tabs--single {
    grid-template-columns: minmax(0, 1fr);
}

.shmtu-login-tab {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0 16px;
    color: #596273;
    background: transparent;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.shmtu-login-tab::after {
    position: absolute;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
    content: "";
}

.shmtu-login-tab[aria-selected="true"] {
    color: #2165a9;
}

.shmtu-login-tab[aria-selected="true"]::after {
    background: #2165a9;
}

.shmtu-login-tab:hover {
    color: #174d83;
    background: #f7f8fc;
}

.shmtu-login-tab:focus-visible {
    z-index: 1;
    outline: 2px solid #2165a9;
    outline-offset: -2px;
}

.shmtu-login-panel[hidden] {
    display: none;
}

.shmtu-login-panel form {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.shmtu-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #f2b8b5;
    border-radius: 3px;
    color: #9f1d1d;
    background: #fff1f0;
}

.shmtu-alert p {
    margin: 6px 0 0;
}

.shmtu-field {
    position: relative;
    display: block;
    margin: 16px 0;
}

.shmtu-field > span,
.shmtu-captcha-field > label {
    position: absolute;
    top: -8px;
    left: 14px;
    z-index: 1;
    padding: 0 4px;
    color: #586eaa;
    background: #fff;
    font-size: 14px;
}

.shmtu-field input {
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    border: 1px solid #aeb4bf;
    border-radius: 3px;
    padding: 0 16px;
    font-size: 18px;
    outline: none;
    background: #fff;
}

.shmtu-field input:focus {
    border-color: #526caf;
    box-shadow: 0 0 0 1px #526caf;
}

.shmtu-password-field input {
    padding-right: 76px;
}

.shmtu-password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 0;
    border-left: 1px solid #d7dce5;
    border-radius: 0 3px 3px 0;
    padding: 0;
    color: #2165a9;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
}

.shmtu-password-toggle:hover {
    color: #174d83;
    background: #f2f7fc;
}

.shmtu-password-toggle:focus-visible {
    outline: 2px solid #2165a9;
    outline-offset: 2px;
}

.shmtu-password-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shmtu-password-icon[hidden] {
    display: none;
}

.shmtu-captcha-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 148px;
    column-gap: 12px;
    align-items: start;
}

.shmtu-captcha-field[hidden] {
    display: none;
}

.shmtu-captcha-refresh {
    width: 148px;
    height: 56px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #aeb4bf;
    border-radius: 3px;
    padding: 0;
    background: #f8fafc;
    cursor: pointer;
}

.shmtu-captcha-refresh img {
    display: block;
    width: 100%;
    height: 52px;
    object-fit: contain;
}

.shmtu-captcha-refresh:hover {
    border-color: #526caf;
}

.shmtu-captcha-refresh:focus-visible {
    outline: 2px solid #526caf;
    outline-offset: 3px;
}

.shmtu-hidden-fields {
    display: none;
}

.shmtu-login-button {
    width: 100%;
    height: 42px;
    margin: 20px 0 16px;
    border: 0;
    border-radius: var(--shmtu-button-radius);
    color: #fff;
    background: #2165a9;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2);
    font-size: 16px;
    cursor: pointer;
}

.shmtu-login-button:hover,
.shmtu-login-button:focus {
    background: #174d83;
}

.shmtu-mfa-card {
    width: min(820px, 100%);
    padding: 28px 32px 30px;
}

.shmtu-mfa-heading {
    margin-bottom: 20px;
    text-align: center;
}

.shmtu-mfa-heading h2 {
    margin: 4px 0 8px;
    color: #1f2933;
    font-size: 26px;
    line-height: 1.25;
}

.shmtu-mfa-heading > p:last-child {
    margin: 0;
    color: #52606d;
    font-size: 15px;
    line-height: 1.7;
}

.shmtu-mfa-eyebrow {
    margin: 0;
    color: #536dab;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

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

.shmtu-mfa-option {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    column-gap: 16px;
    min-height: 196px;
    border: 1px solid #d5dbe6;
    border-radius: var(--shmtu-card-radius);
    padding: 20px;
    background: #fbfcff;
    box-shadow: 0 3px 12px rgba(31, 41, 51, 0.05);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.shmtu-mfa-option:hover,
.shmtu-mfa-option:focus-within {
    border-color: #536dab;
    box-shadow: 0 8px 22px rgba(52, 74, 124, 0.12);
    transform: translateY(-1px);
}

.shmtu-mfa-option-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 10px;
}

.shmtu-mfa-option-icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.shmtu-mfa-option-icon-sms {
    color: #2f6f65;
    background: #e5f4f0;
}

.shmtu-mfa-option-icon-totp {
    color: #536dab;
    background: #e9edf7;
}

.shmtu-mfa-option-copy h3 {
    margin: 1px 0 7px;
    color: #1f2933;
    font-size: 19px;
    line-height: 1.35;
}

.shmtu-mfa-option-copy p {
    margin: 0 0 9px;
    color: #52606d;
    font-size: 14px;
    line-height: 1.6;
}

.shmtu-mfa-option-copy span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 12px;
    padding: 0 10px;
    color: #5f6875;
    background: #edf0f5;
    font-size: 13px;
}

.shmtu-mfa-select-button {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    margin-top: 18px;
    border: 0;
    border-radius: var(--shmtu-button-radius);
    padding: 10px 14px 10px 16px;
    color: #fff;
    background: #536dab;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.shmtu-mfa-select-button:hover,
.shmtu-mfa-select-button:focus {
    background: #455f9e;
}

.shmtu-mfa-required-note {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 16px 0 0;
    border: 1px solid #ead5d7;
    border-radius: 8px;
    padding: 10px 12px;
    color: #5f3b40;
    background: #fffafa;
    font-size: 13px;
    line-height: 1.55;
}

.shmtu-mfa-required-note strong {
    flex: 0 0 auto;
    color: #922432;
}

.shmtu-sms-card {
    width: min(620px, 100%);
}

.shmtu-sms-actions .shmtu-login-button {
    margin-bottom: 12px;
}

.shmtu-sms-resend {
    display: block;
    margin: 0 auto;
    border: 0;
    padding: 7px 12px;
    color: #4867ad;
    background: transparent;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.shmtu-sms-resend:hover,
.shmtu-sms-resend:focus {
    color: #334e8d;
}

.shmtu-sms-resend:disabled {
    color: #7c879d;
    cursor: not-allowed;
}

.shmtu-sms-countdown {
    display: block;
    min-height: 20px;
    margin-top: 4px;
    text-align: center;
    color: #5d687c;
    font-size: 13px;
}

.shmtu-mfa-unavailable-card {
    width: min(760px, 100%);
}

.shmtu-mfa-unavailable-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.shmtu-mfa-unavailable-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    color: #9f1d1d;
    background: #fff1f0;
}

.shmtu-mfa-unavailable-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.shmtu-mfa-unavailable-content h2 {
    margin: 0 0 12px;
    color: #1f2933;
    font-size: 26px;
    line-height: 1.3;
}

.shmtu-mfa-unavailable-message {
    margin: 0;
    color: #52606d;
    font-size: 16px;
    line-height: 1.8;
}

.shmtu-mfa-unavailable-action {
    box-sizing: border-box;
    display: flex;
    width: min(320px, 100%);
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 28px auto 0;
    border-radius: var(--shmtu-button-radius);
    color: #fff;
    background: #536dab;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2);
    font-size: 16px;
    text-decoration: none;
}

.shmtu-mfa-unavailable-action:hover,
.shmtu-mfa-unavailable-action:focus {
    background: #455f9e;
}

.shmtu-mfa-unavailable-note {
    margin: 26px 0 0;
    border-top: 1px solid #d8d8d8;
    padding-top: 18px;
    color: #5f2930;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.shmtu-gauth-card {
    width: min(620px, 100%);
}

.shmtu-gauth-device {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    border: 1px solid #d8dce5;
    border-radius: 4px;
    padding: 14px 16px;
    color: #394553;
    background: #f7f8fb;
    font-size: 14px;
}

.shmtu-gauth-device-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #536dab;
    background: #e8ecf6;
}

.shmtu-gauth-device-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.shmtu-gauth-device span,
.shmtu-gauth-device strong {
    display: block;
}

.shmtu-gauth-device strong {
    margin-top: 3px;
    color: #1f2933;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.shmtu-gauth-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.shmtu-gauth-actions .shmtu-login-button {
    margin: 0;
}

.shmtu-secondary-button {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #536dab;
    border-radius: var(--shmtu-button-radius);
    color: #4867ad;
    background: #fff;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.shmtu-secondary-button:hover,
.shmtu-secondary-button:focus {
    color: #334e8d;
    background: #f3f5fa;
}

.shmtu-gauth-switch {
    margin-top: 26px;
    border-top: 1px solid #d8d8d8;
    padding-top: 20px;
    text-align: center;
}

.shmtu-gauth-switch p {
    margin: 0 0 12px;
    color: #52606d;
    font-size: 14px;
    line-height: 1.65;
}

.shmtu-gauth-switch .shmtu-secondary-button {
    width: min(300px, 100%);
    margin: 0 auto;
}

.shmtu-framework-card {
    width: min(760px, 100%);
}

.shmtu-password-change-content {
    width: 100%;
    border: 0;
    background: transparent;
    box-shadow: none !important;
}

.shmtu-password-change-content #pwdmain {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.shmtu-password-change-content #passwordManagementForm .reveal-password,
.shmtu-password-change-content #passwordManagementForm .generate-password {
    display: grid !important;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin: 0 0 0 8px;
    padding: 0;
    border-radius: 10px;
    line-height: 0;
    box-shadow: none !important;
    filter: none !important;
}

.shmtu-password-change-content #passwordManagementForm .reveal-password-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
}

.shmtu-password-change-content #passwordManagementForm .reveal-password-icon::before {
    content: none !important;
}

.shmtu-password-change-content #passwordManagementForm .reveal-password-icon.mdi-eye {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E");
}

.shmtu-password-change-content #passwordManagementForm .reveal-password-icon.mdi-eye-off {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 6.2A10.5 10.5 0 0 1 12 6c6 0 9.5 6 9.5 6a16.4 16.4 0 0 1-3.1 3.8M6.1 6.1A17 17 0 0 0 2.5 12s3.5 6 9.5 6c1.1 0 2.1-.2 3-.5'/%3E%3C/svg%3E");
}

.shmtu-password-change-content #passwordManagementForm .banner-danger {
    box-shadow: none !important;
    filter: none !important;
}

.shmtu-password-change-content #passwordManagementForm .suggestions.banner-warning {
    box-shadow: none !important;
    filter: none !important;
}

.shmtu-password-change-content #passwordManagementForm .cas-field.d-flex.flex-column {
    flex-flow: row nowrap !important;
    align-items: center;
    gap: 8px;
}

.shmtu-password-change-content #passwordManagementForm .cas-field.d-flex.flex-column > .d-flex > span:first-child {
    color: #52606d;
    font-size: 13px;
    line-height: 1.4;
}

.shmtu-password-change-content #passwordManagementForm #strengthProgressBar {
    flex: 0 1 180px;
    min-width: 100px;
    height: 10px;
    margin: 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e9ef;
}

.shmtu-password-change-content #passwordManagementForm #password-strength-icon,
.shmtu-password-change-content #passwordManagementForm #strengthProgressBar .mdc-linear-progress {
    display: none;
}

.shmtu-password-change-content #passwordManagementForm #progress-strength-indicator {
    display: block;
    height: 100%;
    border-radius: inherit;
    font-size: 0;
    line-height: 0;
    transition: width 180ms ease, background-color 180ms ease;
}

.shmtu-password-change-content #passwordManagementForm #strengthProgressBar.progress-bar-danger #progress-strength-indicator {
    background: #c9362b;
}

.shmtu-password-change-content #passwordManagementForm #strengthProgressBar.progress-bar-warning #progress-strength-indicator {
    background: #d99a16;
}

.shmtu-password-change-content #passwordManagementForm #strengthProgressBar.progress-bar-success #progress-strength-indicator {
    background: #21865a;
}

.shmtu-password-change-content #passwordManagementForm #password-policy-violation-msg strong,
.shmtu-password-change-content #passwordManagementForm #password-confirm-mismatch-msg strong {
    font-weight: 400;
}

.shmtu-password-change-content #passwordManagementForm .mdc-button {
    border-color: #2165a9;
    background: #2165a9;
}

.shmtu-password-change-content #passwordManagementForm .mdc-button:hover,
.shmtu-password-change-content #passwordManagementForm .mdc-button:focus-visible {
    border-color: #174d83;
    background: #174d83;
}

.shmtu-password-change-content #passwordManagementForm #submit:disabled,
.shmtu-password-change-content #passwordManagementForm #submit:disabled:hover,
.shmtu-password-change-content #passwordManagementForm #submit:disabled:focus {
    border-color: #c4cad3;
    color: #687383;
    background: #dfe3e8;
    box-shadow: none;
    filter: none;
    opacity: 1;
    cursor: not-allowed;
}

.shmtu-framework-content > .mdc-card,
.shmtu-framework-content > .card {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0;
    padding: 0 !important;
    background: transparent;
    box-shadow: none;
}

.shmtu-framework-content > .shmtu-account-status-panel {
    padding: 24px !important;
}

.shmtu-framework-content > .shmtu-account-status-panel--danger {
    border: 1px solid #f3b8b3 !important;
    border-left: 4px solid #b42318 !important;
    background: #fff8f7;
    box-shadow: 0 4px 12px rgba(180, 35, 24, 0.08);
}

.shmtu-framework-content > .shmtu-account-status-panel--warning {
    border: 1px solid #f0cf8a !important;
    border-left: 4px solid #b7791f !important;
    background: #fffaf0;
    box-shadow: 0 4px 12px rgba(183, 121, 31, 0.08);
}

.shmtu-account-status-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.shmtu-account-status-heading h2 {
    margin: 0;
    color: #8f1d14;
    font-size: 24px;
    line-height: 1.35;
}

.shmtu-account-status-panel--warning .shmtu-account-status-heading h2 {
    color: #8a5711;
}

.shmtu-account-status-icon {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: #b42318;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.shmtu-account-status-panel--warning .shmtu-account-status-icon {
    background: #b7791f;
}

.shmtu-account-status-message {
    margin: 0;
    padding-left: 44px;
    color: #5d2420;
    font-size: 16px;
    line-height: 1.7;
}

.shmtu-account-status-panel--warning .shmtu-account-status-message {
    color: #5f461b;
}

.shmtu-account-status-back {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 18px 0 0 44px;
    color: #536dab;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.shmtu-account-status-back::before {
    content: "←";
    margin-right: 7px;
    font-size: 17px;
}

.shmtu-account-status-back:hover,
.shmtu-account-status-back:focus-visible {
    color: #334e8d;
    text-decoration: underline;
}

.shmtu-account-status-panel > :last-child {
    margin-bottom: 0;
}

.shmtu-framework-content > #login > p:first-of-type {
    margin: 0 0 20px;
    color: #1f2933;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.shmtu-framework-content .card-text > div {
    margin-bottom: 14px;
    border: 1px solid #d8dce5 !important;
    border-radius: 4px;
    padding: 18px !important;
    background: #f8f9fb;
}

.shmtu-framework-content .card-text h4,
.shmtu-framework-content .card-text ul {
    margin: 0 0 14px;
    padding: 0;
}

.shmtu-framework-content .card-text li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 7px 0;
    color: #283442;
    font-family: Roboto, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.shmtu-framework-content .mdc-button {
    min-width: 128px;
    height: 40px;
    margin: 4px 8px 4px 0;
    border: 1px solid #536dab;
    border-radius: 12px;
    padding: 0 16px;
    color: #fff;
    background: #536dab;
    box-shadow: none;
    font-family: Roboto, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

.shmtu-framework-content .mdc-button:not(.mdc-icon-button) {
    filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.14));
}

.shmtu-print-feedback {
    margin: 10px 0 0;
    color: #52606d;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.shmtu-framework-content .mdc-button:hover,
.shmtu-framework-content .mdc-button:focus {
    color: #fff;
    background: #455f9e;
}

.shmtu-framework-content button[id^="delButton"] {
    border-color: #b4232f;
    color: #a61b27;
    background: #fff;
    box-shadow: none;
}

.shmtu-framework-content button[id^="delButton"]:hover,
.shmtu-framework-content button[id^="delButton"]:focus {
    color: #fff;
    background: #a61b27;
}

.shmtu-framework-content .mdc-dialog__surface {
    border-radius: 4px;
}

.shmtu-framework-content .mdc-dialog__title {
    color: #1f2933;
    font-family: Roboto, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

@media print {
    @page {
        margin: 12mm;
    }

    .shmtu-login-page,
    .shmtu-login-main {
        min-height: auto;
        padding: 0;
        background: #fff;
    }

    .shmtu-login-card {
        width: 100%;
        max-width: none;
        border: 0;
        padding: 0;
        box-shadow: none;
    }

    .shmtu-login-footer,
    .shmtu-print-feedback,
    .shmtu-framework-content #confirm,
    .shmtu-framework-content #print,
    .shmtu-framework-content #cancel,
    .shmtu-framework-content .mdc-dialog {
        display: none !important;
    }
}

.shmtu-login-meta {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #b8b8b8;
    padding-top: 16px;
    margin-top: 4px;
    font-size: 14px;
}

.shmtu-login-meta a,
.shmtu-security-note a,
.shmtu-login-footer a {
    color: #4867ad;
    text-decoration: underline;
}

.shmtu-login-meta strong {
    color: #b21f1f;
    font-weight: 500;
}

.shmtu-security-note {
    margin: 16px 0 0;
    color: #6c7482;
    line-height: 1.55;
    font-size: 13px;
}

.shmtu-wechat-panel {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.shmtu-wechat-frame-wrap {
    position: relative;
    box-sizing: border-box;
    width: min(302px, 100%);
    height: 230px;
    overflow: hidden;
    border: 0;
    padding-top: 16px;
    background: transparent;
}

#shmtuWechatLoginContainer {
    width: 300px;
    max-width: 100%;
    min-height: 400px;
    margin: 0 auto;
}

#shmtuWechatLoginContainer iframe {
    display: block;
    max-width: 100%;
}

.shmtu-wechat-loading {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    margin: 0;
    color: #596273;
    font-size: 15px;
}

.shmtu-wechat-loading[hidden] {
    display: none;
}

.shmtu-wechat-hint {
    margin: 0;
    color: #273142;
    font-size: 16px;
}

.shmtu-wechat-note {
    margin: 8px 0 0;
    color: #6c7482;
    font-size: 13px;
}

.shmtu-wechat-button {
    box-sizing: border-box;
    width: min(360px, 100%);
    min-height: 46px;
    border: 0;
    border-radius: var(--shmtu-button-radius);
    padding: 10px 18px;
    color: #fff;
    background: #168743;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.shmtu-wechat-error {
    width: min(460px, 100%);
    margin-top: 16px;
    border: 1px solid #e0b8b8;
    border-radius: 3px;
    padding: 12px 14px;
    color: #7d2626;
    background: #fff8f8;
}

.shmtu-wechat-error[hidden] {
    display: none;
}

.shmtu-wechat-error p {
    margin: 0;
}

.shmtu-wechat-error-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.shmtu-wechat-error-actions button,
.shmtu-wechat-error-actions a {
    border: 1px solid #536dab;
    border-radius: var(--shmtu-button-radius);
    padding: 7px 12px;
    color: #455f9e;
    background: #fff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.shmtu-wechat-error-actions button:focus-visible,
.shmtu-wechat-error-actions a:focus-visible {
    outline: 2px solid #526caf;
    outline-offset: 2px;
}

.shmtu-wechat-noscript {
    margin-top: 20px;
    border-top: 1px solid #d7dce5;
    padding-top: 20px;
    text-align: center;
}

.shmtu-wechat-noscript p {
    margin: 0 0 12px;
    color: #596273;
    font-size: 14px;
}

.shmtu-login-footer {
    box-sizing: border-box;
    min-height: 104px;
    padding: 16px 18px 18px;
    text-align: center;
    color: #6c7482;
    font-size: 13px;
    line-height: 1.35;
}

.shmtu-login-footer p {
    margin: 2px 0;
}

body.shmtu-logout-page {
    display: flex;
    flex-direction: column;
}

.shmtu-logout-main {
    box-sizing: border-box;
    flex: 1 0 auto;
    min-height: auto;
    display: flex;
    justify-content: center;
    padding: 48px 18px 20px;
}

.shmtu-logout-card {
    box-sizing: border-box;
    width: min(980px, 100%);
    align-self: flex-start;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: var(--shmtu-card-radius);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
    padding: 30px 36px 36px;
}

.shmtu-logout-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 34px;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.shmtu-logout-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: currentColor;
}

.shmtu-logout-message {
    margin: 0 0 28px;
    color: #111;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.shmtu-logout-message:last-child {
    margin-bottom: 0;
}

.shmtu-logout-message a {
    color: #286fbd;
    text-decoration: underline;
}

.shmtu-success-main {
    min-height: calc(100vh - 104px);
    display: flex;
    justify-content: center;
    padding: 48px 18px 28px;
}

.shmtu-success-card {
    box-sizing: border-box;
    width: min(980px, 100%);
    align-self: flex-start;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: var(--shmtu-card-radius);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
    padding: 28px 36px 36px;
}

.shmtu-success-header {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 20px;
    margin-bottom: 22px;
}

.shmtu-success-header h1 {
    margin: 0;
    color: #536dab;
    font-size: 30px;
    line-height: 1.2;
}

.shmtu-success-header p,
.shmtu-success-message,
.shmtu-success-data-note {
    margin: 8px 0 0;
    line-height: 1.7;
    font-size: 16px;
}

.shmtu-success-message {
    margin-top: 0;
}

.shmtu-success-security {
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 20px;
}

.shmtu-success-data {
    margin-top: 22px;
}

.shmtu-success-data h2 {
    margin: 0;
    color: #1f2933;
    font-size: 20px;
}

.shmtu-attribute-section {
    margin-top: 22px;
}

.shmtu-attribute-section h3 {
    margin: 0 0 10px;
    color: #536dab;
    font-size: 16px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.shmtu-attribute-table-wrap {
    overflow-x: auto;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
}

.shmtu-attribute-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.shmtu-attribute-table th,
.shmtu-attribute-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.shmtu-attribute-table th {
    background: #f8f9fb;
    color: #1f2933;
    font-weight: 600;
}

.shmtu-attribute-table tr:last-child td {
    border-bottom: 0;
}

.shmtu-attribute-table td:first-child {
    width: 32%;
    color: #111827;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (max-width: 640px) {
    .shmtu-login-main {
        min-height: auto;
        padding: 20px 12px;
    }

    .shmtu-login-card {
        padding: 24px 18px;
    }

    .shmtu-framework-content > .shmtu-account-status-panel {
        padding: 18px !important;
    }

    .shmtu-account-status-message {
        padding-left: 0;
    }

    .shmtu-account-status-back {
        margin-left: 0;
    }

    .shmtu-login-brand h1 {
        font-size: 30px;
    }

    .shmtu-login-tabs {
        margin-bottom: 22px;
    }

    .shmtu-login-tab {
        min-height: 44px;
        padding: 0 8px;
        font-size: 16px;
    }

    .shmtu-wechat-panel {
        min-height: 300px;
    }

    .shmtu-wechat-frame-wrap {
        height: 230px;
    }

    .shmtu-login-meta {
        align-items: flex-start;
        gap: 8px;
        flex-direction: column;
    }

    .shmtu-mfa-options {
        grid-template-columns: 1fr;
    }

    .shmtu-mfa-option {
        min-height: 0;
        padding: 20px;
    }

    .shmtu-mfa-heading h2 {
        font-size: 23px;
    }

    .shmtu-mfa-unavailable-content h2 {
        font-size: 23px;
    }

    .shmtu-gauth-actions {
        grid-template-columns: 1fr;
    }

    .shmtu-captcha-field {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .shmtu-captcha-refresh {
        justify-self: center;
    }

    .shmtu-logout-main {
        min-height: auto;
        padding: 20px 12px;
    }

    .shmtu-logout-card {
        padding: 22px 18px 26px;
    }

    .shmtu-logout-title {
        align-items: flex-start;
        margin-bottom: 24px;
        font-size: 22px;
    }

    .shmtu-logout-message {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .shmtu-success-main {
        min-height: auto;
        padding: 20px 12px;
    }

    .shmtu-success-card {
        padding: 24px 18px;
    }

    .shmtu-success-header {
        align-items: flex-start;
    }

    .shmtu-success-header h1 {
        font-size: 26px;
    }
}
