@charset "UTF-8";

:root { font-family: "Segoe UI", "Microsoft YaHei", sans-serif; color: #263431; background: #f5f7f6; font-synthesis: none; --accent: #18766a; --muted: #75817d; --border: #e4e9e6; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid #68b7aa; outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .6; }
.login-card { width: 408px; max-width: 100%; padding: 28px 32px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 28px #20392d06; }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 30px; }
.card-header a { color: #6f7c76; font-size: 13px; overflow-wrap: anywhere; }
h1 { font-size: 22px; font-weight: 600; line-height: 1.5; margin: 0 0 18px; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.7; margin: -8px 0 20px; }
.application-context { color: var(--muted); font-size: 13px; line-height: 1.7; margin: -8px 0 22px; overflow-wrap: anywhere; }
.application-context strong { color: #35483f; font-weight: 600; }
.button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: white; font-size: 14px; line-height: 1.5; }
.button:hover { background: #126356; text-decoration: none; }
.button.secondary { background: #fff; color: #50665b; border-color: #dce4de; }
.button.secondary:hover { background: #f5f8f6; }
.status { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 18px 0; }
.notice { margin: 8px 0 22px; font-size: 14px; color: #66756d; line-height: 1.8; overflow-wrap: anywhere; }
.message { color: #a75744; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.message:empty { display: none; }
.user-name { margin: 0 0 5px; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.user-id { margin: 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.session-user { margin: 4px 0 24px; }
.applications { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 18px; }
.applications h2 { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 400; }
.application-link { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; line-height: 1.5; }
.application-link + .application-link { border-top: 1px solid #f1f3f1; }
.application-link span:first-child { overflow-wrap: anywhere; }
.application-link span:last-child { color: #92a298; flex-shrink: 0; }
.fallback-link { display: block; margin-top: 16px; text-align: center; font-size: 12px; line-height: 1.7; }
.timer { margin: 12px 0 0; text-align: center; color: #87948c; font-size: 12px; font-variant-numeric: tabular-nums; }
.qr-wrapper { position: relative; width: 320px; height: 380px; margin: 0 auto; }
.qr-panel { width: 320px; height: 380px; }
.qr-panel iframe { border: 0; width: 320px; height: 380px; }
.qr-loading { position: absolute; inset: 0; display: grid; place-content: center; background: #fff; color: var(--muted); font-size: 13px; }
noscript { position: fixed; bottom: 16px; left: 16px; right: 16px; text-align: center; color: #a75744; font-size: 14px; }
@media (max-width: 420px) { .login-card { padding: 24px 20px; } .card-header { margin-bottom: 24px; } .qr-wrapper { margin-left: calc((100% - 320px) / 2); } }
@media (max-width: 359px) { .qr-wrapper { width: 272px; height: 323px; margin-left: calc((100% - 272px) / 2); } .qr-panel { transform: scale(.85); transform-origin: top left; } }
