* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1c2130; background: #f6f3ec; line-height: 1.55; }
a { color: #2f6df6; }
.lang-switch { text-align: right; max-width: 980px; margin: 0 auto 10px; }
.lang-switch button { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 7px; padding: 4px 10px; margin-left: 6px; cursor: pointer; font-size: 13px; }
.hero { background: linear-gradient(135deg, #3a2a12, #b45309 55%, #d97706); color: #fff; padding: 36px 20px 28px; text-align: center; }
.hero h1 { margin: 0 0 8px; font-size: 34px; }
.hero .tagline { font-size: 18px; margin: 0 0 14px; }
.hero .honest, .hero .privacy { max-width: 760px; margin: 10px auto 0; background: rgba(255,255,255,.14); border-radius: 10px; padding: 10px 14px; font-size: 14.5px; text-align: left; }
.pro-badge { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.22); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.pro-badge.on { background: #ffd84d; color: #1c2130; border-color: #ffd84d; }
main { max-width: 980px; margin: 0 auto; padding: 0 16px 40px; }
.steps ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding: 0; list-style: none; margin: 22px 0; }
.steps li { background: #fff; border: 1px solid #e3ddcf; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.app { background: #fff; border: 1px solid #e3ddcf; border-radius: 14px; padding: 20px; }
.app h2 { margin-top: 0; }
.app h3 { margin: 22px 0 10px; font-size: 17px; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 9px; border: 1.5px solid #c6cad6; background: #fff; font-size: 15px; cursor: pointer; color: #1c2130; text-decoration: none; }
.btn.primary { background: #b45309; border-color: #b45309; color: #fff; font-weight: 600; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.status { font-size: 14px; color: #5a6070; }
.note { font-size: 13.5px; color: #5a6070; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; font-size: 14.5px; }
.field > span { display: block; font-weight: 600; margin-bottom: 6px; }
.field.wide { grid-column: 1 / -1; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field input[type="month"], .field select, .field textarea { width: 100%; padding: 9px 10px; font-size: 15px; border: 1.5px solid #c6cad6; border-radius: 9px; font-family: inherit; }
.field textarea { resize: vertical; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tab-btn { background: #f8f6f0; border: 1.5px solid #e3ddcf; border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: pointer; color: #1c2130; font-family: inherit; }
.tab-btn.active { background: #b45309; border-color: #b45309; color: #fff; font-weight: 600; }
.tab-panel { border-top: 2px solid #e8e2d4; padding-top: 8px; }
.card-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: flex-start; border: 1px solid #e3ddcf; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 14.5px; }
.card-main { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.card-main .meta { font-size: 13.5px; color: #5a6070; }
.card-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.low-flag { color: #c0392b; font-weight: 700; }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px 18px; flex: 1 1 100%; border-top: 1px solid #f0ece2; padding-top: 8px; margin-top: 4px; }
.check { display: block; font-size: 14.5px; margin: 6px 0; cursor: pointer; }
.check input { margin-right: 6px; }
.visit-card { flex-direction: column; }
.line-item { display: grid; grid-template-columns: 1fr 140px 40px; gap: 8px; margin-bottom: 8px; }
.line-item input { padding: 9px 10px; font-size: 15px; border: 1.5px solid #c6cad6; border-radius: 9px; font-family: inherit; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 12px 0; }
.report-card { background: #f8f6f0; border: 1px solid #e3ddcf; border-radius: 12px; padding: 14px; }
.report-card .report-num { font-size: 26px; font-weight: 800; }
.report-card .report-label { font-size: 13.5px; color: #5a6070; }
.report-card .report-detail { font-size: 13px; color: #5a6070; }
.pro-panel { margin-top: 22px; background: #fff7ed; border: 1px solid #fcd9a8; border-radius: 12px; padding: 16px 18px; }
.pro-panel h3 { margin-top: 0; }
.pro-panel ul { margin: 0 0 12px; }
.faq { margin-top: 28px; }
.faq details { background: #fff; border: 1px solid #e3ddcf; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
footer { text-align: center; font-size: 13.5px; color: #5a6070; padding: 20px; }

/* Print view: hidden on screen, the ONLY thing printed. The PREVIEW
 * watermark is real DOM text (not a background), so it survives
 * window.print even with "background graphics" off. */
#printView { display: none; }
.print-watermark { display: none; }
.print-preview-note { display: none; }

@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .line-item { grid-template-columns: 1fr 110px 36px; }
}

@media print {
  body { background: #fff; }
  body > *:not(#printView) { display: none !important; }
  #printView { display: block !important; color: #000; font-size: 14px; padding: 10px; }
  #printView h1 { font-size: 22px; margin: 0 0 10px; }
  #printView h2 { font-size: 16px; margin: 16px 0 6px; }
  #printView ul.print-checklist { list-style: none; padding: 0; }
  #printView ul.print-checklist li { margin: 4px 0; }
  #printView table.print-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
  #printView table.print-table th, #printView table.print-table td { border: 1px solid #999; padding: 6px 8px; text-align: left; }
  .print-preview-note { display: block !important; font-weight: 700; color: #c0392b; border: 2px solid #c0392b; border-radius: 8px; padding: 6px 10px; margin: 0 0 14px; }
  /* Diagonal PREVIEW watermark: fixed so it repeats on every printed
   * page; plain colored text (no background) so it always prints. */
  .print-watermark {
    display: block !important;
    position: fixed;
    top: 45%;
    left: -25%;
    width: 150%;
    text-align: center;
    transform: rotate(-35deg);
    font-size: 110px;
    font-weight: 900;
    letter-spacing: 12px;
    color: rgba(192, 57, 43, 0.16);
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
  }
}
.stage-select { padding: 6px 8px; font-size: 14px; border: 1.5px solid #c6cad6; border-radius: 9px; font-family: inherit; background: #fff; color: #1c2130; }
