:root {
    --bg: #EEF2F7;
    --card: #F7FAFC;
    --text: #1F2937;
    --muted: #6B7280;
    --primary: #5B7CFA;
    --secondary: #00B8A9;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --radius: 16px;
    --shadow-out: 8px 8px 18px #d9e0ea, -8px -8px 18px #ffffff;
    --shadow-in: inset 3px 3px 8px #d9e0ea, inset -3px -3px 8px #ffffff;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: var(--bg); color: var(--text); }
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.sidebar { background: var(--card); box-shadow: var(--shadow-out); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.sidebar a { text-decoration: none; color: var(--text); padding: 10px; border-radius: 10px; }
.sidebar a:hover { background: #ebf0f7; }
.app-main { padding: 20px; }
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card, .mini-card, .auth-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-out); padding: 16px; }
.mini-card p { font-size: 24px; margin: 8px 0 0; }
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
input, select, textarea, button { border: 0; border-radius: 12px; padding: 10px 12px; background: var(--bg); box-shadow: var(--shadow-in); color: var(--text); }
textarea { min-height: 90px; }
button, .btn { cursor: pointer; background: var(--primary); color: #fff; box-shadow: none; text-decoration: none; display: inline-block; border-radius: 12px; padding: 10px 14px; }
button:hover, .btn:hover { filter: brightness(1.05); }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #e3e8f0; }
.actions { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.flash { padding: 10px 12px; border-radius: 12px; margin-bottom: 10px; }
.flash-error { background: #fee2e2; color: #991b1b; }
.flash-success { background: #dcfce7; color: #166534; }
.badge { padding: 4px 8px; border-radius: 999px; font-size: 12px; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; overflow: auto; }
.kanban-col { background: #ecf1f7; border-radius: 14px; padding: 10px; min-height: 300px; box-shadow: var(--shadow-in); }
.kanban-card { background: var(--card); border-radius: 12px; padding: 10px; margin-bottom: 8px; box-shadow: var(--shadow-out); display: flex; flex-direction: column; gap: 4px; }
.auth-body { display: grid; place-items: center; min-height: 100vh; }
.auth-card { width: min(440px, 92vw); }
.mt-2 { margin-top: 14px; }
@media (max-width: 980px) {
    .app-shell { grid-template-columns: 1fr; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
