:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#24382e;background:#f5f6f0;font-synthesis:none;--green:#24624d;--line:#dfe4d9}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.import{cursor:pointer}button{border:1px solid var(--line);background:transparent;border-radius:7px;padding:10px 14px;color:inherit}button:hover{background:#e9ede2}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #3f9474;outline-offset:3px}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#194d3c}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#7b877b;line-height:1.6}.fine{font-size:12px;color:#7a847a;line-height:1.7}#app{min-height:100dvh}aside{position:fixed;inset:0 auto 0 0;width:246px;padding:35px 24px;border-right:1px solid var(--line);background:#edf0e6;display:flex;flex-direction:column}.brand{font-size:22px;font-weight:650;letter-spacing:-1px;text-decoration:none;color:inherit;display:flex;align-items:center;gap:12px}.mark{background:var(--green);color:#fff;font-family:Georgia,serif;font-style:italic;border-radius:9px;padding:3px 11px;font-size:29px}aside>.eyebrow{margin:28px 0 18px;font-size:9px}#new{text-align:left}.nav{display:grid;gap:8px;margin-top:28px}.nav button{text-align:left;border:0}.nav button[aria-pressed=true]{background:#dfe7d9;font-weight:600}.nav span{float:right;font-size:11px;background:#d1ddca;border-radius:20px;padding:2px 8px}.aside-bottom{margin-top:auto;padding-top:36px;display:grid;gap:6px}.aside-bottom button,.import{text-align:left;font-size:13px;border:0}.import{padding:10px 14px}.aside-bottom>p:first-child{font-size:11px;margin:0 0 12px}.dot{display:inline-block;border-radius:50%;background:#548b65;width:6px;height:6px;margin-right:5px}main{margin-left:246px;padding:49px clamp(24px,5vw,80px);max-width:1500px}header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:32px}h1{font-family:Georgia,serif;font-weight:400;font-size:42px;letter-spacing:-1px;margin:8px 0}h2{font-family:Georgia,serif;font-size:28px;font-weight:400}.status{font-size:11px;color:#71806f;max-width:280px;text-align:right}.search-row{display:flex;gap:12px}.search-box{display:flex;align-items:center;gap:10px;padding:0 15px;border:1px solid var(--line);border-radius:8px;background:#fff;flex:1}.search-box span{font-size:25px;color:#71806f}.search-box input{border:0;outline:0;background:transparent;width:100%;padding:15px 0;font-size:14px}kbd{font-size:11px;color:#8b9589;border:1px solid var(--line);border-radius:3px;padding:1px 5px}select{border:1px solid var(--line);border-radius:8px;padding:0 12px;background:#f8f9f4;color:inherit;font-size:12px}#search-help{margin:12px 0 30px}#notes{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.note{background:#fffefa;border:1px solid var(--line);border-radius:10px;padding:23px;min-height:210px;text-align:left;display:flex;flex-direction:column;gap:12px;transition:transform .15s,border-color .15s}.note:hover{transform:translateY(-2px);border-color:#a5b69c;background:#fffefa}.note h3{font-family:Georgia,serif;font-size:22px;font-weight:400;margin:0;line-height:1.3}.snippet{font-size:13px;line-height:1.8;color:#788273;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.note-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:8px;font-size:10px;color:#8a9385}.pill{display:inline-block;background:#edf1e6;color:#57714f;border-radius:4px;padding:3px 7px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty{grid-column:1/-1;min-height:340px;border:1px dashed #d6ddce;border-radius:12px;display:grid;align-content:center;justify-items:center;text-align:center;padding:28px}.empty .symbol{font-family:Georgia,serif;color:#9aaa90;font-size:45px}.empty h2{margin:15px 0 5px}.empty p{font-size:13px;color:#7b8775;max-width:320px;line-height:1.8}.editor{position:fixed;inset:0 0 0 246px;background:#fffefa;padding:24px clamp(20px,5vw,70px);display:flex;flex-direction:column;gap:16px;z-index:2}.editor[hidden]{display:none}.editor-top{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:12px}.editor-top>span{margin-right:auto;font-size:11px;color:#85907e}#title{font-family:Georgia,serif;font-size:36px;margin-top:25px}#title,#tags,#text{border:0;background:transparent;color:inherit;padding:6px;resize:none}#tags{font-size:12px;color:#6b7c60}#text{flex:1;line-height:1.9;font-size:16px;min-height:180px}.conflict{font-size:12px;background:#fff1cd;padding:12px;border-radius:5px}dialog{border:1px solid var(--line);border-radius:14px;max-width:560px;width:calc(100% - 30px);padding:30px;color:inherit;background:#fffefa}dialog::backdrop{background:#14251965;backdrop-filter:blur(3px)}dialog p{font-size:13px;line-height:1.7}dialog label{font-size:12px;display:grid;gap:8px;margin:18px 0}dialog input,dialog textarea{border:1px solid var(--line);border-radius:6px;padding:11px;width:100%;background:#fff;color:inherit}.actions{display:flex;gap:8px;justify-content:flex-end;margin-top:25px;flex-wrap:wrap}.actions button{font-size:12px}.history-item{border-top:1px solid var(--line);padding:16px 0}.history-item pre{white-space:pre-wrap;font:13px/1.7 system-ui;max-height:180px;overflow:auto}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#24382e;color:#fff;font-size:13px;border-radius:7px;padding:14px 20px;z-index:10;max-width:90vw}#toast[hidden]{display:none}@media(max-width:780px){aside{position:static;width:auto;padding:18px;display:block;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px}.brand .mark{font-size:24px}aside>.eyebrow,aside .fine,.aside-bottom>p{display:none}#new{position:absolute;right:18px;top:22px}.nav{display:flex;margin-top:18px;gap:12px}.nav button{flex:1}.aside-bottom{display:flex;margin-top:8px;padding:0;flex-wrap:wrap;gap:0}.aside-bottom button,.import{padding:8px;font-size:11px}main{margin:0;padding:26px 20px}.editor{inset:0;padding:16px}.editor-top{gap:5px;flex-wrap:wrap}.editor-top>span{display:none}.editor-top button{font-size:11px;padding:9px}h1{font-size:35px}.search-row{gap:7px}select{max-width:125px;padding:0 7px}header{margin-bottom:22px}.status{max-width:140px;font-size:10px}#notes{grid-template-columns:1fr}}#quick-form{display:flex;gap:12px;margin:0 0 22px;align-items:flex-end}#quick-form[hidden],#quick-reveal[hidden]{display:none}#quick-text{flex:1;min-width:0;resize:vertical;min-height:85px;max-height:280px;border:1px solid var(--line);border-radius:8px;background:#fffefa;color:inherit;padding:13px;font:inherit;line-height:1.6}#quick-reveal{margin-bottom:16px}#quick-add:disabled{opacity:.45;cursor:default}#json-content{white-space:pre-wrap;overflow-wrap:anywhere;max-height:65dvh;overflow:auto;font:12px/1.6 monospace}#search-help[hidden]{display:none}.search-row{margin-bottom:24px}#new{margin-top:28px}@media(max-width:780px){#new{margin-top:0;top:18px}}.status{border-radius:6px;padding:8px 10px;line-height:1.5;overflow-wrap:anywhere}.status[data-state=pending],.status[data-state=offline]{background:#f4ead0;color:#715316}.status[data-state=error]{background:#f7e4e1;color:#8b312c}.status[data-state=synced]{background:#e3eee1;color:#275f36}.status[data-state=syncing],.status[data-state=checking]{background:#e6ecef;color:#3d5b6b}.sync-details{padding:2px 5px;margin-left:6px;font-size:11px;text-decoration:underline;border:0}dialog label.remember-password{display:flex;align-items:center;gap:8px}dialog .remember-password input{width:auto;accent-color:var(--green)}@media(max-width:780px){.editor-top>#save-status{display:block;flex:1 0 100%;order:1;margin-right:0;overflow-wrap:anywhere}}.pipeline{max-width:1100px;margin:auto}.pipeline fieldset{border:0;padding:0;margin:0;min-width:0}.pipeline-row{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.pipeline-row>label{flex:1;min-width:180px}.pipeline-row h2{flex:1;margin:0}.pipeline label{display:block;font-size:13px;font-weight:600;margin:10px 0}.pipeline input:not([type=checkbox]),.pipeline select,.pipeline textarea{display:block;width:100%;margin-top:6px;box-sizing:border-box}.pipeline .actions{justify-content:flex-start;flex-wrap:wrap}.pipeline small{display:block;font-weight:400;margin-top:6px;color:#6b7169}.pipeline-graph{overflow:auto;background:#f4f5ef;border:1px solid #dce0d6;border-radius:12px;margin:20px 0}.graph-node{cursor:pointer;outline:none}.graph-node rect{fill:#fff;stroke:#d3d8cd;stroke-width:1.5}.graph-node.selected rect,.graph-node:focus rect{stroke:#415d46;stroke-width:2.5}.graph-node text{font:600 14px system-ui;fill:#26332a}.graph-node .node-kind{font:11px system-ui;fill:#697368}.graph-edge{fill:none;stroke:#899a84;stroke-width:1.5;color:#899a84}.node-inspector{border:1px solid #dce0d6;padding:18px;border-radius:12px}.dependency-list{display:flex;gap:14px;flex-wrap:wrap}.dependency-list label{display:flex;gap:5px;align-items:center;margin:6px 0;font-weight:400}.pipeline-run{display:flex;gap:12px;align-items:end;margin-top:20px}.pipeline-run label{flex:1}.pipeline-run button{margin-bottom:10px}.pipeline-preview pre{max-height:400px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f5ef;padding:16px;border-radius:10px;font-size:12px}.pipeline-preview details{margin:14px 0}.pipeline #pipeline-status{min-height:24px;font-size:14px;white-space:pre-wrap}.template-help{line-height:1.7;overflow-wrap:anywhere}.custom-fields{margin:16px 0}.custom-fields textarea{font:13px/1.5 ui-monospace,monospace;min-height:120px;width:100%;box-sizing:border-box}.custom-fields summary{cursor:pointer;font-size:14px;font-weight:600}#pipeline-json{width:min(850px,90vw)}#pipeline-json textarea{width:100%;box-sizing:border-box;font:12px/1.5 ui-monospace,monospace}.pipeline .danger{color:#8b3a31}@media(max-width:700px){.pipeline-run{flex-wrap:wrap}.pipeline-run label{min-width:100%}}.port-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#657060;margin-top:16px}.port-legend span{display:flex;align-items:center;gap:5px}.port-legend i,.port-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.port-label{font:11px system-ui;fill:#596551}.input-port,.output-port{cursor:crosshair;stroke:#fff;stroke-width:2}.input-port:focus,.output-port:focus{stroke:#172319;stroke-width:3;outline:none}.dependency-edge{stroke-dasharray:4 4;opacity:.6}.typed-edge{stroke-width:2}.edge-label{font:10px system-ui;fill:#8b568c}.port-connections{background:#f7f8f3;padding:12px;border-radius:8px;margin-top:12px}.port-connections h3{font-size:13px;margin:0}.port-connections input{font-size:12px}.graph-node rect:focus{stroke:#263d2a;stroke-width:3;outline:none}.pipeline input:not([type=checkbox]),.pipeline select,.pipeline textarea{font:400 14px/1.45 system-ui,sans-serif;color:#29372f;background:#fff;border:1px solid #d6ddcf;border-radius:7px;padding:8px 10px}.pipeline textarea{resize:vertical}.pipeline input:focus,.pipeline textarea:focus,.pipeline select:focus{outline:2px solid #93b3a0;outline-offset:1px}.graph-node .port-label{font:11px system-ui;fill:#596551}.pipeline input:disabled,.pipeline select:disabled,.pipeline textarea:disabled{background:#f2f3ee;color:#777e74}
