:root {
  color-scheme: light;
  --owner-blue: #315fe0;
  --owner-ink: #222735;
  --owner-muted: #5e6b80;
  --owner-line: #e8eaf0;
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  color: var(--owner-ink);
  background: #f4f5f8;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
::selection { color: var(--owner-ink); background: #e8edff; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--owner-blue); outline-offset: 3px; }
.owner-login { width: min(100%, 460px); margin: 0 auto; padding: max(56px, calc((100svh - 550px) / 2)) 24px 32px; }
.owner-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; font-size: 23px; font-weight: 650; letter-spacing: -.025em; }
.owner-brand small { display: block; margin-top: 3px; color: var(--owner-muted); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.owner-brand-mark { display: grid; flex: none; grid-template-columns: repeat(2, 12px); grid-template-rows: repeat(2, 12px); gap: 3px; transform: rotate(-7deg); }
.owner-brand-mark i { background: var(--owner-blue); border-radius: 3px; }
.owner-brand-mark i:nth-child(2), .owner-brand-mark i:nth-child(3) { background: #91a7ef; }
.owner-form-panel { padding: 32px; background: #fff; border: 1px solid var(--owner-line); border-radius: 14px; }
h1 { margin: 0; font-size: 25px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; text-wrap: balance; }
.owner-form-panel header p { margin: 10px 0 28px; color: var(--owner-muted); font-size: 14px; line-height: 1.8; }
.owner-field + .owner-field { margin-top: 20px; }
.owner-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.owner-field input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; color: var(--owner-ink); background: #fff; border: 1px solid #7b8da8; border-radius: 7px; font-size: 16px; line-height: 1.5; caret-color: var(--owner-blue); }
.owner-field input:hover { border-color: var(--owner-muted); }
.owner-field input:focus { border-color: var(--owner-blue); }
.owner-field input[aria-invalid="true"] { border-color: #bc3747; }
.owner-password-control { position: relative; }
.owner-password-control input { padding-right: 64px; }
.owner-password-control button { position: absolute; right: 2px; top: 2px; height: calc(100% - 4px); min-width: 54px; padding: 0 9px; color: var(--owner-muted); background: transparent; border: 0; border-radius: 5px; font-size: 13px; }
.owner-password-control button:hover { color: var(--owner-blue); background: #edf1fa; }
.owner-message { min-height: 22px; margin: 16px 0 12px; color: var(--owner-muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.owner-message[data-error="true"] { color: #bc3747; }
.owner-submit { display: block; width: 100%; min-height: 46px; padding: 10px 16px; color: #fff; background: var(--owner-blue); border: 0; border-radius: 7px; font-size: 15px; font-weight: 600; line-height: 1.6; }
.owner-submit:hover:not(:disabled) { background: #254ec1; }
.owner-submit:active:not(:disabled) { background: #2145ab; }
.owner-submit:disabled { cursor: wait; background: #5e76ba; }
.owner-login-note { margin: 23px 0 0; color: var(--owner-muted); text-align: center; font-size: 12px; line-height: 1.7; }
.owner-noscript { margin: 18px 0 0; color: #bc3747; font-size: 14px; line-height: 1.7; }
@media (max-width: 480px) {
  .owner-login { padding: max(40px, calc((100svh - 550px) / 2)) 20px 28px; }
  .owner-brand { margin-bottom: 28px; }
  .owner-form-panel { padding: 28px 24px; }
  h1 { font-size: 24px; }
}
@media (max-width: 340px) {
  .owner-login { padding-right: 14px; padding-left: 14px; }
  .owner-form-panel { padding-right: 18px; padding-left: 18px; }
}
