/* Notes workspace — isolated reference palette */
#v-notes{--nt-bg:#100d0b;--nt-side:#171310;--nt-panel:#1c1815;--nt-card:#221c18;--nt-line:#3a302a;--nt-accent:#c4623a;--nt-text:#f4ece6;--nt-muted:#a89a90;--nt-soft:#f0c4ae;--nt-warn:#e89a80;color:var(--nt-text);background:var(--nt-bg);border-radius:16px;padding:20px;min-height:calc(100vh - 110px)}
#v-notes *{box-sizing:border-box}#v-notes h1,#v-notes h2,#v-notes h3{font-family:Georgia,'Times New Roman',serif;color:var(--nt-text)}
#v-notes .nt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:5px 0 18px}#v-notes .nt-head h1{font-size:clamp(27px,3vw,36px);margin:0}#v-notes .nt-head p,#v-notes .nt-muted,#v-notes .nt-foot{color:var(--nt-muted);font-size:12px}
#v-notes .nt-safety{padding:11px 13px;border:1px solid #5a3a28;background:#2a1d15;border-radius:11px;color:var(--nt-soft);font-size:12px;margin-bottom:16px}
#v-notes .nt-layout{display:grid;grid-template-columns:minmax(245px,330px) minmax(0,1fr);gap:14px;align-items:stretch}
#v-notes .nt-panel{background:var(--nt-panel);border:1px solid var(--nt-line);border-radius:14px;min-width:0;overflow:hidden}
#v-notes .nt-list-panel{padding:13px;display:flex;flex-direction:column;min-height:560px;max-height:calc(100vh - 260px)}
#v-notes input,#v-notes select,#v-notes textarea{background:var(--nt-side);color:var(--nt-text);border:1px solid var(--nt-line);border-radius:9px;padding:10px 11px;font:inherit;min-width:0}#v-notes input:focus,#v-notes select:focus,#v-notes textarea:focus{outline:2px solid rgba(196,98,58,.55);outline-offset:1px}
#v-notes .nt-search{width:100%;margin-bottom:11px}#v-notes .nt-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:11px}#v-notes button{font:inherit;cursor:pointer}#v-notes .nt-filter{background:transparent;border:1px solid var(--nt-line);color:var(--nt-muted);border-radius:99px;padding:6px 9px;font-size:11px}#v-notes .nt-filter b{color:var(--nt-soft);margin-left:5px}#v-notes .nt-filter.active{background:#2a1d15;border-color:var(--nt-accent);color:var(--nt-text)}
#v-notes .nt-rows{overflow:auto;min-height:100px;flex:1;display:grid;align-content:start;gap:7px;padding-right:3px}#v-notes .nt-note-row{width:100%;text-align:left;background:var(--nt-card);border:1px solid var(--nt-line);border-radius:10px;padding:10px 11px;color:var(--nt-text);display:grid;gap:5px}#v-notes .nt-note-row.active{border-color:var(--nt-accent);box-shadow:inset 3px 0 var(--nt-accent)}#v-notes .nt-note-row strong{font-size:12px}#v-notes .nt-note-row small{font-size:10px;color:var(--nt-muted);line-height:1.45}#v-notes .nt-chip{display:inline-flex;border:1px solid #5a3a28;background:#2a1d15;color:var(--nt-soft);border-radius:99px;padding:2px 7px;margin-right:5px}
#v-notes .nt-trash-toggle{margin-top:11px;width:100%;text-align:left;border:0;background:transparent;color:var(--nt-muted);padding:9px 2px;font-size:11px}#v-notes .nt-trash{border-top:1px solid var(--nt-line);padding-top:8px;max-height:180px;overflow:auto}#v-notes .nt-trash-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;color:var(--nt-muted);font-size:11px;border-bottom:1px solid rgba(58,48,42,.6)}
#v-notes .nt-editor{padding:16px;display:flex;flex-direction:column;min-height:560px}#v-notes .nt-title{font:700 24px Georgia,'Times New Roman',serif!important;width:100%;background:transparent!important;border:0!important;border-bottom:1px solid var(--nt-line)!important;border-radius:0!important;padding:8px 0 13px!important;margin-bottom:12px}#v-notes .nt-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:12px}#v-notes .nt-toolbar select{margin-right:auto}#v-notes .nt-btn{border:1px solid var(--nt-line);background:#2a211c;color:var(--nt-text);border-radius:9px;padding:8px 11px;font-size:11px}#v-notes .nt-btn:hover{border-color:var(--nt-accent)}#v-notes .nt-btn.primary{background:var(--nt-accent);border-color:var(--nt-accent);color:#fff}#v-notes .nt-btn.danger{color:var(--nt-warn)}#v-notes .nt-body{resize:vertical;flex:1;min-height:330px;width:100%;line-height:1.7;background:#171310!important;border-radius:10px!important;padding:14px!important}#v-notes .nt-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:9px;color:var(--nt-muted);font-size:10px}#v-notes .nt-warning{padding:9px 11px;background:#2a1d15;border:1px solid #5a3a28;border-radius:9px;color:var(--nt-soft);font-size:11px;margin-bottom:10px}#v-notes .nt-empty{display:grid;place-items:center;min-height:300px;text-align:center;color:var(--nt-muted);font-size:13px;padding:25px}
#v-notes .nt-toast{position:sticky;bottom:10px;margin:12px auto 0;width:max-content;max-width:100%;display:flex;align-items:center;gap:12px;background:#2a211c;border:1px solid var(--nt-accent);border-radius:11px;padding:10px 13px;color:var(--nt-text);font-size:12px;box-shadow:0 12px 30px #0008;z-index:3}#v-notes .nt-toast[hidden]{display:none}
#notesPinLayer{position:fixed;inset:0;z-index:16;pointer-events:none}#notesPinLayer .nt-pin{position:fixed;pointer-events:auto;display:flex;flex-direction:column;min-width:190px;min-height:90px;width:280px;height:220px;background:#1c1815;border:1px solid #5a3a28;border-radius:12px;box-shadow:0 18px 44px #0009;overflow:hidden;color:#f4ece6}#notesPinLayer .nt-pin.min{height:38px!important;min-height:38px!important}#notesPinLayer .nt-pin-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;background:#2a1d15;border-bottom:1px solid #5a3a28;cursor:move;touch-action:none;user-select:none}#notesPinLayer .nt-pin-head strong{font:700 12px Georgia,serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#notesPinLayer .nt-pin-actions{display:flex;gap:3px;flex-shrink:0}#notesPinLayer button{border:1px solid #5a3a28;background:#1c1815;color:#f0c4ae;border-radius:6px;padding:3px 6px;font-size:10px;cursor:pointer}#notesPinLayer .nt-pin-body{flex:1;resize:none;border:0;border-radius:0;background:#171310;color:#f4ece6;padding:10px;font:12px/1.55 Inter,'Segoe UI',sans-serif;outline:none}#notesPinLayer .nt-pin.min .nt-pin-body,#notesPinLayer .nt-pin.min .nt-pin-warning{display:none}#notesPinLayer .nt-pin-warning{font-size:10px;color:#f0c4ae;background:#2a1d15;padding:5px 9px}#notesPinLayer .nt-pin[hidden]{display:none}
@media(max-width:850px){#v-notes .nt-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}#v-notes .nt-list-panel,#v-notes .nt-editor{min-height:500px}}
@media(max-width:650px){#v-notes{padding:13px}#v-notes .nt-head{align-items:flex-start}#v-notes .nt-layout{grid-template-columns:1fr}#v-notes .nt-list-panel{max-height:360px;min-height:250px}#v-notes .nt-editor{min-height:440px}#v-notes .nt-body{min-height:260px}#notesPinLayer .nt-pin{max-width:calc(100vw - 20px);max-height:45vh}}
