:root { --bg: #eef5ff; --bg-2: #dbeafe; --panel: rgba(255, 255, 255, 0.94); --panel-strong: #ffffff; --line: #c7dcf8; --line-strong: #9cc3f5; --text: #16324f; --muted: #5f7f9f; --accent: #2f80ed; --accent-strong: #1c63c7; --accent-soft: #e8f2ff; --ok-bg: #e9f7f1; --ok-text: #19744e; --danger-bg: #fdecec; --danger-text: #b53f4e; --shadow: 0 18px 48px rgba(47, 128, 237, 0.12); --radius: 18px; --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; --mono: "Cascadia Code", "JetBrains Mono", Consolas, monospace; --app-h: 100vh; } * { box-sizing: border-box; } [hidden] { display: none !important; } html, body { height: 100%; margin: 0; overflow: hidden; } body { font-family: var(--font); color: var(--text); background: radial-gradient(circle at top left, rgba(47, 128, 237, 0.18), transparent 30%), linear-gradient(180deg, #f6fbff 0%, var(--bg) 54%, var(--bg-2) 100%); } button, input, select, textarea { font: inherit; } .app-shell { height: var(--app-h); padding: 24px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; } .topbar, .panel, .modal-box, .toast { backdrop-filter: blur(16px); } .topbar, .panel { background: var(--panel); border: 1px solid rgba(156, 195, 245, 0.75); border-radius: var(--radius); box-shadow: var(--shadow); } .topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; flex: 0 0 auto; } .eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.18em; color: var(--accent-strong); } .topbar h1 { margin: 0; font-size: 28px; line-height: 1.2; } .topbar-actions, .toolbar, .modal-actions, .header-badges { display: flex; align-items: center; gap: 10px; } .workspace { flex: 1 1 auto; min-height: 0; display: flex; gap: 0; overflow: hidden; } .panel { min-height: 0; display: flex; flex-direction: column; overflow: hidden; } #sidebar { flex: 0 0 330px; min-width: 260px; } #result-panel { flex: 1 1 auto; min-width: 360px; } #template-panel { flex: 0 0 42%; min-width: 360px; } .panel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92)); flex: 0 0 auto; } .sidebar-header { flex-direction: column; } .panel-heading span { display: block; font-size: 15px; font-weight: 700; } .panel-heading small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.45; } .header-badges { flex-wrap: wrap; } .panel-body { flex: 1 1 auto; min-height: 0; overflow: hidden; } .panel-scroll, .tree, #template-tab, #original-tab { height: 100%; min-height: 0; } .tree, #result-body, #template-body, #template-editor, #template-preview, #original-content, #result-md { overflow: auto; scrollbar-width: thin; scrollbar-color: #8bb8f1 rgba(232, 242, 255, 0.7); } .tree::-webkit-scrollbar, #result-body::-webkit-scrollbar, #template-body::-webkit-scrollbar, #template-editor::-webkit-scrollbar, #template-preview::-webkit-scrollbar, #original-content::-webkit-scrollbar, #result-md::-webkit-scrollbar { width: 10px; height: 10px; } .tree::-webkit-scrollbar-track, #result-body::-webkit-scrollbar-track, #template-body::-webkit-scrollbar-track, #template-editor::-webkit-scrollbar-track, #template-preview::-webkit-scrollbar-track, #original-content::-webkit-scrollbar-track, #result-md::-webkit-scrollbar-track { background: rgba(232, 242, 255, 0.8); border-radius: 999px; } .tree::-webkit-scrollbar-thumb, #result-body::-webkit-scrollbar-thumb, #template-body::-webkit-scrollbar-thumb, #template-editor::-webkit-scrollbar-thumb, #template-preview::-webkit-scrollbar-thumb, #original-content::-webkit-scrollbar-thumb, #result-md::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #8bb8f1, #4f93eb); border-radius: 999px; border: 2px solid rgba(232, 242, 255, 0.8); } .gutter { width: 10px; position: relative; flex: 0 0 auto; } .gutter::before { content: ""; position: absolute; inset: 18px 3px; border-radius: 999px; background: rgba(47, 128, 237, 0.18); transition: background 0.15s ease; } .gutter:hover::before, .gutter.dragging::before { background: rgba(47, 128, 237, 0.44); } .btn { height: 36px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-strong); color: var(--text); padding: 0 14px; cursor: pointer; transition: 0.15s ease; } .btn:hover { border-color: var(--accent); color: var(--accent-strong); } .btn.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%); } .btn.primary:hover { filter: brightness(1.03); } .btn.sm { height: 34px; padding: 0 12px; } .btn:disabled { opacity: 0.45; cursor: not-allowed; } select.btn { min-width: 132px; } .badge { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; font-size: 12px; border: 1px solid transparent; } .badge { background: var(--ok-bg); color: var(--ok-text); border-color: rgba(25, 116, 78, 0.12); } .badge.muted { background: var(--accent-soft); color: var(--accent-strong); border-color: rgba(47, 128, 237, 0.18); } .tree { padding: 12px; } .tree-node + .tree-node { margin-top: 2px; } .tree-row { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border-radius: 12px; cursor: pointer; } .tree-row:hover { background: rgba(47, 128, 237, 0.08); } .tree-row.selected { background: linear-gradient(135deg, rgba(47, 128, 237, 0.16), rgba(47, 128, 237, 0.06)); } .tree-row.active-meeting { outline: 1px solid rgba(47, 128, 237, 0.28); } .tree-row .arrow, .tree-row .icon, .tree-row .del-btn, .meeting-pin { flex: 0 0 auto; } .tree-row .arrow { width: 14px; text-align: center; color: var(--muted); transition: transform 0.1s ease; } .tree-row .arrow.expanded { transform: rotate(90deg); } .tree-row .arrow.none { visibility: hidden; } .tree-row .label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tree-row .del-btn, .meeting-pin { color: var(--muted); font-size: 12px; } .tree-row .del-btn { display: none; } .tree-row:hover .del-btn { display: inline; } .tree-children { display: none; } .tree-children.open { display: block; } .empty-state, .processing { height: 100%; display: grid; place-items: center; color: var(--muted); padding: 32px; text-align: center; } .empty-icon { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 14px; color: var(--accent-strong); background: linear-gradient(135deg, rgba(47, 128, 237, 0.16), rgba(47, 128, 237, 0.05)); font-size: 26px; font-weight: 700; } .spinner { width: 38px; height: 38px; border: 3px solid rgba(47, 128, 237, 0.16); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .stream-box { position: relative; width: min(620px, calc(100% - 40px)); background: rgba(248, 252, 255, 0.98); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-align: left; box-shadow: 0 14px 36px rgba(47, 128, 237, 0.1); } .stream-box::before { content: ""; position: absolute; top: 0; left: -35%; width: 35%; height: 3px; background: linear-gradient(90deg, rgba(47, 128, 237, 0), rgba(47, 128, 237, 0.95), rgba(47, 128, 237, 0)); animation: marquee-glow 1.8s linear infinite; } .stream-title { position: relative; padding: 12px 16px 10px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--accent-strong); background: linear-gradient(180deg, rgba(232, 242, 255, 0.92), rgba(248, 252, 255, 0.98)); overflow: hidden; } .stream-title::after { content: ""; position: absolute; top: 0; bottom: 0; left: -100%; width: 100%; background: linear-gradient( 90deg, rgba(47, 128, 237, 0) 0%, rgba(125, 182, 255, 0.12) 16%, rgba(125, 182, 255, 0.28) 38%, rgba(125, 182, 255, 0.36) 50%, rgba(125, 182, 255, 0.28) 62%, rgba(125, 182, 255, 0.12) 84%, rgba(47, 128, 237, 0) 100% ); transform: none; animation: title-marquee 2.2s linear infinite; pointer-events: none; } .stream-content, #original-content, #template-editor { font-family: var(--mono); } .stream-content { margin: 0; padding: 14px 16px 16px; white-space: pre-wrap; min-height: 116px; max-height: 220px; overflow: auto; color: #557cad; line-height: 1.45; background: rgba(251, 253, 255, 0.96); } @keyframes marquee-glow { from { left: -35%; } to { left: 100%; } } @keyframes title-marquee { 0% { left: -100%; } 62% { left: 100%; } 100% { left: 100%; } } #result-md, #template-preview, #original-markdown, #original-content { padding: 18px 20px; } #result-md, #template-preview, #original-markdown { display: none; } #template-editor { width: 100%; height: 100%; border: 0; padding: 18px 20px; background: transparent; resize: none; outline: none; font-size: 13px; line-height: 1.7; display: none; } #original-content { margin: 0; white-space: pre-wrap; line-height: 1.7; } .panel-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: rgba(232, 242, 255, 0.55); } .tab { min-height: 34px; padding: 0 14px; border: 0; background: transparent; color: var(--muted); cursor: pointer; } .tab.active { background: rgba(47, 128, 237, 0.15); color: var(--accent-strong); } .md-content { line-height: 1.8; color: var(--text); } .md-content h1, .md-content h2, .md-content h3 { line-height: 1.35; } .md-content code { background: rgba(47, 128, 237, 0.08); padding: 2px 6px; border-radius: 6px; } .md-content pre { padding: 14px; overflow: auto; border-radius: 14px; background: #12325e; color: #eef6ff; } .md-content blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); } .modal-mask { position: fixed; inset: 0; display: none; place-items: center; background: rgba(17, 47, 84, 0.28); padding: 20px; } .modal-mask.show { display: grid; } .modal-box { width: min(480px, 100%); background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(156, 195, 245, 0.8); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); } .modal-box h3 { margin-top: 0; } .form-field { display: block; margin-bottom: 14px; } .form-field span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; } .form-field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #f9fcff; } .toast { position: fixed; top: 22px; right: 22px; max-width: 360px; padding: 12px 16px; border-radius: 14px; color: #fff; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: 0.18s ease; background: rgba(28, 99, 199, 0.96); } .toast.err { background: rgba(181, 63, 78, 0.95); } .toast.show { opacity: 1; transform: translateY(0); } @media (max-width: 1100px) { html, body { overflow: auto; } .app-shell { height: auto; min-height: 100vh; overflow: visible; } .workspace { flex-direction: column; overflow: visible; } #sidebar, #result-panel, #template-panel { flex-basis: auto; min-width: 0; } .gutter { display: none; } .panel { min-height: 360px; } .topbar { flex-direction: column; align-items: flex-start; } }