:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #cbd5e1;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --warn-bg: #fffbeb;
  --warn-border: #f59e0b;
  --danger-bg: #fef2f2;
  --danger-border: #ef4444;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
.container { max-width: 1020px; margin: 0 auto; padding: 0 16px; }
.topbar {
  background: #0f172a;
  color: #f8fafc;
  padding: 22px 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { font-size: 24px; font-weight: 800; }
.pill {
  font-size: 12px;
  font-weight: 600;
  background: #14b8a6;
  color: #042f2e;
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
}
.tagline { margin: 4px 0 0; color: #cbd5e1; font-size: 14px; }
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 16px;
}
.tab-btn {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}
.tab-btn.active { background: #0f172a; color: #fff; border-color: #0f172a; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
h2 { margin: 0 0 12px; font-size: 18px; }
h3 { margin: 0 0 10px; font-size: 15.5px; }
.form-grid { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; }
input, select, textarea {
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
}
.checkbox-row { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 14px;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #e2e8f0; color: #0f172a; }
.hint { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.summary-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.kpi { background: #f1f5f9; border-radius: 8px; padding: 10px; text-align: center; }
.kpi-label { display: block; font-size: 11.5px; color: var(--muted); }
.kpi strong { font-size: 16px; }
.warning-box {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 12px;
  color: #92400e;
}
.receipt-list, .dict-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.receipt-item, .dict-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.del-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: #b91c1c;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}
.trap-grid, .airport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.trap-card, .airport-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 13px;
  background: #f8fafc;
}
.trap-card h4, .airport-card h4 { margin: 0 0 6px; font-size: 14.5px; }
.trap-card p, .airport-card p { margin: 0; font-size: 13px; color: var(--muted); }
.staff-card {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  padding: 16px;
}
.staff-title { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.staff-body { margin: 0; font-size: 15px; line-height: 1.7; }
.scan-hit {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: 8px;
  padding: 9px 11px;
  margin-top: 8px;
  font-size: 13px;
}
.scan-safe {
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
}
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.section { margin: 28px 0; }
.pricing-banner {
  background: #0f172a;
  color: #fff;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.pricing-banner p { margin: 4px 0 0; color: #cbd5e1; font-size: 14px; }
.pass-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.notice {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 8px;
  font-size: 13.5px;
  color: #92400e;
}
.footer { padding: 24px 0 40px; font-size: 12.5px; color: var(--muted); }
