/* Lost Luggage Recovery Playbook */
:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-alt: #f0f3f9;
  --border: #d9dee8;
  --text: #1c2330;
  --text-muted: #5a6478;
  --accent: #1f6feb;
  --accent-dark: #1559c2;
  --accent-light: #e8f0fe;
  --warning: #b45309;
  --warning-bg: #fff7ed;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(20, 30, 50, 0.06), 0 4px 16px rgba(20, 30, 50, 0.04);
  --shadow-lg: 0 4px 12px rgba(20, 30, 50, 0.08), 0 12px 32px rgba(20, 30, 50, 0.06);
  --max-width: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-icon { color: var(--accent); flex-shrink: 0; }
.header-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.header-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.header-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* Main */
.main { padding-top: 32px; padding-bottom: 60px; }

/* Intro */
.intro { margin-bottom: 36px; }
.intro h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--text);
}
.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 10px;
}
.meta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* Worksheet */
.worksheet { margin-bottom: 48px; }
.worksheet-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .worksheet-grid { grid-template-columns: 1fr; }
}

.form-panel, .preview-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-panel h2, .preview-panel h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}
.panel-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.subsection {
  font-size: 1rem;
  margin: 24px 0 12px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.field { margin-bottom: 16px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) {
  .field-row { grid-template-columns: 1fr; }
}
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}
input[type="text"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
textarea { resize: vertical; min-height: 60px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.btn {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--surface-alt); border-color: #c0c7d4; }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; }

.save-status {
  font-size: 0.85rem;
  color: var(--success);
  margin: 10px 0 0;
  min-height: 1.2em;
}

/* Preview */
.preview-sticky { position: sticky; top: 80px; }
.preview-sheet {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  font-size: 0.88rem;
  line-height: 1.55;
  min-height: 200px;
}
.preview-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 30px 10px;
}
.preview-empty p { margin: 0; }
.preview-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.preview-row:last-child { border-bottom: none; }
.preview-label { color: var(--text-muted); font-weight: 500; }
.preview-value { text-align: right; font-weight: 600; }
.preview-section-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 14px 0 6px;
  font-weight: 700;
}
.preview-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}
.preview-total strong { color: var(--accent); font-size: 1.1rem; }

/* Timeline */
.timeline { margin-bottom: 48px; }
.timeline h2, .checklist-section h2, .guide h2 {
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.section-hint {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 20px;
}
.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-list li {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  position: relative;
}
.timeline-marker {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 1;
}
.timeline-body h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.timeline-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Checklist */
.checklist-section { margin-bottom: 48px; }
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) {
  .checklist { grid-template-columns: 1fr; }
}
.checklist li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  margin: 0;
}
.checklist input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

/* Guide */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 700px) {
  .guide-grid { grid-template-columns: 1fr; }
}
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.guide-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--accent-dark);
}
.guide-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.guide-extra {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.guide-extra h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.guide-extra p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.packing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 500px) {
  .packing-list { grid-template-columns: 1fr; }
}
.packing-list li {
  padding: 8px 12px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border-left: 3px solid var(--accent);
}
.template {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.template p { margin: 0 0 4px; color: var(--text); }
.template p:last-child { margin-bottom: 0; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-inner p { margin: 0; }
.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }

/* Print */
@media print {
  .site-header, .form-panel, .preview-total, .form-actions,
  .checklist-section, .guide, .site-footer, .timeline,
  .intro, .save-status, .panel-hint, .section-hint { display: none !important; }
  .worksheet-grid { display: block; }
  .preview-panel {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .preview-sheet {
    border: 2px solid #000;
    background: #fff;
  }
  body { background: #fff; }
}



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
