:root { --bg: #0f1115; --panel: #171a21; --panel-2: #1e222b; --border: #2a2f3a; --text: #e6e8ec; --muted: #8b93a1; --accent: #4f8cff; --accent-2: #2d6ae0; --danger: #e5484d; --radius: 10px; } * { box-sizing: border-box; } body { margin: 0; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); } header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--panel); position: sticky; top: 0; z-index: 5; } header h1 { font-size: 18px; margin: 0; } .stats { color: var(--muted); font-size: 13px; } .controls { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; } input, select, textarea, button { font: inherit; color: var(--text); background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; } input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; } button { cursor: pointer; } button.primary { background: var(--accent); border-color: var(--accent-2); color: #fff; font-weight: 600; } button.primary:hover { background: var(--accent-2); } button.ghost { background: transparent; } button.danger { color: var(--danger); border-color: var(--danger); background: transparent; } main { display: grid; grid-template-columns: 340px 1fr; min-height: calc(100vh - 66px); } .list { list-style: none; margin: 0; padding: 8px; border-right: 1px solid var(--border); overflow-y: auto; } .list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; } .list li:hover { background: var(--panel); } .list li.active { background: var(--panel-2); outline: 1px solid var(--accent); } .list .name { font-weight: 600; } .list .meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; } .tagchip { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: #23324d; color: #9dbcff; } .detail { padding: 24px; overflow-y: auto; } .detail .empty { color: var(--muted); } .detail h2 { margin: 0 0 4px; } .detail .sub { color: var(--muted); margin: 0 0 16px; } .detail section.block { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; } .detail section.block h3 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); } .row { display: flex; gap: 10px; margin-bottom: 10px; } .row label { flex: 0 0 110px; color: var(--muted); padding-top: 8px; } .row .field { flex: 1; } .field input, .field textarea, .field select { width: 100%; } textarea { resize: vertical; min-height: 60px; } .timeline { list-style: none; margin: 0; padding: 0; } .timeline li { padding: 10px 0; border-top: 1px solid var(--border); } .timeline li:first-child { border-top: none; } .timeline .when { font-size: 12px; color: var(--muted); } .badge { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); } .actions { display: flex; gap: 8px; margin-top: 8px; } .inline-form { display: grid; gap: 8px; } .hint { color: var(--muted); font-size: 12px; } .toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--border); padding: 10px 16px; border-radius: 8px; opacity: 0; transition: opacity .2s; pointer-events: none; } .toast.show { opacity: 1; } @media (max-width: 720px) { main { grid-template-columns: 1fr; } .list { max-height: 40vh; } }