* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #f5f7fb; color: #18202a; }
.container { max-width: 1280px; margin: 0 auto; padding: 28px 18px 60px; }
.header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:22px; }
h1 { margin:0 0 4px; font-size:28px; } h2 { margin:0; } p { margin:0; color:#667085; }
.toolbar { display:flex; gap:14px; align-items:end; margin-bottom:14px; padding:16px; background:#fff; border:1px solid #e4e7ec; border-radius:12px; }
label { display:flex; flex-direction:column; gap:6px; font-weight:600; color:#344054; }
input, textarea, select { font:inherit; border:1px solid #d0d5dd; border-radius:8px; padding:9px 10px; background:#fff; color:inherit; }
.search { flex:1; } button { border:0; border-radius:8px; padding:9px 13px; font:inherit; cursor:pointer; }
.primary { background:#1f2937; color:white; } .secondary { background:#eef2f6; color:#344054; }
button:disabled { opacity:.45; cursor:not-allowed; } .danger-text { color:#b42318; background:transparent; }
.table-wrap { background:#fff; border:1px solid #e4e7ec; border-radius:12px; overflow:auto; }
table { width:100%; border-collapse:collapse; min-width:850px; }
th, td { text-align:left; padding:13px 14px; border-bottom:1px solid #eaecf0; vertical-align:top; }
th { background:#fafafa; color:#667085; font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
td strong { display:block; } td small { display:block; color:#667085; max-width:330px; margin-top:3px; }
.actions { white-space:nowrap; } .actions button { margin-right:5px; padding:5px 7px; background:#f2f4f7; }
.badge, .priority { display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; font-weight:700; }
.badge { background:#eef2f6; } .status-completed { background:#dcfae6; } .status-blocked { background:#fee4e2; } .status-in-progress { background:#fef0c7; }
.priority.low { background:#eef2f6; } .priority.medium { background:#e0f2fe; } .priority.high { background:#fee4e2; }
.notice { margin:10px 0; padding:10px 12px; border-radius:8px; background:#dcfae6; } .notice.error, .error { background:#fee4e2; color:#b42318; }
.loading, .empty { padding:28px; text-align:center; color:#667085; }
dialog { width:min(620px, calc(100% - 24px)); border:0; border-radius:14px; padding:0; box-shadow:0 20px 60px rgba(0,0,0,.18); }
dialog::backdrop { background:rgba(16,24,40,.45); } dialog form { padding:22px; display:grid; gap:15px; }
.dialog-header { display:flex; justify-content:space-between; align-items:center; } .icon { background:transparent; font-size:24px; padding:0 4px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:5px; }
@media (max-width: 650px) { .header, .toolbar { flex-direction:column; align-items:stretch; } .grid-2 { grid-template-columns:1fr; } .container { padding-top:18px; } }
