/* Public page about the project notes: the notes sheet with a selection, the task window and the project file inside .site-ui. */

.site-notes-hero { padding: clamp(28px, 4vw, 56px) clamp(20px, 6vw, 96px) clamp(36px, 5vw, 72px); }
.site-notes-hero .notes-meta { justify-content: flex-end; margin-bottom: 28px; }
.site-notes-hero .notes-state { opacity: 1; }
.site-notes-text { display: grid; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.9; color: var(--fg-row); overflow-wrap: anywhere; }
.site-notes-picked { position: relative; padding-top: 44px; }
.site-notes-picked mark { padding: 2px 0; background: var(--selection); color: var(--fg-strong); }
.site-notes-picked .notes-make-task { top: 0; left: 0; }
.site-notes-list { font-size: 16px; line-height: 1.8; }
.site-notes-caret { display: inline-block; width: 1px; height: 1.1em; vertical-align: text-bottom; background: var(--fg-strong); animation: site-notes-caret 1.1s steps(1) infinite; }
@keyframes site-notes-caret { 50% { opacity: 0; } }

.site-notes-window { display: grid; gap: 16px; }
.site-notes-window .panel-modes { margin-left: -12px; }
.site-notes-task { margin: 0; min-height: 120px; padding: 16px 0; border-block: 1px solid var(--rule); font-size: 15px; line-height: 1.65; color: var(--fg-prompt); }
.site-notes-window .project-notes { min-height: 120px; }

.site-notes-file { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 13px/1.8 var(--mono); color: var(--muted); }
.site-notes-file b { font-weight: 400; color: var(--fg-strong); }

@media (max-width: 768px) {
  .site-notes-picked { padding-top: 64px; }
  .site-notes-picked .notes-make-task { max-width: 100%; height: auto; min-height: 32px; padding-block: 8px; white-space: normal; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  .site-notes-caret { animation: none; }
}
