@import url('/h5/app.css?v=2026072914');

:root {
  color-scheme: light;
}

html,
body.pc-web {
  width: 100%;
  min-width: 1080px;
  min-height: 100%;
  overflow: hidden;
  background: #f5f7f8;
}

body.pc-web {
  margin: 0;
  color: #18212b;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
}

body.pc-web #app {
  min-width: 1080px;
  min-height: 100vh;
  background: #f5f7f8;
}

body.pc-web #app > .boot {
  background: #f5f7f8;
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  body.pc-web .desktop-rail {
    background: #edf1f3;
    border-right-color: #dfe5e8;
  }

  body.pc-web .desktop-sidebar {
    background: #fbfcfc;
    border-right-color: #dfe5e8;
  }

  body.pc-web .desktop-side-head {
    min-height: 58px;
    padding: 0 16px;
    border-bottom-color: #e7ecee;
  }

  body.pc-web .desktop-side-head strong,
  body.pc-web .topbar h1,
  body.pc-web .chat-topbar h1 {
    font-size: 16px;
    line-height: 1.2;
  }

  body.pc-web .desktop-sidebar .row {
    min-height: 66px;
    padding: 8px 12px;
  }

  body.pc-web .desktop-sidebar .row .avatar,
  body.pc-web .desktop-sidebar .row-avatar {
    width: 42px;
    height: 42px;
  }

  body.pc-web .desktop-chat-shell > .page-sub,
  body.pc-web .desktop-chat-shell > .topbar {
    background: #f6f8f9;
  }

  body.pc-web .desktop-chat-shell .topbar,
  body.pc-web .desktop-chat-shell .chat-topbar {
    min-height: 58px;
    padding: 0 18px;
    border-bottom-color: #e1e7ea;
  }

  body.pc-web .desktop-chat-shell .composer-dock {
    padding: 10px 16px;
    border-top-color: #e1e7ea;
    background: #ffffff;
  }

  body.pc-web .desktop-chat-shell .composer .field {
    min-height: 38px;
    font-size: 14px;
  }

  body.pc-web .desktop-chat-shell .message-row {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.pc-web .desktop-chat-shell .bubble {
    max-width: min(680px, 70%);
  }

  /* PC Web has its own compact sign-in surface; mobile H5 keeps its existing layout. */
  body.pc-web #app.auth-shell {
    background: #edf1f3;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    width: 100%;
  }

  body.pc-web .auth-shell {
    align-items: center;
    background: #edf1f3;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 32px;
  }

  body.pc-web .auth-page {
    background: #ffffff;
    border: 1px solid #dfe5e8;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(22, 35, 45, 0.12);
    box-sizing: border-box;
    flex: 0 0 440px;
    max-width: 440px;
    min-height: 0;
    padding: 42px 44px 38px;
    width: 440px;
  }

  body.pc-web .auth-hero {
    padding: 0 0 26px;
  }

  body.pc-web .auth-logo-img {
    border-radius: 18px;
    height: 68px;
    margin-bottom: 16px;
    width: 68px;
  }

  body.pc-web .auth-name,
  body.pc-web .auth-mode-login .auth-name {
    font-size: 24px;
    line-height: 1.2;
  }

  body.pc-web .auth-sub {
    font-size: 13px;
    margin-top: 8px;
  }

  body.pc-web .auth-form {
    gap: 10px;
    margin: 0;
    width: 100%;
  }

  body.pc-web .auth-field {
    border-radius: 7px;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
  }

  body.pc-web .auth-field span {
    flex-basis: 56px;
    font-size: 14px;
  }

  body.pc-web .auth-mode-reset .auth-field span {
    flex-basis: 76px;
  }

  body.pc-web .auth-field input {
    font-size: 14px;
  }

  body.pc-web .auth-icon {
    height: 18px;
    width: 18px;
  }

  body.pc-web .auth-meta {
    font-size: 12px;
    margin: 0 1px 6px;
  }

  body.pc-web .auth-meta button {
    font-size: 13px;
  }

  body.pc-web .auth-submit {
    border-radius: 7px;
    box-shadow: 0 10px 20px rgba(7, 193, 96, 0.18);
    font-size: 15px;
    height: 44px;
    margin-top: 4px;
  }

  body.pc-web .auth-links {
    font-size: 13px;
    margin-top: 22px;
  }

  body.pc-web .auth-links button {
    font-size: 13px;
    padding-left: 7px;
  }

  body.pc-web .auth-agree {
    font-size: 11px;
    grid-row: 4;
    justify-content: flex-start;
    margin: 0 1px 2px;
  }

  body.pc-web .auth-error {
    grid-row: 5;
  }

  body.pc-web .auth-submit {
    grid-row: 6;
  }

  body.pc-web .auth-links {
    grid-row: 7;
    margin-top: 14px;
  }

  body.pc-web .auth-policy-link {
    font-size: 11px;
  }

  body.pc-web .sheet-mask .sheet {
    box-shadow: 0 16px 44px rgba(22, 35, 45, 0.18);
  }

  body.pc-web .empty-state {
    background: transparent;
  }

  body.pc-web *:focus-visible {
    outline: 2px solid #17ad70;
    outline-offset: 2px;
  }
}

html[data-theme="dark"] body.pc-web,
html[data-effective-theme="dark"] body.pc-web,
html[data-theme="dark"] body.pc-web #app,
html[data-effective-theme="dark"] body.pc-web #app,
html[data-theme="dark"] body.pc-web #app > .boot,
html[data-effective-theme="dark"] body.pc-web #app > .boot {
  background: #111827;
}
