:root {
    --primary: #d32f2f;
    --primary-hover: #b71c1c;
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-muted: #64748b;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background-color: var(--bg); color: var(--text); padding: 2rem 1rem; }
.container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 1rem; }
.badge { font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 9999px; background: #e2e8f0; font-weight: 600; }
.badge.public { background: #dcfce7; color: #166534; }
.user-info { font-size: 0.875rem; color: var(--text-muted); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.card h3 { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
label { font-size: 0.875rem; font-weight: 500; }
input { padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 6px; font-size: 0.875rem; }
.form-actions { display: flex; gap: 0.5rem; }
.btn { padding: 0.5rem 1rem; border-radius: 6px; border: 1px solid var(--border); background: white; cursor: pointer; font-size: 0.875rem; }
.btn.primary { background: var(--primary); color: white; border: none; }
.btn.primary:hover { background: var(--primary-hover); }
.btn.danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.toolbar { display: flex; gap: 1rem; margin-bottom: 1rem; }
.toolbar input { flex: 1; }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
th, td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
th { background: #f8fafc; color: var(--text-muted); font-weight: 600; }
.hidden { display: none !important; }
.alert { padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.875rem; }
.alert.success { background: #dcfce7; color: #166534; }
.alert.error { background: #fee2e2; color: #991b1b; }
