* { box-sizing: border-box; } body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #0f1115; color: #e6e6e6; } .app { max-width: 960px; margin: 0 auto; padding: 0 1.5rem 3rem; } .app-header { display: flex; align-items: center; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid #2a2d35; } .app-header h1 { font-size: 1.25rem; margin: 0; } .tabs { display: flex; gap: 0.5rem; } .tab { background: none; border: 1px solid #2a2d35; color: #b7bcc7; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; } .tab.active { background: #3b82f6; border-color: #3b82f6; color: white; } .garmin-connection { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.75rem 0; border-bottom: 1px solid #2a2d35; } .garmin-connection-row { display: flex; align-items: center; gap: 0.75rem; } .garmin-connection-message { margin: 0; font-size: 0.8rem; color: #9aa0ab; } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6b7280; } .status-dot.status-authenticated { background: #22c55e; } .status-dot.status-mfa_required { background: #f59e0b; } .status-dot.status-failed { background: #f87171; } .status-label { font-size: 0.85rem; color: #9aa0ab; } .page { padding-top: 1.5rem; } .controls { display: flex; gap: 1.5rem; margin-bottom: 1rem; } .controls label, .kind-editor label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: #9aa0ab; } select, input, textarea, button { font-family: inherit; font-size: 0.95rem; background: #1a1d24; color: #e6e6e6; border: 1px solid #2a2d35; border-radius: 6px; padding: 0.4rem 0.6rem; } button { cursor: pointer; } button:hover:not(:disabled) { border-color: #3b82f6; } button:disabled { opacity: 0.5; cursor: default; } .button-danger { border-color: #7f1d1d; color: #f87171; } .button-danger:hover:not(:disabled) { background: #7f1d1d; border-color: #f87171; color: #fff; } .filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; } .filter-pill { border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.85rem; } .filter-pill.active { background: #3b82f6; border-color: #3b82f6; color: #fff; } .empty-state { color: #9aa0ab; } .error { color: #f87171; } .review-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; } .review-list-sentinel { padding: 1rem 0; text-align: center; } .review-item { border: 1px solid #2a2d35; border-radius: 8px; padding: 1rem; } .review-item-header { display: flex; justify-content: space-between; font-size: 1rem; } .review-item-header span { color: #9aa0ab; font-size: 0.85rem; } .review-item-stats { display: flex; gap: 1rem; color: #9aa0ab; font-size: 0.85rem; margin-top: 0.25rem; } .candidates { font-size: 0.8rem; color: #9aa0ab; margin: 0.5rem 0; } .review-item-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; } .expected-actual-charts { display: flex; gap: 1rem; flex-wrap: wrap; margin: 0.5rem 0; } .mini-chart { flex: 1 1 220px; min-width: 180px; } .mini-chart-label { display: block; font-size: 0.75rem; color: #9aa0ab; margin-bottom: 0.15rem; } .phase-legend { flex-basis: 100%; display: flex; gap: 0.75rem; flex-wrap: wrap; } .phase-legend-item { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; color: #9aa0ab; } .phase-legend-swatch { width: 8px; height: 8px; border-radius: 2px; display: inline-block; } .review-item-footer { display: flex; justify-content: flex-end; margin-top: 0.5rem; } .raw-data-button { font-size: 0.75rem; padding: 0.25rem 0.6rem; color: #9aa0ab; } .modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 100; } .modal-content { background: #14161c; border: 1px solid #2a2d35; border-radius: 8px; width: min(720px, 90vw); max-height: 80vh; display: flex; flex-direction: column; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; border-bottom: 1px solid #2a2d35; font-weight: 600; } .modal-json { margin: 0; padding: 1rem; overflow: auto; font-size: 0.8rem; line-height: 1.4; white-space: pre-wrap; word-break: break-word; } .kinds-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; } .lock-badge { display: inline-block; border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.75rem; color: #9aa0ab; border: 1px solid #2a2d35; cursor: help; } .kinds-table th, .kinds-table td { text-align: left; padding: 0.5rem; border-bottom: 1px solid #2a2d35; } .kinds-table-actions { display: flex; gap: 0.5rem; } .kind-editor { display: flex; flex-direction: column; gap: 0.75rem; border: 1px solid #2a2d35; border-radius: 8px; padding: 1rem; max-width: 480px; } .kind-editor textarea { font-family: ui-monospace, monospace; font-size: 0.85rem; } .kind-editor-actions { display: flex; gap: 0.5rem; }