:root {
    --bg: #ffffff;
    --fg: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --accent: #2563eb;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--fg); background: var(--bg); }

.app { display: flex; flex-direction: column; min-height: 100vh; }
.app-header { display: flex; align-items: center; gap: 24px; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.app-header .brand { font-weight: 700; text-decoration: none; color: var(--fg); }
.app-header nav { display: flex; gap: 16px; }
.app-header nav a { color: var(--muted); text-decoration: none; }
.app-header nav a:hover { color: var(--fg); }
.app-main { flex: 1; padding: 24px; max-width: 1100px; margin: 0 auto; width: 100%; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

input, select, textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; width: 100%; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.form-row { margin-bottom: 12px; }
.button { display: inline-block; padding: 8px 14px; background: var(--accent); color: white; border: none; border-radius: 6px; text-decoration: none; cursor: pointer; }
.button.secondary { background: white; color: var(--fg); border: 1px solid var(--border); }
