.npm-shell {
  --npm-ink:#171f2c; --npm-muted:#778271; --npm-line:#dce2d8; --npm-green:#697e5a; --npm-sage:#eaf0e3; --npm-stop:#a96e64;
  position:fixed; inset:0; z-index:1000; display:flex; flex-direction:column; background:#fff;
  color:var(--npm-ink); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; font-size:14px; line-height:1.45;
}
.npm-shell *, .npm-shell *::before, .npm-shell *::after { box-sizing:border-box; }
.npm-shell [hidden] { display:none!important; }
.npm-shell button, .npm-shell input, .npm-shell select, .npm-shell textarea { font:inherit; }
.npm-shell button { cursor:pointer; }
.npm-shell button:disabled { cursor:wait; opacity:.5; }
.npm-shell button:focus-visible, .npm-shell input:focus-visible, .npm-shell select:focus-visible, .npm-shell textarea:focus-visible, .npm-viewport:focus-visible { outline:2px solid #819a6c; outline-offset:3px; }
.npm-shell svg { width:auto; height:auto; fill:none; stroke:none; vertical-align:middle; }
.npm-header { display:flex; align-items:center; padding:16px 27px; border-bottom:1px solid var(--npm-line); flex-shrink:0; }
.npm-heading { min-width:0; flex:1; }
.npm-heading h1 { margin:0; font-size:19px; font-weight:650; letter-spacing:-.4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.npm-eyebrow { margin:0 0 2px; color:var(--npm-green); font-size:11px; letter-spacing:.09em; text-transform:uppercase; }
.npm-storage { color:var(--npm-muted); font-size:11px; margin-top:3px; }
.npm-icon { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; padding:7px; flex-shrink:0; border:1px solid transparent; border-radius:8px; color:#69776a; background:transparent; }
.npm-icon:hover { background:#edf2e7; }
.npm-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.npm-toolbar { display:flex; align-items:center; gap:8px; padding:10px 27px; border-bottom:1px solid var(--npm-line); flex-wrap:wrap; flex-shrink:0; background:#fff; }
.npm-button { min-height:35px; border:1px solid #dce4d5; border-radius:8px; background:#f5f7f1; padding:7px 12px; color:#506343; font-size:12px!important; font-weight:550; display:inline-flex; gap:7px; align-items:center; justify-content:center; }
.npm-button:hover { background:#eaf0e3; border-color:#b8c9a8; }
.npm-button-primary { background:#697e5a; color:#fff; border-color:#697e5a; }
.npm-button-primary:hover { background:#596f4b; color:#fff; }
.npm-button[aria-pressed=true] { background:#e6eede; border-color:#bdcbae; }
.npm-button-quiet { background:#fff; color:#7a8273; }
.npm-toolbar-space { flex:1; }
.npm-zoom { display:flex; align-items:center; gap:1px; }
.npm-zoom-label { display:inline-block; min-width:42px; text-align:center; color:#7b8577; font-size:11px; font-variant-numeric:tabular-nums; }
.npm-content { position:relative; display:flex; flex:1; min-height:0; overflow:hidden; }
.npm-viewport { position:relative; min-width:0; min-height:0; flex:1; overflow:hidden; overscroll-behavior:contain; background-color:#fafbf8; background-image:radial-gradient(#dbe2d5 .7px,transparent .7px); background-size:19px 19px; touch-action:none; cursor:grab; user-select:none; -webkit-user-select:none; }
.npm-space { position:relative; width:100%; height:100%; min-height:100%; }
.npm-canvas { position:absolute; top:0; left:0; transform-origin:top left; }
.npm-wires { position:absolute; top:0; left:0; overflow:visible; pointer-events:none; }
.npm-shell .npm-wires { width:100%; height:100%; fill:none; stroke:none; }
.npm-wire { fill:none; stroke:#b7c5ad; stroke-width:1.35; vector-effect:non-scaling-stroke; opacity:.77; }
.npm-wire-planned { stroke-dasharray:5 5; }
.npm-wire-stopped { stroke:#c39488; stroke-dasharray:3 5; opacity:.72; }
.npm-wire-selected { stroke:#779263; stroke-width:2; opacity:1; }
.npm-node { position:absolute; width:170px; }
.npm-node-main { display:flex; flex-direction:column; text-align:left; justify-content:center; align-items:stretch; width:100%; height:100%; border:1px solid #d2ddca; border-radius:10px; color:#37472f; padding:12px 14px; background:#fff; box-shadow:0 2px 4px #52654104; transition:box-shadow .15s,border-color .15s; }
.npm-node-main:hover { border-color:#91a77d; box-shadow:0 3px 12px #647b4d14; }
.npm-node-main:focus-visible { outline-offset:5px!important; }
.npm-node-selected > .npm-node-main { outline:2px solid #97ad82; outline-offset:4px; }
.npm-node-idea > .npm-node-main { background:#e4edda; border-color:#a6b897; color:#34432c; }
.npm-node-active > .npm-node-main { background:#eef3e8; }
.npm-node-planned:not(.npm-node-idea) > .npm-node-main { border-style:dashed; }
.npm-node-stopped > .npm-node-main { color:#875e55; background:#faf2ef; border-color:#c8a397; }
.npm-node-goal > .npm-node-main { background:#f0f4e9; border-color:#aabb97; }
.npm-node-title { font-size:13px; font-weight:600; line-height:1.3; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; padding-right:4px; }
.npm-node-subtitle { color:#859079; font-size:10px; line-height:1.25; margin-top:7px; display:flex; gap:4px; align-items:center; }
.npm-node-stopped .npm-node-subtitle { color:#aa7e71; }
.npm-status-dot { display:inline-block; width:5px; height:5px; border-radius:50%; background:currentColor; flex-shrink:0; }
.npm-node-menu { position:absolute; top:-10px; right:-10px; width:26px; height:26px; border:1px solid #dbe3d5; background:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#7b8970; font-size:17px; line-height:1; z-index:2; }
.npm-node-menu:hover { background:#edf3e6; border-color:#afc39c; }
.npm-node-folded > .npm-node-main { border:0; background:transparent; border-radius:7px; padding:0; box-shadow:none; justify-content:flex-start; }
.npm-node-folded .npm-node-title { display:-webkit-box; -webkit-line-clamp:2; height:36px; flex-shrink:0; padding:0 6px 5px; font-size:13px; line-height:1.2; color:#536849; }
.npm-mosaic { width:100%; aspect-ratio:var(--npm-cols)/var(--npm-rows); display:grid; grid-template-columns:repeat(var(--npm-cols),minmax(0,1fr)); grid-template-rows:repeat(var(--npm-rows),minmax(0,1fr)); gap:1px; border:1px solid #aebf9f; background:#becdaf; border-radius:7px; overflow:hidden; flex-shrink:0; }
.npm-cell { display:flex; align-items:center; justify-content:center; min-width:0; min-height:0; background:#d5e4c4; color:#698454; font-size:12px; font-weight:550; position:relative; }
.npm-cell-planned { background:#eef4e7; color:#a2b590; }
.npm-cell-active { background:#d8e8c4; color:#6b8851; }
.npm-cell-done { background:#b5ce9a; color:#536e3d; }
.npm-cell-stopped { background:#efddd4; color:#ab8170; }
.npm-cell-empty { background:#fcfdf9; }
.npm-cell-mixed::after { content:""; position:absolute; width:4px; height:4px; background:#b48475; border-radius:50%; right:5px; bottom:5px; }
.npm-grid-meta { color:#98a28b; display:block; height:20px; padding:5px 5px 0; font-size:10px; font-weight:400; }
.npm-node-folded.npm-node-selected > .npm-node-main { outline-offset:5px; }
.npm-node-folded .npm-node-menu { top:20px; right:-10px; }
.npm-root-hint { position:absolute; width:280px; text-align:center; color:#8b957f; font-size:12px; line-height:1.6; }
.npm-planted { position:absolute; left:18px; bottom:14px; z-index:3; display:grid; place-items:center; width:34px; height:34px; padding:8px; border:0; color:#8a9f78; background:#fafbf8eb; border-radius:50%; }
.npm-planted:hover { color:#637e4e; background:#eaf1e2; }
.npm-shell .npm-planted svg { width:18px; height:18px; fill:none; stroke:none; }
.npm-panel { position:absolute; inset:0 0 0 auto; width:328px; overflow:auto; padding:20px 22px 28px; border-left:1px solid var(--npm-line); background:#fff; box-shadow:-8px 0 30px #52643b0a; z-index:5; overscroll-behavior:contain; }
.npm-panel-header { display:flex; align-items:center; gap:10px; margin:0 0 21px; }
.npm-panel-header h2 { flex:1; margin:0; font-size:12px; font-weight:550; color:#8b947e; }
.npm-panel-header .npm-icon { width:27px; height:27px; padding:5px; }
.npm-detail-title { margin:0 0 10px; font-size:20px; font-weight:600; letter-spacing:-.4px; line-height:1.3; overflow-wrap:anywhere; }
.npm-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:20px; }
.npm-tag { font-size:10px; line-height:1.3; padding:4px 7px; border-radius:5px; color:#728363; background:#eff3e8; }
.npm-tag-stopped { background:#f6eae4; color:#a57969; }
.npm-note { margin:0 0 22px; font-size:13px; color:#5f6c55; line-height:1.7; white-space:pre-wrap; overflow-wrap:anywhere; }
.npm-muted { color:#90998a; }
.npm-caption { margin:18px 0 8px; color:#8b957f; font-size:11px; font-weight:500; }
.npm-source-note { font-size:11px; line-height:1.6; color:#8b957f; margin:15px 0; }
.npm-parent-list { display:flex; flex-direction:column; gap:5px; margin-bottom:18px; }
.npm-parent-link { padding:7px 9px; border:1px solid #e3e8dd; background:#f8faf5; border-radius:6px; color:#61734f; text-align:left; font-size:12px!important; overflow-wrap:anywhere; }
.npm-panel-actions { display:flex; gap:7px; flex-wrap:wrap; margin:22px 0 14px; }
.npm-updated { color:#a0a794; font-size:10px; }
.npm-field { display:flex; flex-direction:column; gap:6px; margin:0 0 14px; }
.npm-field > span { color:#78846b; font-size:11px; }
.npm-field input, .npm-field select, .npm-field textarea { width:100%; min-width:0; border:1px solid #d6dece; border-radius:7px; background:#fff; color:#445339; padding:9px 10px; font-size:13px; outline-offset:2px; }
.npm-field input[readonly] { background:#f5f7f1; color:#8a967f; }
.npm-field textarea { min-height:132px; resize:vertical; line-height:1.6; }
.npm-field select[multiple] { padding:4px; }
.npm-field option { padding:5px 6px; }
.npm-field small { color:#929c86; font-size:10px; line-height:1.5; }
.npm-two-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.npm-checkbox { display:flex; align-items:flex-start; gap:9px; color:#718260; font-size:11px; margin:2px 0 19px; line-height:1.6; }
.npm-checkbox input { margin-top:3px; accent-color:#748d60; }
.npm-error { background:#fbefeb; border:1px solid #ebd5ca; color:#9c665a; border-radius:7px; padding:10px; margin-bottom:14px; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.npm-error .npm-button { margin-top:10px; }
.npm-history { margin:0; padding:0; list-style:none; }
.npm-history li { position:relative; margin-left:4px; padding:0 0 24px 17px; border-left:1px solid #e0e7d8; }
.npm-history li::before { content:""; position:absolute; top:4px; left:-3px; width:5px; height:5px; border-radius:50%; background:#a7ba94; }
.npm-history time { display:block; margin-bottom:5px; color:#9ba78e; font-size:10px; }
.npm-history-title { font-size:12px; font-weight:550; color:#61764e; line-height:1.5; overflow-wrap:anywhere; }
.npm-history-detail { margin-top:5px; font-size:11px; color:#929c87; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.npm-empty { padding:30px 10px; color:#8a977d; font-size:13px; text-align:center; }
.npm-loading { position:absolute; top:40%; left:50%; transform:translate(-50%,-50%); color:#879879; font-size:13px; white-space:nowrap; }
.npm-toast { position:absolute; left:50%; bottom:24px; transform:translateX(-50%); padding:9px 15px; max-width:calc(100vw - 40px); border-radius:8px; background:#647b54; box-shadow:0 4px 20px #4c623321; color:#fff; font-size:12px; z-index:10; }
.npm-node-draggable > .npm-node-main { cursor:grab; }
.npm-node-dragging { opacity:.25; pointer-events:none; }
.npm-drop-candidate > .npm-node-main { outline:2px dashed #a3b68f; outline-offset:6px; }
.npm-drop-target > .npm-node-main { outline:2px solid #7f9f64; outline-offset:6px; box-shadow:0 0 0 11px #c4d9b044; }
.npm-drag-ghost { position:fixed; left:0; top:0; z-index:30; margin:0; opacity:.88; pointer-events:none; transform-origin:0 0; filter:drop-shadow(0 7px 14px #53684025); }
.npm-drag-ghost .npm-node-menu { display:none; }
.npm-is-panning, .npm-is-panning *, .npm-is-dragging, .npm-is-dragging * { cursor:grabbing!important; }
.npm-context-menu { position:fixed; z-index:20; min-width:206px; max-width:calc(100vw - 20px); padding:5px; border:1px solid #d8e1cf; border-radius:10px; background:#fff; box-shadow:0 9px 35px #3c4d2822; }
.npm-context-action { display:block; width:100%; border:0; border-radius:6px; background:transparent; color:#657957; text-align:left; padding:9px 11px; font-size:12px!important; }
.npm-context-action:hover, .npm-context-action:focus-visible { background:#edf3e7; }
.npm-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:760px) {
  .npm-header { padding:12px 15px; gap:9px; }
  .npm-heading h1 { font-size:16px; }
  .npm-eyebrow { font-size:10px; }
  .npm-storage { font-size:10px; }
  .npm-toolbar { padding:8px 13px; gap:5px; }
  .npm-toolbar > .npm-button { padding:7px 9px; font-size:11px!important; }
  .npm-zoom .npm-icon { width:28px; }
  .npm-zoom-label { min-width:35px; font-size:10px; }
  .npm-fit { font-size:10px!important; padding:7px!important; }
  .npm-panel { position:absolute; inset:0 0 0 auto; width:min(100%,350px); box-shadow:-8px 0 30px #52643b14; padding:17px 20px 25px; }
  .npm-planted { left:10px; bottom:10px; }
}
@media (max-width:430px) {
  .npm-toolbar-space { display:none; }
  .npm-zoom { margin-left:auto; }
  .npm-fit { width:34px; overflow:hidden; font-size:0!important; }
  .npm-fit::after { content:"↗"; font-size:16px; }
}
@media (pointer:coarse) {
  .npm-shell .npm-button, .npm-shell .npm-icon { min-height:40px; }
  .npm-field input, .npm-field select, .npm-field textarea { font-size:16px; }
  .npm-node-menu { width:32px; height:32px; }
}
@media (prefers-reduced-motion:reduce) { .npm-node-main { transition:none; } }

.project-card {
  position: relative;
}
.project-map-sprout {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 5px;
  color: #628454;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}
.project-map-sprout svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: none;
  overflow: visible;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9));
}
.project-map-sprout:hover {
  color: #3f6c3c;
  background: rgba(255, 255, 255, 0.75);
}
.project-map-sprout:focus-visible {
  outline: 2px solid #6e8c5e;
  outline-offset: 2px;
  background: #fff;
}
.project-map-sprout:disabled {
  cursor: wait;
  opacity: 0.55;
}
@media (pointer: coarse) {
  .project-map-sprout::before {
    content: "";
    position: absolute;
    inset: -7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-map-sprout {
    transition: none;
  }
}
