/* Login presentation only. Authentication, roles, form handlers and endpoints are unchanged. */
/* The shared non-home #screen rule paints a second, full-width paper panel.
   Remove it only while this exact direct-child login card is mounted. */
body #screen:has(> .lock) {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  color:inherit;
}
body #screen > .lock {
  box-sizing:border-box;
  width:min(100%,480px);
  max-width:100%;
  margin:24px auto;
  padding:clamp(20px,4vw,32px);
  border:1px solid #6594a7!important;
  border-radius:24px;
  background:linear-gradient(145deg,#0c4056ee,#082c40f5)!important;
  color:#f1f9fc;
  box-shadow:0 12px 34px #00162340;
}
body #screen > .lock h1 {color:#f1f9fc;line-height:1.25}
body #screen > .lock :is(p,label,.help) {color:#d7e8f0;line-height:1.5}
body #screen > .lock :is(input,select) {box-sizing:border-box;max-width:100%;min-width:0;background:#f5fbfe;color:#123b4c;border-color:#8cb3c3}
body #screen > .lock :is(input,select,button,a):focus-visible {outline:3px solid #ffdc75;outline-offset:3px}
body #screen > .lock .error {color:#ffd7cf}
body #screen > .lock #fictional-demo-options {background:#06263d;border-color:#679fba;box-shadow:none;margin-top:24px}
body #screen > .lock #fictional-demo-options h2 {color:#f0f9fc}
body #screen > .lock #fictional-demo-options p {color:#d1e6ef}
body #screen > .lock #fictional-demo-options .btn {background:#164e67;color:#f3fbff;border-color:#76a5b8}
body #screen > .lock #fictional-demo-options .btn:hover {background:#1e617b}
@media(max-width:600px) {body #screen > .lock {margin:16px auto;border-radius:20px}}
