* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f7f7f8; color: #242427; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.6; }
main { width: min(100% - 32px, 600px); margin: 56px auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
h1 { margin: 0; font-size: 26px; letter-spacing: -.5px; font-weight: 650; }
h1 a { color: inherit; text-decoration: none; }
.intro { margin: 4px 0 26px; color: #73737a; }
.panel { padding: 26px; background: #fff; border: 1px solid #e4e4e8; border-radius: 12px; }
.muted { color: #73737a; margin: 0; }
label { display: block; margin-bottom: 8px; font-weight: 550; }
.password-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.password-label label { margin: 0; }
#password-hint { color: #73737a; font-size: 13px; }
#login-button { margin-top: 18px; }
textarea, input { display: block; width: 100%; border: 1px solid #d9d9df; border-radius: 7px; background: #fff; color: #242427; font: inherit; padding: 11px 12px; outline: none; }
textarea { min-height: 200px; resize: vertical; line-height: 1.7; }
textarea:focus, input:focus { border-color: #5959b4; box-shadow: 0 0 0 3px #5959b410; }
textarea::placeholder, input::placeholder { color: #94949b; }
.hint { margin: 9px 0 18px; color: #85858c; font-size: 12px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
button, .button { display: inline-block; border: 1px solid #d9d9df; border-radius: 7px; padding: 9px 22px; background: #fff; color: #343439; font: inherit; font-weight: 550; text-align: center; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: #f3f3f6; }
button:focus-visible, a:focus-visible, .message-content:focus-visible { outline: 2px solid #5959b4; outline-offset: 3px; }
.primary { background: #34343b; border-color: #34343b; color: #fff; }
.primary:hover { background: #484851; }
button:disabled { opacity: .45; cursor: default; }
input:disabled, textarea:disabled { background: #fafafb; }
.text-button { padding: 4px 0; border: 0; background: transparent; color: #64646d; font-size: 13px; font-weight: 400; white-space: nowrap; }
.text-button:hover { background: transparent; color: #242427; }
.status { margin: 12px 0 0; min-height: 21px; font-size: 13px; color: #60606a; }
.status[data-error="true"] { color: #b53737; }
.result { border-top: 1px solid #ededf0; margin-top: 16px; padding-top: 16px; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; font-weight: 550; }
.result-link { display: block; padding: 12px; border: 1px solid #e4e4e8; border-radius: 7px; background: #fafafb; color: #45458c; overflow-wrap: anywhere; text-underline-offset: 3px; }
.result .hint { margin-bottom: 0; }
.message-content { min-height: 100px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; font-size: 16px; }
#page-error { margin: 0; }
@media (max-width: 480px) { main { margin: 28px auto; } .panel { padding: 20px; } h1 { font-size: 24px; } }
