html .app-shell .workspace.notes-on{grid-template-columns:minmax(0,1fr)}
html .app-shell .workspace.notes-on>.chat-panel{grid-column:1;grid-template-rows:26px minmax(0,1fr)}
.workspace.notes-on>.roster-panel,.workspace.notes-on #composer,.workspace.notes-on #whisperDock,.workspace.notes-on #snTyping{display:none!important}
.console-host .console.notes-surface{padding:8px 10px;white-space:normal;background:var(--pt-base,#000);color:var(--pt-text,#ddd);font:12px/1.35 'Segoe UI',Tahoma,sans-serif;overflow:auto}
.notes-surface *{box-sizing:border-box}
.notes-head,.notes-summary,.notes-editor header,.note-card footer,.notes-editor footer{display:flex;align-items:center;justify-content:space-between;gap:6px}
.notes-head{padding-bottom:6px;border-bottom:1px solid var(--pt-border,#333)}
.notes-head h2{font-size:13px;font-weight:600;margin:0}
.notes-surface button,.notes-surface input,.notes-surface select,.notes-surface textarea{font:inherit;color:inherit;border:1px solid var(--pt-border,#3a3a3a);border-radius:0;background:var(--pt-surface,#0d0d0d)}
.notes-surface button{padding:2px 8px;cursor:pointer}.notes-surface button:hover{background:var(--pt-border,#222)}
.notes-surface :focus-visible{outline:1px solid var(--pt-accent,#888);outline-offset:0}
.notes-tools{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.notes-tools input{flex:1;min-width:160px}.notes-tools input,.notes-tools select{padding:2px 5px}
.notes-summary{min-height:22px;color:var(--pt-muted,#888);font-size:11px}
.notes-layout{display:flex;align-items:flex-start;gap:8px}.notes-cards{flex:1;min-width:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:4px}
.note-card{min-width:0;border:1px solid var(--pt-border,#333);border-left:3px solid var(--note-color);background:var(--pt-surface,#0d0d0d);overflow:hidden}.note-card.selected{border-color:var(--note-color)}
.note-card .note-open{display:block;width:100%;text-align:left;border:0;background:transparent;padding:6px 8px}.note-card .note-open:hover{background:transparent}.note-open strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.note-preview{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:3px;color:var(--pt-muted,#aaa);max-height:66px}
.note-tags{display:flex;flex-wrap:wrap;gap:3px 8px;padding:0 8px 5px;color:var(--pt-muted,#888)}.note-tags span{font-size:11px;overflow-wrap:anywhere;max-width:100%}.note-tags span::before{content:'#'}.note-card footer{padding:3px 6px;justify-content:flex-start;border-top:1px solid var(--pt-border,#222);flex-wrap:wrap;gap:3px}.note-card footer button{font-size:11px;padding:0 6px;border-color:transparent;background:transparent;color:var(--pt-muted,#999)}.note-card footer button:hover{color:var(--pt-text,#ddd);border-color:var(--pt-border,#3a3a3a)}
.notes-editor{position:sticky;top:0;flex:0 0 320px;border:1px solid var(--pt-border,#333);padding:8px;background:var(--pt-surface,#0d0d0d);display:flex;flex-direction:column;gap:7px}.notes-editor[hidden]{display:none}.notes-editor label{display:flex;flex-direction:column;gap:2px;color:var(--pt-muted,#999);font-size:11px}.notes-editor label input,.notes-editor label textarea{color:var(--pt-text,#ddd);font-size:12px}.notes-editor input:not([type=checkbox]),.notes-editor textarea{width:100%;padding:3px 5px;background:var(--pt-base,#000)}.notes-editor textarea{min-height:200px;resize:vertical}.notes-editor fieldset{border:0;padding:0;margin:0}.notes-editor legend{margin-bottom:3px;color:var(--pt-muted,#999);font-size:11px}.notes-editor small{color:var(--pt-muted,#777)}.note-colors{display:flex;gap:3px}.note-colors button{background:var(--note-color);width:16px;height:16px;padding:0}.note-colors button[aria-pressed=true]{outline:1px solid var(--pt-text,#ddd);outline-offset:1px}.note-profiles{display:flex;flex-wrap:wrap;gap:2px 10px;max-height:100px;overflow:auto}.note-profiles label{flex-direction:row;align-items:center;color:var(--pt-text,#ddd);font-size:12px}.notes-empty{padding:16px 8px;color:var(--pt-muted,#777);grid-column:1/-1}
@media(max-width:850px){.notes-layout{flex-direction:column-reverse}.notes-editor{position:static;flex:auto;width:100%}.notes-cards{width:100%}}
