/* login.html — the page's own rules, moved verbatim out of its <style> block
   (2026-09-03: the CSP's style-src has no 'unsafe-inline'). Loads after
   css/auth-shell.css. */
body { padding-top: 0; background: var(--bg); }

/* SSO buttons — stacked */
.sso-stack { display: flex; flex-direction: column; gap: 10px; }
.sso-btn {
  height: 44px; width: 100%;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  background: var(--surface);
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-1);
  display: flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer;
  transition: background var(--tx-med);
}
.sso-btn:hover { background: var(--muted); }
.sso-btn:disabled { opacity: .6; cursor: not-allowed; }
.sso-btn svg { position: absolute; left: 16px; width: 18px; height: 18px; }

.divider-or {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0; font-size: 12px; color: var(--neutral-text);
}
.divider-or::before, .divider-or::after {
  content: ""; flex: 1; height: 1px; background: var(--border-light);
}

.field { margin-bottom: 16px; }
.field .label-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 6px;
}
.field .field-label { font-size: 12px; font-weight: 500; color: var(--text-2); margin: 0; }
.field .forgot { font-size: 12px; color: var(--accent); text-decoration: none; font-weight: 500; }
.field .input { height: 42px; font-size: 14px; }
.field .pwd-wrap { position: relative; }
.field .pwd-wrap .eye {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: transparent; border: 0; cursor: pointer;
  color: var(--neutral-text); padding: 4px;
}

.remember-row {
  display: flex; align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--text-2);
}
.remember-row input { accent-color: var(--accent); width: 14px; height: 14px; }

.foot-link {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-2);
}
.foot-link a { color: var(--accent); font-weight: 600; text-decoration: none; }

.secnote {
  margin-top: 20px;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--neutral-text);
  font-family: var(--font-mono);
}
.secnote .ic { color: var(--pass-text); }

.err-msg {
  font-size: 12px;
  margin: 12px 0 0;
  min-height: 16px;
  color: var(--fail-text);
}
.err-msg.ok { color: var(--pass-text); }

/* Right column: live preview of app */
.lp-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.lp-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.lp-head .t { font-size: 12px; font-weight: 600; }
.lp-head .m { font-family: var(--font-mono); font-size: 10px; color: var(--neutral-text); }
.lp-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 12px 16px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  border-bottom: 1px solid var(--border-light);
}
.lp-row:last-child { border-bottom: 0; }
.lp-row .lend { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.lp-row .pp {
  width: 22px; height: 22px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 8px; font-weight: 700;
}
.lp-row .rate { font-family: var(--font-mono); font-weight: 700; color: var(--text-1); }
.lp-row .amt { font-family: var(--font-mono); font-weight: 700; color: var(--text-1); text-align: right; }

.stat-trio {
  margin-top: 16px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.st {
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: 8px; padding: 10px 12px;
}
.st .l { font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--neutral-text); }
.st .v { font-family: var(--font-mono); font-size: 16px; font-weight: 700; margin-top: 4px; color: var(--text-1); letter-spacing: -.3px; }
.st.acc .v { color: var(--accent); }
.st.ok .v { color: var(--pass-text-aa); }   /* 16px bold is not "large" text; --pass-text is 3.8:1 */
.lp-row .rate.ok { color: var(--pass-text-aa); }

/* "What's on the panel" card in the left column (were inline styles). */
.auth-side .side-card { margin-top: 32px; padding: 18px; border: 1px solid var(--border-light); border-radius: 10px; background: var(--surface); }
.auth-side .side-card-lbl { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--neutral-text); margin-bottom: 10px; }
.auth-side .side-card-body { font-size: 12px; color: var(--text-2); line-height: 1.6; }
.auth-side .side-line { padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.auth-side .side-line + .side-line { border-top: 1px solid var(--border-light); }
.auth-side .side-dot { width: 5px; height: 5px; border-radius: 50%; }
.auth-side .dot-pass { background: var(--pass-text); }
.auth-side .dot-accent { background: var(--accent); }
.auth-side .dot-refer { background: var(--refer-text); }
