/* 2026-11-22 05:14：所有选择器只作用于未登录组件，避免改变原有后台页面。 */
.institution-entry { min-height: 100svh; color: #0b2144; background: #f2f7fd url('../images/entry/institution-background.png') center / cover no-repeat; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
.entry-header { display: flex; justify-content: space-between; align-items: center; padding: 32px 3.6%; }
.entry-brand { display: flex; align-items: center; gap: 20px; }
.entry-brand img { object-fit: contain; }
.entry-brand strong { display: block; font-size: 28px; line-height: 1.5; }
.entry-brand span { display: block; font-size: 18px; color: #536383; }
.entry-return { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px; font-size: 20px; color: #0b2144; text-decoration: none; }
.entry-return svg { width: 28px; height: 28px; }
.entry-content { display: grid; grid-template-columns: 1fr 1fr; width: min(1160px, 90%); margin: 64px auto 0; padding-bottom: 90px; }
.entry-login { padding: 0 80px 0 16px; }
.entry-hero-icon { display: block; object-fit: contain; margin: 0 auto 22px; }
.institution-entry h1 { font-size: clamp(25px, 3vw, 42px); line-height: 1.4; margin: 0 0 38px; text-align: center; font-weight: 700; }
.entry-field { margin-bottom: 24px; }
.entry-field label { display: block; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.entry-field input { box-sizing: border-box; width: 100%; height: 56px; border: 1px solid #aebdd6; border-radius: 11px; background: #ffffffa6; padding: 0 18px; font: inherit; font-size: 18px; color: #182c4a; }
.entry-field input:focus { outline: 2px solid #2371e7; outline-offset: 2px; }
.entry-password { position: relative; }
.entry-password input { padding-right: 60px; }
.entry-password-toggle { position: absolute; right: 4px; top: 4px; width: 48px; height: 48px; border: 0; background: transparent; color: #52647d; cursor: pointer; display: grid; place-items: center; }
.entry-submit { width: 100%; min-height: 56px; padding: 12px; margin-top: 6px; border: 0; border-radius: 10px; background: #1260df; color: white; font: inherit; font-size: 22px; cursor: pointer; }
.entry-submit:hover:not(:disabled) { background: #084fc6; }
.entry-submit:disabled { opacity: .6; cursor: wait; }
.entry-message { color: #a32029; font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.entry-miniprogram { display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid #ceddf1; padding-left: 50px; text-align: center; }
.entry-miniprogram h2 { font-size: 32px; margin: 0 0 28px; font-weight: 700; }
.entry-code-circle { width: min(360px, 100%); aspect-ratio: 1; background: #fff; border-radius: 50%; overflow: hidden; display: grid; place-items: center; box-shadow: 0 10px 30px #294d7910; }
/* 2026-11-22 05:14：正方形边长取圆直径的70%，小于1/√2；连原图四角都在圆内，所有码点和白边完整保留。 */
.entry-code-circle img { display: block; width: 70%; height: 70%; object-fit: contain; }
.entry-miniprogram p { font-size: 20px; margin: 26px 0 0; line-height: 1.7; }
.mobile-return, .entry-mobile-system { display: none; }
.entry-return:focus-visible, .institution-entry button:focus-visible { outline: 2px solid #1260df; outline-offset: 4px; }
@media (max-width: 900px) and (min-width: 641px) { .entry-login { padding-right: 32px; } .entry-miniprogram { padding-left: 32px; } }
/* 2026-11-22 05:14：手机先显示登录，再显示扫码区；使用自然文档滚动，不让底部操作被固定高度挡住。 */
@media (max-width: 640px) {
    .entry-header { display: none; }
    .entry-content { display: block; width: auto; margin: 0; padding: 38px 26px 50px; }
    .entry-login { padding: 0; }
    .entry-hero-icon { width: 78px; height: 78px; margin-bottom: 20px; }
    .institution-entry h1 { font-size: clamp(22px, 6.3vw, 30px); margin-bottom: 8px; }
    .entry-mobile-system { display: block; text-align: center; font-size: 18px; color: #536383; margin-bottom: 30px; }
    .entry-field { margin-bottom: 20px; }
    .entry-field label { font-size: 19px; }
    .entry-field input { height: 50px; font-size: 16px; }
    .entry-password-toggle { height: 42px; }
    .entry-submit { min-height: 50px; font-size: 21px; }
    .mobile-return { display: flex; width: fit-content; margin: 12px auto 24px; color: #1260df; font-size: 18px; }
    .entry-miniprogram { border-left: 0; border-top: 1px solid #c8d9ed; padding: 25px 0 0; }
    .entry-miniprogram h2 { font-size: 25px; margin-bottom: 18px; }
    .entry-code-circle { width: 205px; }
    .entry-miniprogram p { font-size: 15px; margin-top: 16px; }
}

