/* 浏览器打印（Ctrl+P）布局：招标基础信息 + 报价计算 */
@page { size: 210mm 297mm; margin: 10mm; }

html, body {
    background: #ffffff !important;
    color: #0f172a;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .app-header, .sidebar, .toast, .modal-backdrop { display: none !important; }

  .shell {
    display: block !important;
    width: 190mm !important;
    max-width: 190mm !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  .shell > main.content {
    display: block !important;
    width: 190mm !important;
    max-width: 190mm !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 打印「招标基础信息」+「报价计算」，隐藏我公司/其他公司录入 */
  #ourCard, #othersCard { display: none !important; }
  #calcSection { display: block !important; }

  #infoSectionHead { margin-top: 0; }
  #calcSection .section-head { margin-top: 18px; margin-bottom: 10px; }
  .section-head { border-bottom-color: #9aa7b8; }
  .section-head h2 { font-size: 16pt; }

  .card {
    box-shadow: none !important;
    border: 1px solid #cfd6df;
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 12px 14px;
  }

  .calc-block { margin-bottom: 12px; }
  .calc-block-title { font-size: 12pt; margin-bottom: 8px; }

  .kpi-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
  }
  .kpi { padding: 10px 12px; break-inside: avoid; }
  .kpi-value { font-size: 15pt !important; white-space: nowrap; }
  .kpi-label { font-size: 8.5pt; }
  .kpi-sub { font-size: 8pt; }

  .card-title { font-size: 11pt; }
  .chart-caption { font-size: 8pt; }

  .chart-host { break-inside: avoid; }
  .chart-svg { width: 100% !important; height: auto !important; }

  #trialCard { break-inside: avoid; }
  #trialCard .trial-row { display: none !important; }  /* 隐藏滑块与按钮 */
  #trialCard .sub { display: none !important; }
  .trial-result { font-size: 9pt; gap: 16px; }
  .trial-result .tr-item b { font-size: 11pt; }

  .table-wrap { overflow: visible !important; border-color: #cfd6df; }
  #rankTable { font-size: 8.5pt; }
  #rankTable th, #rankTable td { padding: 4px 6px; }
  #rankTable .score-cell { min-width: 110px; }
  .status-tag { border: 1px solid #d0d6df; }
  .hint { font-size: 8pt; }
