.notes-page{width:100%;min-height:calc(100vh - 92px);padding:64px clamp(24px,5vw,88px)}
.notes-workspace{min-height:calc(100vh - 190px);border:1px solid var(--line);background:rgba(4,12,6,.72);padding:28px}
.notes-head{display:flex;align-items:end;justify-content:space-between;gap:22px;border-bottom:1px solid var(--line);padding-bottom:24px}
.notes-head h1{margin:0;color:#e6f8e9;font:500 clamp(28px,4vw,46px) 'DM Mono';letter-spacing:-.06em}
.notes-status{display:flex;justify-content:space-between;gap:15px;padding:15px 0;color:var(--muted);font:10px 'DM Mono';letter-spacing:.06em}
.notes-status span:first-child{color:var(--green)}
.notes-status b{color:var(--green);font-weight:500}
.note-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.note-card{display:flex;flex-direction:column;min-height:215px;border:1px solid #1a3521;background:rgba(9,25,13,.72);padding:20px;transition:border-color .15s,transform .15s,background .15s;cursor:default}
.note-card:hover{border-color:#42763b;background:#0d2112;transform:translateY(-2px)}
.note-card-head{display:flex;justify-content:space-between;align-items:start;gap:12px}
.note-card h2{margin:0;color:#e6f8e9;font:500 16px 'DM Mono';line-height:1.35;overflow-wrap:anywhere}
.note-date{color:#5f8065;font:9px 'DM Mono';white-space:nowrap}
.note-content{flex:1;margin:16px 0 20px;color:#8eac91;font:12px 'DM Mono';line-height:1.65;white-space:pre-wrap;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7}
.note-card-actions{display:flex;gap:7px}
.note-card-actions button{min-width:35px;height:33px;border:1px solid #315e38;background:#0c1d10;color:#b3dcb5;font:14px 'DM Mono';cursor:pointer}
.note-card-actions button:hover{border-color:var(--green);color:var(--green)}
.note-card-actions .delete-note{border-color:#87433b;color:#e68172}
.note-card-actions .delete-note:hover{border-color:#ff725d;color:#ff725d}
.notes-empty{grid-column:1/-1;min-height:230px;border:1px dashed #23492c;display:grid;place-content:center;text-align:center;padding:28px;color:var(--muted)}
.notes-empty strong{color:var(--green);font:11px 'DM Mono';letter-spacing:.13em}
.notes-empty p{margin:12px 0 0;font:11px 'DM Mono';line-height:1.6}
.notes-empty.error{border-color:#87433b}
.notes-empty.error strong{color:#ff8473}
#noteDialog{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;overflow:auto;background:#071009;color:var(--ink);padding:0}
#noteDialog::backdrop{background:#000d}
#noteDialog form{width:min(1120px,100%);min-height:100vh;margin:0 auto;padding:52px 54px}
#noteDialog .dialog-head{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:22px}
#noteDialog .dialog-head h2{margin:0 0 16px;color:var(--green);font:500 26px 'DM Mono'}
#noteDialog .close{border:0;background:none;color:var(--muted);font-size:28px;line-height:1;cursor:pointer;padding:0 0 10px}
#noteDialog .close:hover{color:var(--green)}
#noteDialog label{display:block;color:var(--muted);font:11px 'DM Mono';margin:18px 0}
#noteDialog input,#noteDialog textarea{display:block;width:100%;margin-top:7px;padding:13px;border:1px solid var(--line);background:#071009;color:var(--ink);font:14px 'Space Grotesk';outline:0}
#noteDialog input:focus,#noteDialog textarea:focus{border-color:var(--green);box-shadow:0 0 12px #b7ff5422}
#noteDialog textarea{min-height:65vh;resize:vertical;line-height:1.7}
#noteDialog .note-editor-help{margin:14px 0 0;color:#56745b;font:10px 'DM Mono'}
#noteDialog .save-btn{font-size:13px;padding:14px 20px;margin-top:18px;cursor:pointer}
@media(max-width:700px){.notes-page{padding:34px 14px 22px}.notes-workspace{padding:20px 16px}.notes-head{align-items:flex-start;flex-direction:column}.notes-head .new-btn{width:100%}.note-list{grid-template-columns:1fr}#noteDialog form{padding:30px 20px}#noteDialog textarea{min-height:58vh}}
