.field-label { color: #334155; font-size: 15px; font-weight: 650; }
.form { gap: 14px; }
.input.readonly { background: #eef4fa; color: #47617e; letter-spacing: .15px; }
.product-line { margin: -7px 0 6px; color: #4774b8; font-size: 14px; }
.qr-pending { width: 220px; min-height: 180px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 20px; border: 1px dashed #9bbcf4; border-radius: 14px; background: #f8fbff; color: #315f9b; }
.qr-pending span { color: #64748b; font-size: 13px; line-height: 1.6; }
.qr { margin-top: 36px; gap: 22px; }
.qr-image { display: block; width: min(100%, 290px); height: auto; aspect-ratio: 1; object-fit: contain; padding: 7px; border: 1px solid #d9e4f2; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(37, 75, 122, .08); }
.qr-copy { color: #172554; font-size: 17px; line-height: 1.65; }
.qr-copy small { display: block; color: #64748b; font-size: 14px; }
@media (max-width: 520px) { .qr { margin-top: 26px; } .qr-image { width: min(100%, 270px); } }
.account-avatar { width: 76px; height: 76px; display: block; margin: 0 auto 12px; border-radius: 50%; object-fit: cover; background: #e8f0ff; border: 3px solid #fff; box-shadow: 0 3px 12px rgba(37, 75, 122, .16); }
.account-avatar.fallback { display: grid; place-items: center; color: #2563eb; font-size: 30px; font-weight: 700; }
.status-avatar { width: 82px; height: 82px; display: block; margin: 0 auto 15px; border-radius: 50%; object-fit: cover; background: #e8f0ff; border: 3px solid #fff; box-shadow: 0 4px 15px rgba(37, 75, 122, .16); }
.status-avatar.fallback { display: grid; place-items: center; color: #2563eb; font-size: 32px; font-weight: 700; }
.status-content { padding-top: 56px; }
.status-content h1 { margin-bottom: 40px; }
.reference-status { margin-top: 0; margin-bottom: 34px; }
.reference-status dt, .reference-status dd { line-height: 1.45; }
.reference-status dd { font-weight: 600; overflow-wrap: anywhere; }
.status-tip { margin: 0 0 27px; text-align: center; color: #2563eb; font-size: 17px; line-height: 1.65; }
.refresh-button { display: block; width: 226px; margin: 0 auto; }
.qr-terminal { display: grid; place-items: center; gap: 13px; min-height: 270px; text-align: center; color: #172554; }
.qr-terminal b { font-size: 20px; }
.qr-terminal span { max-width: 290px; color: #64748b; line-height: 1.6; }
.qr-refresh { width: 180px; height: 48px; font-size: 16px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #e7edf5; margin: 42px 0 18px; }
.auth-tabs .tab { border: 0; border-bottom: 3px solid transparent; padding: 13px 6px 16px; background: transparent; color: #64748b; font: inherit; font-size: 17px; cursor: pointer; }
.auth-tabs .tab.active { color: #2563eb; border-bottom-color: #2563eb; font-weight: 700; }
.sms-form { margin-top: 18px; gap: 14px; }
.phone-wrap { position: relative; }
.phone-wrap .input { width: 100%; padding-right: 46px; }
.clear-phone { position: absolute; top: 0; right: 0; width: 48px; height: 56px; border: 0; background: transparent; color: #94a3b8; font-size: 29px; cursor: pointer; }
.sms-row { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 12px; }
.sms-send { min-height: 56px; border: 0; border-radius: 11px; background: #eff4f9; color: #315f9b; font-size: 15px; font-weight: 650; cursor: pointer; }
.sms-send:disabled { color: #94a3b8; cursor: default; }
.sms-form .button { margin-top: 30px; }
.sms-help { justify-self: end; margin: 2px 0 7px; padding: 0; border: 0; background: transparent; color: #2563eb; font-size: 14px; cursor: pointer; }
.sms-help-modal > div { width: min(100%, 520px); padding: 0 0 26px; text-align: left; }
.sms-help-modal header { display: flex; align-items: center; justify-content: center; min-height: 58px; border-bottom: 1px solid #eef2f7; position: relative; }
.sms-help-modal h2 { font-size: 19px; font-weight: 600; }
.modal-close { position: absolute; right: 17px; top: 9px; width: 38px; height: 38px; border: 0; background: transparent; color: #cbd5e1; font-size: 31px; font-weight: 300; cursor: pointer; }
.sms-help-content { padding: 37px 34px 26px; color: #334155; font-size: 16px; line-height: 1.85; }
.sms-help-content p { margin: 0 0 10px; color: #334155; }
.sms-help-modal .button { display: block; width: calc(100% - 68px); height: 50px; margin: 0 auto; }
.qr-official { margin-top: 27px; gap: 22px; }
.qr-pair { display: flex; align-items: center; justify-content: center; gap: 17px; width: 100%; }
.qr-code-card { display: grid; place-items: center; width: min(45vw, 255px); aspect-ratio: 1; padding: 7px; border: 1px solid #d9e4f2; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(37, 75, 122, .08); }
.qr-code-card .qr-image { width: 100%; max-width: none; padding: 0; border: 0; border-radius: 9px; box-shadow: none; }
.scan-guide { width: min(39vw, 220px); aspect-ratio: 1; object-fit: cover; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 8px 20px rgba(37, 75, 122, .06); }
.qr-official .qr-copy { max-width: 540px; font-size: 16px; }
.account-select { margin-top: 22px; }
.account-select h2 { margin: 0; color: #172554; font-size: 21px; text-align: center; }
.account-select > p { margin: 12px 8px 20px; color: #64748b; font-size: 14px; line-height: 1.65; text-align: center; }
.account-options { display: grid; gap: 11px; margin-bottom: 24px; }
.account-option { display: grid; grid-template-columns: 20px 42px 1fr; align-items: center; gap: 12px; min-height: 67px; padding: 11px 14px; border: 1px solid #dbe6f3; border-radius: 12px; background: #fff; cursor: pointer; }
.account-option:has(input:checked) { border-color: #60a5fa; background: #f8fbff; box-shadow: 0 0 0 2px rgba(37,99,235,.08); }
.account-option input { accent-color: #2563eb; }
.account-option img,.option-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #e8f0ff; }
.option-avatar { display: grid; place-items: center; color: #2563eb; font-weight: 700; }
.account-option b { color: #1e3a5f; font-size: 16px; overflow-wrap: anywhere; }
@media (max-width: 520px) { .auth-tabs { margin-top: 35px; } .sms-row { grid-template-columns: minmax(0, 1fr) 128px; gap: 10px; } .auth-tabs .tab { font-size: 16px; } }
@media (max-width: 430px) { .qr-pair { gap: 10px; } .qr-code-card { width: min(48vw, 205px); } .scan-guide { width: min(37vw, 166px); } .qr-official .qr-copy { font-size: 15px; } }
.public-message { position: fixed; left: 50%; top: 20px; transform: translateX(-50%); z-index: 1000; width: min(calc(100vw - 32px), 520px); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; color: #7f1d1d; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; box-shadow: 0 12px 36px rgba(15, 23, 42, .16); font-size: 15px; }
.public-message button { flex: 0 0 auto; border: 0; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.account-confirm-modal .modal-actions { display: grid; gap: 12px; }
.account-confirm-modal .critical-title { color: #dc2626; }
.account-confirm-modal .critical-reminder { margin: 10px 0 20px; color: #dc2626; font-weight: 700; }
.account-confirm-modal .account { margin: 0 0 14px; }
.account-confirm-modal .account-mobile { display: block; margin-top: 8px; color: #172554; font-size: 17px; font-weight: 700; }
.confirm-product { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin-bottom: 22px; padding: 15px 17px; border-radius: 11px; background: #f1f5f9; text-align: left; }
.confirm-product span { color: #64748b; }
.confirm-product b { color: #172554; text-align: right; overflow-wrap: anywhere; }
.account-confirm-modal .switch-account { width: 100%; }
.account-confirm-modal .modal-actions.horizontal { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.account-confirm-modal .modal-actions.horizontal .secondary { height: 56px; }
.unavailable-shell { max-width: 560px; }
.unavailable-content { min-height: 320px; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; }
.unavailable-content p { margin: 0; color: #64748b; font-size: 17px; line-height: 1.7; }
