/* 从 en/quote_detail.blade.php 抽取（2026-08-27 批量） */
:root { --d-primary: #1a237e; --d-success: #2e7d32; }
.d-wrap { max-width: 800px; margin: 0 auto; padding: 16px; font-family: -apple-system,'Segoe UI',sans-serif; }
.d-nav { margin-bottom: 12px; }
.d-nav a { color: var(--d-primary); text-decoration: none; font-size: 14px; }
.d-nav a:hover { text-decoration: underline; }
.d-header { background: linear-gradient(135deg, #1a237e, #283593); color: #fff; border-radius: 12px; padding: 24px; margin-bottom: 16px; text-align: center; }
.d-header h1 { font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; word-break: break-all; }
.d-header .meta { font-size: 0.8rem; opacity: 0.8; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.d-header .d-price { font-size: 2.2rem; font-weight: 800; margin-top: 8px; }
.d-header .d-price .label { display: block; font-size: 0.75rem; font-weight: 400; opacity: 0.7; margin-bottom: 2px; }
.d-header .d-price .rmb { font-size: 1rem; font-weight: 400; opacity: 0.6; }
.d-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 8px rgba(0,0,0,0.08); padding: 20px; margin-bottom: 16px; }
.d-card h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 14px; color: #333; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-item { display: flex; flex-direction: column; }
.info-item .l { font-size: 0.75rem; color: #888; }
.info-item .r { font-size: 0.9rem; font-weight: 600; color: #333; }
.d-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.d-table th { text-align: left; padding: 8px 10px; border-bottom: 2px solid #e0e0e0; color: #666; font-weight: 600; }
.d-table th.r, .d-table td.r { text-align: right; }
.d-table td { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; }
.d-table tr.total td { font-weight: 800; font-size: 1rem; border-top: 2px solid #e0e0e0; border-bottom: none; padding-top: 10px; }
.d-footer { background: #fff; border-radius: 12px; box-shadow: 0 1px 8px rgba(0,0,0,0.08); padding: 20px; margin-bottom: 16px; text-align: center; }
.d-footer h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.d-footer p { font-size: 0.85rem; color: #666; line-height: 1.5; margin: 0 0 12px; }
@media print {
  body { background: #fff !important; }
  nav { display: none !important; }
  .d-wrap { padding: 0; max-width: 100%; }
  .d-header { background: #1a237e !important; -webkit-print-color-adjust: exact; }
  .d-card { box-shadow: none; border: 1px solid #ddd; border-radius: 8px; }
  .d-footer { box-shadow: none; border: 1px solid #ddd; }
  @page { margin: 15mm; }
}
.fb-btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fb-btn-row a { padding: 10px 24px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; }
a.btn-primary { background: var(--d-primary); color: #fff; }
a.btn-primary:hover { background: #283593; }
a.btn-print { background: #e3f2fd; color: #1565c0; }
a.btn-print:hover { background: #bbdefb; }
.disclaimer { text-align: center; font-size: 0.75rem; color: #999; margin-top: 20px; line-height: 1.4; }
.contact-box { background:#f8f9ff; border:1px solid #e0e3f0; border-radius:8px; padding:14px; margin:0 0 16px; font-size:12px; color:#555; line-height:1.8; }
