/* 页面内登录入口；与白色导航和靛紫主题保持一致。 */
.poafi-demo-login {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 0;
  background: #f5f7fb;
  color: #17233d;
  font: 13px/1.6 Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.poafi-demo-login:not([open]) { display: none; }
.poafi-demo-login::backdrop { background: #edf1f8; }
.poafi-demo-login *, .poafi-demo-login *::before, .poafi-demo-login *::after,
.poafi-demo-session *, .poafi-demo-session *::before, .poafi-demo-session *::after { box-sizing: border-box; }
.poafi-demo-login h1, .poafi-demo-login h2, .poafi-demo-login p { margin: 0; }
.poafi-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(450px, .94fr);
  min-height: 100%;
}
.poafi-demo-login .poafi-demo-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(32px, 4.5vw, 64px) clamp(32px, 6vw, 92px) 30px;
  border-right: 1px solid #e8edf5;
  background: radial-gradient(ellipse at 48% 56%, #f9faff 0, transparent 54%), #f2f5fb;
}
.poafi-demo-brand { display: flex; align-items: center; gap: 11px; }
.poafi-demo-brand svg { display: block; width: 42px; height: 42px; flex: 0 0 42px; }
.poafi-demo-brand strong { display: block; color: #17233d; font-size: 20px; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.poafi-demo-brand span { display: block; margin-top: 5px; color: #77849a; font-size: 9px; font-weight: 600; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; }
.poafi-demo-intro-main { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: center; width: 100%; max-width: 520px; padding: 48px 0 40px; }
.poafi-demo-intro-copy { max-width: 480px; }
.poafi-demo-intro .poafi-demo-eyebrow { margin-bottom: 13px; color: #5c59c9; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.poafi-demo-intro h1 { color: #17233d; font-size: clamp(32px, 3.1vw, 44px); font-weight: 700; line-height: 1.3; letter-spacing: -.04em; }
.poafi-demo-intro-copy > p:last-child { margin-top: 16px; color: #697890; font-size: 14px; line-height: 1.8; }
.poafi-demo-network {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: clamp(235px, 24vw, 290px);
  margin-top: 35px;
  overflow: hidden;
  border: 1px solid #e2e7f4;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(246, 248, 255, .75));
  box-shadow: 0 16px 40px rgba(46, 56, 119, .045), inset 0 1px 0 #fff;
}
.poafi-demo-network-top { position: absolute; z-index: 1; top: 17px; right: 19px; left: 19px; display: flex; align-items: center; justify-content: space-between; color: #8994aa; font-size: 9px; font-weight: 700; letter-spacing: .11em; }
.poafi-demo-network-dots { display: flex; gap: 4px; }
.poafi-demo-network-dots i { width: 4px; height: 4px; border-radius: 50%; background: #c7cee1; }
.poafi-demo-network-art { position: absolute; inset: 8px 0 0; width: 100%; height: calc(100% - 8px); }
.poafi-demo-network-card { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; border: 1px solid #e5e9f5; border-radius: 11px; background: rgba(255, 255, 255, .94); box-shadow: 0 9px 24px rgba(49, 59, 111, .08); }
.poafi-demo-network-card span, .poafi-demo-network-card strong { display: block; white-space: nowrap; }
.poafi-demo-network-card span { color: #8a96a9; font-size: 10px; line-height: 1.4; }
.poafi-demo-network-card strong { margin-top: 3px; color: #39455e; font-size: 12px; font-weight: 600; line-height: 1.4; }
.poafi-demo-network-card-main { top: 29%; left: 6%; width: min(244px, 88%); min-height: 78px; padding: 13px; }
.poafi-demo-network-card-small { right: 6%; bottom: 22%; padding: 11px 14px; }
.poafi-demo-network-icon, .poafi-demo-network-mini-icon { display: flex; flex: 0 0 36px; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: #eff0ff; color: #6764d9; }
.poafi-demo-network-mini-icon { flex-basis: 32px; width: 32px; height: 32px; border-radius: 8px; background: #f2f4ff; }
.poafi-demo-network-icon svg, .poafi-demo-network-mini-icon svg { width: 21px; height: 21px; }
.poafi-demo-network-card-lines { position: absolute; right: 13px; bottom: 12px; display: flex; align-items: flex-end; gap: 3px; height: 13px; }
.poafi-demo-network-card-lines i { width: 3px; height: 5px; border-radius: 2px; background: #d6daf9; }
.poafi-demo-network-card-lines i:nth-child(2) { height: 9px; }
.poafi-demo-network-card-lines i:nth-child(3) { height: 7px; }
.poafi-demo-network-card-lines i:nth-child(4) { height: 12px; background: #a5a7ef; }
.poafi-demo-network-caption { position: absolute; bottom: 15px; left: 19px; color: #9aa5b7; font-size: 8px; font-weight: 600; letter-spacing: .08em; }
.poafi-demo-network-caption span { padding: 0 4px; color: #b5bde0; }
.poafi-demo-intro .poafi-demo-intro-foot { color: #8793a6; font-size: 11px; }
.poafi-demo-intro-foot span { padding: 0 5px; color: #b0b9ca; }
.poafi-demo-form-area { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding: 40px clamp(24px, 4vw, 64px); background: #fbfcff; }
.poafi-demo-card { width: min(100%, 440px); padding: clamp(28px, 3.3vw, 42px); border: 1px solid #e1e7f0; border-radius: 16px; background: #fff; box-shadow: 0 10px 40px rgba(31, 48, 82, .06); }
.poafi-demo-pill { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 6px; background: #eeefff; color: #4338ca; font-size: 11px; font-weight: 700; }
.poafi-demo-card-heading h2 { margin-top: 16px; color: #17233d; font-size: 25px; line-height: 1.3; letter-spacing: -.03em; }
.poafi-demo-card-heading h2:focus { outline: none; }
.poafi-demo-card-heading p { margin-top: 9px; color: #6a788f; font-size: 12px; line-height: 1.7; }
.poafi-demo-login button, .poafi-demo-login input, .poafi-demo-session button { font: inherit; }
.poafi-demo-login button, .poafi-demo-session button { cursor: pointer; }
.poafi-demo-login button:focus-visible, .poafi-demo-login input:focus-visible,
.poafi-demo-session button:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }
.poafi-demo-form { display: grid; gap: 18px; margin-top: 30px; }
.poafi-demo-field { min-width: 0; }
.poafi-demo-login .poafi-demo-field label { display: block; margin: 0 0 7px; color: #34435c; font-size: 12px; font-weight: 600; }
.poafi-demo-login .poafi-demo-field input { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 10px 13px; border: 1px solid #cbd5e2; border-radius: 8px; background: #fff; box-shadow: none; color: #17233d; font-size: 14px; }
.poafi-demo-login .poafi-demo-field input::placeholder { color: #a0aabd; font-size: 12px; }
.poafi-demo-login .poafi-demo-field input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.poafi-demo-login .poafi-demo-field input[aria-invalid="true"] { border-color: #b42332; }
.poafi-demo-field .poafi-demo-field-hint { margin-top: 6px; color: #78869b; font-size: 11px; line-height: 1.4; }
.poafi-demo-password-wrap { position: relative; }
.poafi-demo-login .poafi-demo-password-wrap input { padding-right: 76px; }
.poafi-demo-login .poafi-demo-password-wrap button { position: absolute; top: 50%; right: 6px; min-height: 34px; padding: 4px 9px; transform: translateY(-50%); border: 0; border-radius: 6px; background: transparent; color: #4338ca; font-size: 12px; font-weight: 600; }
.poafi-demo-login .poafi-demo-password-wrap button:hover:not(:disabled) { background: #eeefff; }
.poafi-demo-login .poafi-demo-password-wrap button:active { transform: translateY(-50%); }
.poafi-demo-code-wrap { position: relative; width: 100%; max-width: 356px; }
.poafi-demo-code-slots { display: flex; gap: 7px; }
.poafi-demo-code-slot { display: flex; flex: 1 1 0; align-items: center; justify-content: center; min-width: 0; height: 52px; border: 1px solid #cbd5e2; border-radius: 8px; background: #fff; color: #17233d; font-size: 21px; font-weight: 600; line-height: 1; }
.poafi-demo-code-slot:nth-child(3) { margin-right: 8px; }
.poafi-demo-code-wrap:focus-within .poafi-demo-code-slot[data-active="true"] { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.poafi-demo-code-wrap:has(input[aria-invalid="true"]) .poafi-demo-code-slot { border-color: #b42332; }
.poafi-demo-login .poafi-demo-field input.poafi-demo-code-input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: text; }
.poafi-demo-error { color: #b42332; font-size: 12px; line-height: 1.6; }
.poafi-demo-error:empty { display: none; }
.poafi-demo-login .poafi-demo-submit { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 47px; padding: 10px 16px; border: 1px solid #4f46e5; border-radius: 8px; background: #4f46e5; color: #fff; font-size: 13px; font-weight: 700; }
.poafi-demo-login .poafi-demo-submit:hover:not(:disabled) { border-color: #4338ca; background: #4338ca; color: #fff; }
.poafi-demo-submit span { font-size: 16px; font-weight: 400; line-height: 1; }
.poafi-demo-login .poafi-demo-back { justify-self: center; min-height: 36px; padding: 5px 10px; border: 0; border-radius: 7px; background: transparent; color: #514bcf; font-size: 12px; font-weight: 600; }
.poafi-demo-login .poafi-demo-back:hover { background: #eeefff; }
.poafi-demo-login .poafi-demo-notice { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 23px; color: #78869a; font-size: 11px; line-height: 1.5; }
.poafi-demo-notice svg { flex: 0 0 15px; width: 15px; height: 15px; }
.poafi-demo-login .poafi-demo-form-foot { width: min(100%, 440px); margin-top: 20px; color: #97a3b5; font-size: 9px; font-weight: 600; letter-spacing: .09em; text-align: center; }
.poafi-demo-session { position: fixed; z-index: 5; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 6px 6px 6px 12px; border: 1px solid #e1e7f0; border-radius: 10px; background: #fff; box-shadow: 0 5px 20px rgba(31, 48, 82, .14); color: #34435c; font: 600 11px/1.4 Inter, "Noto Sans SC", sans-serif; }
.poafi-demo-session[hidden] { display: none; }
.poafi-demo-session button { min-height: 38px; padding: 7px 11px; border: 1px solid #cbd0fb; border-radius: 7px; background: #fff; color: #4338ca; font-size: 12px; font-weight: 600; }
.poafi-demo-session button:hover { background: #eeefff; }
@media (max-width: 760px) {
  .poafi-demo-layout { grid-template-columns: minmax(0, 1fr); }
  .poafi-demo-login .poafi-demo-intro { padding: 24px 22px 22px; border-right: 0; border-bottom: 1px solid #e8edf5; }
  .poafi-demo-brand svg { width: 36px; height: 36px; flex-basis: 36px; }
  .poafi-demo-intro-main { max-width: none; padding: 27px 0 0; }
  .poafi-demo-intro h1 { font-size: clamp(27px, 7vw, 34px); }
  .poafi-demo-intro-copy > p:last-child { margin-top: 10px; font-size: 13px; }
  .poafi-demo-network { max-width: 500px; height: 220px; margin-top: 20px; }
  .poafi-demo-network-card-main { top: 24%; min-height: 68px; padding: 10px; }
  .poafi-demo-network-card-small { right: 5%; bottom: 12%; }
  .poafi-demo-intro .poafi-demo-intro-foot { display: none; }
  .poafi-demo-form-area { padding: 24px 16px 30px; }
  .poafi-demo-card { padding: 26px 22px; }
  .poafi-demo-card-heading h2 { font-size: 22px; }
  .poafi-demo-form { gap: 16px; margin-top: 25px; }
  .poafi-demo-session { right: 10px; bottom: 10px; max-width: calc(100vw - 20px); }
}
@media (max-width: 380px) {
  .poafi-demo-login .poafi-demo-intro { padding-right: 16px; padding-left: 16px; }
  .poafi-demo-network { height: 200px; }
  .poafi-demo-network-card-main { left: 4%; width: min(244px, 88%); }
  .poafi-demo-network-card-small { right: 4%; padding: 8px; }
  .poafi-demo-network-card span { font-size: 9px; }
  .poafi-demo-network-card strong { font-size: 11px; }
  .poafi-demo-network-card-lines { display: none; }
  .poafi-demo-network-caption { bottom: 10px; }
}
@media (max-width: 300px) {
  .poafi-demo-login .poafi-demo-intro, .poafi-demo-form-area { padding-right: 12px; padding-left: 12px; }
  .poafi-demo-card { padding: 22px 15px; }
  .poafi-demo-network-card-small { right: 3%; bottom: 14%; }
}
@media (prefers-reduced-motion: reduce) {
  .poafi-demo-login button, .poafi-demo-session button { transition: none; }
}
