.grid-note {
    width: 100%;
    min-width: 0;
    max-width: 360px;
    color: var(--text-main);
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    text-align: left;
}
.grid-note > summary { list-style: none; cursor: pointer; white-space: normal; }
.grid-note > summary::-webkit-details-marker { display: none; }
.grid-note > summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }
.grid-note-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.grid-note-more, .grid-note-less { display: block; color: var(--primary); font-size: 11px; margin-top: 4px; }
.grid-note-less { display: none; }
.grid-note[open] > summary .grid-note-preview, .grid-note[open] > summary .grid-note-more { display: none; }
.grid-note[open] > summary .grid-note-less { display: inline; }
.grid-note-full { margin-top: 7px; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
.grid-note-empty { color: var(--text-muted); }
.grid-note-cell { min-width: 220px; max-width: 360px; white-space: normal; }
.profile-note-cell-content .grid-note-slot { flex: 1; min-width: 0; }
