.note-row{border-bottom:0.5px solid var(--border);}
.note-row:last-child{border-bottom:none;}
.note-head{display:grid;grid-template-columns:18px auto 1fr auto 56px;gap:6px;align-items:center;padding:8px 0.9rem;transition:background 0.15s;cursor:pointer;}
.note-head:hover{background:rgba(0,0,0,0.012);}
.note-title{font-size:0.83rem;font-weight:600;outline:none;border-bottom:1px solid transparent;cursor:text;white-space:normal;word-break:break-word;}
.note-title:hover{border-bottom-color:var(--border);}
.note-title:focus{border-bottom-color:var(--accent);}
.note-body{padding:0.75rem 1.1rem 1rem 2.5rem;border-top:0.5px solid var(--border);background:rgba(0,0,0,0.012);}
.rem-badge{font-family:'DM Mono',monospace;font-size:0.55rem;padding:2px 7px;border-radius:10px;white-space:nowrap;flex-shrink:0;}
.rem-overdue{background:rgba(217,119,6,0.12);color:var(--yellow);}
.rem-soon{background:rgba(217,119,6,0.12);color:var(--yellow);}
.rem-future{background:rgba(59,107,232,0.12);color:var(--blue);}
.check-list{margin:0;padding:0;list-style:none;}
.check-item{display:flex;gap:8px;align-items:flex-start;padding:5px 0;border-bottom:0.5px solid var(--border);}
.check-item:last-child{border-bottom:none;}
.check-cb{width:14px;height:14px;cursor:pointer;accent-color:var(--accent);flex-shrink:0;margin-top:2px;}
.check-text{font-family:'DM Mono',monospace;font-size:0.76rem;flex:1;outline:none;border:none;background:transparent;color:var(--text);padding:0;line-height:1.4;}
.check-text.done-text{color:var(--text3);text-decoration:line-through;}
.check-del{width:18px;height:18px;border:none;background:none;cursor:pointer;color:var(--text3);font-size:0.6rem;border-radius:3px;flex-shrink:0;}
.check-del:hover{background:rgba(229,57,53,0.1);color:var(--red);}
.para-content{font-family:'DM Mono',monospace;font-size:0.76rem;width:100%;min-height:80px;line-height:1.65;color:var(--text);outline:none;border:1px solid var(--border);border-radius:6px;padding:0.5rem 0.65rem;background:var(--surface2);resize:vertical;}
.para-content:focus{border-color:var(--accent);}
.stock-meta{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:0.5rem;margin-bottom:0.65rem;}
.stock-mf{font-family:'DM Mono',monospace;font-size:0.54rem;color:var(--text3);margin-bottom:0.15rem;letter-spacing:0.05em;}
.stock-mv{font-family:'DM Mono',monospace;font-size:0.82rem;outline:none;border-bottom:1px solid transparent;cursor:text;display:block;background:transparent;border-top:none;border-left:none;border-right:none;padding:0;width:100%;}
.stock-mv:focus{border-bottom-color:var(--accent);}
.notes-filter{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:0.75rem;align-items:center;}
.nf-btn{font-family:'DM Mono',monospace;font-size:0.62rem;padding:0.28rem 0.72rem;border-radius:20px;border:1px solid var(--border);background:var(--surface);color:var(--text3);cursor:pointer;transition:all 0.15s;white-space:nowrap;}
.nf-btn:hover{border-color:var(--accent2);color:var(--accent2);}
.nf-btn.active{background:var(--accent);color:#fff;border-color:var(--accent);}
.note-add-item{display:flex;gap:6px;margin-top:0.5rem;padding-top:0.5rem;border-top:1px dashed var(--border);}
.note-add-input{font-family:'DM Mono',monospace;font-size:0.75rem;flex:1;border:1px solid var(--border);border-radius:6px;padding:4px 8px;background:var(--surface2);color:var(--text);outline:none;}
.note-add-input:focus{border-color:var(--accent);}
