/* 报告 PDF：按钮条 + 邮件弹窗 + 打印样式（v20261013pdf1） */
.lm-pdf-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 6px;
}

.lm-email-modal {
  position: fixed;
  inset: 0;
  z-index: 100002;
  background: rgba(20, 14, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lm-email-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.lm-email-title {
  font-size: 16px;
  font-weight: 700;
  color: #2b2430;
  margin-bottom: 12px;
}
.lm-email-card input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ddd6cb;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 14px;
  outline: none;
}
.lm-email-card input[type="email"]:focus {
  border-color: #88619a;
}
.lm-email-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ─── 打印：只留报告正文 ─── */
@media print {
  .sidebar,
  .topbar,
  .bottom-nav,
  #lm-boot,
  .toast,
  .share-sheet-mask,
  .lm-pdf-actions,
  .deep-gate,
  .lm-page-progress,
  .lm-email-modal,
  .lm-boot-card {
    display: none !important;
  }
  html, body {
    background: #fff !important;
  }
  .app-layout {
    display: block !important;
  }
  .app-shell {
    margin: 0 !important;
    max-width: none !important;
  }
  #main {
    padding: 0 8px !important;
    max-width: none !important;
  }
  .deep-report {
    max-width: none !important;
  }
  .deep-block {
    break-inside: avoid;
  }
  a {
    color: inherit !important;
    text-decoration: none !important;
  }
}
