/* entity-notes.css -- the organized Notes tab on record pages (Story 3524).
   The layout is the Files tab's (entity-files.css: .ef-band, .ef-card, .ef-seg, ...);
   this adds only what a note has that a file does not. */

.en-when { color: #334155; font-weight: 600; }
.en-card .en-preview { white-space: pre-wrap; word-break: break-word; }
.en-card .ef-name { font-size: 14px; }

/* ---- the preview view: the Bay Window (picasso-split.css) ---- */
.en-viewbtn.on { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.en-viewbtn[hidden] { display: none; }
.en-split.ps-on { height: min(78vh, 900px); height: min(78dvh, 900px); min-height: 360px; margin-top: 8px;
    border: 1px solid #E2E2E5; border-radius: 6px; background: #fff; overflow: hidden; }
.en-split.ps-on > .en-listwrap { background: #F8FAFC; padding: 0 6px 6px; }
.en-split.ps-on > .en-listwrap > .ps-listbar { margin: 0 -6px 6px; }
.en-split.ps-on .en-card { cursor: pointer; }
.en-split.ps-on .en-card.en-pv-on { border-color: #0A66C2; background: #EFF6FF; }
.en-pvpane .en-pv-head { flex: 0 0 auto; padding: 10px 14px 8px; border-bottom: 1px solid #E2E2E5; }
.en-pvpane .en-pv-head:empty { display: none; }
.en-pv-title { display: flex; gap: 8px; align-items: flex-start; }
.en-pv-title h3 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 15px; color: #0F172A; word-break: break-word; }
.en-pv-meta { margin-top: 6px; }
.en-pvpane .en-pv-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.en-pv-text { padding: 12px 14px; white-space: pre-wrap; word-break: break-word; font: 14px/1.55 "Segoe UI", system-ui, sans-serif; color: #111; }
.en-pvpane .en-pv-body .ed-empty { padding: 20px 14px; }
