:root { --bg: #f5f0eb; --card: #fff; --accent: #b71c1c; --accent-hover: #8b0000; --text: #1a1a1a; --muted: #666; --border: #ddd; --blue: #1565c0; --green: #2e7d32; --orange: #e65100; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); font-size: 18px; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: var(--card); border-bottom: 2px solid var(--border); }
.header h1 { font-size: 1.4rem; }
.container { max-width: 1000px; margin: 2rem auto; padding: 0 1.5rem; }
.btn { display: inline-block; padding: .7rem 1.3rem; background: var(--accent); border: none; border-radius: 8px; color: #fff; font-size: 1rem; cursor: pointer; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-secondary { background: #455a64; }
.btn-secondary:hover { background: #37474f; }
.btn-danger { background: #c62828; }
.btn-danger:hover { background: #b71c1c; }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: #0d47a1; }
.badge { display: inline-block; padding: .2rem .5rem; border-radius: 4px; font-size: .8rem; font-weight: 700; }
.badge-high { background: #c8e6c9; color: #1b5e20; }
.badge-mid { background: #ffe0b2; color: #e65100; }
.badge-low { background: #ffcdd2; color: #b71c1c; }
.badge-dup { background: #e0e0e0; color: #666; }
.badge-wanted { background: #bbdefb; color: #0d47a1; }
input, select, textarea { width: 100%; padding: .8rem; background: var(--bg); border: 2px solid var(--border); border-radius: 8px; color: var(--text); font-size: 1rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.flash { padding: .8rem 1.2rem; border-radius: 8px; margin-bottom: 1rem; font-size: 1rem; }
.flash-success { background: #e8f5e9; color: var(--green); border: 2px solid var(--green); }
.flash-error { background: #ffebee; color: var(--accent); border: 2px solid var(--accent); }
.form-card { background: var(--card); padding: 2rem; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.field { margin-bottom: 1.2rem; }
label { display: block; font-size: 1rem; color: var(--text); margin-bottom: .4rem; font-weight: 500; }
.hint { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
th, td { padding: .8rem .8rem; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-size: .85rem; text-transform: uppercase; font-weight: 600; letter-spacing: .5px; background: #fafafa; }
td { font-size: .95rem; }
input[type="checkbox"] { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); }
