*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#f8f9fb;--surface:#ffffff;--surface-2:#f0f2f5;--surface-3:#e8ebef;
  --border:rgba(0,0,0,0.06);--border-strong:rgba(0,0,0,0.12);
  --text:#1a1a2e;--text-2:#5a5f6d;--text-3:#9ca3af;
  --green:#10b981;--green-soft:rgba(16,185,129,0.08);--green-soft2:rgba(16,185,129,0.16);--green-glow:rgba(16,185,129,0.25);
  --accent:#7c5cfc;--accent-soft:rgba(124,92,252,0.08);--accent-soft2:rgba(124,92,252,0.14);
  --accent-2:#10b981;
  --coral:#f97316;--coral-soft:rgba(249,115,22,0.08);
  --amber:#eab308;--amber-soft:rgba(234,179,8,0.08);
  --red:#ef4444;--red-soft:rgba(239,68,68,0.08);
  --blue:#3b82f6;--blue-soft:rgba(59,130,246,0.08);--blue-soft2:rgba(59,130,246,0.14);
  --pink:#ec4899;--pink-soft:rgba(236,72,153,0.08);
  --radius:12px;--radius-lg:16px;--radius-xl:24px;
  --shadow-sm:0 1px 3px rgba(0,0,0,0.03);--shadow:0 4px 20px rgba(0,0,0,0.06);--shadow-lg:0 12px 40px rgba(0,0,0,0.08);
  --ease:cubic-bezier(.2,0,0,1);
  --font:'Inter','Noto Sans SC',system-ui,-apple-system,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,monospace
}
html,body{height:100%;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}
::selection{background:var(--green-soft2);color:var(--text)}
::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--surface-3);border-radius:10px}

.layout{display:flex;height:100vh;width:100%;overflow:hidden}

.sidebar{width:64px;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:4px;flex-shrink:0;z-index:10;height:100vh;overflow:hidden}
.sidebar-logo{width:36px;height:36px;border-radius:10px;background:var(--green);display:flex;align-items:center;justify-content:center;margin-bottom:12px;cursor:pointer;position:relative;transition:transform .2s var(--ease);box-shadow:0 2px 12px var(--green-glow);flex-shrink:0}
.sidebar-logo:hover{transform:scale(1.05)}
.sidebar-logo .pixel-eyes{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;gap:4px}
.sidebar-logo .eye{width:4px;height:4px;background:#fff;border-radius:1px;transform:rotate(45deg)}
.sidebar-nav{display:flex;flex-direction:column;gap:2px;flex:1;width:100%;padding:0 10px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--border) transparent}
.sidebar-nav::-webkit-scrollbar{width:4px}
.sidebar-nav::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:2px}
.sidebar-nav::-webkit-scrollbar-track{background:transparent}
.nav-item{width:44px;height:44px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s var(--ease);color:var(--text-3);position:relative}
.nav-item:hover{background:var(--surface-2);color:var(--text-2)}
.nav-item.active{background:var(--green-soft);color:var(--green)}
.nav-item.active::before{content:'';position:absolute;left:-10px;top:50%;transform:translateY(-50%);width:3px;height:20px;background:var(--green);border-radius:0 3px 3px 0}
.nav-item svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-divider{width:28px;height:1px;background:var(--border);margin:6px auto}
.sidebar-bottom{display:flex;flex-direction:column;gap:2px;padding:0 10px;width:100%}
.avatar{width:32px;height:32px;border-radius:50%;background:var(--surface-2);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s var(--ease)}
.avatar:hover{background:var(--surface-3)}
.avatar svg{width:16px;height:16px;stroke:var(--text-3);fill:none;stroke-width:1.8}

.main-panel{flex:1;display:flex;flex-direction:column;min-width:0}
.topbar{height:52px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 20px;gap:12px;flex-shrink:0}
.topbar-title{font-size:14px;font-weight:600;flex:1;display:flex;align-items:center;gap:10px}
.topbar-title .logo-mark{width:20px;height:20px;border-radius:6px;background:var(--green);display:flex;align-items:center;justify-content:center;position:relative}
.topbar-title .logo-mark .pixel-eyes{display:flex;gap:3px}
.topbar-title .logo-mark .eye{width:3px;height:3px;background:#fff;border-radius:1px;transform:rotate(45deg)}
.topbar-chip{display:flex;align-items:center;gap:6px;padding:5px 12px;border-radius:20px;background:var(--surface-2);font-size:13px;font-weight:500;color:var(--text-2);cursor:pointer;transition:all .15s var(--ease)}
.topbar-chip:hover{background:var(--surface-3)}
.topbar-chip .chip-dot{width:6px;height:6px;border-radius:50%;background:var(--green)}
.topbar-actions{display:flex;gap:4px}
.topbar-btn{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s var(--ease);color:var(--text-3)}
.topbar-btn:hover{background:var(--surface-2);color:var(--text-2)}
.topbar-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.topbar-toggle{display:flex;gap:0;padding:3px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border);margin-left:auto;margin-right:8px}
.topbar-toggle-btn{padding:5px 14px;font-size:13px;font-weight:600;color:var(--text-3);cursor:pointer;border-radius:7px;transition:all .15s var(--ease);white-space:nowrap}
.topbar-toggle-btn:hover{color:var(--text-2)}
.topbar-toggle-btn.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.08)}

.main-body{flex:1;overflow-y:auto;padding:28px 32px 48px;background:var(--bg)}
.panel{display:none}.panel.active{display:block}#panel-work.active{display:flex;flex-direction:column;height:calc(100vh - 108px);overflow:hidden}#panel-newspaper.active{display:flex;flex-direction:column;height:calc(100vh - 52px)}

.section-label{font-size:13px;font-weight:600;color:var(--text-3);text-transform:uppercase;letter-spacing:1px;margin-bottom:12px;margin-top:4px;display:flex;align-items:center;gap:10px}
.section-label::after{content:'';flex:1;height:1px;background:var(--border)}

.northstar-card{margin-bottom:24px;padding:28px 32px;border-radius:var(--radius-xl);color:#fff;position:relative;overflow:hidden}
.northstar-card.ns-green{background:linear-gradient(135deg,#10b981 0%,#34d399 50%,#6ee7b7 100%);box-shadow:0 4px 24px var(--green-glow)}
.northstar-card::before{content:'';position:absolute;top:-60px;right:-60px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,0.07)}
.northstar-card::after{content:'';position:absolute;bottom:-70px;left:40px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,0.04)}
.northstar-label{font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:1.5px;opacity:0.7;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.northstar-label svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.northstar-text{font-size:20px;font-weight:700;line-height:1.5;position:relative;margin-bottom:20px}
.northstar-goals{display:flex;gap:32px;flex-wrap:wrap;position:relative}
.northstar-goal{text-align:left}
.northstar-goal-value{font-size:15px;font-weight:700}
.northstar-goal-label{font-size:13px;opacity:0.7;margin-top:2px}

.mainlines-row{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}
.mainline-card{flex:1;min-width:180px;padding:18px 20px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);transition:all .2s var(--ease);cursor:default}
.mainline-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow);transform:translateY(-1px)}
.mainline-card .ml-icon{margin-bottom:8px;color:var(--text-2)}
.mainline-card .ml-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mainline-card .ml-label{font-size:14px;color:var(--text-3);font-weight:600;text-transform:uppercase;letter-spacing:0.5px}
.mainline-card .ml-value{font-size:14px;font-weight:700;margin-top:4px;line-height:1.5}
.mainline-card .ml-sub{font-size:13px;color:var(--text-2);margin-top:3px}
.mainline-card.ml-green{background:var(--green-soft);border-color:rgba(16,185,129,0.12)}.mainline-card.ml-green .ml-icon{color:var(--green)}
.mainline-card.ml-coral{background:var(--coral-soft);border-color:rgba(249,115,22,0.12)}.mainline-card.ml-coral .ml-icon{color:var(--coral)}
.mainline-card.ml-purple{background:var(--accent-soft);border-color:rgba(124,92,252,0.12)}.mainline-card.ml-purple .ml-icon{color:var(--accent)}
.mainline-card.ml-amber{background:var(--amber-soft);border-color:rgba(234,179,8,0.12)}.mainline-card.ml-amber .ml-icon{color:var(--amber)}

.kanban-board{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px;flex:1;min-height:0}
.kanban-col{min-width:220px;max-width:280px;flex:1;background:var(--surface-2);border-radius:var(--radius);display:flex;flex-direction:column;max-height:100%;border:1px solid var(--border)}
.kanban-col.drag-over{border-color:var(--green);box-shadow:0 0 0 2px var(--green-soft2)}
.kanban-col-header{display:flex;align-items:center;gap:10px;padding:12px 14px 8px;flex-shrink:0}
.kanban-col-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.kanban-col-title{font-size:14px;font-weight:700;flex:1;cursor:default;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kanban-col-title[contenteditable]{outline:none;border-bottom:1px dashed var(--green);cursor:text}
.kanban-col-count{font-size:13px;color:var(--text-3);font-family:var(--mono);min-width:20px;text-align:center}
.kanban-col-add{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-3);font-size:16px;transition:all .15s var(--ease);flex-shrink:0}
.kanban-col-add:hover{background:var(--green-soft);color:var(--green)}
.kanban-col-del{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-3);font-size:14px;transition:all .15s var(--ease);flex-shrink:0;opacity:0}
.kanban-col:hover .kanban-col-del{opacity:1}
.kanban-col-del:hover{background:var(--red-soft);color:var(--red)}
.kanban-cards{flex:1;overflow-y:auto;padding:4px 8px 8px;display:flex;flex-direction:column;gap:6px}
.kanban-card{padding:10px 12px;border-radius:8px;background:var(--surface);border:1px solid var(--border);cursor:grab;transition:all .15s var(--ease);font-size:13px;font-weight:500;position:relative;line-height:1.6}
.kanban-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}
.kanban-card.dragging{opacity:0.4;transform:rotate(2deg)}
.kanban-card-meta{display:flex;align-items:center;gap:6px;margin-bottom:4px;flex-wrap:wrap}
.kanban-card-priority{font-size:14px;padding:1px 6px;border-radius:4px;font-weight:600;white-space:nowrap}
.kanban-card-tag{font-size:14px;padding:1px 6px;border-radius:4px;background:var(--surface-2);color:var(--text-3);font-weight:600}
.kanban-card-date{font-size:14px;color:var(--text-3);font-family:var(--mono)}
.kanban-card-recur{font-size:14px;cursor:default}
.kanban-card-files{font-size:14px;color:var(--text-3);font-family:var(--mono)}
.kanban-card-number{font-size:14px;font-family:var(--mono);color:var(--text-3);font-weight:500;margin-right:4px;flex-shrink:0}
.kanban-card-name{min-width:0;word-break:break-word;flex:1}
.kanban-card-name[contenteditable]{outline:none;border-bottom:1px dashed var(--green);cursor:text}
.kanban-card-desc{font-size:13px;color:var(--text-3);line-height:1.6;margin-top:4px;word-break:break-word}
.kanban-card-subtasks{display:flex;align-items:center;gap:4px;margin-top:4px;font-size:13px;color:var(--text-3)}
.kanban-card-subtasks .subtask-progress{width:40px;height:3px;background:var(--surface-3);border-radius:2px;overflow:hidden}
.kanban-card-subtasks .subtask-progress-bar{height:100%;background:var(--green);border-radius:2px;transition:width .2s var(--ease)}
.kanban-card-subtasks .subtask-count{font-family:var(--mono);font-weight:500}
.kanban-card-del{position:absolute;top:6px;right:6px;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-3);font-size:13px;opacity:0;transition:all .15s var(--ease)}
.kanban-card:hover .kanban-card-del{opacity:1}
.kanban-card-del:hover{background:var(--red-soft);color:var(--red)}
.kanban-card-trae-btn{margin-top:6px;padding:3px 10px;border-radius:6px;background:rgba(16,185,129,0.08);color:var(--green);font-size:12px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:4px;transition:all .15s var(--ease);opacity:0}
.kanban-card:hover .kanban-card-trae-btn{opacity:1}
.kanban-card-trae-btn:hover{background:rgba(16,185,129,0.15);color:var(--green);transform:scale(1.02)}
.kanban-subtask-section{margin-bottom:16px}
.kanban-subtask-section h4{font-size:14px;font-weight:600;color:var(--text-2);margin-bottom:8px;display:flex;align-items:center;gap:6px}
.kanban-subtask-list{display:flex;flex-direction:column;gap:4px;margin-bottom:8px;max-height:200px;overflow-y:auto}
.kanban-subtask-item{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:6px;background:var(--surface-2);font-size:13px;transition:all .15s var(--ease)}
.kanban-subtask-item:hover{background:var(--surface-3)}
.kanban-subtask-item.done .subtask-name{text-decoration:line-through;color:var(--text-3)}
.kanban-subtask-check{width:16px;height:16px;border-radius:4px;border:1.5px solid var(--border-strong);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:all .15s var(--ease)}
.kanban-subtask-check:hover{border-color:var(--green)}
.kanban-subtask-item.done .kanban-subtask-check{background:var(--green);border-color:var(--green)}
.kanban-subtask-item.done .kanban-subtask-check::after{content:'✓';color:#fff;font-size:13px;font-weight:700}
.kanban-subtask-name{flex:1;min-width:0;word-break:break-word}
.kanban-subtask-num{font-family:var(--mono);font-size:13px;color:var(--text-3);flex-shrink:0;min-width:36px}
.kanban-subtask-name[contenteditable]{outline:none;border-bottom:1px dashed var(--green);cursor:text}
.kanban-subtask-del{width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-3);font-size:13px;opacity:0;transition:all .15s var(--ease);flex-shrink:0}
.kanban-subtask-item:hover .kanban-subtask-del{opacity:1}
.kanban-subtask-del:hover{background:var(--red-soft);color:var(--red)}
.kanban-subtask-add{display:flex;gap:6px;align-items:center}
.kanban-subtask-add input{flex:1;padding:6px 10px;border:1px solid var(--border);border-radius:6px;font-size:13px;font-family:var(--font);outline:none}
.kanban-subtask-add input:focus{border-color:var(--green)}
.kanban-subtask-add-btn{width:28px;height:28px;border-radius:6px;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;font-weight:600;border:none;transition:all .15s var(--ease);flex-shrink:0}
.kanban-subtask-add-btn:hover{background:#0ea572}
.kanban-file-section{margin-bottom:12px}
.kanban-file-section h4{font-size:13px;font-weight:600;margin-bottom:8px;color:var(--text-2)}
.kanban-file-item{display:flex;align-items:center;gap:6px;padding:4px 8px;border-radius:6px;background:var(--surface-2);font-size:13px;margin-bottom:4px;transition:all .15s var(--ease)}
.kanban-file-item:hover{background:var(--surface-3)}
.kanban-file-icon{flex-shrink:0}
.kanban-file-path{flex:1;min-width:0;word-break:break-all;font-family:var(--mono);color:var(--text-2)}
.kanban-file-del{width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-3);font-size:13px;opacity:0;transition:all .15s var(--ease);flex-shrink:0}
.kanban-file-item:hover .kanban-file-del{opacity:1}
.kanban-file-del:hover{background:var(--red-soft);color:var(--red)}
.kanban-file-add{display:flex;gap:6px;align-items:center}
.kanban-file-add input{flex:1;padding:6px 10px;border:1px solid var(--border);border-radius:6px;font-size:13px;font-family:var(--mono);outline:none}
.kanban-file-add input:focus{border-color:var(--green)}
.kanban-pri-opt{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600;border:1px solid var(--border);transition:all .15s var(--ease);margin-right:4px}
.kanban-pri-opt:hover{background:var(--surface-2)}
.kanban-pri-opt.selected{border-color:var(--green);background:var(--green-soft)}
.kanban-new-col{min-width:60px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius);border:2px dashed var(--border);cursor:pointer;color:var(--text-3);font-size:24px;transition:all .15s var(--ease);flex-shrink:0}
.kanban-new-col:hover{border-color:var(--green);color:var(--green);background:var(--green-soft)}
.kanban-modal-bg{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.3);display:flex;align-items:center;justify-content:center;z-index:100}
.kanban-modal{background:var(--surface);border-radius:var(--radius-lg);padding:24px;box-shadow:var(--shadow-lg);min-width:320px}
.kanban-modal h3{font-size:15px;font-weight:700;margin-bottom:16px}
.kanban-modal-input{width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius);font-size:14px;font-family:var(--font);outline:none;margin-bottom:16px}
.kanban-modal-input:focus{border-color:var(--green)}
.kanban-colors{display:flex;gap:10px;margin-bottom:16px;flex-wrap:wrap}
.kanban-color-opt{width:28px;height:28px;border-radius:50%;cursor:pointer;border:2px solid transparent;transition:all .15s var(--ease)}
.kanban-color-opt:hover{transform:scale(1.1)}
.kanban-color-opt.selected{border-color:var(--text);box-shadow:0 0 0 2px var(--surface)}
.kanban-modal-btns{display:flex;gap:10px;justify-content:flex-end}
.kanban-modal-btn{padding:8px 20px;border-radius:8px;font-size:13px;font-weight:600;border:none;cursor:pointer;font-family:var(--font);transition:all .15s var(--ease)}
.kanban-modal-btn.primary{background:var(--green);color:#fff}
.kanban-modal-btn.primary:hover{background:#0ea572}
.kanban-modal-btn.cancel{background:var(--surface-2);color:var(--text-2)}
.kanban-modal-btn.cancel:hover{background:var(--surface-3)}

.dash-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap;gap:8px}
.dash-greeting{font-size:28px;font-weight:800;letter-spacing:-0.5px}
.dash-guide-link{display:inline-flex;align-items:center;gap:5px;margin-left:12px;font-size:13px;font-weight:500;color:var(--accent);text-decoration:none;cursor:pointer;transition:all .15s var(--ease);vertical-align:middle}
.dash-guide-link:hover{text-decoration:underline;color:var(--green)}
.dash-guide-link svg{stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dash-date-nav{display:flex;align-items:center;gap:10px}
.dash-date-btn{width:32px;height:32px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-3);transition:all .15s var(--ease)}
.dash-date-btn:hover{background:var(--surface-2);color:var(--text-2)}
.dash-date-text{font-size:14px;font-weight:600;color:var(--text-2);font-family:var(--mono);min-width:100px;text-align:center}
.dash-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}
.dash-card{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-xl);padding:20px;cursor:pointer;transition:all .2s var(--ease);position:relative;display:flex;flex-direction:column;min-height:140px}
.dash-card:hover{border-color:var(--green);box-shadow:0 2px 12px var(--green-soft2);transform:translateY(-2px)}
.dash-card-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.dash-card-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dash-icon-work{background:rgba(16,185,129,.1);color:var(--green)}
.dash-icon-docs{background:rgba(59,130,246,.1);color:#3b82f6}
.dash-icon-timeline{background:rgba(168,85,247,.1);color:#a855f7}
.dash-icon-health{background:rgba(239,68,68,.1);color:#ef4444}
.dash-icon-okr{background:rgba(234,179,8,.1);color:#eab308}
.dash-icon-ip{background:rgba(236,72,153,.1);color:#ec4899}
.dash-card-title{font-size:13px;font-weight:700;color:var(--text-2);margin-bottom:8px}
.dash-card-stat{font-size:24px;font-weight:800;letter-spacing:-0.5px;margin-bottom:4px}
.dash-card-sub{font-size:14px;color:var(--text-3)}
.dash-card-arrow{position:absolute;right:16px;bottom:16px;width:28px;height:28px;border-radius:50%;background:var(--surface);display:flex;align-items:center;justify-content:center;color:var(--text-3);opacity:0;transition:all .15s var(--ease)}
.dash-card-arrow svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.dash-card:hover .dash-card-arrow{opacity:1;background:var(--green-soft);color:var(--green)}
.dash-morning{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-xl);padding:20px 24px}
.dash-morning-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.dash-morning-title{font-size:13px;font-weight:700;color:var(--text-2);display:flex;align-items:center;gap:10px}
.dash-morning-title svg{stroke:var(--green);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dash-morning-link{font-size:14px;font-weight:600;color:var(--green);cursor:pointer;transition:all .15s var(--ease)}
.dash-morning-link:hover{color:var(--green-dark);text-decoration:underline}
.dash-morning-body{font-size:13px;line-height:1.7;color:var(--text-2);max-height:200px;overflow-y:auto}
.dash-morning-body .markdown-body{font-size:13px;line-height:1.7}
.dash-morning-body .markdown-body h1{display:none}
.dash-morning-body .markdown-body h2{font-size:14px;font-weight:700;margin:12px 0 6px}
.dash-morning-body .markdown-body h3{font-size:13px;font-weight:600;margin:10px 0 4px}
.dash-morning-body .markdown-body table{width:100%;font-size:13px;border-collapse:collapse;margin:6px 0}
.dash-morning-body .markdown-body th{text-align:left;padding:4px 8px;background:var(--surface);font-weight:600;border-bottom:1px solid var(--border)}
.dash-morning-body .markdown-body td{padding:4px 8px;border-bottom:1px solid var(--border)}
.dash-morning-body .markdown-body a{color:var(--green);text-decoration:none}
.dash-morning-body .markdown-body ul,.dash-morning-body .markdown-body ol{padding-left:18px;margin:4px 0}
.dash-morning-body .markdown-body li{margin-bottom:2px}
.dash-morning-body .markdown-body p{margin:4px 0}
.dash-morning-body .markdown-body code{font-size:13px;background:var(--surface);padding:1px 4px;border-radius:3px}
.dash-morning-body .markdown-body blockquote{border-left:3px solid var(--green);margin:6px 0;padding:4px 10px;color:var(--text-3)}
.home-loading{color:var(--text-3);font-size:13px}
.home-empty{color:var(--text-3);font-size:13px;font-style:italic}
.summary-timeline{position:relative;padding-left:24px}
.summary-timeline::before{content:'';position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:var(--surface-3);border-radius:1px}
.summary-tl-item{position:relative;margin-bottom:20px;padding-left:20px;cursor:pointer}
.summary-tl-item:last-child{margin-bottom:0}
.summary-tl-item::before{content:'';position:absolute;left:-20px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--green);border:2px solid var(--surface);box-shadow:0 0 0 2px var(--green-soft2);z-index:1;transition:all .2s var(--ease)}
.summary-tl-item:hover::before{transform:scale(1.3);box-shadow:0 0 0 4px var(--green-soft2)}
.summary-tl-item .stl-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:4px;line-height:1.6}
.summary-tl-item .stl-desc{font-size:14px;color:var(--text-2);line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.summary-tl-item.open .stl-desc{-webkit-line-clamp:unset;overflow:visible}
.summary-tl-item .stl-bullets{font-size:14px;color:var(--text-2);line-height:1.6;display:none;margin-top:8px;padding-top:8px;border-top:1px dashed var(--border)}
.summary-tl-item.open .stl-bullets{display:block}
.summary-tl-item .stl-bullets li{margin-bottom:3px;padding-left:4px}

.doc-layout{display:flex;gap:0;height:calc(100vh - 120px);margin:-28px -32px -48px}
.doc-sidebar{width:260px;border-right:1px solid var(--border);background:var(--surface);overflow-y:auto;padding:16px 0;flex-shrink:0}
.doc-group-label{font-size:14px;font-weight:600;color:var(--text-3);text-transform:uppercase;letter-spacing:0.5px;padding:8px 16px 4px;margin-top:8px}
.doc-group-label:first-child{margin-top:0}
.doc-item{padding:8px 16px 8px 24px;font-size:13px;color:var(--text-2);cursor:pointer;transition:all .1s var(--ease);display:flex;align-items:center;gap:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.doc-item:hover{background:var(--surface-2);color:var(--text)}
.doc-item.active{background:var(--green-soft);color:var(--green);font-weight:600}
.doc-item .doc-icon{width:14px;height:14px;flex-shrink:0;opacity:0.5}
.doc-preview{flex:1;overflow-y:auto;padding:28px 36px;background:var(--bg)}
.doc-preview .markdown-body{max-width:800px}
.doc-preview .markdown-body h1{font-size:22px;font-weight:700;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.doc-preview .markdown-body h2{font-size:18px;font-weight:700;margin:24px 0 12px;color:var(--text)}
.doc-preview .markdown-body h3{font-size:15px;font-weight:700;margin:20px 0 8px;color:var(--text)}
.doc-preview .markdown-body p{font-size:14px;line-height:1.7;margin-bottom:12px;color:var(--text-2)}
.doc-preview .markdown-body ul,.doc-preview .markdown-body ol{font-size:14px;line-height:1.7;margin-bottom:12px;padding-left:24px;color:var(--text-2)}
.doc-preview .markdown-body li{margin-bottom:4px}
.doc-preview .markdown-body code{font-family:var(--mono);font-size:13px;background:var(--surface-2);padding:2px 6px;border-radius:4px}
.doc-preview .markdown-body pre{background:var(--surface-2);padding:16px;border-radius:var(--radius);overflow-x:auto;margin-bottom:16px}
.doc-preview .markdown-body pre code{background:none;padding:0}
.doc-preview .markdown-body blockquote{border-left:3px solid var(--green);padding:8px 16px;margin-bottom:12px;background:var(--green-soft);border-radius:0 var(--radius) var(--radius) 0}
.doc-preview .markdown-body table{width:100%;border-collapse:collapse;margin-bottom:16px;font-size:13px}
.doc-preview .markdown-body th,.doc-preview .markdown-body td{padding:8px 12px;border:1px solid var(--border);text-align:left}
.doc-preview .markdown-body th{background:var(--surface-2);font-weight:600}
.doc-preview .markdown-body a{color:var(--green);text-decoration:none}
.doc-preview .markdown-body a:hover{text-decoration:underline}
.doc-preview .markdown-body img{max-width:100%;border-radius:var(--radius)}
.doc-preview .markdown-body hr{border:none;border-top:1px solid var(--border);margin:24px 0}
.doc-empty{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text-3);font-size:14px}

.timeline-list{display:flex;flex-direction:column;gap:12px}
.timeline-card{padding:20px 24px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);cursor:pointer;transition:all .2s var(--ease)}
.timeline-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow)}
.timeline-card-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.timeline-date{font-size:14px;font-weight:700;color:var(--text);font-family:var(--mono)}
.timeline-weekday{font-size:14px;color:var(--text-3)}
.timeline-summary{font-size:13px;color:var(--text-2);line-height:1.6}
.timeline-summary li{margin-bottom:2px}
.timeline-detail{display:none;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}
.timeline-card.open .timeline-detail{display:block}
.timeline-detail .markdown-body{font-size:13px;line-height:1.7;color:var(--text-2)}
.timeline-detail .markdown-body h2{font-size:15px;font-weight:700;margin:16px 0 8px;color:var(--text)}
.timeline-detail .markdown-body ul,.timeline-detail .markdown-body ol{padding-left:20px}
.timeline-detail .markdown-body li{margin-bottom:4px}
.timeline-load-more{text-align:center;padding:16px;color:var(--text-3);font-size:13px;cursor:pointer;transition:color .15s var(--ease)}
.timeline-load-more:hover{color:var(--green)}
.tl-tabs{display:flex;gap:4px;margin-bottom:16px;background:var(--surface-2);border-radius:var(--radius);padding:4px}
.tl-tab{flex:1;text-align:center;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .15s var(--ease);color:var(--text-3)}
.tl-tab:hover{color:var(--text-2)}
.tl-tab.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}
.tl-flow-chart{display:flex;align-items:center;gap:6px;margin-bottom:20px;padding:10px 16px;background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);font-size:13px}
.tl-flow-node{padding:3px 10px;border-radius:6px;font-weight:600;font-size:13px;letter-spacing:.3px}
.tl-flow-raw{background:var(--blue-soft);color:var(--blue)}
.tl-flow-dreams{background:rgba(168,85,247,.1);color:#a855f7}
.tl-flow-st{background:var(--amber-soft);color:var(--amber)}
.tl-flow-lt{background:var(--green-soft);color:var(--green)}
.tl-flow-wiki{background:var(--accent-soft);color:var(--accent)}
.tl-flow-arrow{color:var(--text-3);font-size:13px}
.tl-panel{display:none}.tl-panel.active{display:block}
.mem-section{margin-bottom:24px}
.mem-section-header{font-size:13px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:10px;color:var(--text)}
.mem-section-sub{font-size:13px;font-weight:400;color:var(--text-3);margin-left:4px}
.mem-dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.mem-dot-active{background:var(--amber)}
.mem-dot-lt{background:var(--green)}
.mem-grid{display:flex;flex-direction:column;gap:10px}
.mem-card{padding:14px 18px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);transition:all .2s var(--ease);cursor:default}
.mem-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow)}
.mem-card-text{font-size:13px;color:var(--text);line-height:1.6;margin-bottom:8px}
.mem-card-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mem-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:6px;font-size:13px;font-weight:600}
.mem-badge-strengthening{background:var(--green-soft2);color:var(--green)}
.mem-badge-stable{background:var(--amber-soft);color:var(--amber)}
.mem-badge-stale{background:rgba(156,163,175,.1);color:var(--text-3)}
.mem-badge-updating{background:var(--blue-soft2);color:var(--blue)}
.mem-badge-date{background:var(--surface-2);color:var(--text-3)}
.mem-wiki-link{color:var(--accent);cursor:pointer;text-decoration:none;font-size:13px;font-weight:600;padding:2px 8px;border-radius:6px;background:var(--accent-soft);transition:background .15s var(--ease)}
.mem-wiki-link:hover{background:var(--accent-soft2)}
.mem-lt-category{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--text-3);padding:12px 0 6px;border-bottom:1px solid var(--border);margin-top:8px}
.mem-lt-category:first-child{margin-top:0}

.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}
.health-dim{padding:20px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border)}
.health-dim .dim-header{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.health-dim .dim-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center}
.health-dim .dim-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.health-dim .dim-title{font-size:13px;font-weight:600}
.health-dim .dim-score{font-size:28px;font-weight:700;margin-bottom:2px}
.health-dim .dim-unit{font-size:13px;color:var(--text-3)}
.health-dim .dim-trend{font-size:13px;margin-top:8px;display:flex;align-items:center;gap:4px}
.health-dim .dim-trend svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.trend-up{color:var(--green)}.trend-down{color:var(--red)}.trend-flat{color:var(--text-3)}
.dim-train .dim-icon{background:var(--coral-soft);color:var(--coral)}
.dim-sleep .dim-icon{background:var(--blue-soft);color:var(--blue)}
.dim-mood .dim-icon{background:var(--accent-soft);color:var(--accent)}
.health-link{padding:18px 22px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);margin-bottom:24px;box-shadow:var(--shadow-sm)}
.health-link .link-title{font-size:14px;font-weight:600;color:var(--text-2);margin-bottom:10px;display:flex;align-items:center;gap:6px}
.health-link .link-title svg{width:14px;height:14px;stroke:var(--amber);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.health-link .link-items{display:flex;flex-direction:column;gap:10px}
.health-link .link-item{font-size:14px;color:var(--text-2);padding:8px 12px;border-radius:8px;background:var(--surface-2);display:flex;align-items:center;gap:10px}
.health-link .link-item svg{width:14px;height:14px;stroke:var(--amber);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

.okr-tree{padding:24px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);margin-bottom:24px}
.okr-node{margin-left:0}.okr-node .okr-children{margin-left:28px;border-left:2px solid var(--border);padding-left:16px}
.okr-item{padding:12px 16px;border-radius:8px;margin-bottom:8px;display:flex;align-items:center;gap:12px}
.okr-item.kr{background:var(--surface-2)}
.okr-item .okr-label{font-size:13px;font-weight:600;color:var(--text-3);min-width:32px}
.okr-item .okr-text{font-size:13px;font-weight:600;flex:1}
.okr-item .okr-progress{width:120px;height:6px;background:var(--surface-3);border-radius:3px;overflow:hidden}

.strat-layout{display:flex;gap:0;height:calc(100vh - 52px);overflow:hidden}
.strat-nav{width:160px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:16px 0;overflow-y:auto}
.strat-nav-title{font-size:13px;font-weight:700;color:var(--text);padding:0 16px 12px;border-bottom:1px solid var(--border);margin-bottom:4px}
.strat-nav-item{padding:8px 16px;font-size:13px;font-weight:500;color:var(--text-3);cursor:pointer;transition:all .15s var(--ease);border-left:3px solid transparent}
.strat-nav-item:hover{color:var(--text-2);background:var(--surface-2)}
.strat-nav-item.active{color:var(--green);font-weight:700;border-left-color:var(--green);background:rgba(16,185,129,0.06)}

.strat-main{flex:1;overflow-y:auto;padding:32px 24px;scroll-behavior:smooth}
.strat-main-inner{margin:0 auto}
#strat-view-pitch{max-width:none!important}
.strat-section{margin-bottom:56px}
.strat-section-tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:var(--green);margin-bottom:8px}
.strat-section-title{font-size:clamp(24px,3.5vw,32px);font-weight:800;letter-spacing:-0.03em;line-height:1.2;margin-bottom:10px;color:var(--text)}
.strat-section-sub{font-size:15px;color:var(--text-2);line-height:1.7;max-width:640px;margin-bottom:28px}

.strat-hero{padding:0 0 20px;margin-bottom:24px}
.strat-hero-text{font-size:28px;font-weight:800;color:var(--text);line-height:1.2;letter-spacing:-0.03em}
.strat-hero-sub{font-size:16px;color:var(--text-2);margin-top:10px;line-height:1.7;max-width:640px}

.strat-rail{display:flex;align-items:center;gap:0;padding:16px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);overflow-x:auto;margin-bottom:24px;box-shadow:var(--shadow-sm)}
.strat-rail-node{flex:1;min-width:80px;padding:10px 8px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border);text-align:center;transition:all .2s var(--ease)}
.strat-rail-node:hover{border-color:var(--green);background:var(--green-soft)}
.strat-rail-node.entry{border-color:var(--green);background:var(--green-soft)}
.strat-rail-node.covered{border-color:var(--green);opacity:0.85}
.strat-rail-node.partial{border-color:var(--amber);background:var(--amber-soft)}
.strat-rail-num{font-size:12px;font-weight:800;color:var(--green)}
.strat-rail-title{font-size:13px;font-weight:700;color:var(--text);margin-top:2px;white-space:nowrap}
.strat-rail-tag{font-size:12px;margin-top:2px;display:block}
.strat-rail-tag.gap{color:var(--red)}
.strat-rail-tag.partial{color:var(--amber)}
.strat-rail-tag.covered{color:var(--green)}
.strat-rail-arrow{color:var(--text-3);font-size:14px;padding:0 2px;flex-shrink:0}

.strat-detail-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;margin-bottom:24px;border-radius:var(--radius-lg);border:1px solid var(--border);overflow:hidden}
.strat-detail-card{padding:18px 20px;background:var(--surface);border-bottom:1px solid var(--border);transition:background .15s var(--ease)}
.strat-detail-card:nth-child(3n){border-right:none}
.strat-detail-card:nth-child(-n+3){border-top:none}
.strat-detail-card:hover{background:var(--surface-2)}
.strat-detail-card.entry{background:rgba(16,185,129,0.03)}
.strat-detail-card.covered{opacity:0.85}
.strat-detail-card.partial{background:rgba(234,179,8,0.03)}
.strat-dc-toggle{cursor:pointer;display:flex;flex-direction:column;gap:4px;position:relative;padding-right:24px}
.strat-dc-chevron{position:absolute;right:0;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:var(--text-3);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s var(--ease)}
.collapsible.open .strat-dc-chevron{transform:translateY(-50%) rotate(180deg)}
.strat-dc-body{display:none;padding-top:10px;margin-top:10px;border-top:1px solid var(--border)}
.collapsible.open .strat-dc-body{display:block}
.strat-dc-header{display:flex;justify-content:space-between;align-items:center}
.strat-dc-num{font-size:12px;font-weight:800;color:var(--green)}
.strat-dc-tag{font-size:12px;padding:3px 8px;border-radius:4px;background:rgba(16,185,129,0.1);color:var(--green);font-weight:600}
.strat-dc-tag.gap{background:rgba(239,68,68,0.08);color:var(--red)}
.strat-dc-tag.partial{background:rgba(234,179,8,0.08);color:var(--amber)}
.strat-dc-tag.covered{background:rgba(16,185,129,0.08);color:var(--green)}
.strat-dc-title{font-size:15px;font-weight:700;color:var(--text);margin-top:4px}
.strat-dc-hook{font-size:13px;font-weight:700;color:var(--green);padding:3px 8px;border-radius:4px;background:rgba(16,185,129,0.08);display:inline-block;margin-top:8px;margin-bottom:4px}
.strat-dc-row{display:flex;gap:6px;padding:6px 0;font-size:14px;line-height:1.7}
.strat-dc-row span:first-child{color:var(--text-3);min-width:32px;flex-shrink:0;font-weight:600}
.strat-dc-row span:last-child{color:var(--text-2)}

.strat-gap-card{padding:14px 0;border-bottom:1px solid var(--border);background:transparent;border:none;border-radius:0;transition:none}
.strat-gap-card:last-child{border-bottom:none}
.strat-gap-card.fire .strat-gap-priority{color:var(--red)}
.strat-gap-card.warm .strat-gap-priority{color:var(--amber)}
.strat-gap-toggle{cursor:pointer;display:flex;align-items:center;gap:12px;position:relative;padding-right:24px}
.strat-gap-title{font-size:14px;font-weight:700;color:var(--text);flex:1}
.strat-gap-body{display:none;padding-top:12px;margin-top:12px;border-top:1px solid var(--border)}
.collapsible.open .strat-gap-body{display:block}

.strat-window{padding:20px 24px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);margin-bottom:16px;box-shadow:var(--shadow-sm)}
.strat-win-row{display:grid;grid-template-columns:70px 80px 1fr;padding:10px 0;font-size:14px;border-bottom:1px solid var(--border)}
.strat-win-row:last-child{border-bottom:none}
.strat-win-row.highlight{color:var(--green);font-weight:700}
.strat-win-label{font-weight:700;color:var(--text)}
.strat-win-time{color:var(--green);font-weight:700}
.strat-win-desc{color:var(--text-2)}
.strat-window-insight{font-size:15px;color:var(--text-2);line-height:1.7;padding:14px 18px;border-radius:10px;background:var(--surface-2)}

.strat-fde{padding:20px 24px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-sm)}
.strat-fde-prereq{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--border)}
.strat-fde-prereq:last-of-type{border-bottom:none}
.strat-fde-num{font-size:13px;font-weight:700;color:var(--green);min-width:48px;padding-top:2px}
.strat-fde-title{font-size:15px;font-weight:700;color:var(--text)}
.strat-fde-desc{font-size:15px;color:var(--text-2);margin-top:2px;line-height:1.7}
.strat-fde-merge{margin-top:14px;padding:10px 16px;border-radius:10px;background:rgba(16,185,129,0.08);color:var(--green);font-size:15px;font-weight:700;text-align:center}

.strat-serv{padding:20px 24px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-sm)}
.strat-serv-row{display:flex;align-items:stretch;gap:0;margin-bottom:14px}
.strat-serv-col{flex:1;padding:16px;border-radius:10px;background:var(--surface-2)}
.strat-serv-col.product{border:1px solid var(--green);background:rgba(16,185,129,0.04)}
.strat-serv-col.service{border:1px solid var(--border)}
.strat-serv-label{font-size:14px;font-weight:700;color:var(--text);margin-bottom:4px}
.strat-serv-desc{font-size:15px;color:var(--text-2);line-height:1.7;margin-bottom:8px}
.strat-serv-tag{font-size:13px;color:var(--green);font-weight:600}
.strat-serv-tag.warn{color:var(--amber)}
.strat-serv-vs{display:flex;align-items:center;padding:0 12px;font-size:14px;font-weight:700;color:var(--text-3)}
.strat-serv-choice{font-size:15px;font-weight:700;color:var(--green);padding:10px 16px;border-radius:10px;background:rgba(16,185,129,0.08);text-align:center}

.strat-acquisition{padding:24px 28px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);margin-bottom:24px;box-shadow:var(--shadow-sm)}
.strat-acq-logic{font-size:16px;font-weight:700;color:var(--green);margin-bottom:6px}
.strat-acq-logic-sub{font-size:15px;color:var(--text-2);margin-bottom:14px;line-height:1.7}
.strat-acq-table{border-radius:10px;overflow:hidden;border:1px solid var(--border);margin-bottom:12px}
.strat-acq-row{display:grid;grid-template-columns:1fr 1fr 1fr;padding:12px 16px;font-size:14px;border-bottom:1px solid var(--border)}
.strat-acq-row:last-child{border-bottom:none}
.strat-acq-row.header{background:var(--surface-2);font-weight:700;color:var(--text)}
.strat-acq-row.highlight{background:rgba(16,185,129,0.06);font-weight:600;color:var(--green)}
.strat-acq-note{font-size:13px;color:var(--text-3);font-style:italic}

.strat-gaps{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}
.strat-gap-priority{font-size:15px;font-weight:700}
.strat-gap-range{font-size:14px;color:var(--text-3);padding:3px 10px;border-radius:4px;background:var(--surface-2)}
.strat-gap-desc{font-size:15px;color:var(--text-2);line-height:1.7;margin-bottom:8px}
.strat-gap-detail{padding:10px 14px;border-radius:8px;background:var(--surface-2);margin-bottom:8px}
.strat-gap-item{font-size:15px;color:var(--text-2);line-height:1.7}
.strat-gap-fix{font-size:15px;color:var(--green);font-weight:600}

.strat-projects{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:24px;border-radius:var(--radius-lg);border:1px solid var(--border);overflow:hidden}
.strat-proj-item{padding:14px 18px;background:var(--surface);border-bottom:1px solid var(--border);transition:background .15s var(--ease)}
.strat-proj-item:nth-child(odd){border-right:1px solid var(--border)}
.strat-proj-item:nth-last-child(-n+2){border-bottom:none}
.strat-proj-item:hover{background:var(--surface-2)}
.strat-proj-item.highlight{background:rgba(16,185,129,0.03)}
.strat-proj-name{font-size:14px;font-weight:700;color:var(--green);margin-bottom:4px}
.strat-proj-role{font-size:15px;color:var(--text-2);line-height:1.7;margin-bottom:4px}
.strat-proj-stage{font-size:13px;color:var(--text-3);padding:3px 10px;border-radius:4px;background:var(--surface-2);display:inline-block}

.strat-action-guide{padding:24px 28px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);margin-bottom:24px;box-shadow:var(--shadow-sm)}
.strat-ag-problem{font-size:14px;color:var(--red);font-weight:600;margin-bottom:6px}
.strat-ag-solution{font-size:16px;font-weight:700;color:var(--green);margin-bottom:14px}
.strat-ag-compare{display:flex;gap:14px;margin-bottom:14px}
.strat-ag-col{flex:1;padding:14px;border-radius:10px;background:var(--surface-2)}
.strat-ag-col-label{font-size:13px;font-weight:700;color:var(--text-3);margin-bottom:8px;text-transform:uppercase;letter-spacing:0.5px}
.strat-ag-col-item{font-size:15px;color:var(--text-2);padding:3px 0;line-height:1.7}
.strat-ag-impl{font-size:15px;color:var(--text-2);margin-bottom:12px}
.strat-ag-example{padding:14px;border-radius:10px;background:rgba(16,185,129,0.04);border:1px dashed var(--green)}
.strat-ag-example-title{font-size:15px;font-weight:700;color:var(--green);margin-bottom:8px}
.strat-ag-step{font-size:15px;color:var(--text-2);padding:2px 0}

.strat-funnel{padding:24px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);margin-bottom:24px;display:flex;flex-direction:column;align-items:center;gap:0;box-shadow:var(--shadow-sm)}
.strat-funnel-step{width:100%;max-width:440px;display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border)}
.strat-funnel-step.money{border-color:var(--green);background:rgba(16,185,129,0.06)}
.strat-funnel-num{width:26px;height:26px;border-radius:50%;background:var(--surface-3);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--text-2);flex-shrink:0}
.strat-funnel-step.money .strat-funnel-num{background:var(--green);color:#fff}
.strat-funnel-title{font-size:14px;font-weight:700;color:var(--text)}
.strat-funnel-desc{font-size:14px;color:var(--text-2)}
.strat-funnel-arrow{font-size:14px;color:var(--text-3);padding:3px 0}

.strat-validation{padding:0;margin-bottom:24px}
.strat-val-row{display:grid;grid-template-columns:100px 1fr 1fr;gap:12px;padding:10px 0;font-size:14px;border-bottom:1px solid var(--border)}
.strat-val-row:last-of-type{border-bottom:none}
.strat-val-label{font-weight:700;color:var(--text)}
.strat-val-status{color:var(--text-2)}.strat-val-status.active{color:var(--green);font-weight:700}
.strat-val-next{color:var(--text-3)}
.strat-val-signal-title{font-size:15px;font-weight:700;color:var(--text);margin:12px 0 8px;padding-top:10px;border-top:1px solid var(--border)}
.strat-val-signal{font-size:15px;color:var(--text-2);padding:4px 0;line-height:1.7}

.strat-risks{padding:0;margin-bottom:24px}
.strat-risk-item{display:flex;gap:14px;padding:10px 0;border-bottom:1px solid var(--border)}
.strat-risk-item:last-child{border-bottom:none}
.strat-risk-icon{flex-shrink:0}
.strat-risk-title{font-size:14px;font-weight:700;color:var(--text)}
.strat-risk-desc{font-size:15px;color:var(--text-2);line-height:1.7;margin-top:2px}

.strat-principles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.strat-principle{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--border);background:transparent;border:none;border-radius:0;transition:none}
.strat-principle:nth-last-child(-n+2){border-bottom:none}
.strat-pr-num{width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}
.strat-pr-title{font-size:14px;font-weight:700;color:var(--text)}
.strat-pr-desc{font-size:14px;color:var(--text-2);line-height:1.7;margin-top:2px}

.strat-intersection{display:flex;align-items:stretch;gap:0;margin-bottom:24px;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border)}
.strat-isect-side{flex:1;padding:20px 24px;background:var(--surface)}
.strat-isect-label{font-size:14px;font-weight:700;color:var(--text);margin-bottom:12px;padding-bottom:10px;border-bottom:2px solid var(--green)}
.strat-isect-items{display:flex;flex-direction:column;gap:6px}
.strat-isect-item{font-size:15px;color:var(--text-2);padding:6px 0;line-height:1.7}
.strat-isect-bridge{width:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:var(--green);color:#fff;font-size:13px;font-weight:700;padding:20px 10px}
.strat-isect-bridge svg{stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.strat-support{display:flex;gap:16px;margin-bottom:24px}
.strat-support-item{flex:1;padding:18px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);text-align:center;transition:all .2s var(--ease)}
.strat-support-item:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}
.strat-support-label{font-size:14px;font-weight:700;color:var(--text);margin-bottom:4px}
.strat-support-desc{font-size:15px;color:var(--text-2);margin-bottom:8px}
.strat-support-status{display:inline-block;font-size:13px;padding:3px 10px;border-radius:4px;background:var(--surface-2);color:var(--text-3)}

.strat-exits{padding:0;margin-bottom:24px}
.strat-exit-item{display:flex;align-items:center;gap:12px;padding:10px 0;font-size:14px;color:var(--text-2)}
.strat-exit-item:not(:last-child){border-bottom:1px solid var(--border)}
.strat-exit-icon{flex-shrink:0}
.strat-exit-text{line-height:1.7}
.okr-item .okr-progress-bar{height:100%;border-radius:3px;transition:width .3s var(--ease)}
.okr-item .okr-pct{font-size:14px;font-weight:600;font-family:var(--mono);min-width:36px;text-align:right}

.ip-view{display:block}
.ip-strategy-body{padding:24px 28px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-sm)}
.ip-phase{padding:24px 28px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border-strong);margin-bottom:24px;box-shadow:var(--shadow-sm)}
.ip-phase-bar{display:flex;gap:0;margin-bottom:16px}
.ip-phase-step{flex:1;padding:12px;text-align:center;font-size:14px;font-weight:700;color:var(--text-3);position:relative;background:var(--surface-2)}
.ip-phase-step:first-child{border-radius:10px 0 0 10px}
.ip-phase-step:last-child{border-radius:0 10px 10px 0}
.ip-phase-step.current{background:var(--green-soft);color:var(--green)}
.ip-phase-step.done{background:var(--green-soft2);color:var(--green)}
.ip-phase-gate{margin-top:14px;padding:14px 18px;border-radius:10px;background:var(--amber-soft);font-size:14px;color:var(--amber);display:flex;align-items:center;gap:10px}
.ip-phase-gate svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fde-map{padding:20px 24px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);margin-bottom:24px}
.fde-map-title{font-size:14px;font-weight:700;color:var(--text);margin-bottom:16px;display:flex;align-items:center;gap:10px}
.fde-map-title span{font-size:13px;font-weight:500;color:var(--text-3);background:var(--surface-2);padding:2px 8px;border-radius:4px}
.fde-map-row{display:flex;gap:10px;margin-bottom:8px;align-items:stretch}
.fde-map-node{flex:1;padding:12px;border-radius:8px;font-size:13px;line-height:1.5;position:relative;min-width:0}
.fde-map-node h4{font-size:14px;font-weight:700;margin:0 0 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fde-map-node p{margin:0;color:var(--text-3);font-size:13px}
.fde-map-node .tag{display:inline-block;font-size:11px;padding:1px 5px;border-radius:3px;margin-top:4px;font-weight:600}
.fde-map-node.gap{background:#fef2f2;border:1px dashed #f87171}
.fde-map-node.gap h4{color:#dc2626}
.fde-map-node.gap .tag{background:#fee2e2;color:#dc2626}
.fde-map-node.partial{background:#fffbeb;border:1px dashed #fbbf24}
.fde-map-node.partial h4{color:#d97706}
.fde-map-node.partial .tag{background:#fef3c7;color:#d97706}
.fde-map-node.covered{background:#f0fdf4;border:1px solid #86efac}
.fde-map-node.covered h4{color:#16a34a}
.fde-map-node.covered .tag{background:#dcfce7;color:#16a34a}
.fde-map-node.entry{background:#fff7ed;border:2px solid var(--green);box-shadow:0 0 0 3px rgba(249,115,22,0.15)}
.fde-map-node.entry h4{color:#ea580c}
.fde-map-node.entry .tag{background:#ffedd5;color:#ea580c}
.fde-map-arrow{display:flex;align-items:center;justify-content:center;color:var(--text-3);font-size:16px;flex:0 0 20px}
.fde-map-hook{margin-top:12px;padding:10px 14px;border-radius:8px;background:linear-gradient(135deg,#fff7ed,#fef3c7);border:1px solid #fed7aa;font-size:13px;color:#9a3412;font-weight:600;text-align:center}
.fde-map-hook em{font-style:normal;color:#ea580c;font-size:14px}

/* 自媒体矩阵 */
.ip-matrix{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.matrix-card{padding:18px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);display:flex;flex-direction:column;gap:8px;transition:all .2s var(--ease)}
.matrix-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}
.matrix-card.active{border-color:var(--green);box-shadow:0 0 0 3px rgba(34,197,94,0.08)}
.matrix-card.disabled{opacity:.55}
.matrix-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.matrix-name{font-size:15px;font-weight:700;color:var(--text)}
.matrix-tag{font-size:12px;padding:3px 8px;border-radius:4px;background:var(--surface-2);color:var(--text-3);font-weight:600}
.matrix-tag.tag-red{background:#fee2e2;color:#dc2626}
.matrix-tag.tag-green{background:#dcfce7;color:#16a34a}
.matrix-body{font-size:14px;color:var(--text-3);line-height:1.6}
.matrix-stat{font-size:13px;color:var(--text-3);display:flex;align-items:baseline;gap:4px;margin-top:2px}
.matrix-stat strong{font-size:20px;font-weight:700;color:var(--text)}

/* 内容计数 */
.ip-counter{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.counter-block{padding:18px 20px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);transition:all .2s var(--ease)}
.counter-block:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}
.counter-label{font-size:13px;color:var(--text-3);font-weight:600;margin-bottom:8px}
.counter-value{display:flex;align-items:baseline;gap:6px}
.counter-value strong{font-size:26px;font-weight:700;color:var(--green)}
.counter-value span{font-size:13px;color:var(--text-3)}

/* 数据报表 */
.ip-report{margin-bottom:24px;overflow:hidden;border-radius:var(--radius-lg);border:1px solid var(--border-strong);background:var(--surface);box-shadow:var(--shadow-sm)}
.report-loading{padding:24px;text-align:center;color:var(--text-3);font-size:14px}
.report-row{display:grid;grid-template-columns:80px 1fr 70px 60px 60px 80px;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border);font-size:13px;align-items:center}
.report-row:last-child{border-bottom:none}
.report-row.header{background:var(--surface-2);font-weight:700;color:var(--text-3);font-size:12px;text-transform:uppercase;letter-spacing:.5px}
.report-row .r-date{color:var(--text-3);font-size:12px}
.report-row .r-title{color:var(--text);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.report-row .r-num{font-weight:700;color:var(--text);text-align:right}
.report-row .r-num.hot{color:#dc2626}
.report-row .r-num.low{color:var(--text-3)}
.report-row .r-tag{font-size:11px;padding:3px 8px;border-radius:4px;font-weight:600;text-align:center}
.r-tag.tag-hot{background:#fee2e2;color:#dc2626}
.r-tag.tag-mid{background:#fef3c7;color:#d97706}
.r-tag.tag-low{background:var(--surface-2);color:var(--text-3)}

/* 爆款规律 */
.ip-insight{margin-bottom:24px;padding:20px 24px;border-radius:var(--radius-lg);background:linear-gradient(135deg,#fff7ed,#fef3c7);border:1px solid #fed7aa;font-size:14px;color:#7c2d12;line-height:1.7}
.ip-insight .insight-title{font-size:14px;font-weight:700;color:#9a3412;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.ip-insight .insight-item{display:flex;gap:8px;margin-bottom:6px}
.ip-insight .insight-item::before{content:'▸';color:#ea580c;font-weight:700;flex-shrink:0}

.content-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin-bottom:24px}
.cal-day{padding:12px 10px;border-radius:10px;background:var(--surface);border:1px solid var(--border);min-height:60px}
.cal-day .cal-label{font-size:14px;font-weight:600;color:var(--text-3);margin-bottom:6px}
.cal-day .cal-item{font-size:14px;padding:3px 6px;border-radius:4px;margin-bottom:3px;font-weight:500}
.cal-item.published{background:var(--green-soft);color:var(--green)}
.cal-item.planned{background:var(--blue-soft);color:var(--blue)}
.cal-item.idea{background:var(--surface-2);color:var(--text-3)}

.auth-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--bg);display:flex;align-items:center;justify-content:center;z-index:9999}
.auth-box{text-align:center;padding:48px;border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-lg);max-width:420px}
.auth-box .auth-icon{width:64px;height:64px;border-radius:16px;background:var(--green);display:flex;align-items:center;justify-content:center;margin:0 auto 24px;box-shadow:0 4px 24px var(--green-glow)}
.auth-box .auth-icon .pixel-eyes{display:flex;gap:6px}
.auth-box .auth-icon .eye{width:6px;height:6px;background:#fff;border-radius:1px;transform:rotate(45deg)}
.auth-box h2{font-size:20px;font-weight:700;margin-bottom:8px}
.auth-box p{font-size:14px;color:var(--text-2);margin-bottom:24px;line-height:1.6}
.auth-btn{padding:12px 32px;border-radius:var(--radius);background:var(--green);color:#fff;font-size:14px;font-weight:600;border:none;cursor:pointer;font-family:var(--font);transition:all .15s var(--ease)}
.auth-btn:hover{background:#0ea572;transform:translateY(-1px);box-shadow:0 4px 16px var(--green-glow)}
.auth-btn-secondary{background:var(--surface);color:var(--text-1);border:1px solid var(--border)}
.auth-btn-secondary:hover{background:var(--border);transform:translateY(-1px)}

@keyframes fadeInUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.northstar-card,.mainlines-row,.kanban-board,.todo-section,.timeline-list,.health-grid,.health-link,.strat-hero,.strat-rail,.strat-detail-grid,.strat-intersection,.strat-acquisition,.strat-gaps,.strat-projects,.strat-action-guide,.strat-funnel,.strat-validation,.strat-risks,.strat-principles,.strat-window,.strat-fde,.strat-serv,.strat-exits,.ip-phase,.content-calendar{animation:fadeInUp .4s var(--ease)}

@media(max-width:768px){
  .sidebar{width:52px}.nav-item{width:36px;height:36px}
  .main-body{padding:20px 16px 32px}
  .health-grid{grid-template-columns:1fr}
  .doc-layout{flex-direction:column}
  .doc-sidebar{width:100%;height:200px;border-right:none;border-bottom:1px solid var(--border)}
}

.np-main{overflow-y:auto;background:var(--surface-2);padding:24px;flex:1}
.np-topbar-date{font-size:13px;font-weight:600;color:var(--text);letter-spacing:0.3px}
.np-container{background:var(--surface);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);max-width:960px;margin:0 auto}

.np-paper{padding:40px 48px;max-width:100%;font-family:'Noto Serif SC','Georgia',serif;color:#1a1a1a;line-height:1.7}
.np-masthead{border-bottom:3px double #2a2a2a;padding-bottom:14px;margin-bottom:0}
.np-masthead-bar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #2a2a2a;padding-bottom:6px;margin-bottom:10px}
.np-bar-left{display:flex;align-items:center;gap:6px}
.np-bar-date{font-family:'Inter',sans-serif;font-size:13px;color:#444;font-weight:600;letter-spacing:0.5px}
.np-bar-right{font-family:'Inter',sans-serif;font-size:13px;color:#8b0000;font-weight:700;letter-spacing:1px}
.np-raw-content{font-family:'Noto Serif SC','Georgia',serif;line-height:1.8;color:#1a1a1a;padding:8px 0}
.np-raw-content h1{display:none}
.np-raw-content h2{font-size:18px;font-weight:700;border-bottom:1px solid #ccc;padding-bottom:6px;margin-top:24px;color:#1a1a1a}
.np-raw-content h2:first-child{margin-top:0}
.np-raw-content p{margin:8px 0;font-size:14px}
.np-raw-content ol,.np-raw-content ul{padding-left:20px;font-size:14px}
.np-raw-content li{margin:6px 0}
.np-raw-content a{color:#8b0000}
.np-masthead-center{text-align:center}
.np-masthead-sub{font-family:'Inter',sans-serif;font-size:13px;letter-spacing:4px;color:#888;text-transform:uppercase;margin-bottom:4px}
.np-masthead-title{font-size:42px;font-weight:900;letter-spacing:14px;color:#1a1a1a;line-height:1.1}
.np-meta-arrow{cursor:pointer;font-size:14px;color:#888;padding:2px 4px;border-radius:4px;transition:all .15s;flex-shrink:0}
.np-meta-arrow:hover{color:#8b0000;background:rgba(139,0,0,0.06)}
.np-meta-arrow.disabled{opacity:.3;pointer-events:none}

.np-headline{border-bottom:2px solid #2a2a2a;padding:18px 0 14px;margin-bottom:0;text-align:center}
.np-headline h2{font-size:26px;font-weight:900;line-height:1.5;color:#1a1a1a;margin-bottom:6px}
.np-headline .np-lead{font-family:'Inter',sans-serif;font-size:13px;color:#555;max-width:640px;margin:0 auto;line-height:1.6}
.np-headline .np-lead .np-src{color:#1a56a0;text-decoration:underline;font-size:12px;margin-left:4px}
.np-headline h2 a{color:inherit;text-decoration:underline}

.np-section-hdr{display:flex;align-items:center;gap:12px;padding:10px 0 6px;border-bottom:2px solid #1a1a1a;margin-bottom:12px}
.np-section-hdr .np-sec-icon{font-size:16px}
.np-section-hdr h3{font-family:'Inter',sans-serif;font-size:13px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:#8b0000}

.np-cols-3{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-bottom:1px solid #2a2a2a}
.np-cols-3>article{padding:14px 18px;border-right:1px solid #ccc}
.np-cols-3>article:last-child{border-right:none}

.np-cols-2{display:grid;grid-template-columns:2fr 1fr;gap:0;border-bottom:1px solid #2a2a2a}
.np-cols-2>article{padding:14px 18px;border-right:1px solid #ccc}
.np-cols-2>article:last-child{border-right:none}

.np-cols-full{border-bottom:1px solid #2a2a2a;padding:16px 18px}

.np-paper article h4{font-size:16px;font-weight:700;line-height:1.6;margin-bottom:6px;color:#1a1a1a}
.np-paper article h4 .np-num{font-family:'Inter',sans-serif;font-size:13px;color:#8b0000;font-weight:700;margin-right:5px}
.np-paper article p{font-size:13px;line-height:1.75;color:#4a4a4a;text-align:justify}
.np-tag{display:inline-block;font-family:'Inter',sans-serif;font-size:11px;font-weight:700;letter-spacing:1px;padding:2px 7px;border:1px solid #8b0000;color:#8b0000;margin-bottom:6px}

.np-pull-quote{font-size:17px;font-weight:600;font-style:italic;line-height:1.5;color:#8b0000;padding:14px 0;border-top:2px solid #8b0000;border-bottom:2px solid #8b0000;margin:10px 0;text-align:center}

.np-signal-list{list-style:none;padding:0}
.np-signal-list li{padding:8px 0;border-bottom:1px dotted #ccc;font-size:13px;line-height:1.7}
.np-signal-list li:last-child{border-bottom:none}
.np-signal-list li strong{color:#8b0000}

.np-action-list{list-style:none;padding:0;counter-reset:npact}
.np-action-list li{counter-increment:npact;padding:10px 0 10px 36px;border-bottom:1px dotted #ccc;position:relative;font-size:13px;line-height:1.7}
.np-action-list li:last-child{border-bottom:none}
.np-action-list li::before{content:counter(npact);position:absolute;left:0;top:10px;font-size:20px;font-weight:900;color:#8b0000;line-height:1}
.np-action-list .np-dash{color:#888;font-size:13px;display:block;margin-top:2px}

.np-sidebar-item{padding:10px 0;border-bottom:1px dashed #ccc}
.np-sidebar-item:last-child{border-bottom:none}
.np-sidebar-item h5{font-family:'Inter',sans-serif;font-size:13px;font-weight:700;margin-bottom:3px;color:#1a1a1a}
.np-sidebar-item p{font-size:13px;line-height:1.6;color:#4a4a4a}

.np-stars{color:#8b0000;font-size:13px;letter-spacing:1px}
.np-source{font-family:'Inter',sans-serif;font-size:13px;color:#888;margin-top:6px}
.np-source a{color:#8b0000;text-decoration:none}
.np-source a:hover{text-decoration:underline}

.np-footer{text-align:center;padding:16px 0;font-family:'Inter',sans-serif;font-size:11px;color:#888;letter-spacing:2px;border-top:3px double #2a2a2a;margin-top:0}

.np-empty{text-align:center;padding:60px 20px;color:var(--text-3);font-size:14px}

.np-verbal{background:#faf8f4;border:1px solid #e8e4dc;border-radius:8px;padding:20px 24px;margin:16px 0}
.np-verbal-title{font-family:'Inter',sans-serif;font-size:13px;font-weight:700;color:#8b0000;letter-spacing:2px;margin-bottom:12px;display:flex;align-items:center;gap:10px}
.np-verbal-title::before{content:'✓';font-size:14px}
.np-verbal-body{font-size:14px;line-height:1.9;color:#3a3a3a}
.np-verbal-body p{margin:8px 0}
.np-verbal-body strong{color:#8b0000}

.np-related{background:rgba(139,0,0,0.04);border-left:3px solid #8b0000;padding:16px 20px;margin:16px 0;border-radius:0 8px 8px 0}
.np-related-title{font-family:'Inter',sans-serif;font-size:13px;font-weight:700;color:#8b0000;letter-spacing:2px;margin-bottom:8px}
.np-related-item{font-size:13px;line-height:1.7;color:#3a3a3a;padding:4px 0}
.np-related-item::before{content:'✓';color:#8b0000;font-weight:700;margin-right:6px}
.np-item{margin-bottom:14px;padding-bottom:14px;border-bottom:1px dotted #ccc}
.np-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.np-item-body{font-size:13px;line-height:1.6;color:#3a3a3a;margin:4px 0 0}
.np-src{color:#1a56a0;text-decoration:underline;font-size:12px;margin-left:4px}
.np-src:hover{color:#0d3d7a}
.np-review-table table{width:100%;border-collapse:collapse;font-size:13px}
.np-review-table th{background:#f5f3ef;font-weight:700;text-align:left;padding:8px 10px;border-bottom:2px solid #2a2a2a;font-size:13px}
.np-review-table td{padding:7px 10px;border-bottom:1px solid #e0ddd6;vertical-align:top;line-height:1.6}
.np-community h3{font-size:14px;font-weight:700;color:#8b0000;margin:16px 0 8px;padding-bottom:4px;border-bottom:1px solid #ccc}
.np-community h3:first-child{margin-top:0}

/* ===== 项目验收总览 ===== */
.prv-stats{display:flex;gap:12px;padding:16px 20px;flex-wrap:wrap;border-bottom:1px solid var(--border)}
.prv-stat-card{background:var(--surface);border-radius:var(--radius);padding:14px 18px;flex:1;min-width:140px;border:1px solid var(--border);display:flex;flex-direction:column;gap:4px}
.prv-stat-label{font-size:12px;color:var(--text-3);font-weight:500}
.prv-stat-value{font-size:22px;font-weight:700;color:var(--text);display:flex;align-items:baseline;gap:6px}
.prv-stat-sub{font-size:12px;color:var(--text-3)}
.prv-stat-value .prv-stat-crit{font-size:14px;font-weight:600;color:var(--red);margin-left:4px}

.prv-grid{display:flex;flex-direction:column;gap:12px;padding:16px 20px;overflow-y:auto;flex:1}
.prv-card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);overflow:hidden}
.prv-card-header{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;transition:background .15s var(--ease);user-select:none}
.prv-card-header:hover{background:var(--surface-2)}
.prv-card-icon{font-size:22px;width:32px;text-align:center}
.prv-card-info{flex:1;min-width:0}
.prv-card-name{font-size:14px;font-weight:600;color:var(--text);display:flex;align-items:center;gap:8px}
.prv-card-desc{font-size:12px;color:var(--text-3);margin-top:1px}
.prv-card-meta{display:flex;align-items:center;gap:10px;flex-shrink:0}
.prv-progress-ring{width:40px;height:40px;position:relative}
.prv-progress-ring svg{transform:rotate(-90deg)}
.prv-progress-ring .bg{fill:none;stroke:var(--surface-3);stroke-width:3}
.prv-progress-ring .bar{fill:none;stroke:var(--green);stroke-width:3;stroke-linecap:round;transition:stroke-dashoffset .5s var(--ease)}
.prv-progress-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:11px;font-weight:700;color:var(--text)}
.prv-priority{font-size:11px;font-weight:700;padding:3px 8px;border-radius:10px;letter-spacing:0.5px}
.prv-priority.p0{background:var(--red-soft);color:var(--red)}
.prv-priority.p1{background:var(--coral-soft);color:var(--coral)}
.prv-priority.p2{background:var(--amber-soft);color:var(--amber)}
.prv-priority.p3{background:var(--surface-2);color:var(--text-3)}
.prv-deadline{font-size:11px;color:var(--text-3);white-space:nowrap}
.prv-deadline.critical{color:var(--red);font-weight:600}
.prv-chevron{width:16px;height:16px;color:var(--text-3);transition:transform .2s var(--ease);flex-shrink:0}
.prv-card.open .prv-chevron{transform:rotate(180deg)}

.prv-card-body{display:none;padding:0 16px 14px;border-top:1px solid var(--border)}
.prv-card.open .prv-card-body{display:block}
.prv-section-label{font-size:12px;font-weight:600;color:var(--text-2);margin:12px 0 6px;display:flex;align-items:center;gap:6px}
.prv-checklist{display:flex;flex-direction:column;gap:4px}
.prv-check-item{display:flex;align-items:center;gap:8px;font-size:13px;padding:4px 8px;border-radius:6px;transition:background .15s}
.prv-check-item:hover{background:var(--surface-2)}
.prv-check-item .prv-check-icon{width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:11px;font-weight:700}
.prv-check-item.done .prv-check-icon{background:var(--green-soft2);color:var(--green)}
.prv-check-item.pending .prv-check-icon{background:var(--surface-3);color:var(--text-3)}
.prv-check-item .prv-check-label{flex:1}
.prv-check-item .prv-check-progress{font-size:11px;color:var(--coral);font-weight:600}
.prv-check-item .prv-check-note{font-size:11px;color:var(--text-3);margin-left:4px}
.prv-todo-row{font-size:13px;color:var(--text-2);padding:3px 8px;display:flex;align-items:center;gap:6px}
.prv-todo-row::before{content:'☐';color:var(--text-3);font-size:14px}
.prv-todo-row.p0::before{color:var(--red)}
.prv-todo-row.p1::before{color:var(--coral)}
.prv-todo-link{font-size:12px;color:var(--accent);cursor:pointer;margin-left:8px;text-decoration:none;display:inline-flex;align-items:center;gap:4px}
.prv-todo-link:hover{text-decoration:underline}

.prv-status{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:8px}
.prv-status.active{background:var(--green-soft);color:var(--green)}
.prv-status.critical{background:var(--red-soft);color:var(--red)}
.prv-status.paused{background:var(--surface-2);color:var(--text-3)}
.np-community ol,.np-community ul{padding-left:20px;font-size:13px;line-height:1.8}
.np-community li{margin:4px 0}
.np-invest h3{font-size:14px;font-weight:700;color:#8b0000;margin:16px 0 8px;padding-bottom:4px;border-bottom:1px solid #ccc}
.np-invest h3:first-child{margin-top:0}
.np-invest ol,.np-invest ul{padding-left:20px;font-size:13px;line-height:1.8}
.np-invest li{margin:4px 0}
.np-invest table{width:100%;border-collapse:collapse;font-size:13px;margin:8px 0}
.np-invest th{background:#f5f3ef;font-weight:700;text-align:left;padding:6px 8px;border-bottom:1px solid #ccc}
.np-invest td{padding:6px 8px;border-bottom:1px solid #e8e4dc}

@media(max-width:768px){
  .np-main{padding:12px;height:auto}
  .np-paper{padding:20px 16px}
  .np-masthead-title{font-size:28px;letter-spacing:8px}
  .np-cols-3,.np-cols-2{grid-template-columns:1fr}
  .np-cols-3>article,.np-cols-2>article{border-right:none;border-bottom:1px solid #ccc}
  .np-headline h2{font-size:20px}
}

/* ===== Skill Market ===== */
#panel-market{max-width:1200px;margin:0 auto}
.market-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px;flex-wrap:wrap}
.market-hero h2{font-size:24px;font-weight:700;color:var(--text);margin-bottom:4px}
.market-hero p{font-size:13px;color:var(--text-3);line-height:1.5}
.market-search-wrap{position:relative;flex-shrink:0}
.market-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-3)}
.market-search{width:280px;padding:10px 14px 10px 36px;border:1px solid var(--border-strong);border-radius:var(--radius);font-size:13px;font-family:var(--font);background:var(--surface);color:var(--text);transition:border-color .2s var(--ease)}
.market-search:focus{outline:none;border-color:var(--green)}
.market-search::placeholder{color:var(--text-3)}

.market-filters{margin-bottom:20px}
.market-filter-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.market-filter-label{font-size:12px;font-weight:600;color:var(--text-3);flex-shrink:0;width:36px}
.market-chips{display:flex;gap:6px;flex-wrap:wrap}
.mkt-chip{padding:5px 14px;border-radius:20px;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s var(--ease);background:var(--surface-2);color:var(--text-2);border:1px solid transparent}
.mkt-chip:hover{background:var(--surface-3)}
.mkt-chip.active{background:var(--green-soft);color:var(--green);border-color:var(--green-soft2)}

.market-stats{display:flex;gap:16px;align-items:center;margin-bottom:16px;padding:12px 16px;background:var(--surface);border-radius:var(--radius);border:1px solid var(--border)}
.ms-stat{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-2)}
.ms-stat b{font-size:16px;font-weight:700;color:var(--text)}
.ms-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}

.market-grid{min-height:200px}
.market-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.mkt-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:18px;transition:all .2s var(--ease);text-decoration:none;color:inherit;position:relative;overflow:hidden}
.mkt-card:hover{border-color:var(--green-soft2);box-shadow:var(--shadow);transform:translateY(-2px)}
.mkt-card.status-self{border-color:var(--coral-soft)}
.mkt-card.status-self:hover{border-color:var(--coral)}
.mkt-card.status-wrap{border-color:var(--accent-soft)}
.mkt-card.status-wrap:hover{border-color:var(--accent)}
.mkt-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.mkt-type{font-size:11px;font-weight:600;color:var(--text-3);text-transform:uppercase;letter-spacing:0.5px}
.mkt-status{font-size:11px;font-weight:600;padding:3px 10px;border-radius:20px;white-space:nowrap}
.mkt-name{font-size:15px;font-weight:700;color:var(--text);margin-bottom:6px;line-height:1.3}
.mkt-desc{font-size:13px;line-height:1.6;color:var(--text-2);margin-bottom:10px;flex:1}
.mkt-stars{font-size:12px;color:var(--amber);font-weight:600;margin-bottom:8px}
.mkat-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
.mkat-tag{font-size:11px;padding:2px 8px;border-radius:4px;background:var(--surface-2);color:var(--text-3)}
.mkt-cat{font-size:11px;color:var(--text-3);font-weight:500}
.market-empty{text-align:center;padding:60px 20px;color:var(--text-3);font-size:14px}

@media(max-width:768px){
  .market-cards{grid-template-columns:1fr}
  .market-search{width:100%}
  .market-header{flex-direction:column;align-items:stretch}
}

/* ── 财务看板 ── */
.finance-container{padding:20px;max-width:900px}
.finance-summary{display:flex;gap:16px;margin-bottom:24px}
.fin-stat-card{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}
.fin-stat-label{font-size:12px;color:var(--text-3);margin-bottom:8px}
.fin-stat-value{font-size:28px;font-weight:700;color:var(--accent)}
.fin-budget-bar{height:6px;background:var(--surface);border-radius:3px;margin-top:8px;overflow:hidden}
.fin-budget-fill{height:100%;background:var(--accent);border-radius:3px;transition:width 0.3s}
.fin-section{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:16px}
.fin-section-title{font-size:14px;color:var(--accent);margin-bottom:12px}
.fin-table-header,.fin-table-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;padding:8px 0;border-bottom:1px solid var(--border)}
.fin-table-header{font-size:12px;color:var(--text-3);font-weight:600}
.fin-table-row{font-size:13px}
.fin-roi{color:var(--accent-2)}
.fin-trend-chart{display:flex;gap:8px;height:120px;align-items:flex-end}
.fin-trend-bar{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end}
.fin-trend-fill{width:100%;background:var(--accent);border-radius:4px 4px 0 0;min-height:4px}
.fin-trend-label{font-size:10px;color:var(--text-3);margin-top:4px}
.fin-trend-val{font-size:10px;color:var(--text-2)}
.fin-suggestion-item{padding:8px 12px;background:var(--surface-2);border-radius:8px;margin-bottom:8px;font-size:13px;line-height:1.5}
.fin-error{color:var(--danger,#f85149);text-align:center;padding:20px}

/* ── Agent舰队 ── */
.fleet-container{padding:20px;max-width:900px}
.fleet-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.fleet-header h3{font-size:18px;color:var(--accent)}
.fleet-deploy-btn{background:var(--accent);color:var(--surface-2);border:none;padding:8px 16px;border-radius:8px;cursor:pointer;font-size:13px}
.fleet-deploy-btn:hover{opacity:0.9}
.fleet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.fleet-agent-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}
.fleet-agent-running{border-left:3px solid var(--accent)}
.fleet-agent-idle{border-left:3px solid var(--text-3)}
.fleet-agent-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.fleet-agent-name{font-size:14px;font-weight:600}
.fleet-agent-type{font-size:11px;color:var(--text-3);background:var(--surface-2);padding:2px 8px;border-radius:4px}
.fleet-agent-scene{font-size:12px;color:var(--accent-2);margin-bottom:8px}
.fleet-agent-task{font-size:13px;color:var(--text-2);margin-bottom:8px}
.fleet-agent-stats{font-size:12px;color:var(--text-3)}
.fleet-deploy-form{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.fleet-deploy-form select,.fleet-deploy-form input,.fleet-deploy-form button{padding:8px 12px;border:1px solid var(--border);border-radius:8px;font-size:13px;background:var(--surface);color:var(--text)}
.fleet-deploy-form input{flex:1;min-width:200px}
.fleet-deploy-form button{cursor:pointer}
#deploy-submit{background:var(--accent);color:var(--surface-2);border:none}
#deploy-cancel{background:transparent}
.fleet-empty,.fleet-error{text-align:center;padding:20px;color:var(--text-3)}

/* ── 任务列表 ── */
.fleet-tasks-section{margin-top:24px}
.fleet-tasks-title{font-size:14px;color:var(--accent);margin-bottom:12px}
.fleet-tasks-list{display:flex;flex-direction:column;gap:8px;max-height:400px;overflow-y:auto}
.fleet-tasks-empty{text-align:center;padding:16px;color:var(--text-3);font-size:13px}
.fleet-task-item{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 12px}
.fleet-task-item.task-status-deployed{border-left:3px solid var(--accent)}
.fleet-task-item.task-status-running{border-left:3px solid #3b82f6}
.fleet-task-item.task-status-done{border-left:3px solid var(--green)}
.fleet-task-item.task-status-failed{border-left:3px solid #ef4444}
.fleet-task-header{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:12px}
.fleet-task-status{font-size:14px}
.fleet-task-agent{font-weight:600;color:var(--text)}
.fleet-task-scene{color:var(--accent-2);background:var(--green-soft);padding:1px 6px;border-radius:4px;font-size:11px}
.fleet-task-time{margin-left:auto;color:var(--text-3);font-size:11px}
.fleet-task-text{font-size:13px;color:var(--text-2);margin-bottom:2px}
.fleet-task-sid{font-size:10px;color:var(--text-3);font-family:monospace}

/* ── 派发结果反馈 ── */
.fleet-deploy-result{margin-top:12px;padding:12px 16px;border-radius:8px;font-size:13px;animation:fadeIn .3s}
.fleet-deploy-loading{background:rgba(59,130,246,0.1);border:1px solid rgba(59,130,246,0.3);color:#60a5fa}
.fleet-deploy-success{background:var(--green-soft);border:1px solid var(--accent-2);color:var(--accent-2)}
.fleet-deploy-error{background:rgba(239,68,68,0.1);border:1px solid rgba(239,68,68,0.3);color:#f87171}
.deploy-detail{display:inline-block;font-size:12px;color:var(--text-2);margin-top:2px}
@keyframes fadeIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}

/* ── OKR → KR → Agent 派发链路 ── */
.strat-okr-agent{display:flex;flex-direction:column;gap:20px}
.okr-mainlines{display:flex;flex-direction:column;gap:8px}
.okr-mainline-item{display:flex;align-items:center;gap:12px}
.okr-ml-name{font-size:13px;color:var(--text-2);min-width:100px}
.okr-ml-bar{flex:1;height:8px;background:var(--surface-2);border-radius:4px;overflow:hidden}
.okr-ml-fill{height:100%;background:var(--accent);border-radius:4px;transition:width 0.3s}
.okr-ml-pct{font-size:12px;color:var(--text-3);min-width:36px;text-align:right}
.okr-list{display:flex;flex-direction:column;gap:16px}
.okr-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}
.okr-header{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.okr-num{font-size:12px;font-weight:700;color:var(--surface);background:var(--accent);padding:2px 8px;border-radius:4px}
.okr-title{font-size:15px;font-weight:600;color:var(--text)}
.okr-krs{display:flex;flex-direction:column;gap:8px}
.okr-kr{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--border)}
.okr-kr:last-child{border:none}
.okr-kr-status{font-size:14px}
.okr-kr-text{flex:1;font-size:13px;color:var(--text-2)}
.okr-deploy-btn{font-size:11px;padding:4px 10px;border:1px solid var(--accent-2);color:var(--accent-2);background:var(--green-soft);border-radius:6px;cursor:pointer;transition:all .15s}
.okr-deploy-btn:hover{background:var(--accent-2);color:var(--surface)}
.okr-deploy-btn:disabled{opacity:0.6;cursor:default}
.okr-error,.strat-okr-loading{text-align:center;padding:20px;color:var(--text-3)}

/* ── MCP状态指示器 ── */
.mcp-status{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;font-size:11px;color:var(--text-3);margin-bottom:8px;cursor:pointer;transition:all .2s}
.mcp-status.online{color:var(--green);background:var(--green-soft)}
.mcp-status.online .mcp-dot{background:var(--green);animation:pulse 2s infinite}
.mcp-status.offline{color:var(--text-3);background:var(--surface-2)}
.mcp-status.offline:hover{background:var(--surface-3)}
.mcp-status.starting{color:var(--amber);background:rgba(245,158,11,0.1)}
.mcp-status.starting .mcp-dot{background:var(--amber);animation:pulse 1s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.5}}

/* ═══ P0-1: 指令模板面板 ═══ */
.tpl-layout{display:flex;height:calc(100vh - 140px);gap:16px}
.tpl-sidebar{width:280px;flex-shrink:0;display:flex;flex-direction:column;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px;overflow:hidden}
.tpl-search-input{width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:8px;font-size:13px;background:var(--surface-2);outline:none}
.tpl-search-input:focus{border-color:var(--accent);background:var(--surface)}
.tpl-categories{display:flex;flex-wrap:wrap;gap:4px;padding:4px 0;border-bottom:1px solid var(--border)}
.tpl-cat-item{font-size:11px;padding:3px 8px;border-radius:10px;background:var(--surface-2);color:var(--text-2);cursor:pointer;transition:all .15s}
.tpl-cat-item:hover{background:var(--accent-soft);color:var(--accent)}
.tpl-cat-item.active{background:var(--accent);color:white}
.tpl-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:4px}
.tpl-item{padding:10px;border-radius:8px;cursor:pointer;transition:all .15s;border:1px solid transparent}
.tpl-item:hover{background:var(--surface-2)}
.tpl-item.active{background:var(--accent-soft);border-color:var(--accent)}
.tpl-item-name{font-size:13px;font-weight:600;color:var(--text)}
.tpl-item-desc{font-size:11px;color:var(--text-3);margin-top:2px}
.tpl-item-skill{font-size:10px;color:var(--accent);margin-top:4px}
.tpl-empty{padding:24px;text-align:center;color:var(--text-3);font-size:13px}
.tpl-detail{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;overflow-y:auto}
.tpl-detail-header{margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.tpl-detail-title{font-size:18px;font-weight:700;color:var(--text)}
.tpl-detail-desc{font-size:13px;color:var(--text-3);margin-top:4px}
.tpl-form{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}
.tpl-form-field{display:flex;flex-direction:column;gap:4px}
.tpl-form-label{font-size:12px;font-weight:600;color:var(--text-2)}
.tpl-form-input{padding:8px 12px;border:1px solid var(--border);border-radius:6px;font-size:13px;font-family:inherit;outline:none;background:var(--surface)}
.tpl-form-input:focus{border-color:var(--accent)}
.tpl-form-textarea{min-height:80px;resize:vertical;font-family:var(--mono)}
.tpl-preview-section{border-top:1px solid var(--border);padding-top:16px}
.tpl-preview-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:8px}
.tpl-copy-btn,.tpl-deploy-btn{font-size:11px;padding:4px 10px;border-radius:6px;border:none;background:var(--accent);color:white;cursor:pointer;transition:all .15s}
.tpl-copy-btn{background:var(--surface-3);color:var(--text)}
.tpl-copy-btn:hover{background:var(--accent);color:white}
.tpl-deploy-btn:hover{opacity:0.9}
.tpl-preview-box{background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:12px;font-size:12px;font-family:var(--mono);white-space:pre-wrap;color:var(--text);max-height:300px;overflow-y:auto}

/* ═══ P0-2: 最近产出面板 ═══ */
.outputs-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px;flex-wrap:wrap}
.outputs-filter{display:flex;gap:4px;flex-wrap:wrap}
.outputs-filter-btn{font-size:12px;padding:5px 12px;border-radius:14px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);cursor:pointer;transition:all .15s}
.outputs-filter-btn:hover{border-color:var(--accent);color:var(--accent)}
.outputs-filter-btn.active{background:var(--accent);color:white;border-color:var(--accent)}
.outputs-refresh{font-size:12px;padding:5px 12px;border-radius:6px;border:1px solid var(--border);background:var(--surface);cursor:pointer}
.outputs-refresh:hover{background:var(--surface-2)}
.outputs-list{display:flex;flex-direction:column;gap:6px;max-height:calc(100vh - 200px);overflow-y:auto}
.output-item{display:flex;align-items:center;gap:12px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:all .15s}
.output-item:hover{border-color:var(--accent);background:var(--accent-soft)}
.output-item-icon{font-size:18px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:var(--surface-2);border-radius:6px}
.output-item-body{flex:1;min-width:0}
.output-item-name{font-size:13px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.output-item-meta{display:flex;gap:8px;align-items:center;margin-top:2px}
.output-tag{font-size:10px;padding:1px 6px;border-radius:4px;background:var(--accent-soft);color:var(--accent)}
.output-path{font-size:11px;color:var(--text-3);font-family:var(--mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.output-item-arrow{color:var(--text-3);font-size:18px}
.outputs-loading,.outputs-empty{padding:32px;text-align:center;color:var(--text-3);font-size:13px}

/* ═══ P1-6: 个人偏好面板 ═══ */
.pref-intro{font-size:13px;color:var(--text-3);margin-bottom:16px;padding:8px 12px;background:var(--accent-soft);border-radius:6px}
.pref-intro code{background:var(--surface);padding:2px 6px;border-radius:4px;font-size:11px;color:var(--accent)}
.pref-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:16px}
.pref-editor{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.pref-section{margin-bottom:20px}
.pref-section-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid var(--border)}
.pref-fields{display:flex;flex-direction:column;gap:8px}
.pref-field{display:flex;flex-direction:column;gap:4px}
.pref-field label{font-size:11px;font-weight:600;color:var(--text-2)}
.pref-field input,.pref-input-plain{padding:6px 10px;border:1px solid var(--border);border-radius:6px;font-size:13px;outline:none;background:var(--surface)}
.pref-field input:focus,.pref-input-plain:focus{border-color:var(--accent)}
.pref-actions{display:flex;align-items:center;gap:12px;padding-top:12px;border-top:1px solid var(--border)}
.pref-save-btn{padding:8px 16px;border-radius:6px;border:none;background:var(--accent);color:white;font-size:13px;cursor:pointer}
.pref-save-btn:hover{opacity:0.9}
.pref-status{font-size:12px;color:var(--text-3)}
.pref-preview{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.pref-preview-title{font-size:13px;font-weight:700;margin-bottom:10px;color:var(--text)}
.pref-preview-body{background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:12px;font-size:12px;font-family:var(--mono);white-space:pre-wrap;color:var(--text-2);min-height:200px}
.pref-error{color:var(--red);font-size:13px}
.pref-empty{color:var(--text-3);font-size:12px;font-style:italic}

/* ═══ P2-7: docs 工具栏 ═══ */
.docs-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px;flex-wrap:wrap;padding:8px 0}
.docs-search-wrap{display:flex;align-items:center;gap:6px;flex:1;min-width:300px;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:4px 8px}
.docs-search-icon{color:var(--text-3);flex-shrink:0}
.docs-search-input{flex:1;border:none;outline:none;background:transparent;font-size:13px;padding:6px 4px;color:var(--text)}
.docs-ask-btn{padding:6px 14px;border:none;border-radius:6px;background:var(--accent);color:white;font-size:12px;cursor:pointer}
.docs-ask-btn:hover{opacity:0.9}
.docs-actions{display:flex;gap:6px;flex-shrink:0}
.docs-action-btn{padding:6px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-2);font-size:12px;cursor:pointer;transition:all .15s}
.docs-action-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.docs-ask-result{margin-bottom:12px;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:12px}
.docs-ask-loading{padding:8px;color:var(--text-3);font-size:13px}
.docs-ask-empty{padding:8px;color:var(--text-3);font-size:13px;text-align:center}
.docs-ask-title{font-size:13px;font-weight:600;color:var(--text);margin-bottom:8px}
.docs-ask-hit{padding:8px;border-radius:6px;cursor:pointer;transition:all .15s;border:1px solid transparent}
.docs-ask-hit:hover{background:var(--surface-2);border-color:var(--border)}
.docs-ask-hit-name{font-size:13px;font-weight:600;color:var(--text)}
.docs-ask-hit-score{font-size:10px;padding:1px 6px;border-radius:8px;background:var(--green-soft);color:var(--green);font-weight:600}
.docs-ask-hit-snippet{font-size:11px;color:var(--text-3);margin-top:2px;line-height:1.5}
.docs-ask-hint{font-size:11px;color:var(--text-3);margin-top:8px;padding:6px;background:var(--surface-2);border-radius:4px}

/* ═══ P0-3: 投入产出看板 ═══ */
.fin-stat-delta{font-size:11px;color:var(--text-3);margin-top:2px}
.fin-stat-delta.up{color:var(--green)}
.fin-stat-delta.down{color:var(--red)}
.eff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-top:12px}
.eff-card{padding:14px;border-radius:8px;background:var(--surface);border:1px solid var(--border);position:relative;overflow:hidden}
.eff-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px}
.eff-tasks::before{background:var(--green)}
.eff-calls::before{background:var(--accent)}
.eff-tokens::before{background:var(--coral)}
.eff-cost::before{background:var(--amber)}
.eff-output::before{background:#3b82f6}
.eff-saving::before{background:var(--green)}
.eff-card-label{font-size:11px;color:var(--text-3);margin-bottom:4px}
.eff-card-value{font-size:22px;font-weight:700;color:var(--text);font-family:var(--mono)}
.eff-card-sub{font-size:10px;color:var(--text-3);margin-top:2px}

/* ═══ P1-5: work 工具栏 ═══ */
.work-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:8px 12px;background:var(--surface);border:1px solid var(--border);border-radius:8px}
.work-tool-btn{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-2);font-size:12px;cursor:pointer;transition:all .15s}
.work-tool-btn:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.work-tool-hint{font-size:11px;color:var(--text-3);margin-left:auto}

@media (max-width:768px){
  .tpl-layout{flex-direction:column;height:auto}
  .tpl-sidebar{width:100%;max-height:300px}
  .pref-layout{grid-template-columns:1fr}
  .eff-grid{grid-template-columns:1fr 1fr}
}