:root { --bg: #0f1115; --panel: #161a22; --panel-2: #1c2230; --text: #e7e7ea; --muted: #a5abb6; --accent: #4cc2ff; --danger: #ff5b5b; --ok: #4caf50; --card: #1b2230; --border: #2a3242; --shadow: 0 4px 12px rgba(0,0,0,0.3); } * { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif; background: var(--bg); color: var(--text); } .app-header { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; background: var(--panel); border-bottom: 1px solid var(--border); padding: 8px 12px; } .app-header h1 { font-size: 18px; margin: 0 10px 0 0; } .file-status { color: var(--muted); font-size: 12px; } .left { display: flex; align-items: center; gap: 8px; } .toolbar { display: flex; align-items: center; gap: 8px; } .sep { width: 1px; height: 24px; background: var(--border); margin: 0 6px; } .btn { cursor: pointer; background: var(--panel-2); color: var(--text); border: 1px solid var(--border); padding: 6px 10px; border-radius: 6px; box-shadow: var(--shadow); } .btn.small { padding: 4px 8px; font-size: 12px; } .btn.primary { background: var(--accent); color: #001525; border-color: #2a93c4; } .btn.danger { background: var(--danger); color: #1b0000; border-color: #a33939; } .icon-btn { cursor: pointer; background: transparent; color: var(--text); border: none; font-size: 16px; } input, select, textarea { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; } .actor { width: 200px; } .search { width: 200px; } .category-filter { max-width: 220px; } .app-main { display: grid; grid-template-columns: 280px 1fr; height: calc(100vh - 56px); } .side-panel { overflow: auto; padding: 12px; border-right: 1px solid var(--border); background: var(--panel); } .side-panel h3 { margin: 14px 0 8px; font-size: 14px; color: var(--muted); font-weight: 600; } .categories { display: flex; flex-direction: column; gap: 6px; } .category-item { display: flex; align-items: center; gap: 6px; background: var(--panel-2); padding: 6px; border: 1px solid var(--border); border-radius: 6px; } .swatch { width: 14px; height: 14px; border-radius: 4px; border: 1px solid #00000033; display: inline-block; } .category-item input[type="text"] { flex: 1; } .layout-info { font-size: 12px; color: var(--muted); line-height: 1.6; } .history { font-size: 12px; display: flex; flex-direction: column; gap: 8px; } .history .event { padding: 6px 8px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 6px; } .board { overflow: auto; padding: 12px; display: grid; grid-auto-rows: 1fr; grid-auto-flow: column; gap: 12px; } .board-column { display: flex; flex-direction: column; gap: 12px; min-width: 320px; } .stage { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; display: flex; flex-direction: column; } .stage-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid var(--border); } .stage-title { font-weight: 600; } .stage-actions { display: flex; align-items: center; gap: 6px; } .task-list { padding: 8px; display: flex; flex-direction: column; gap: 8px; min-height: 60px; } .task-list.drag-over { outline: 2px dashed var(--accent); outline-offset: -4px; border-radius: 6px; } .task { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 8px; box-shadow: var(--shadow); display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 8px; } .task .grab { cursor: grab; user-select: none; opacity: 0.8; } .task .title { font-weight: 600; } .task .meta { font-size: 12px; color: var(--muted); } .task .chip { font-size: 11px; padding: 2px 6px; border-radius: 10px; border: 1px solid #00000033; white-space: nowrap; } .task .actions { display: flex; gap: 4px; } .modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; padding: 16px; } .modal.hidden { display: none; } .modal-content { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; width: 720px; max-width: 95vw; max-height: 90vh; display: flex; flex-direction: column; } .modal-content.large { width: 1000px; } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--border); } .modal-body { padding: 12px; overflow: auto; } .modal-footer { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); } .spacer { flex: 1; } .form-row { display: grid; grid-template-columns: 90px 1fr; align-items: start; gap: 10px; margin-bottom: 10px; } .form-row label { font-size: 12px; color: var(--muted); padding-top: 6px; } .steps { display: flex; flex-direction: column; gap: 6px; } .step-item { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; gap: 8px; } .step-item input[type="text"] { width: 100%; } .checkbox { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; } .diff-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; } .summary-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px; } .summary-card h4 { margin: 2px 0 8px; font-size: 13px; color: var(--muted); } .summary-card .num { font-size: 22px; font-weight: 700; } .diff-details { display: flex; flex-direction: column; gap: 8px; } .diff-item { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 12px; white-space: pre-wrap; } @media (max-width: 1200px) { .app-main { grid-template-columns: 1fr; } .side-panel { display: none; } }