/* dailylog-comments.css — wave546 (2026-11-10): the Daily Log
 * comments' own pieces. The composer bar and the attachment shapes
 * are chat.css's (the shared kit — the look cannot drift); this file
 * carries only what is the log thread's alone: the doors row, the
 * picture/scan pickers, the assistant row tint, the private-ask
 * fallback box, and photo-markup.js's overlay (.pxm-*). */

/* the doors row above the composer */
.dlc-doors { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 8px; }
.dlc-door { display: inline-flex; align-items: center; gap: 5px; }
.dlc-measure-slot { display: inline-flex; }

/* the posting-ask box (and its pre-SQL private fallback) */
.dlc-askbox { flex-basis: 100%; border: 1px solid var(--ds-line, #d8dee6); border-radius: 10px; padding: 10px; background: var(--ds-card, #fff); }
.dlc-askbox.hidden, .dlc-pick.hidden { display: none; }
.dlc-ask-row { display: flex; gap: 8px; align-items: flex-start; }
.dlc-ask-row textarea { flex: 1; font: inherit; border: 1px solid var(--ds-line, #d8dee6); border-radius: 8px; padding: 7px 9px; resize: vertical; }
.dlc-ask-note { margin: 6px 0 0; font-size: 12px; color: var(--ds-muted, #66717f); }
.dlc-ask-fallback { flex-basis: 100%; }

/* an assistant row in the thread */
.dl-comment.dlc-asst { background: rgba(124, 92, 246, .06); border-radius: 8px; }
.dl-comment.dlc-asst .dl-comment-meta b { color: #5b3df0; }

/* the pickers (day photos / scan plans / save choice) */
.dlc-pick { flex-basis: 100%; border: 1px dashed var(--ds-line, #d8dee6); border-radius: 10px; padding: 10px; }
.dlc-pick-h { margin: 0 0 8px; font-weight: 600; }
.dlc-pick-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.dlc-pick-cell { position: relative; padding: 0; border: 1px solid var(--ds-line, #d8dee6); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.dlc-pick-cell img { display: block; width: 96px; height: 72px; object-fit: cover; }
.dlc-depth-tag { position: absolute; left: 4px; bottom: 4px; background: rgba(11, 34, 53, .85); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 999px; }
.dlc-pick-list { display: flex; flex-direction: column; gap: 6px; }
.dlc-pick-row { display: flex; align-items: center; gap: 6px; text-align: left; background: none; border: 1px solid var(--ds-line, #d8dee6); border-radius: 8px; padding: 7px 9px; cursor: pointer; font: inherit; }
.dlc-pick-row2 { display: flex; gap: 8px; flex-wrap: wrap; }

/* photo-markup.js's overlay */
.pxm-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(8, 18, 30, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pxm-card { background: #fff; border-radius: 14px; max-width: 1160px; width: 100%; max-height: 94vh; overflow: auto; padding: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.pxm-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.pxm-title { font-size: 15px; color: #0b2235; margin-right: auto; }
.pxm-tools { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pxm-tool { border: 1px solid #d8dee6; background: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.pxm-tool.is-on { background: #0b2235; color: #fff; border-color: #0b2235; }
.pxm-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: var(--pxm-c); box-shadow: 0 0 0 1px #c6ced8; cursor: pointer; padding: 0; }
.pxm-swatch.is-on { box-shadow: 0 0 0 2px #0b2235; }
.pxm-hint { font-size: 13px; color: #66717f; }
.pxm-actions { display: inline-flex; gap: 8px; margin-left: auto; }
.pxm-stage { display: flex; justify-content: center; background: #101c28; border-radius: 10px; padding: 8px; }
.pxm-canvas { max-width: 100%; touch-action: none; cursor: crosshair; border-radius: 4px; }
.pxm-read { margin: 8px 2px 0; font-size: 13px; color: #0b2235; min-height: 18px; }
