/* ==================================================================
   NEW JOB FORM + JOB CARD LOCATIONS — v1.45.26 (amendment 34)
   09/10 look: dark normal-case labels, solid file 10 buttons, no
   bracketed helper notes, no pills. Prefixes nu-nj- / nu-jc-loc*.
   ================================================================== */

/* Wider modal for the form only */
[data-new-ui] .nu-modal-card.nu-nj-modal { width: min(760px, calc(100vw - 32px)); max-width: none; }
[data-new-ui] .nu-nj-modal .nu-modal-foot { display: none; }   /* Create job lives in the form */

[data-new-ui] .nu-nj { display: flex; flex-direction: column; gap: 14px; font-family: var(--nu-t-family); }
[data-new-ui] .nu-nj-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
[data-new-ui] .nu-nj-row3 { grid-template-columns: 1fr 1fr 1.3fr; }
[data-new-ui] .nu-nj-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
[data-new-ui] .nu-nj-f > span { font-size: 14px; font-weight: 800; color: #243f5a; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
[data-new-ui] .nu-nj input, [data-new-ui] .nu-nj select, [data-new-ui] .nu-nj textarea {
  width: 100%; min-width: 0; border: 1px solid #cbd9e7; border-radius: 6px; padding: 9px 10px; background: #fff;
  font-family: inherit; font-size: 15px; font-weight: 600; color: #0b1d37; outline: 0; resize: vertical;
}
[data-new-ui] .nu-nj input:focus, [data-new-ui] .nu-nj select:focus, [data-new-ui] .nu-nj textarea:focus { border-color: #0cab78; }
[data-new-ui] .nu-nj input::placeholder, [data-new-ui] .nu-nj textarea::placeholder { color: #6b7f93; font-weight: 500; }
[data-new-ui] .nu-nj-inline { display: flex; gap: 8px; align-items: center; }
[data-new-ui] .nu-nj-inline em { font-style: normal; font-weight: 700; color: #4b6179; font-size: 14px; }
[data-new-ui] .nu-nj-inline .nu-sr10-btn { flex: none; height: 40px; }
[data-new-ui] .nu-nj-hint { font-size: 13px; font-weight: 650; color: #4b6179; margin-top: -8px; }
[data-new-ui] .nu-nj-link { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 800; color: #1c578d; cursor: pointer; text-decoration: underline; }

/* Who's on it — avatar + first name, tick by tapping */
[data-new-ui] .nu-nj-people { display: flex; flex-wrap: wrap; gap: 8px; }
[data-new-ui] .nu-nj-person {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 6px;
  border: 1px solid #cbd9e7; border-radius: 6px; background: #fff; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 800; color: #203648;
}
[data-new-ui] .nu-nj-person.nu-nj-on { border-color: #0cab78; background: #e7f4ef; box-shadow: inset 0 0 0 1px #0cab78; }

/* Priority — four solid buttons */
[data-new-ui] .nu-nj-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
[data-new-ui] .nu-nj-pri { height: 40px; border: 1px solid #cbd9e7; border-radius: 6px; background: #fff; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 800; color: #203648; }
[data-new-ui] .nu-nj-pri.nu-nj-on.nu-nj-pri-low    { background: #eceeec; border-color: #9aa4a2; color: #36403f; }
[data-new-ui] .nu-nj-pri.nu-nj-on.nu-nj-pri-medium { background: #e8f0fd; border-color: #1a70e6; color: #1450a8; }
[data-new-ui] .nu-nj-pri.nu-nj-on.nu-nj-pri-high   { background: #fff0d8; border-color: #e47d12; color: #965d0e; }
[data-new-ui] .nu-nj-pri.nu-nj-on.nu-nj-pri-urgent { background: #fdecea; border-color: #d92d20; color: #b42318; }

[data-new-ui] .nu-nj-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 4px; border-top: 1px solid #e8eef3; margin-top: 2px; padding-top: 14px; }
[data-new-ui] .nu-nj-save { height: 42px; padding: 0 20px; font-size: 15px; }
[data-new-ui] .nu-nj-err { font-size: 14px; font-weight: 800; color: #b42318; }

/* Job Card — next-steps note + Locations strip */
[data-new-ui] .nu-jc-next {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  padding: 11px 13px; border-left: 3px solid #0cab78; background: #effaf5; border-radius: 6px;   /* file 09 callout, green */
  font-size: 14px; font-weight: 650; color: #1f4b3b; margin-bottom: 10px;
}
[data-new-ui] .nu-jc-next strong { color: #08764e; }
[data-new-ui] .nu-jc-nextclose { border: 0; background: none; font-size: 20px; line-height: 1; color: #1f4b3b; cursor: pointer; }
[data-new-ui] .nu-jc-locs {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  background: #fff; border: 1px solid #d7e2eb; border-radius: 6px; box-shadow: 0 7px 18px rgba(8,32,51,.055); padding: 10px 12px;   /* file 09 card */
}
[data-new-ui] .nu-jc-locs-title { font-size: 15px; font-weight: 900; color: #0b1d37; }
[data-new-ui] .nu-jc-locs-chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
[data-new-ui] .nu-jc-loc {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 10px;
  border: 1px solid #cbd9e7; border-radius: 5px; background: #f7fafc; font-size: 14px; font-weight: 800; color: #203648;
}
[data-new-ui] .nu-jc-loc button { border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; color: #4b6179; padding: 0 2px; }
[data-new-ui] .nu-jc-loc button:hover { color: #b42318; }
[data-new-ui] .nu-jc-locs-none { font-size: 14px; font-weight: 650; color: #4b6179; }
[data-new-ui] .nu-jc-locs-add { display: flex; gap: 6px; }
[data-new-ui] .nu-jc-locs-add input { width: 230px; height: 36px; border: 1px solid #cbd9e7; border-radius: 5px; padding: 0 10px; font-family: inherit; font-size: 14px; font-weight: 600; color: #0b1d37; outline: 0; }
[data-new-ui] .nu-jc-locs-add input:focus { border-color: #0cab78; }
[data-new-ui] .nu-jc-others { font-size: 13px; font-weight: 650; color: #243f5a; padding: 8px 0 2px; }
[data-new-ui] .nu-jc-others strong { color: #0b1d37; }

@media (max-width: 760px){
  [data-new-ui] .nu-nj-row, [data-new-ui] .nu-nj-row3 { grid-template-columns: 1fr; }
  [data-new-ui] .nu-nj-seg { grid-template-columns: repeat(2, 1fr); }
  [data-new-ui] .nu-jc-locs { grid-template-columns: 1fr; }
  [data-new-ui] .nu-jc-locs-add input { flex: 1; width: auto; }
}

/* ---- v1.45.27: Who's on it drop list (Phil) ---- */
[data-new-ui] .nu-nj-dd { position: relative; }
[data-new-ui] .nu-nj-ddbtn {
  width: 100%; height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid #cbd9e7; border-radius: 6px; background: #fff; padding: 0 12px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 700; color: #0b1d37; text-align: left;
}
[data-new-ui] .nu-nj-ddbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-new-ui] .nu-nj-ddbtn em { font-style: normal; color: #4b6179; }
[data-new-ui] .nu-nj-dd-open .nu-nj-ddbtn { border-color: #0cab78; }
[data-new-ui] .nu-nj-ddlist {
  margin-top: 6px; border: 1px solid #cbd9e7; border-radius: 6px; background: #fff; box-shadow: 0 10px 24px rgba(8,32,51,.12);
  max-height: 280px; overflow: auto;
}
[data-new-ui] .nu-nj-ddrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #eef3f7; cursor: pointer; }
[data-new-ui] .nu-nj-ddrow:hover { background: #f7fafc; }
[data-new-ui] .nu-nj-ddrow input { width: 18px; height: 18px; accent-color: #0cab78; margin: 0; flex: none; }
[data-new-ui] .nu-nj-ddname { font-size: 15px; font-weight: 800; color: #203648; }
[data-new-ui] .nu-nj-ddfoot { display: flex; justify-content: flex-end; padding: 8px 10px; }

/* ---- v1.45.27: Job Documentation card + document / photo choice ---- */
[data-new-ui] .nu-jc-doc {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 2px; border: 0; border-bottom: 1px solid #ebf0f4;
  background: none; cursor: pointer; text-align: left; font-family: inherit;
}
[data-new-ui] .nu-jc-doc:hover .nu-jc-doc-name { text-decoration: underline; }
[data-new-ui] .nu-jc-doc-icon {
  flex: none; width: 36px; height: 28px; border-radius: 4px; display: grid; place-items: center;
  font-size: 11px; font-weight: 900; letter-spacing: .02em; color: #fff; background: #4b6179;
}
[data-new-ui] .nu-jc-doc-pdf { background: #d92d20; }
[data-new-ui] .nu-jc-doc-drawing { background: #1a70e6; }
[data-new-ui] .nu-jc-doc-image { background: #0cab78; }
[data-new-ui] .nu-jc-doc-word { background: #1450a8; }
[data-new-ui] .nu-jc-doc-spreadsheet { background: #08764e; }
[data-new-ui] .nu-jc-doc-name { font-size: 14px; font-weight: 800; color: #0b1d37; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
[data-new-ui] .nu-jc-doc-all { border: 0; background: none; padding: 8px 0 0; font-family: inherit; font-size: 13px; font-weight: 800; color: #1c578d; cursor: pointer; }
[data-new-ui] .nu-jc-docs-all .nu-jc-doc:last-child { border-bottom: 0; }
[data-new-ui] .nu-jc-choose { display: flex; flex-direction: column; gap: 10px; }
[data-new-ui] .nu-jc-choose p { margin: 0 0 4px; font-size: 15px; font-weight: 650; color: #243f5a; }
[data-new-ui] .nu-jc-choose .nu-sr10-btn { height: 44px; font-size: 15px; justify-content: center; }

/* ---- v1.45.28: loading message for real data ---- */
[data-new-ui] .nu-live-loading { padding: 40px 10px; font-size: 16px; font-weight: 800; color: #243f5a; font-family: var(--nu-t-family); }

/* ---- v1.45.29: photo viewer, note view, text-only note cards (amendment 37) ---- */
[data-new-ui] .nu-pv { position: fixed; inset: 0; z-index: 9000; background: rgba(6,16,28,.94); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; }
[data-new-ui] .nu-pv-stage { grid-column: 2; grid-row: 1; height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px 0 8px; }
[data-new-ui] .nu-pv-img { width: 100%; height: 100%; background: center / contain no-repeat; }
[data-new-ui] .nu-pv-img.nu-pv-none { display: grid; place-items: center; max-width: 700px; max-height: 460px; background: #2a3c52; color: #cfdbe7; font: 800 18px var(--nu-t-family); border-radius: 8px; }
[data-new-ui] .nu-pv-cap { grid-column: 1 / -1; grid-row: 2; text-align: center; padding: 12px 16px calc(18px + env(safe-area-inset-bottom, 0px)); color: #fff; font: 800 16px var(--nu-t-family); white-space: pre; }
[data-new-ui] .nu-pv-nav { grid-row: 1; width: 48px; height: 64px; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-size: 40px; line-height: 1; cursor: pointer; justify-self: center; }
[data-new-ui] .nu-pv-nav:hover:not(:disabled) { background: rgba(255,255,255,.22); }
[data-new-ui] .nu-pv-nav:disabled { opacity: .25; cursor: default; }
[data-new-ui] .nu-pv-prev { grid-column: 1; } [data-new-ui] .nu-pv-next { grid-column: 3; }
[data-new-ui] .nu-pv-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 14px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 1; }
@media (max-width: 700px){ [data-new-ui] .nu-pv { grid-template-columns: 0 1fr 0; } [data-new-ui] .nu-pv-nav { display: none; } }

[data-new-ui] .nu-jc-note-textonly .nu-jc-note-body { padding-top: 14px; }
[data-new-ui] .nu-jc-note-text { font-size: 14px; font-weight: 600; color: #243f5a; line-height: 1.45; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
[data-new-ui] .nu-jc-noteview-meta { font-size: 14px; font-weight: 700; color: #4b6179; margin-bottom: 10px; }
[data-new-ui] .nu-jc-noteview-text { font-size: 15px; font-weight: 600; color: #0b1d37; line-height: 1.5; white-space: pre-line; }
[data-new-ui] .nu-jc-noteview-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
[data-new-ui] .nu-jc-noteview-ph { height: 100px; border: 0; border-radius: 6px; background: #d7e2eb center / cover no-repeat; position: relative; cursor: pointer; padding: 0; }
[data-new-ui] .nu-jc-noteview-ph span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(5,25,40,.6); color: #fff; font: 800 12px var(--nu-t-family); padding: 4px 6px; border-radius: 0 0 6px 6px; text-align: left; }

/* ==================================================================
   v1.45.30 — Job Card real saves, full photo viewer, markup (amendment 38)
   ================================================================== */
/* forms */
[data-new-ui] .nu-ja-people { border: 1px solid #cbd9e7; border-radius: 6px; max-height: 220px; overflow: auto; background: #fff; }
[data-new-ui] .nu-ja-photo { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; }
[data-new-ui] .nu-ja-photothumb { width: 64px; height: 52px; border-radius: 6px; background: #d7e2eb center / cover no-repeat; display: grid; place-items: center; font: 900 11px var(--nu-t-family); color: #243f5a; }
[data-new-ui] .nu-ja-tick { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; color: #0b1d37; cursor: pointer; }
[data-new-ui] .nu-ja-tick input { width: 20px; height: 20px; accent-color: #0cab78; }

/* description: keeps line breaks; Show more; pencil */
[data-new-ui] .nu-jc-descwrap { margin-top: 6px; }
[data-new-ui] .nu-jc-descwrap .nu-jc-description { white-space: pre-line; }
[data-new-ui] .nu-jc-desc-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
[data-new-ui] .nu-jc-desc-empty { color: #4b6179; font-style: italic; }
[data-new-ui] .nu-jc-desc-tools { display: flex; gap: 14px; margin-top: 4px; }
[data-new-ui] .nu-jc-desc-more, [data-new-ui] .nu-jc-desc-edit { border: 0; background: none; padding: 0; font: 800 13px var(--nu-t-family); color: #1c578d; cursor: pointer; }

/* full viewer (real jobs): top bar, zoomable stage, details panel */
[data-new-ui] .nu-pv-full { display: flex; flex-direction: column; grid-template-columns: none; }
[data-new-ui] .nu-pv-full .nu-pv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 8px; }
[data-new-ui] .nu-pv-full .nu-pv-cap { padding: 0; text-align: left; font-size: 15px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
[data-new-ui] .nu-pv-full .nu-pv-close { position: static; flex: none; }
[data-new-ui] .nu-pv-main { position: relative; flex: 1; min-height: 0; }
[data-new-ui] .nu-pv-full .nu-pv-stage { position: absolute; inset: 0; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; touch-action: none; }
[data-new-ui] .nu-pv-photo { max-width: 100%; max-height: 100%; transform-origin: center; user-select: none; -webkit-user-drag: none; }
[data-new-ui] .nu-pv-full .nu-pv-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
[data-new-ui] .nu-pv-full .nu-pv-prev { left: 10px; } [data-new-ui] .nu-pv-full .nu-pv-next { right: 10px; }
[data-new-ui] .nu-pv-zoombar { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
[data-new-ui] .nu-pv-zoombar button { width: 40px; height: 36px; border: 0; border-radius: 6px; background: rgba(255,255,255,.16); color: #fff; font: 900 18px var(--nu-t-family); cursor: pointer; }
[data-new-ui] .nu-pv-panel { background: #fff; padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; max-height: 45vh; overflow: auto; }
[data-new-ui] .nu-pv-refile { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
[data-new-ui] .nu-pv-f { display: flex; flex-direction: column; gap: 4px; font: 800 13px var(--nu-t-family); color: #243f5a; min-width: 0; }
[data-new-ui] .nu-pv-f textarea, [data-new-ui] .nu-pv-f select { border: 1px solid #cbd9e7; border-radius: 6px; padding: 8px 9px; font: 600 14px var(--nu-t-family); color: #0b1d37; background: #fff; min-width: 0; }
[data-new-ui] .nu-pv-warn { font: 800 13px var(--nu-t-family); color: #b42318; }
[data-new-ui] .nu-pv-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
[data-new-ui] .nu-pv-msg { margin-right: auto; font: 700 14px var(--nu-t-family); color: #243f5a; }
@media (max-width: 800px){ [data-new-ui] .nu-pv-refile { grid-template-columns: 1fr 1fr; } [data-new-ui] .nu-pv-full .nu-pv-nav { display: none; } }

/* markup editor */
[data-new-ui] .nu-mk { position: fixed; inset: 0; z-index: 9500; background: #0b1624; display: flex; flex-direction: column; }
[data-new-ui] .nu-mk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; background: #fff; }
[data-new-ui] .nu-mk-bar button { height: 36px; padding: 0 12px; border: 1px solid #cbd9e7; border-radius: 6px; background: #fff; font: 800 13px var(--nu-t-family); color: #203648; cursor: pointer; }
[data-new-ui] .nu-mk-bar button.nu-mk-on { border-color: #0cab78; background: #e7f4ef; box-shadow: inset 0 0 0 1px #0cab78; }
[data-new-ui] .nu-mk-bar .nu-mk-col { width: 32px; padding: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd9e7; }
[data-new-ui] .nu-mk-bar .nu-mk-col.nu-mk-on { box-shadow: 0 0 0 3px #0cab78; }
[data-new-ui] .nu-mk-bar .nu-mk-save { background: #0cab78; border-color: #0cab78; color: #fff; }
[data-new-ui] .nu-mk-sep { width: 1px; height: 26px; background: #d7e2eb; margin: 0 4px; }
[data-new-ui] .nu-mk-grow { flex: 1; }
[data-new-ui] .nu-mk-msg { font: 700 13px var(--nu-t-family); color: #243f5a; }
[data-new-ui] .nu-mk-wrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 10px; }
[data-new-ui] .nu-mk-wrap canvas { touch-action: none; cursor: crosshair; background: #fff; }
[data-new-ui] .nu-jc-nobill { display: block; font-size: 11px; font-weight: 800; color: #4b6179; }
/* v1.45.30 fix: full viewer stretches (the simple viewer centres its grid) */
[data-new-ui] .nu-pv.nu-pv-full { align-items: stretch; justify-items: stretch; }
[data-new-ui] .nu-pv-full > * { width: 100%; box-sizing: border-box; }
[data-new-ui] .nu-pv-full .nu-pv-top .nu-pv-cap { flex: 1; min-width: 0; }
[data-new-ui] .nu-jc-hint { font-size: 13px; font-weight: 650; color: #4b6179; margin: -2px 0 8px; }

/* ---- v1.45.31: photo viewer as a card, like the current app (amendment 39) ---- */
[data-new-ui] .nu-pvc { position: fixed; inset: 0; z-index: 9000; background: rgba(6,16,28,.6); display: flex; align-items: center; justify-content: center; padding: 24px; }
[data-new-ui] .nu-pvc-card { width: min(760px, 100%); max-height: 100%; background: #fff; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow: hidden; }
[data-new-ui] .nu-pvc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px solid #e3eaf0; }
[data-new-ui] .nu-pvc-head .nu-pv-cap { margin: 0; font: 900 20px var(--nu-t-family); color: #0b1d37; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0; text-align: left; }
[data-new-ui] .nu-pvc-head .nu-pv-close { position: static; width: 38px; height: 38px; border: 1px solid #d7e2eb; border-radius: 8px; background: #fff; color: #0b1d37; font-size: 22px; flex: none; cursor: pointer; }
[data-new-ui] .nu-pvc-body { overflow: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
[data-new-ui] .nu-pvc .nu-pv-main { position: relative; height: min(56vh, 460px); border-radius: 10px; overflow: hidden; background: #0b1624; flex: none; }
[data-new-ui] .nu-pvc .nu-pv-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; padding: 0; }
[data-new-ui] .nu-pvc .nu-pv-photo { max-width: 100%; max-height: 100%; transform-origin: center; user-select: none; }
[data-new-ui] .nu-pvc-count { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: rgba(6,16,28,.7); color: #fff; font: 800 13px var(--nu-t-family); padding: 4px 10px; border-radius: 99px; z-index: 2; }
[data-new-ui] .nu-pvc .nu-pv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(6,16,28,.55); color: #fff; font-size: 30px; line-height: 1; border: 0; cursor: pointer; z-index: 2; display: grid; place-items: center; }
[data-new-ui] .nu-pvc .nu-pv-prev { left: 10px; } [data-new-ui] .nu-pvc .nu-pv-next { right: 10px; }
[data-new-ui] .nu-pvc .nu-pv-nav:disabled { opacity: .3; cursor: default; }
[data-new-ui] .nu-pvc .nu-pv-zoombar { position: absolute; right: 10px; bottom: 10px; left: auto; transform: none; display: flex; gap: 6px; z-index: 2; background: rgba(6,16,28,.55); padding: 5px; border-radius: 10px; }
[data-new-ui] .nu-pvc .nu-pv-zoombar button { width: 40px; height: 40px; border: 0; border-radius: 7px; background: rgba(255,255,255,.14); color: #fff; font: 900 18px var(--nu-t-family); cursor: pointer; }
[data-new-ui] .nu-pvc .nu-pv-zoombar button:disabled { opacity: .35; }
[data-new-ui] .nu-pvc-tip { font: 650 13px var(--nu-t-family); color: #4b6179; margin-top: -4px; }
[data-new-ui] .nu-pvc .nu-pv-refile { grid-template-columns: 1fr 1fr; }
[data-new-ui] .nu-pvc .nu-pv-msg { margin: 0; }
[data-new-ui] .nu-pvc-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e3eaf0; background: #fff; }
[data-new-ui] .nu-pvc-foot .nu-sr10-btn { height: 42px; }
[data-new-ui] .nu-pvc-grow { flex: 1; }
/* phones + upright tablets: the card fills the screen, same stack, scrolls to the fields */
@media (max-width: 760px){
  [data-new-ui] .nu-pvc { padding: 0; }
  [data-new-ui] .nu-pvc-card { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  [data-new-ui] .nu-pvc-head { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  [data-new-ui] .nu-pvc .nu-pv-main { height: 58vh; }
  [data-new-ui] .nu-pvc .nu-pv-refile { grid-template-columns: 1fr; }
}

/* ---- v1.45.31: Library on real data — selecting several (amendment 39) ---- */
[data-new-ui] .nu-ll-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border: 1px solid #d7e2eb; border-radius: 6px; background: #fff; font: 650 14px var(--nu-t-family); color: #243f5a; }
[data-new-ui] .nu-ll-bar span { flex: 1; }
[data-new-ui] .nu-ll-bar-on { border-color: #0cab78; background: #effaf5; }
[data-new-ui] .nu-ll-bar-on strong { flex: 1; font-weight: 900; color: #08764e; }
[data-new-ui] .nu-ll-thumb { position: relative; cursor: pointer; }
[data-new-ui] .nu-ll-thumb.nu-ll-on { box-shadow: 0 0 0 3px #0cab78; }
[data-new-ui] .nu-ll-tick { position: absolute; top: 6px; left: 6px; width: 30px; height: 30px; display: grid; place-items: center; background: rgba(255,255,255,.9); border-radius: 6px; z-index: 1; cursor: pointer; }
[data-new-ui] .nu-ll-tick input { width: 18px; height: 18px; accent-color: #0cab78; margin: 0; }
[data-new-ui] .nu-ll-file { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef3f7; position: relative; }
[data-new-ui] .nu-ll-file .nu-ll-tick { position: static; background: none; }
[data-new-ui] .nu-ll-file.nu-ll-on { background: #effaf5; }
[data-new-ui] .nu-ll-filename { border: 0; background: none; padding: 0; font: 800 14px var(--nu-t-family); color: #1c578d; cursor: pointer; text-align: left; }

/* ---- v2.0.11 (Phil): sketch pad — full screen, faint graph paper (same toolbar look as photo markup) ---- */
[data-new-ui] .nu-sk { position: fixed; inset: 0; z-index: 10010;   /* v2.0.16: above pop-up forms (job note) */ background: #dfe7ee; display: flex; flex-direction: column; }
[data-new-ui] .nu-sk-bar { display: flex; flex-direction: column; gap: 6px; padding: calc(8px + env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) 8px max(10px, env(safe-area-inset-left, 0px)); background: #fff; border-bottom: 1px solid #cbd9e7; }
[data-new-ui] .nu-sk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
[data-new-ui] .nu-sk-bar button { height: 36px; min-width: 36px; padding: 0 11px; border: 1px solid #cbd9e7; border-radius: 6px; background: #fff; font: 800 13px var(--nu-t-family); color: #203648; cursor: pointer; }
[data-new-ui] .nu-sk-bar button:disabled { opacity: .4; cursor: default; }
[data-new-ui] .nu-sk-bar button.nu-sk-on { border-color: #0cab78; background: #e7f4ef; box-shadow: inset 0 0 0 1px #0cab78; }
[data-new-ui] .nu-sk-bar .nu-sk-col { width: 32px; min-width: 32px; padding: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd9e7; }
[data-new-ui] .nu-sk-bar .nu-sk-col.nu-sk-on { box-shadow: 0 0 0 3px #0cab78; }
[data-new-ui] .nu-sk .nu-sk-save { background: #0cab78; border-color: #0cab78; color: #fff; }
[data-new-ui] .nu-sk-bar .nu-sk-close { position: static; width: auto; color: #203648; background: #fff; font-size: 13px; line-height: normal; }
[data-new-ui] .nu-sk-sep { width: 1px; height: 26px; background: #d7e2eb; margin: 0 3px; }
[data-new-ui] .nu-sk-grow { flex: 1; }
[data-new-ui] .nu-sk-page { font: 800 13px var(--nu-t-family); color: #203648; min-width: 82px; text-align: center; }
[data-new-ui] .nu-sk-msg { font: 700 13px var(--nu-t-family); color: #b4321f; }
[data-new-ui] .nu-sk-wrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
[data-new-ui] .nu-sk-wrap canvas { touch-action: none; cursor: crosshair; background: #fff; box-shadow: 0 2px 10px rgba(8,32,51,.18); }
[data-new-ui] .nu-sk-name { position: absolute; inset: 0; background: rgba(6,19,33,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
[data-new-ui] .nu-sk-name[hidden] { display: none; }
[data-new-ui] .nu-sk-namecard { background: #fff; border-radius: 8px; padding: 16px; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
[data-new-ui] .nu-sk-namecard label { display: flex; flex-direction: column; gap: 6px; font: 800 14px var(--nu-t-family); color: #203648; }
[data-new-ui] .nu-sk-namecard input { height: 42px; border: 1px solid #cbd9e7; border-radius: 6px; padding: 0 10px; font: 600 15px var(--nu-t-family); }
[data-new-ui] .nu-sk-namefoot { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
[data-new-ui] .nu-sk-namefoot .nu-sk-msg { margin-right: auto; color: #243f5a; }
[data-new-ui] .nu-sk-namefoot button { height: 40px; padding: 0 14px; border: 1px solid #cbd9e7; border-radius: 6px; background: #fff; font: 800 14px var(--nu-t-family); color: #203648; cursor: pointer; }
@media (max-width: 600px){ [data-new-ui] .nu-sk-bar button { padding: 0 8px; font-size: 12px; } [data-new-ui] .nu-sk-page { min-width: 70px; } }
[data-new-ui] .nu-sk-grp { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 6px; }
@media (max-width: 600px){
  [data-new-ui] .nu-sk-long { display: none; }
  [data-new-ui] .nu-sk-row > .nu-sk-sep { display: none; }
  [data-new-ui] .nu-sk-bar .nu-sk-col { width: 30px; min-width: 30px; }
  [data-new-ui] .nu-sk-bar { gap: 5px; }
  [data-new-ui] .nu-sk-row { gap: 5px; row-gap: 5px; }
}

/* ---- v2.0.13 (Phil): "consistency throughout" — every View / View all / Add running note link is the same
   outlined button as Back (nu-vh-btn-outline look). One rule for all, so they can't drift apart. ---- */
[data-new-ui] .nu-wrk-viewbtn,
[data-new-ui] .nu-mgr-viewall,
[data-new-ui] .nu-mgr-kpi-view,
[data-new-ui] .nu-jc-viewall,
[data-new-ui] .nu-jc-doc-all {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none;
  height: 34px; padding: 0 12px; margin: 0;
  border: 1px solid var(--nu-c-border-strong); border-radius: var(--nu-r-base);
  background: var(--nu-c-surface-card); color: #24425f;
  font-family: var(--nu-t-family); font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-black); line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .12s, border-color .12s;
}
[data-new-ui] .nu-wrk-viewbtn:hover,
[data-new-ui] .nu-mgr-viewall:hover,
[data-new-ui] .nu-mgr-kpi-view:hover,
[data-new-ui] .nu-jc-viewall:hover,
[data-new-ui] .nu-jc-doc-all:hover { background: #f8fbfd; border-color: var(--nu-c-blue); text-decoration: none; }
[data-new-ui] .nu-wrk-viewbtn .nu-icon,
[data-new-ui] .nu-jc-viewall .nu-icon { width: 14px; height: 14px; }
[data-new-ui] .nu-jc-doc-all { margin-top: 10px; }
/* phones: the number tiles keep to the screen; their View all button sits full width along the bottom */
@media (max-width: 767px){
  [data-new-ui] .nu-mgr-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  [data-new-ui] .nu-card.nu-mgr-kpi { display: flex; flex-direction: column; min-width: 0; }
  [data-new-ui] .nu-mgr-kpi-head { display: contents; }
  [data-new-ui] .nu-mgr-kpi-label { order: 0; }
  [data-new-ui] .nu-mgr-kpi-value { order: 1; }
  [data-new-ui] .nu-mgr-kpi-meta  { order: 2; }
  [data-new-ui] .nu-mgr-kpi-view  { order: 3; align-self: stretch; margin-top: auto; }
  [data-new-ui] .nu-mgr-kpi-meta  { margin-bottom: 10px; }
}
/* v2.0.14 (Phil): Other people (contractors not in the app) next to the team — plain muted text, no pill */
[data-new-ui] .nu-others { display: inline-block; font-size: 12px; font-weight: 800; color: #5a6f84; white-space: normal; line-height: 1.3; }
[data-new-ui] .nu-jl-assigned .nu-others, [data-new-ui] .nu-mgr-sched-team .nu-others, [data-new-ui] .nu-wrk-sched-crew .nu-others { margin-left: 4px; }
/* dashboard schedule / table team cells: contractors on their own line under the person, so titles keep their room */
[data-new-ui] .nu-mgr-sched-team, [data-new-ui] .nu-mgr-tbl-team { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; max-width: 170px; }
[data-new-ui] .nu-wrk-sched-crew { flex-wrap: wrap; row-gap: 2px; white-space: normal; max-width: 200px; }
[data-new-ui] .nu-mgr-sched-team .nu-others, [data-new-ui] .nu-mgr-tbl-team .nu-others, [data-new-ui] .nu-wrk-sched-crew .nu-others { flex-basis: 100%; margin-left: 0; }

/* ---- v2.0.16: file viewer (PDFs drawn inside HQ, big Close) + Save / Open sheet for phones & tablets ---- */
[data-new-ui] .nu-fv { position: fixed; inset: 0; z-index: 10020; background: #1b2633; display: flex; flex-direction: column; }
[data-new-ui] .nu-fv-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff; border-bottom: 1px solid #cbd9e7;
  padding: calc(8px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px)); }
[data-new-ui] .nu-fv-name { font: 900 15px var(--nu-t-family); color: #132238; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
[data-new-ui] .nu-fv-status { font: 700 12px var(--nu-t-family); color: #5a6f84; }
[data-new-ui] .nu-fv-grow { flex: 1; }
[data-new-ui] .nu-fv-btn { height: 40px; padding: 0 14px; border: 1px solid var(--nu-c-border-strong); border-radius: var(--nu-r-base); background: #fff;
  color: #24425f; font: 900 14px var(--nu-t-family); cursor: pointer; }
[data-new-ui] .nu-fv-top .nu-fv-close { position: static; width: auto; height: 40px; padding: 0 18px; border: 0; border-radius: var(--nu-r-base);
  background: #0cab78; color: #fff; font: 900 15px var(--nu-t-family); line-height: normal; }
[data-new-ui] .nu-fv-desc { background: #fff; padding: 0 14px 8px; font: 600 13px var(--nu-t-family); color: #33495f; }
[data-new-ui] .nu-fv-body { flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px)); }
[data-new-ui] .nu-fv-page { max-width: 100%; height: auto; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
[data-new-ui] .nu-fv-img { max-width: 100%; max-height: 100%; object-fit: contain; margin: auto; }
[data-new-ui] .nu-fv-note { color: #dfe7ee; font: 700 14px var(--nu-t-family); margin: auto; text-align: center; padding: 20px; }
[data-new-ui] .nu-fv-other { margin: auto; background: #fff; border-radius: 8px; padding: 20px; max-width: 460px; display: flex; flex-direction: column; gap: 8px;
  font: 600 14px var(--nu-t-family); color: #33495f; }
[data-new-ui] .nu-fv-other strong { color: #132238; font-size: 16px; word-break: break-word; }
[data-new-ui] .nu-fv-sheet { position: fixed; inset: 0; z-index: 10030; background: rgba(6,19,33,.45); display: flex; align-items: flex-end; justify-content: center;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
[data-new-ui] .nu-fv-sheetbox { background: #fff; border-radius: 10px; padding: 16px; width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 8px;
  font: 600 14px var(--nu-t-family); color: #33495f; }
[data-new-ui] .nu-fv-sheetbox strong { color: #132238; font-size: 16px; word-break: break-word; }
[data-new-ui] .nu-fv-sheetacts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
[data-new-ui] .nu-fv-go { background: #0cab78; border-color: #0cab78; color: #fff; }
[data-new-ui] .nu-fv-sheetmsg { margin: 0; color: #b4321f; font-size: 13px; }
[data-new-ui] .nu-fv-sheetmsg:empty { display: none; }

/* ---- v2.0.19: task view (tap a task) + drag-and-drop outline ---- */
[data-new-ui] [data-task-open] { cursor: pointer; }
[data-new-ui] .nu-tv { display: flex; flex-direction: column; gap: 8px; }
[data-new-ui] .nu-tv-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
[data-new-ui] .nu-tv-head .nu-jc-check { flex: none; cursor: pointer; margin-top: 2px; }
[data-new-ui] .nu-tv-title { font: 900 17px var(--nu-t-family); color: #132238; line-height: 1.35; white-space: pre-wrap; word-break: break-word; }
[data-new-ui] .nu-tv-row { display: flex; gap: 10px; font: 600 14px var(--nu-t-family); color: #33495f; }
[data-new-ui] .nu-tv-row span { width: 96px; flex: none; color: #6b7f93; }
[data-new-ui] .nu-tv-row strong { font-weight: 800; color: #132238; }
[data-new-ui] .nu-tv-notes { white-space: pre-wrap; background: #f7f9fb; border: 1px solid #e3eaf0; border-radius: 6px; padding: 10px 12px; font: 600 14px var(--nu-t-family); color: #24425f; }
[data-new-ui] .nu-tv-acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
[data-new-ui] .nu-drop-on { outline: 3px dashed #0cab78; outline-offset: -3px; background-color: rgba(12,171,120,.05); }
/* v2.0.20: visible drop strip (computers only — phones and tablets don't drag files) */
[data-new-ui] .nu-drop-strip { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 10px 12px;
  border: 1.5px dashed #b9cbdb; border-radius: 6px; color: #58708d; font: 700 13px var(--nu-t-family); background: #fbfcfd; }
[data-new-ui] .nu-drop-strip .nu-icon { width: 16px; height: 16px; }
[data-new-ui] .nu-drop-on .nu-drop-strip { border-color: #0cab78; color: #0a7d58; background: #eaf7f1; }
@media (pointer: coarse) { [data-new-ui] .nu-drop-strip { display: none; } }
/* v2.0.20 (Phil): running notes readable on phones — time + who on top, the note full width underneath */
[data-new-ui] [data-rn-open] { cursor: pointer; }
@media (max-width: 767px) {
  [data-new-ui] .nu-jc-note-row { grid-template-columns: 28px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 4px; }
  [data-new-ui] .nu-jc-note-row .nu-jc-note-author { grid-column: 1; grid-row: 1; }
  [data-new-ui] .nu-jc-note-row .nu-jc-note-time { grid-column: 2; grid-row: 1; padding-top: 3px; }
  [data-new-ui] .nu-jc-note-row .nu-task-actions { grid-column: 3; grid-row: 1; }
  [data-new-ui] .nu-jc-note-row .nu-jc-note-text { grid-column: 1 / -1; grid-row: 2; }
}
[data-new-ui] .nu-rn-modaledit { width: 100%; min-height: 140px; border: 1px solid #cbd9e7; border-radius: 6px; padding: 10px; font: 600 15px var(--nu-t-family); color: #203648; box-sizing: border-box; }
