














.login-brand { display: none; }
.pcnav { display: none; }




@media (min-width: 768px) {
  body { overflow: hidden; }

  #app {
    max-width: none;
    width: 100%;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
  }
  .screen-stack { border-radius: 0; }
  [data-theme="light"] #app { box-shadow: none; }
  .screen .content { align-items: center; padding-left: 28px; padding-right: 28px; }
  .screen .content > * { width: 100%; max-width: 640px; }

  .btn:hover { transform: translateY(-1px); }
  .bar:hover, .rch-card:hover, .mod-card:hover, .card-sc:hover,
  .prow:hover, .kb-chips button:hover { filter: brightness(1.06); }

  #toast-host { top: 24px; }
}




@media (min-width: 1024px) {

  #app {
    max-width: none;
    width: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
  }
  .screen-stack { border-radius: 0; }


  body.pc-authed #app { display: flex; }
  body.pc-authed .screen-stack { flex: 1 1 auto; min-width: 0; height: 100%; border-radius: 0; }


  body.pc-authed .pcnav {
    display: flex; flex-direction: column; flex: none;
    width: 236px; height: 100%;
    padding: 24px 16px 18px;
    background: rgba(8, 13, 26, .72);
    border-right: 1px solid var(--card-bd);
    backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25);
    z-index: 30;
  }
  .pcnav-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px; }
  .pcnav-logo {
    width: 36px; height: 36px; border-radius: 11px; flex: none;
    display: grid; place-items: center; color: var(--ink-on);
    background: linear-gradient(140deg, rgb(var(--g)), rgb(var(--g2)));
    box-shadow: 0 10px 22px -10px rgba(45, 150, 255, .7);
  }
  .pcnav-logo svg { width: 20px; height: 20px; }
  .pcnav-name { font-size: var(--fs-subtitle); line-height: var(--lh-tight); font-weight: var(--fw-title); letter-spacing: var(--track-tight); color: var(--ink); }

  .pcnav-list { display: flex; flex-direction: column; gap: 4px; flex: 1; min-height: 0; overflow-y: auto; }
  .pcnav-foot { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }

  .pcnav-item {
    display: flex; align-items: center; gap: 12px;
    width: 100%; padding: 11px 13px; border-radius: 13px;
    font-size: var(--fs-small); line-height: var(--lh-tight); font-weight: var(--fw-medium); color: var(--muted); text-align: left;
    border: 1px solid transparent; cursor: pointer;
    transition: color .18s, background .18s, border-color .18s, transform .18s;
  }
  .pcnav-item svg { width: 19px; height: 19px; flex: none; }
  .pcnav-item:hover { color: var(--ink); background: var(--glass-2); transform: translateX(2px); }
  .pcnav-item.on {
    color: var(--ink-on);
    background: linear-gradient(100deg, rgb(var(--g)), rgb(var(--g2)));
    border-color: transparent;
    box-shadow: 0 10px 24px -12px rgba(45, 150, 255, .6);
  }
  .pcnav-item.danger { color: var(--muted); }
  .pcnav-item.danger:hover { color: #ff8aa0; background: rgba(255, 120, 150, .1); }


  body.pc-authed .tabbar { display: none !important; }


  body.pc-authed .safetop { height: 18px; }
  body.pc-authed .appbar { padding-left: 30px; padding-right: 30px; }
  body.pc-authed .screen .content { align-items: center; padding-left: 30px; padding-right: 30px; padding-bottom: 26px; }
  body.pc-authed .screen .content > * { width: 100%; max-width: 700px; }

  body.pc-authed #screen-home .content > * { max-width: 920px; }
  body.pc-authed #screen-home .home-grid { gap: 16px; }
  body.pc-authed #screen-home .hero-card { min-height: 360px; padding-left: 24px; padding-right: 60px; }
  body.pc-authed #screen-home .hero-card .hero-body { min-height: 322px; }
  body.pc-authed #screen-home .hero-orb { left: 18px; width: 340px; }
  body.pc-authed #screen-home .hero-copy { flex-basis: 46%; }
  body.pc-authed #screen-home .hero-copy { gap: 24px; }
  body.pc-authed #screen-home .hero-txt { font-size: 28px; line-height: 1.24; }
  body.pc-authed #screen-home .hero-btn { height: 46px; padding: 0 26px; font-size: var(--fs-body-lg); }


  body.pc-authed #screen-records .list-col,
  body.pc-authed #screen-kb .list-col {
    max-width: 860px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  }


  .btn, .hero-btn, .mod-card, .card-sc, .bar, .rch-card, .prow,
  .pcnav-item, .tabbar .tb, .kb-chips button, .seg button, [data-go] { cursor: pointer; }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -16px rgba(45, 150, 255, .5); }
  .bar:hover, .rch-card:hover { transform: translateY(-2px); }
  .mod-card:hover, .card-sc:hover { filter: brightness(1.05); }
  .prow:hover { background: var(--glass-2); }
  a:hover { color: var(--gt); }
  ::selection { background: rgba(var(--g), .28); color: var(--ink); }


  .lg-input input:focus, .textarea:focus, .input:focus {
    outline: none; border-color: rgba(var(--g), .55); box-shadow: 0 0 0 3px rgba(var(--g), .16);
  }


  .content::-webkit-scrollbar, .pcnav-list::-webkit-scrollbar, .sheet::-webkit-scrollbar { width: 8px; }
  .content::-webkit-scrollbar-thumb, .pcnav-list::-webkit-scrollbar-thumb, .sheet::-webkit-scrollbar-thumb {
    background: rgba(120, 200, 255, .22); border-radius: 10px;
  }
  .content::-webkit-scrollbar-thumb:hover { background: rgba(120, 200, 255, .4); }


  .sheet-mask { align-items: center; justify-content: center; }
  .sheet { max-width: 560px; max-height: 82vh; border-radius: 22px; border: 1px solid var(--card-bd); }


  .voice-ov.tele { padding: 44px 48px 32px; }
  .voice-ov.tele .tele-panel { max-width: 720px; gap: 12px; }
  .voice-ov.tele .tele-head .vtimer { font-size: 32px; }
  .voice-ov.tele .tele-workspace { grid-template-rows: minmax(210px, .72fr) minmax(280px, 1.28fr); }
  .voice-ov.tele .tele-list { min-height: 0; gap: 16px; }
  .voice-ov.tele .tele-item.cust .tc { font-size: 13px; }
  .voice-ov.tele .tele-item.sales .tc { font-size: 13px; }
  .voice-ov.tele .tele-item.ai .tc { font-size: 16px; }
  .voice-ov.tele .tele-head-ctl { gap: 16px; }
  .voice-ov.tele .tele-head-ctl .tcb .tcb-ic { width: 50px; height: 50px; }

  #screen-chat .chat-empty .ce-inner { max-width: 560px; }
  #screen-chat .mode-cards { gap: 16px; }
  #screen-chat .mode-big { min-height: 210px; padding: 18px 17px; }
  .plus-menu { min-width: 260px; }


  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}




@media (min-width: 1024px) {
  #screen-login .content { align-items: stretch; padding: 0; }

  #screen-login .content > * { max-width: none; }
  .login-wrap {
    flex-direction: row; align-items: center; justify-content: center;
    gap: 60px; max-width: 940px; width: 100%; margin: 0 auto; padding: 0 48px; min-height: 100%;
  }

  .login-brand { display: flex; flex-direction: column; flex: 1 1 0; max-width: 440px; }
  .login-brand-badge {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    padding: 6px 13px; border-radius: 999px; font-size: var(--fs-meta); font-weight: var(--fw-strong); letter-spacing: var(--track-label);
    color: var(--gt); background: var(--glass-2); border: 1px solid var(--card-bd);
  }
  .login-brand-badge span { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--g)); box-shadow: 0 0 12px rgb(var(--g)); }
  .login-brand-title { font-size: clamp(40px, 4vw, 48px); line-height: 1.14; font-weight: var(--fw-title); letter-spacing: -.02em; color: var(--ink); margin: 20px 0 0; }
  .login-brand-sub { font-size: var(--fs-body-lg); line-height: 1.8; color: var(--muted); margin: 16px 0 0; max-width: 400px; }
  .login-brand-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .login-brand-points li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-body); font-weight: var(--fw-medium); color: var(--ink); }
  .login-brand-points i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: linear-gradient(135deg, rgb(var(--g)), rgb(var(--g2))); box-shadow: 0 0 10px rgba(var(--g), .8); }

  .login-card { flex: none; width: 400px; margin: 0; }
}

@media (min-width: 1280px) {
  .login-wrap { gap: 80px; max-width: 1040px; }
  .login-brand-title { font-size: clamp(42px, 3.8vw, 50px); }
  .login-card { width: 420px; }
}




@media (min-width: 1024px) {
  [data-theme="light"] body.pc-authed .pcnav {
    background: rgba(255, 255, 255, .62);
    border-right-color: rgba(20, 60, 130, .14);
  }
  [data-theme="light"] .content::-webkit-scrollbar-thumb { background: rgba(40, 90, 170, .25); }
  [data-theme="light"] .content::-webkit-scrollbar-thumb:hover { background: rgba(40, 90, 170, .4); }
}




@media print {
  .pcnav, .tabbar, .chat-input, .appbar .act, canvas { display: none !important; }
  #app { max-width: 100%; height: auto; border-radius: 0; box-shadow: none; display: block; }
  .screen { position: static; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .content { overflow: visible !important; }
}
