/* The projects of a session, tiny at the top left of its full screen (session-marks.js; Chris, 22 Oct). Over the reading, never in
   its way: small, each on a little dark glaze so a logo reads in either theme, the project it has finished with faint. Shown only in
   full screen, where the head is gone. */
#session-marks { display: none; }
.detail.fill #session-marks:not([hidden]) {
  display: flex; align-items: center; gap: 7px; position: fixed; z-index: 5; margin: 0; pointer-events: none;
  top: max(10px, calc(env(safe-area-inset-top, 0px) + 4px)); left: max(12px, env(safe-area-inset-left, 0px));
}
.detail .sm-mark { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; min-height: 0; margin: 0; padding: 2px; box-sizing: border-box; border: 0; border-radius: 6px; background: #17110d; color: #d6a447; transition: opacity 0.4s ease; pointer-events: auto; cursor: pointer; }
/* A finger-sized target around the little mark. */
.sm-mark::after { content: ''; position: absolute; inset: -8px; }
#session-marks-note { display: none; }
.detail.fill #session-marks-note:not([hidden]) {
  display: block; position: fixed; z-index: 6; margin: 0; max-width: min(320px, calc(100vw - 24px)); padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); font-size: 13px; line-height: 1.4;
  top: max(40px, calc(env(safe-area-inset-top, 0px) + 34px)); left: max(12px, env(safe-area-inset-left, 0px));
}
.smn-head { margin: 0 0 2px; font-weight: 600; }
.smn-sub { margin: 0 0 8px; color: var(--muted); }
.smn-title { margin: 0 0 4px; color: var(--faint); font-size: 12px; text-transform: none; }
.smn-legend { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; }
.smn-legend dt { font-weight: 600; white-space: nowrap; }
.smn-legend dd { margin: 0; color: var(--muted); }
.sm-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sm-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sm-mark.faint { opacity: 0.3; }
/* A project's mark in the lane's session cards: no glaze, no box, the picture alone (work.js stripItem). */
.sm-icon { display: inline-block; vertical-align: middle; width: 16px; height: 16px; margin-right: 6px; color: var(--gold); background: none; opacity: 0.85; }
.sm-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sm-icon img.round, .sm-mark img.round { border-radius: 50%; }
.sm-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .sm-mark { transition: none; } }

/* An open session's projects in the window's header, where "Your sessions" was (Chris, 26 Oct); the words stay for a screen reader. */
.sm-head { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.sm-head .sm-icon { width: 26px; height: 26px; margin: 0; opacity: 1; }
.sm-head .sm-icon.faint { opacity: 0.45; }
.sm-name-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
