:root { --bg: #f8f1f4; --panel: #fff8fb; --panel-soft: #f5e8ef; --line: #d2b5c1; --text: #4e3844; --text-dim: #806673; --shadow: 0 12px 32px rgba(129, 78, 103, 0.14); --pending: #b9aab2; --in-progress: #d58ca8; --completed: #90bca2; --bug: #c98289; --link: #cfb8c3; --highlight: #f5dde8; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; min-height: 100%; background: radial-gradient(circle at 12% -10%, #fff6fb 0, transparent 36%), radial-gradient(circle at 80% 0, #f8eaf1 0, transparent 32%), var(--bg); color: var(--text); font-family: "LXGW WenKai", "Noto Sans SC", "Avenir Next", sans-serif; } .app-shell { display: flex; flex-direction: column; min-height: 100vh; gap: 18px; padding: 18px; } .top-bar { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 18px; align-items: end; background: linear-gradient(140deg, #fff8fb 0%, #f8ebf1 100%); border: 1px solid #edd8e3; border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); } .brand-block h1 { margin: 0 0 6px; font-size: clamp(1.35rem, 2vw, 1.95rem); letter-spacing: 0.02em; } .brand-block p { margin: 0; color: var(--text-dim); font-size: 0.95rem; } .root-form { display: flex; flex-direction: column; gap: 8px; } .root-form label { font-size: 0.9rem; color: var(--text-dim); } .inline-group { display: flex; gap: 10px; } input, select, textarea, button { font: inherit; } input, select, textarea { border: 1px solid #d9bfcb; border-radius: 12px; background: #fff; color: var(--text); padding: 10px 12px; } input:focus, select:focus, textarea:focus { outline: 2px solid #f2cadb; outline-offset: 1px; } .btn { border: 1px solid #d4b1c0; border-radius: 12px; padding: 9px 12px; background: #fff5fa; color: var(--text); cursor: pointer; transition: transform 120ms ease, background 120ms ease, border-color 120ms ease; } .btn:hover { transform: translateY(-1px); background: #ffeef6; border-color: #c895ab; } .btn:active { transform: translateY(0); } .btn-primary { background: linear-gradient(135deg, #df9db8 0%, #d48ca9 100%); color: #fff; border-color: #c8809d; } .btn-primary:hover { background: linear-gradient(135deg, #d78ea8 0%, #c87895 100%); } .btn-danger { background: #f8eaeb; border-color: #d49ea6; color: #8f4c56; } .toolbar-actions { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 8px; } .board-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; } .side-panel { display: flex; flex-direction: column; gap: 12px; } .panel-card { background: var(--panel); border: 1px solid #ebd3df; border-radius: 16px; padding: 14px; box-shadow: 0 10px 22px rgba(126, 79, 104, 0.08); } .panel-card h2 { margin: 0 0 10px; font-size: 1rem; } .legend-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; } .legend-list li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; } .legend-dot { width: 12px; height: 12px; border-radius: 50%; } .legend-dot.pending { background: var(--pending); } .legend-dot.in-progress { background: var(--in-progress); } .legend-dot.completed { background: var(--completed); } .legend-dot.bug { background: var(--bug); } .stats-list { margin: 0; padding: 0; display: grid; gap: 7px; } .stats-list div { display: flex; justify-content: space-between; align-items: center; background: var(--panel-soft); padding: 8px 10px; border-radius: 11px; } .stats-list dt { font-size: 0.86rem; color: var(--text-dim); } .stats-list dd { margin: 0; font-size: 1rem; font-weight: 600; } .hint-card p { margin: 0; color: var(--text-dim); line-height: 1.45; font-size: 0.9rem; } .canvas-panel { min-height: 0; } .canvas-wrapper { width: 100%; height: 100%; min-height: 560px; background: linear-gradient(145deg, rgba(255, 245, 250, 0.95) 0%, rgba(248, 232, 239, 0.93) 100%); border: 1px solid #eacfdc; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; position: relative; touch-action: none; } #mindmapSvg { width: 100%; height: 100%; } .link-path { fill: none; stroke: var(--link); stroke-width: 2; opacity: 0.9; } .link-path.status-in-progress { stroke: #c98ea5; } .link-path.status-completed { stroke: #98bca7; } .link-path.status-bug { stroke: #c88f98; } .node-group { cursor: pointer; } .node-card { width: 250px; height: 94px; fill: #fff8fb; stroke: #dfc2cf; stroke-width: 1.4; filter: drop-shadow(0 10px 16px rgba(116, 75, 96, 0.12)); } .node-group:hover .node-card { fill: #fff; stroke: #ce9cb2; } .node-group.selected .node-card { fill: var(--highlight); stroke: #b56d89; stroke-width: 2; } .node-status-dot { stroke: rgba(255, 255, 255, 0.9); stroke-width: 1; } .status-pending { fill: var(--pending); } .status-in-progress { fill: var(--in-progress); } .status-completed { fill: var(--completed); } .status-bug { fill: var(--bug); } .node-title { font-size: 15px; font-weight: 600; fill: var(--text); } .node-subtitle { font-size: 12px; fill: var(--text-dim); } .node-badge { fill: #f2e2ea; stroke: #dfc2cf; stroke-width: 1; } .node-badge-text { font-size: 10px; fill: #7a5d6a; } .progress-ring { fill: none; stroke: #cd8ea6; stroke-width: 2; stroke-dasharray: 6 5; animation: progressDash 1.2s linear infinite; } @keyframes progressDash { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -44; } } .empty-state { fill: #7f6a74; font-size: 20px; } .modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; } .modal.hidden { display: none; } .modal-mask { position: absolute; inset: 0; background: rgba(84, 56, 71, 0.42); backdrop-filter: blur(2px); } .modal-card { position: relative; width: min(700px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; padding: 20px; background: #fff9fc; border: 1px solid #e8cada; border-radius: 18px; box-shadow: 0 24px 50px rgba(87, 53, 70, 0.28); } .modal-card h2 { margin: 0 0 12px; } .modal-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #d2aabb; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: #8a5f70; } .node-form { display: grid; gap: 12px; } .node-form label { display: grid; gap: 6px; font-size: 0.9rem; color: var(--text-dim); } .time-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.82rem; color: #8b6c7b; } .child-create { display: grid; grid-template-columns: 1fr auto; gap: 10px; } .modal-actions { display: flex; justify-content: space-between; gap: 10px; } @media (max-width: 1080px) { .top-bar { grid-template-columns: 1fr; align-items: stretch; } .board-layout { grid-template-columns: 1fr; } .side-panel { order: 2; } .canvas-panel { order: 1; } .canvas-wrapper { min-height: 68vh; } } @media (max-width: 680px) { .app-shell { padding: 10px; gap: 10px; } .inline-group, .child-create, .modal-actions { grid-template-columns: 1fr; display: grid; } .time-grid { grid-template-columns: 1fr; } .toolbar-actions { grid-template-columns: 1fr 1fr; } }