/* Task Helper — quick notes (job-intake.md §25). Copyright Rapid Surveys Pty Ltd. App tokens only. */
.nt-btn { position: fixed; z-index: 44; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 6px; width: auto; min-height: 48px; padding: 0 16px; border-radius: 24px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(20,28,40,.22); font-weight: 600; }
.nt-btn[hidden] { display: none; }
@media (max-width: 767px) { .nt-btn { right: calc(84px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); min-height: 52px; padding: 0 14px; } }   /* beside the + New task button, thumb reach */
body.panel-open .nt-btn, body.picking .nt-btn { display: none; }
.nt-card { position: relative; max-width: 460px; }
.nt-card h2 { margin-right: 44px; }
.nt-card textarea { width: 100%; min-height: 110px; margin: 0 0 10px; font-size: 16px; }
.nt-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--muted); font-size: 18px; }
.nt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.nt-loc { margin: 0; min-height: 44px; } .nt-loc input { width: auto; }
.nt-photo { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; margin: 0; }
.nt-photos { margin: 0 0 8px; }   /* waiting photos: lines by name (shared .fa-lines), no pictures */
.nt-photos:empty { display: none; }
.nt-keys { margin: 8px 0 0; font-size: 12px; }
@media (pointer: coarse) { .nt-keys { display: none; } }
.nt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* the list */
.nl-card { max-width: 600px; }
.nl-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nl-head h2 { margin: 0; }
.nl-card #nlQ { margin: 4px 0 8px; }
.nl-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 0 0 10px; }
.nl-ul { list-style: none; margin: 0; padding: 0; }
.nl-item { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.nl-item:first-child { border-top: 0; }
.nl-tick { display: flex; align-items: flex-start; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; padding-top: 2px; }
.nl-tick input { width: 20px; height: 20px; margin: 0; }
.nl-main { flex: 1; min-width: 0; }
.nl-first { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.nl-rest { margin: 2px 0 0; font-size: 14px; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nl-meta { margin: 4px 0 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nt-pin { vertical-align: -2px; color: var(--accent); }
.nl-photos { margin: 6px 0 0; }   /* a note's photos: lines by name (shared .fa-lines), no pictures */
.nl-conv { margin: 6px 0 0; font-size: 14px; }
.nl-conv .linkbtn { width: auto; padding: 4px 0; background: none; border: 0; color: var(--accent); font-weight: 600; text-decoration: underline; }
.nl-acts { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; }
.nl-edit { width: 100%; min-height: 90px; margin: 0; font-size: 16px; }
.nl-err { margin: 6px 0 0; }
.nl-more { margin: 10px 0 0; }
.nl-plist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0 0 12px; }
.nl-prow { width: 100%; min-height: 48px; margin: 0; padding: 10px 14px; text-align: left; background: var(--card); color: var(--ink); border: 0; border-top: 1px solid var(--line); border-radius: 0; font: inherit; }
.nl-prow:first-child { border-top: 0; } .nl-prow:hover { background: var(--hover); }
.nl-sug { font-size: 12px; color: var(--muted); margin-left: 6px; }
/* converting: a line at the top of the New task form */
.nt-convbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; padding: 8px 10px 8px 12px; border-radius: 10px; background: var(--hover); font-size: 14px; }
.nt-convbar .chip { margin: 0; }
@media (pointer: coarse) { .nl-acts .chip, .nt-convbar .chip, .nl-tabs .fb-segb, .nl-conv .linkbtn { min-height: 44px; } }
.nt-locnote { margin: -4px 0 8px; font-size: 13px; }
.nl-tick.cf-check { align-items: flex-start; }
/* §34 automatic location (BRIEF-995): a quiet "📍 Location saved" with ✕; a note opened from a map pin is highlighted */
.nt-located { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.nt-unloc { width: 24px; height: 24px; margin: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 50%; color: var(--muted); font-size: 12px; }
.nt-unloc:hover { background: var(--hover); color: var(--ink); }
@media (pointer: coarse) { .nt-unloc { width: 44px; height: 44px; margin: -10px -10px -10px -6px; } }
.nl-item.nl-hit { background: #fff6d6; box-shadow: inset 3px 0 0 #b45309; transition: background .6s; }
.nt-loc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }   /* BRIEF-1178: the note's location */
.nt-locb { width: auto; min-height: 44px; padding: 6px 14px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); }
.nt-locb[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.nt-locnote { display: inline-block; margin: 6px 6px 0 0; } .nt-locx { width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 16px; vertical-align: middle; }
