:root { --orange: #f26f21; --black: #111; --line: #2a2a2a; --text: #eee; --muted: #9a9a9a; }
* { box-sizing: border-box; }
body { margin: 0; background: #0b0b0b; color: var(--text); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--orange); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
       padding: 12px 18px; background: var(--black); border-bottom: 3px solid var(--orange); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand .bar { width: 6px; height: 26px; background: var(--orange); border-radius: 2px; }
.top nav { display: flex; gap: 16px; align-items: center; font-size: 15px; }
.top nav a { color: #ddd; text-decoration: none; }
.top nav a:hover { color: var(--orange); }
.who { color: var(--muted); }
main { max-width: 1000px; margin: 0 auto; padding: 22px 16px 60px; }
h1 { font-size: 26px; margin: 4px 0 18px; }
h2 { font-size: 20px; margin: 0 0 12px; }
h3 { font-size: 16px; margin: 26px 0 10px; color: var(--orange); text-transform: uppercase; letter-spacing: .05em; }
.card { background: #161616; border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 22px; }
.narrow { max-width: 380px; margin: 40px auto; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > label { flex: 1 1 180px; }
.row > label.grow { flex: 2 1 260px; }
.row > label.check { flex: 0 0 auto; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #ccc; }
.label { display: block; font-size: 14px; color: #ccc; margin-bottom: 6px; }
input { font: inherit; padding: 10px 12px; border-radius: 7px; border: 1px solid #3a3a3a; background: #0e0e0e; color: #fff; }
input:focus { outline: 2px solid var(--orange); border-color: transparent; }
label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); }
label.check input { width: 18px; height: 18px; accent-color: var(--orange); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.btn { font: inherit; font-weight: 600; background: var(--orange); color: #000; border: 0; border-radius: 7px; padding: 10px 18px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 6px 12px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid #444; }
.btn.danger { background: transparent; color: #ff6b6b; border: 1px solid #6b2a2a; }
.btn:disabled { opacity: .35; cursor: default; }
.error { background: #3a1212; border: 1px solid #7a2a2a; color: #ffb3b3; padding: 10px 12px; border-radius: 7px; }
.notice { background: #2b1a0c; border: 1px solid #7a4a1e; color: #ffd3b0; padding: 10px 12px; border-radius: 7px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.greet { margin-bottom: 20px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 18px; text-decoration: none;
        background: #161616; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 10px; color: var(--text); }
.tile:hover { background: #1d1d1d; border-color: var(--orange); }
.tile-name { font-size: 19px; font-weight: 700; color: #fff; }
.tile-desc { font-size: 14px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.list td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tr.off td { opacity: .55; }
form.edit { background: #101010; padding: 14px; border-radius: 8px; margin-bottom: 10px; }
.tag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px; background: var(--orange); color: #000; vertical-align: 1px; }
.tag.grey { background: #444; color: #ddd; }
.app-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
code { background: #222; padding: 1px 5px; border-radius: 4px; }
