* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 24px; background: #f5f7fb; color: #1f2937; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.card { width: 100%; max-width: 440px; background: #fff; padding: 40px; border: 1px solid #e5e9f1; border-radius: 20px; box-shadow: 0 12px 44px #1e3a5f08; }
.app-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eef3ff; color: #3370ff; font-size: 32px; font-weight: 600; margin-bottom: 26px; }
.eyebrow { margin: 0 0 12px; color: #64748b; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.description { font-size: 14px; color: #64748b; margin: 0 0 24px; line-height: 1.8; }
.environment { display: inline-flex; align-items: center; gap: 8px; background: #f5f7fb; color: #52617b; font-size: 12px; padding: 7px 10px; border-radius: 6px; margin-bottom: 20px; }
.environment::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; }
.environment.in-feishu::before { background: #20a774; }
button { width: 100%; min-height: 46px; border: 1px solid transparent; border-radius: 8px; background: #3370ff; color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
button:hover { background: #245bdb; }
button:focus-visible { outline: 3px solid #a9c3ff; outline-offset: 3px; }
button:disabled { opacity: .55; cursor: wait; }
button.secondary { background: white; border-color: #dde3ec; color: #475569; }
button.secondary:hover { background: #f5f7fb; }
#status { margin: 14px 0 0; font-size: 13px; color: #64748b; line-height: 1.7; overflow-wrap: anywhere; }
#status[data-error="true"] { color: #bd3039; }
#status:empty { display: none; }
.success-badge { display: inline-block; margin-bottom: 18px; padding: 6px 10px; font-size: 12px; color: #16805b; background: #edf9f3; border-radius: 6px; }
.identity { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 28px; padding: 15px; border-radius: 8px; background: #f8fafc; font-size: 13px; }
dt { color: #64748b; }
dd { margin: 0; font-family: ui-monospace, SFMono-Regular, monospace; overflow-wrap: anywhere; }
footer { border-top: 1px solid #eef0f4; padding-top: 22px; margin-top: 30px; color: #94a3b8; font-size: 12px; }
@media (max-width: 480px) { body { padding: 16px; } .card { padding: 30px 24px; } }
