.notes-workspace{display:grid;grid-template-columns:1fr;gap:20px;align-items:start;margin-bottom:24px}
.notes-editor{padding:24px;max-width:760px}.notes-editor[hidden]{display:none!important}
.notes-editor form,.notes-editor label{display:grid;gap:8px}.notes-editor form{gap:17px}.notes-editor label{color:var(--ink);font-size:14px;font-weight:500}
.notes-editor input:not([type=checkbox]),.notes-editor select,.notes-editor textarea,.notes-toolbar input[type=search],.notes-toolbar select{width:100%;min-width:0;background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:11px 12px;font-size:14px}
.notes-editor textarea{resize:vertical;min-height:145px;line-height:1.7}.notes-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.notes-editor .note-pin,.note-pin{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);white-space:nowrap}
.note-pin input{width:17px;height:17px;margin:0;accent-color:var(--accent,var(--green))}
.notes-hint{font-size:13px;color:var(--muted);line-height:1.65;margin:0}.notes-editor-actions{display:flex;gap:9px}.notes-editor-actions .button{font-size:13px}
.notes-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px}.notes-toolbar select{width:auto;max-width:220px}.notes-search{display:flex;gap:8px;align-items:center;flex:1;min-width:200px}.notes-search>.tf-icon{flex:0 0 18px;color:var(--muted)}
.notes-count{font-size:12px;color:var(--muted);margin:0 0 16px}.notes-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;align-items:start}
.notes-overview-status{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;margin:0 0 20px;border:1px solid var(--line);border-radius:14px;background:var(--accent-soft,var(--soft));color:var(--ink)}
.notes-overview-status[hidden]{display:none!important}.notes-overview-status p{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.notes-overview-status .button{flex:none;display:flex;align-items:center;gap:8px;font-size:13px}.notes-overview-status .tf-icon{width:16px;height:16px}
@media(max-width:760px){.notes-overview-status{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.notes-overview-status .button{max-width:100%;white-space:normal}}
.note-card{padding:22px;min-width:0}.note-card-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:12px}.note-card-meta>span:first-child{color:var(--accent-ink,var(--ink));background:var(--accent-soft,var(--soft));padding:3px 8px;border-radius:5px}
.note-card h2{font:700 17px/1.5 'Manrope',sans-serif;margin:0 0 10px;overflow-wrap:anywhere}.note-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.75;margin:0;max-height:240px;overflow:auto;color:var(--ink);padding-right:4px}
.note-card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.note-card-footer small{font-size:11px;color:var(--muted)}
.note-card-actions{display:flex;gap:15px;margin-top:15px}.note-card-actions .text-link{display:flex;align-items:center;gap:5px;font-size:12px}.note-card-actions .tf-icon{width:14px;height:14px}
.notes-empty{text-align:center;padding:36px 24px;grid-column:1/-1}.notes-empty>[data-icon]{display:inline-flex;width:28px;height:28px;color:var(--accent-ink,var(--ink))}.notes-empty h2{font-size:18px;margin:14px 0 8px}.notes-empty p{color:var(--muted);font-size:14px;line-height:1.6;max-width:480px;margin:0 auto 18px}
.overview-reminders{padding:22px}.overview-reminder{display:flex;align-items:start;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.overview-reminder>div:first-child{min-width:0;flex:1}
.overview-reminder span{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.overview-reminder strong{font-size:14px;overflow-wrap:anywhere}.overview-reminder p{font-size:13px;line-height:1.7;margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto;color:var(--ink)}
.overview-reminder-actions{display:flex;gap:5px}.overview-reminder-actions .text-link{padding:6px;min-height:32px;min-width:32px}.overview-reminder-actions .tf-icon{width:16px;height:16px}.reminder-more{font-size:13px;color:var(--muted);margin-top:10px}.reminder-more>summary{cursor:pointer;padding:8px 0}.reminder-more>div{max-height:330px;overflow:auto}
/* The larger workspace menu can scroll without losing its profile controls. */
.sidebar .nav-list{min-height:0;overflow-y:auto;flex-shrink:1}.sidebar .sidebar-bottom{flex-shrink:0}
@media(min-width:1250px){.notes-workspace:has(.notes-editor:not([hidden])){grid-template-columns:minmax(320px,.85fr) minmax(0,1.3fr)}.notes-workspace:has(.notes-editor:not([hidden])) .notes-list{grid-template-columns:1fr}}
@media(max-width:760px){.notes-editor,.note-card,.overview-reminders{padding:18px}.notes-toolbar{gap:9px}.notes-search{flex-basis:100%}.notes-toolbar select{flex:1;max-width:none}.notes-form-row{gap:10px}.notes-editor input:not([type=checkbox]),.notes-editor select,.notes-editor textarea,.notes-toolbar input[type=search],.notes-toolbar select{font-size:16px}.notes-list{grid-template-columns:1fr}}
