body { font-family: system-ui, sans-serif; margin: 0; background: #f6f7f9; color: #1a1a1a; line-height: 1.5; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: #1e3a5f; color: #fff; }
.topbar a { color: #fff; margin-left: 16px; text-decoration: none; }
.container { max-width: 1200px; margin: 24px auto; padding: 0 16px; }
.card { background: #fff; border-radius: 8px; padding: 16px 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card.help { background: #f0f6ff; border: 1px solid #c5d9f0; }
.card.help ol { margin: 8px 0 0 1.2rem; padding: 0; }
.card.alert-warning { background: #fef2f2; border: 2px solid #f87171; }
.card.alert-warning h2 { color: #991b1b; margin-top: 0; }
.flatpay-warn-table { font-size: 13px; margin-top: 8px; }
.prepaid-badge { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.hint { background: #fff8e6; border: 1px solid #f0d78a; padding: 10px 14px; border-radius: 6px; font-size: 14px; }
.warn { color: #b45309; font-weight: 500; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid #eee; vertical-align: middle; }
.candidates-table { font-size: 14px; }
.badge { background: #e8eef5; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.phase-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.phase-badge.phase-lg { font-size: 15px; padding: 6px 14px; }
.phase-none { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.phase-created { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.phase-sent { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.pill-ready { background: #ecfdf3; color: #067647; border: 1px solid #6ee7b7; }
.pill-manual { background: #fffaeb; color: #b54708; border: 1px solid #fcd34d; }
.pill-blocked { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.pill-done { background: #eef4ff; color: #3538cd; border: 1px solid #c7d7fe; }
.pill-default { background: #eef2f6; color: #667085; border: 1px solid #d9dee7; }
.candidates-table tbody tr.row-ready { background: #f6fef9; }
.candidates-table tbody tr.row-deferred { background: #f9fafb; }
.candidates-table tbody tr.row-manual { background: #fffbeb; }
.candidates-table tbody tr.row-blocked { background: #fef2f2; }
.candidates-table tbody tr.row-done { background: #f5f8ff; }
.candidates-table tbody tr.row-default { background: #fff; }
.candidates-table tbody tr:hover { filter: brightness(0.98); }
.payment-missing { color: #b54708; font-weight: 600; }
.status-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 140px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 2px solid #e5e7eb; padding-bottom: 0; }
.tab { padding: 10px 16px; text-decoration: none; color: #4b5563; border-bottom: 3px solid transparent; margin-bottom: -2px; font-weight: 500; }
.tab.active { color: #1e3a5f; border-bottom-color: #2563eb; }
.tab-count { background: #e5e7eb; padding: 1px 7px; border-radius: 10px; font-size: 11px; margin-left: 4px; }
.tab.active .tab-count { background: #dbeafe; color: #1e40af; }
.error { color: #b00020; font-weight: 600; }
.muted { color: #666; font-size: 14px; }
.empty { padding: 12px; background: #fafafa; border-radius: 6px; }
.status-big { font-size: 1.25rem; font-weight: 600; color: #1e3a5f; }
.facts { display: grid; grid-template-columns: 180px 1fr; gap: 8px; }
.facts dt { color: #666; }
.breadcrumb { margin-bottom: 8px; }
.breadcrumb a { color: #1e3a5f; }
.result { background: #f4f4f4; padding: 12px; border-radius: 6px; font-size: 13px; white-space: pre-wrap; }
label { display: block; margin-bottom: 12px; font-weight: 500; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.checkbox-row input { width: auto; max-width: none; margin: 0; }
.breakfast-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.breakfast-yes { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.breakfast-no { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; }
.breakfast-unknown { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.breakfast-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-top: 8px; }
.breakfast-form label { margin-bottom: 0; }
.breakfast-form input[type=number] { width: 80px; max-width: 80px; padding: 8px; margin-top: 4px; }
button.breakfast-btn { background: #7c3aed; }
button.breakfast-btn:hover { background: #6d28d9; }
input[type=text], input[type=email], input[type=password], input[type=number] { width: 100%; max-width: 400px; padding: 10px; margin-top: 4px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; }
button { background: #1e3a5f; color: #fff; border: 0; padding: 10px 18px; border-radius: 4px; cursor: pointer; font-size: 15px; }
button:disabled { opacity: .5; cursor: not-allowed; }
button#dry-run-btn { background: #2d6a4f; margin-left: 8px; }
.go-btn { background: #2563eb; font-weight: 700; min-width: 56px; }
.go-btn:hover:not(:disabled) { background: #1d4ed8; }
.go-btn-lg { font-size: 17px; padding: 12px 24px; }
.payment-cell { font-size: 13px; line-height: 1.35; min-width: 130px; }
.payment-detail { line-height: 1.5; }
.actions { white-space: nowrap; }
.actions .link-detail { margin-left: 10px; font-size: 13px; }
.center { text-align: center; }
.actions-card { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
