:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #26353c; background: #fff; font-synthesis: none; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, input:focus-visible { outline: 3px solid #7bd0c3; outline-offset: 3px; }
svg { width: 20px; height: 20px; flex: 0 0 20px; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 42%) minmax(0, 1fr); }
.login-identity { padding: 42px 48px 34px; background: #19272d; color: #fff; display: flex; flex-direction: column; min-width: 0; }
.login-brand { display: grid; gap: 8px; }
.login-brand strong { font-size: 22px; }
.login-brand span { font-size: 14px; color: #bfced3; }
.login-identity-copy { margin-top: auto; padding-top: 72px; }
.login-identity-copy > span { color: #9bb5bc; font-size: 12px; }
h1 { font-size: 38px; line-height: 1.4; margin: 20px 0 36px; }
.login-data-visual { max-width: 400px; border: 1px solid #405055; border-radius: 6px; overflow: hidden; }
.login-visual-head { display: flex; gap: 6px; padding: 12px; border-bottom: 1px solid #405055; }
.login-visual-head i { width: 6px; height: 6px; background: #78939b; border-radius: 50%; }
.login-visual-bars { height: 160px; display: flex; align-items: end; gap: 12px; padding: 24px; }
.login-visual-bars i { flex: 1; height: 42%; background: #70b5a7; border-radius: 3px 3px 0 0; }
.login-visual-bars i:nth-child(2) { height: 68%; background: #7e9ba6; }
.login-visual-bars i:nth-child(3) { height: 55%; }
.login-visual-bars i:nth-child(4) { height: 84%; background: #7e9ba6; }
.login-visual-bars i:nth-child(5) { height: 72%; }
.login-visual-bars i:nth-child(6) { height: 92%; background: #bdc59b; }
.login-visual-bars i:nth-child(7) { height: 64%; }
.login-identity > .login-footnote { margin-top: auto; padding-top: 48px; color: #bfced3; }
.login-panel { width: min(420px, calc(100% - 48px)); margin: auto; padding: 42px 0; min-width: 0; }
form { display: grid; gap: 12px; }
header { margin-bottom: 16px; }
h2 { font-size: 28px; margin: 0 0 12px; }
header p { color: #697981; margin: 8px 0 0; line-height: 1.6; }
label { font-size: 14px; font-weight: 600; }
.login-input { display: flex; align-items: center; position: relative; margin-bottom: 8px; min-width: 0; }
.login-input > svg { position: absolute; left: 14px; color: #7e8e96; pointer-events: none; }
input { width: 100%; min-width: 0; height: 48px; border: 1px solid #cfd8dc; border-radius: 6px; padding: 0 46px; color: #26353c; background: #fff; font-size: 16px; }
.login-input button { position: absolute; right: 5px; width: 38px; height: 38px; padding: 9px; display: flex; border: 0; background: transparent; color: #6d7e86; border-radius: 4px; }
.primary, .secondary { min-height: 48px; padding: 12px 20px; border-radius: 6px; display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.primary { color: #fff; background: #167568; border: 1px solid #167568; }
.primary:hover { background: #105f54; }
.secondary { color: #50626c; background: #fff; border: 1px solid #cfd8dc; }
.login-footnote { display: flex; align-items: center; gap: 8px; color: #71818a; font-size: 13px; margin: 24px 0 0; line-height: 1.6; }
.form-error { margin: 0; padding: 12px; color: #a52632; background: #fff1f2; border-radius: 4px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 800px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-identity { padding: 24px; }
  .login-identity-copy { padding-top: 28px; }
  .login-identity-copy > span, .login-data-visual, .login-identity > .login-footnote { display: none; }
  h1 { font-size: 26px; margin: 0; }
  .login-panel { padding: 32px 0; }
}
