
:root {
  --ob-ink: #13245f;
  --ob-blue: #2342c7;
  --ob-blue-dark: #162d91;
  --ob-text: #202a44;
  --ob-muted: #70798f;
  --ob-line: #dfe4ee;
  --ob-surface: #f5f7fb;
  --ob-white: #fff;
  --ob-error: #b3261e;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ob-text);
  background: var(--ob-surface);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
#app {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) auto;
}

.ob-nav {
  height: 64px;
  background: var(--ob-white);
  border-bottom: 1px solid #e9edf4;
}
.ob-nav-inner {
  width: min(1240px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.ob-brand {
  display: inline-flex;
  align-items: center;
  color: var(--ob-ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.035em;
}

.ob-login-layout {
  width: min(1240px, calc(100% - 64px));
  min-height: 0;
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 340px);
  justify-content: space-between;
  align-items: center;
  gap: 72px;
}
.ob-visual {
  min-width: 0;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  isolation: isolate;
}
.ob-visual::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 540px;
  height: 390px;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  border-radius: 58% 42% 64% 36% / 48% 62% 38% 52%;
  background: #e7ecfb;
}
.ob-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  right: 36px;
  top: 16%;
  border-radius: 50%;
  background: #f0b83f;
  box-shadow: 26px 34px 0 -4px #8799e9, -12px 282px 0 -3px #f0b83f;
}
.ob-visual-art {
  width: min(100%, 600px);
  margin: 0;
  position: relative;
}
.ob-visual-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18px -22px -16px -18px;
  border: 2px solid rgba(62, 88, 201, .32);
  border-radius: 42% 58% 36% 64% / 58% 38% 62% 42%;
  transform: rotate(3deg);
}
.ob-visual-art img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  height: auto;
  border-radius: 34% 66% 42% 58% / 52% 38% 62% 48%;
  box-shadow: 0 22px 52px rgba(28, 43, 94, .16);
}

.ob-form-column {
  width: 100%;
  max-width: 340px;
  justify-self: end;
  position: relative;
  z-index: 3;
  transform: translate(-26px, 30px);
}
.ob-login-card {
  padding: 23px 24px 21px;
  background: var(--ob-white);
  border: 1px solid #e1e6ef;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(32, 49, 104, .08);
}
.ob-login-heading { margin-bottom: 20px; }
.ob-login-heading h2 {
  margin: 0;
  color: var(--ob-ink);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.ob-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 10px;
}
.ob-field { min-width: 0; margin: 0; }
.ob-field-wide { grid-column: 1 / -1; }
.ob-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ob-field input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 13px;
  color: var(--ob-text);
  background: #fff;
  border: 1px solid #dce2ec;
  border-radius: 8px;
  outline: 0;
  font-size: 14px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.ob-field input::placeholder { color: #8b93a5; opacity: 1; }
.ob-field input:focus {
  border-color: #6d7bd8;
  box-shadow: 0 0 0 3px rgba(35, 66, 199, .08);
}
.ob-field-access input { background: #f7f8fd; border-color: #cfd6e8; }
.ob-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 18px;
  color: #fff;
  background: var(--ob-blue);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s, transform .18s;
}
.ob-btn:hover { background: var(--ob-blue-dark); }
.ob-btn:active { transform: translateY(1px); }
.ob-btn:disabled { cursor: wait; opacity: .55; }
.ob-error { margin: 9px 0 0; color: var(--ob-error); font-size: 12px; line-height: 1.45; }
.ob-error:empty { display: none; }

.ob-legal-footer {
  width: min(1240px, calc(100% - 64px));
  min-height: 46px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #8a93a8;
  border-top: 1px solid #e4e8f0;
  font-size: 10px;
  line-height: 1.4;
}
.ob-legal-links { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.ob-legal-links a, .ob-contact a { color: #334fbd; text-decoration: none; }
.ob-legal-links a:hover, .ob-contact a:hover { text-decoration: underline; }
.ob-contact, .ob-legal-copyright { margin: 0; }
.ob-legal-copyright { color: #a1a8b8; }
.ob-legal-summary, .ob-legal-details, .ob-legal-block { display: none; }

.ob-legal-page { min-height: 100vh; padding: 48px 20px; }
.ob-legal-page-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 42px 48px;
  background: var(--ob-white);
  border: 1px solid var(--ob-line);
  border-radius: 20px;
  box-shadow: var(--ob-shadow);
}
.ob-legal-back { color: var(--ob-blue); font-size: 13px; text-decoration: none; }
.ob-legal-page-card h1 { margin: 28px 0 26px; color: var(--ob-ink); font-size: 34px; }
.ob-legal-page-card h2 { margin: 28px 0 8px; color: var(--ob-ink); font-size: 18px; }
.ob-legal-page-card p { margin: 8px 0; color: var(--ob-muted); font-size: 14px; line-height: 1.9; }



@media (max-width: 860px) {
  #app { grid-template-rows: 56px minmax(0, 1fr) auto; }
  .ob-nav { height: 56px; }
  .ob-nav-inner { width: min(100% - 32px, 440px); }
  .ob-brand { font-size: 19px; }
  .ob-login-layout {
    width: min(100% - 32px, 420px);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ob-visual { display: none; }
  .ob-form-column { max-width: 380px; justify-self: auto; transform: none; }
  .ob-login-card {
    padding: 26px 28px 24px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(32, 49, 104, .07);
  }
  .ob-legal-footer { width: min(100% - 32px, 440px); min-height: 44px; }
}

@media (max-width: 520px) {
  body { background: #fff; }
  #app { grid-template-rows: 54px minmax(0, 1fr) auto; }
  .ob-nav { height: 54px; }
  .ob-nav-inner { width: calc(100% - 32px); }
  .ob-brand { font-size: 18px; }
  .ob-login-layout {
    width: 100%;
    padding: 12px 16px;
  }
  .ob-form-column { max-width: none; }
  .ob-login-card {
    padding: 18px 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .ob-login-heading { margin-bottom: 18px; }
  .ob-login-heading h2 { font-size: 24px; }
  .ob-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .ob-field-wide { grid-column: 1 / -1; }
  .ob-field input { height: 46px; padding: 0 13px; font-size: 14px; }
  .ob-btn { min-height: 46px; margin-top: 14px; }
  .ob-legal-footer {
    width: calc(100% - 32px);
    min-height: 42px;
    padding: 8px 0;
    gap: 4px 10px;
    font-size: 9px;
  }
  .ob-legal-copyright { display: none; }
  .ob-legal-page { padding: 20px 14px; }
  .ob-legal-page-card { padding: 26px 20px; border-radius: 14px; }
}

@media (max-height: 620px) and (min-width: 861px) {
  #app { grid-template-rows: 56px minmax(0, 1fr) 40px; }
  .ob-nav { height: 56px; }
  .ob-login-layout { padding: 12px 0; }
  .ob-visual-art { width: min(100%, 440px); }
  .ob-login-card { padding: 22px 26px 20px; }
  .ob-login-heading { margin-bottom: 16px; }
  .ob-legal-footer { min-height: 40px; padding: 6px 0; }
}
