/* =========================================================================
 * login.css — staff sign-in window (same tokens as the ERP workspace).
 * ========================================================================= */
body.login-page { display: flex; flex-direction: column; min-height: 100vh; }
.login-page .brand { color: #fff; }
.login-stage { flex: 1; display: grid; place-items: center; padding: 16px; background: var(--app-bg); }
.login-window {
  width: min(420px, 100%); background: var(--surface); border: 1px solid #0f1d2e; border-radius: 4px; box-shadow: var(--shadow-3); overflow: hidden;
}
.login-window .win-titlebar { display: flex; align-items: center; padding-inline: 10px; }
.login-window .win-titlebar h1 { margin: 0; font-size: 13px; font-weight: 600; }
.login-body { padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 9px; background: var(--surface-2); }
.login-body .ff { --lw: 150px; }
.login-hint { margin: 0 0 2px; color: var(--text-2); font-size: 12px; }
.login-window .win-footer { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 480px) {
  .login-body .ff { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}

/* §88 — public page branding (General Settings → Website): header contact + footer */
.site-contact { display: inline-flex; gap: 12px; margin-inline-end: 10px; color: var(--titlebar-text); font-size: 12px; opacity: .9; }
.site-footer { background: var(--web-footer, var(--surface-3)); color: var(--web-footer-text, var(--text-2)); border-top: 1px solid var(--line); padding: 10px 16px; font-size: 12px; }
.site-footer a { color: inherit; text-decoration: underline; }
.site-footer .sf-main { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.site-footer .sf-logo { max-height: 36px; width: auto; }
.site-footer .sf-name { font-weight: 600; }
.site-footer .sf-social { margin-inline-start: auto; display: flex; gap: 10px; font-size: 16px; }
.site-footer .sf-social a { text-decoration: none; }
.site-footer .sf-bottom { margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; opacity: .85; }
