/* The login page (views/login.js) and the header's Password panel (static/js/login.js), 2026-10-10. */

.login-body { display: flex; align-items: flex-start; justify-content: center; padding: 16px; }
.login-card { width: 100%; max-width: 380px; margin-top: 12vh; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.login-card .brand { margin-bottom: 12px; }
.login-label { font-size: 11.5px; font-weight: 700; color: var(--muted); margin-top: 8px; }
.login-input { width: 100%; height: 38px; font-size: 14px; }
.login-btn { margin-top: 14px; height: 38px; font-size: 14px; justify-content: center; }
.login-status { min-height: 18px; font-size: 12.5px; color: var(--muted); }
.login-status.is-error { color: var(--danger); }
.login-notice { background: var(--info-bg); color: var(--info); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 12.5px; }
.login-help { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 6px 0 0; }

.pw-btn, .logout-btn { cursor: pointer; text-decoration: none; color: inherit; }
.pw-overlay { position: fixed; inset: 0; background: rgba(20, 56, 79, .28); z-index: 400; display: flex; align-items: flex-start; justify-content: center; padding: 70px 16px 16px; }
.pw-card { width: 100%; max-width: 640px; max-height: calc(100vh - 100px); overflow: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px; }
.pw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.pw-team-head { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-soft); justify-content: flex-start; }
.pw-msg { margin: 8px 0; font-size: 12.5px; line-height: 1.5; }
.pw-msg.is-ok { color: var(--success); }
.pw-msg.is-warn { color: var(--warning); }
.pw-msg.is-error { color: var(--danger); }
.pw-sub { color: var(--muted); font-size: 11.5px; font-weight: 400; }
.pw-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pw-row .input { flex: 1 1 170px; min-width: 0; }
.pw-team { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.pw-member { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line-soft); flex-wrap: wrap; }
.pw-name { flex: 1 1 220px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pw-state { font-size: 11.5px; color: var(--muted); }
.pw-state.is-ok { color: var(--success); }
.pw-set { display: flex; gap: 6px; flex: 1 1 100%; }
.pw-set .input { flex: 1 1 auto; }
.pw-head-r { display: flex; align-items: center; gap: 8px; }
.pw-logout { text-decoration: none; }
.pw-btn { padding-left: 8px; padding-right: 8px; }
