:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; color: #202725; background: #fafbfc; font-size: 15px; letter-spacing: 0; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
a { color: #166b48; text-decoration: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding: 20px 36px; border-bottom: 1px solid #e3e7e5; background: #fff; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #242b29; font-size: 18px; font-weight: 650; }
.brand img { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.brand-text strong { font-size: 18px; font-weight: 650; }
.brand-company { font-size: 12px; font-weight: 400; color: #62716c; }
.workspace { flex: 1; display: grid; align-items: start; padding: 72px 24px 40px; }
.identity-form { width: 100%; max-width: 420px; margin: 0 auto; }
h1 { font-size: 28px; font-weight: 650; line-height: 1.35; margin: 0 0 30px; overflow-wrap: anywhere; }
.eyebrow { color: #62716c; margin: 0 0 10px; font-size: 13px; }
.field { margin: 0 0 22px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
input:not([type=hidden]) { width: 100%; min-width: 0; height: 46px; border: 1px solid #bdc9c3; background: #fff; border-radius: 6px; padding: 10px 12px; font: inherit; color: inherit; transition: border-color 120ms; }
input:hover { border-color: #71897d; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #a5cfbc; outline-offset: 3px; }
button { cursor: pointer; font: inherit; }
.primary { display: block; width: 100%; min-height: 46px; padding: 12px 16px; background: #19754f; color: #fff; border: 1px solid #19754f; border-radius: 6px; font-weight: 600; transition: background 120ms; text-align: center; }
.primary:hover { background: #135e3f; }
.quiet { display: inline-block; background: transparent; border: 0; color: #59655f; padding: 10px 0; }
.link-button { text-align: center; }
.secondary { color: #62716c; font-size: 14px; line-height: 1.8; margin: 20px 0; }
.notice { border-left: 3px solid #ce943a; padding: 8px 12px; background: #fff7e9; color: #71501e; font-size: 14px; margin-bottom: 24px; }
.help { color: #66726d; font-size: 12px; line-height: 1.8; margin-top: 8px; }
.help ul { padding-left: 20px; margin: 4px 0; }
.error-summary, .field-error { color: #aa3028; font-size: 13px; line-height: 1.6; }
.error-summary { padding: 10px 14px; background: #fff0ee; border-left: 3px solid #c64f42; margin-bottom: 22px; }
.errorlist { list-style: none; padding: 0; margin: 4px 0; }
.messages { color: #176345; font-size: 14px; }
.profile { margin-bottom: 30px; }
.profile div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid #e3e7e5; }
.profile dt { color: #65726b; }
.profile dd { margin: 0; overflow-wrap: anywhere; }
.logout-user { padding: 16px 0; margin-bottom: 18px; border-top: 1px solid #e3e7e5; border-bottom: 1px solid #e3e7e5; }
.logout-name, .logout-username { display: block; overflow-wrap: anywhere; }
.logout-username { margin-top: 5px; color: #62716c; font-size: 13px; }
.scope-list { padding-left: 20px; color: #62716c; line-height: 2; margin-bottom: 24px; }
footer { padding: 24px; font-size: 12px; color: #77827c; text-align: center; }
@media (max-width: 600px) { .site-header { padding: 18px 20px; min-height: 72px; } .brand { font-size: 16px; gap: 8px; } .workspace { padding: 42px 24px 20px; } h1 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
