/* ==================================================================
   WP5 · JOB CARD CSS — v1.45.5
   Composition rewritten to L1 §9 + L1 image1 reference.
   Consumes the shared component language from new-ui-components.css
   (nu-avatar-c, nu-pill-c, nu-chip-c, nu-tone-*). Job Card only
   layers viewer-specific composition; identity chips and pills come
   from the shared layer.
   Scoped under [data-new-ui]. All values from tokens.
   ================================================================== */

/* ---- Back link -------------------------------------------------- */
[data-new-ui] .nu-jc-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: #1c578d; text-decoration: none;
  font-weight: var(--nu-t-weight-heavy);
  font-size: var(--nu-t-size-lg);
  margin: 0 0 8px 2px;
  cursor: pointer;
}
[data-new-ui] .nu-jc-back .nu-icon { width: 16px; height: 16px; }
[data-new-ui] .nu-jc-back:hover { text-decoration: underline; }

/* ---- Two-column layout ----------------------------------------- */
[data-new-ui] .nu-jc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px; align-items: start;
}
[data-new-ui] .nu-jc-maincol { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
[data-new-ui] .nu-jc-rail    { display: flex; flex-direction: column; gap: 12px; }

/* ---- Card base -------------------------------------------------- */
[data-new-ui] .nu-card {
  background: var(--nu-c-surface-card);
  border: 1px solid var(--nu-c-border-default);
  border-radius: var(--nu-r-base);
  box-shadow: var(--nu-sh-card);
  padding: 12px;
}
[data-new-ui] .nu-jc-jobhead { padding: 15px 16px; }
[data-new-ui] .nu-jc-section { padding: 12px; }
[data-new-ui] .nu-jc-rail-card { padding: 12px; }

/* ---- Job head + More Actions ---------------------------------- */
[data-new-ui] .nu-jc-jobhead-top {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start;
}
[data-new-ui] .nu-jc-jobhead-main { min-width: 0; }
[data-new-ui] .nu-jc-jobhead-rowa { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
[data-new-ui] .nu-jc-jobnumber {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px;
  border-radius: var(--nu-r-base);
  background: var(--nu-c-navy-3); color: #fff;
  font-weight: var(--nu-t-weight-black);
  font-size: var(--nu-t-size-md);
  letter-spacing: 0.02em;
}
[data-new-ui] .nu-jc-title {
  margin: 4px 0 4px;
  font-size: 28px; line-height: 1.15;
  font-weight: var(--nu-t-weight-black);
  letter-spacing: var(--nu-t-ls-tight);
}
[data-new-ui] .nu-jc-address {
  color: #4b6179; /* 4j: was #55708a */
  font-size: var(--nu-t-size-lg);
  font-weight: 650;
  display: inline-flex; align-items: center; gap: 6px;
}
[data-new-ui] .nu-jc-address .nu-icon { color: #4b6179; width: 16px; height: 16px; } /* 4j: was #55708a */
[data-new-ui] .nu-jc-description { margin-top: 7px; color: #48627c; font-size: var(--nu-t-size-lg); max-width: 560px; }

[data-new-ui] .nu-jc-jobhead-more { position: relative; flex: none; }
[data-new-ui] .nu-jc-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--nu-c-border-strong);
  border-radius: var(--nu-r-base);
  background: var(--nu-c-surface-card);
  color: #24425e;
  font-weight: var(--nu-t-weight-black);
  font-size: var(--nu-t-size-md);
  cursor: pointer;
}
[data-new-ui] .nu-jc-more-btn:hover { background: #f8fbfd; }
[data-new-ui] .nu-jc-more-btn .nu-icon { width: 14px; height: 14px; }
[data-new-ui] .nu-jc-more-menu {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 20;
  min-width: 180px;
  background: var(--nu-c-surface-card);
  border: 1px solid var(--nu-c-border-default);
  border-radius: var(--nu-r-base);
  box-shadow: var(--nu-sh-dropdown);
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
}
[data-new-ui] .nu-jc-more-menu[hidden] { display: none; }
[data-new-ui] .nu-jc-more-menu a {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 10px;
  border-radius: var(--nu-r-md);
  color: #24425e; text-decoration: none;
  font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-heavy);
}
[data-new-ui] .nu-jc-more-menu a:hover { background: #f6f9fc; }
[data-new-ui] .nu-jc-more-menu .nu-jc-qicon { display: inline-flex; align-items: center; width: 20px; color: #355978; }
[data-new-ui] .nu-jc-more-menu .nu-jc-qicon .nu-icon { width: 16px; height: 16px; }
[data-new-ui] .nu-jc-more-menu .nu-jc-qdanger { color: var(--nu-c-red) !important; }
[data-new-ui] .nu-jc-more-menu .nu-jc-qdanger .nu-jc-qicon { color: var(--nu-c-red); }

/* ---- Action row (6 tiles as of v1.45.7) ------------------------ */
[data-new-ui] .nu-jc-actions {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; /* v1.45.12: 5 tiles, was 6 */
}
[data-new-ui] .nu-jc-act {
  height: 60px; border-radius: var(--nu-r-base);
  color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  font-weight: var(--nu-t-weight-black); font-size: var(--nu-t-size-lg);
  transition: filter .15s;
  border: 0; cursor: pointer;
  font-family: var(--nu-t-family);
}
[data-new-ui] .nu-jc-act .nu-icon { width: 18px; height: 18px; }
[data-new-ui] .nu-jc-act:hover { filter: brightness(1.08); }
[data-new-ui] .nu-jc-a-green   { background: var(--nu-c-green); }
[data-new-ui] .nu-jc-a-blue    { background: var(--nu-c-blue); }
[data-new-ui] .nu-jc-a-purple  { background: var(--nu-c-purple); }
[data-new-ui] .nu-jc-a-amber   { background: var(--nu-c-amber); }
[data-new-ui] .nu-jc-a-slate   { background: #32566f; }
/* v1.45.7 teal — for "Generate Report". On-theme per L1 §5:
   "green/teal for operations and task actions." */
[data-new-ui] .nu-jc-a-teal    { background: #0d8c8c; }

/* ---- Card head ------------------------------------------------- */
[data-new-ui] .nu-jc-cardhead {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--nu-c-border-default);
  padding: 1px 1px 9px; margin-bottom: 8px;
}
[data-new-ui] .nu-jc-cardtitle {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: var(--nu-t-weight-black);
}
[data-new-ui] .nu-jc-mini {
  width: 25px; height: 25px; border-radius: var(--nu-r-base);
  display: grid; place-items: center;
  color: #fff; flex: none;
}
[data-new-ui] .nu-jc-mini .nu-icon { width: 15px; height: 15px; stroke: currentColor; }
[data-new-ui] .nu-jc-m-green  { background: var(--nu-c-green); }
[data-new-ui] .nu-jc-m-purple { background: var(--nu-c-purple); }
[data-new-ui] .nu-jc-m-blue   { background: var(--nu-c-blue); }
[data-new-ui] .nu-jc-m-amber  { background: var(--nu-c-amber); }
[data-new-ui] .nu-jc-viewall {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--nu-c-blue); font-size: var(--nu-t-size-md);
  font-weight: var(--nu-t-weight-heavy); text-decoration: none;
  border: 0; background: none; cursor: pointer;
  font-family: var(--nu-t-family);
}
[data-new-ui] .nu-jc-viewall .nu-icon { width: 14px; height: 14px; }
[data-new-ui] .nu-jc-viewall:hover { text-decoration: underline; }

/* ---- Empty states ---------------------------------------------- */
[data-new-ui] .nu-jc-empty {
  padding: 20px 8px; text-align: center;
  color: var(--nu-c-text-muted);
  font-size: var(--nu-t-size-md);
}
[data-new-ui] .nu-jc-empty a { color: var(--nu-c-text-link); cursor: pointer; }
[data-new-ui] .nu-jc-empty-inline {
  color: var(--nu-c-text-muted); font-style: italic;
  font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-semibold);
  padding: 8px 4px;
}

/* ---- Tabs ------------------------------------------------------ */
[data-new-ui] .nu-jc-tabs {
  display: flex; gap: 4px; margin-bottom: 8px;
  border-bottom: 1px solid var(--nu-c-border-default);
}
[data-new-ui] .nu-jc-tab {
  height: 32px; padding: 0 12px;
  border: 0; background: transparent;
  border-bottom: 2px solid transparent;
  color: var(--nu-c-text-muted);
  font-family: var(--nu-t-family);
  font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-heavy);
  cursor: pointer;
  margin-bottom: -1px;
}
[data-new-ui] .nu-jc-tab:hover { color: var(--nu-c-text-primary); }
[data-new-ui] .nu-jc-tab.nu-active { color: var(--nu-c-blue); border-bottom-color: var(--nu-c-blue); }

/* ---- Tasks list ------------------------------------------------ */
[data-new-ui] .nu-jc-tasks { display: flex; flex-direction: column; }
[data-new-ui] .nu-jc-task {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 66px 60px auto 56px;
  align-items: center; gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid #e9eef3;
  padding: 4px 0;
}
[data-new-ui] .nu-jc-task:last-child { border-bottom: 0; }
[data-new-ui] .nu-jc-check {
  width: 20px; height: 20px;
  border: 2px solid #8ca0b2; border-radius: 4px;
  display: grid; place-items: center;
  color: transparent;
}
[data-new-ui] .nu-jc-check .nu-icon { width: 14px; height: 14px; }
[data-new-ui] .nu-jc-check-done {
  background: var(--nu-c-green); border-color: var(--nu-c-green); color: #fff;
}
[data-new-ui] .nu-jc-task-name { font-size: var(--nu-t-size-lg); font-weight: var(--nu-t-weight-heavy); color: #243e59; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-new-ui] .nu-jc-task-name strong { font-weight: var(--nu-t-weight-black); }
[data-new-ui] .nu-jc-task-name span { color: #4b6179; font-weight: var(--nu-t-weight-semibold); } /* 4j: was #6b8196 */
[data-new-ui] .nu-jc-task-hours { font-size: var(--nu-t-size-md); color: #4b6179; font-weight: var(--nu-t-weight-heavy); text-align: right; } /* 4j: was #5e7690 */
[data-new-ui] .nu-jc-task-assignee { display: flex; align-items: center; gap: 6px; font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-heavy); color: #29445f; }
[data-new-ui] .nu-jc-task-date { font-size: var(--nu-t-size-base); color: #4b6179; font-weight: var(--nu-t-weight-bold); text-align: right; } /* 4j: was #5e7690 */

/* ---- Notebook (row: time · avatar · text) ---------------------- */
[data-new-ui] .nu-jc-notebook {
  background: #f7faff;
  border: 1px solid #d7e4ee;
  border-radius: var(--nu-r-base);
  padding: 10px;
}
[data-new-ui] .nu-jc-note-row {
  display: grid;
  grid-template-columns: 96px 28px 1fr;
  gap: 10px;
  padding: 6px 2px;
  align-items: start;
}
[data-new-ui] .nu-jc-note-time { font-size: var(--nu-t-size-base); color: #4b6179; font-weight: var(--nu-t-weight-heavy); padding-top: 5px; } /* 4j: was #668099 */
[data-new-ui] .nu-jc-note-author { padding-top: 2px; }
[data-new-ui] .nu-jc-note-text { font-size: var(--nu-t-size-md); color: #34506a; font-weight: 650; line-height: 1.45; }

[data-new-ui] .nu-jc-add-note { display: flex; gap: 8px; margin-top: 8px; }
[data-new-ui] .nu-jc-input {
  flex: 1; height: 39px;
  border: 1px solid var(--nu-c-border-strong);
  border-radius: var(--nu-r-base);
  padding: 0 10px;
  font-size: var(--nu-t-size-md);
  font-family: var(--nu-t-family);
}
[data-new-ui] .nu-jc-btn-green {
  height: 39px; padding: 0 18px;
  border: 0; border-radius: var(--nu-r-base);
  background: var(--nu-c-green); color: #fff;
  font-weight: var(--nu-t-weight-black); font-size: var(--nu-t-size-md);
  cursor: pointer;
  font-family: var(--nu-t-family);
}
[data-new-ui] .nu-jc-btn-green:hover { filter: brightness(1.06); }

/* ---- Job Notes cards ------------------------------------------- */
[data-new-ui] .nu-jc-notes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
[data-new-ui] .nu-jc-note-card {
  border: 1px solid var(--nu-c-border-default);
  border-radius: var(--nu-r-base);
  overflow: hidden;
  background: var(--nu-c-surface-card);
  text-decoration: none; color: inherit;
  display: block;
  transition: transform .15s, box-shadow .15s;
}
[data-new-ui] .nu-jc-note-card:hover { transform: translateY(-1px); box-shadow: var(--nu-sh-dropdown); }
[data-new-ui] .nu-jc-note-photo {
  height: 110px;
  background: linear-gradient(135deg, #7c8ea6, #4b5f7a);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
}
[data-new-ui] .nu-jc-note-photo-empty {
  background: linear-gradient(135deg, #dfe9f1, #b8c7d4);
  color: #4b6179; /* 4j: was #55708a */
}
[data-new-ui] .nu-jc-note-photo .nu-icon { width: 28px; height: 28px; stroke: currentColor; }
[data-new-ui] .nu-jc-note-body { padding: 10px; }
[data-new-ui] .nu-jc-note-title { font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-black); }
[data-new-ui] .nu-jc-note-meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
[data-new-ui] .nu-jc-note-meta-item { display: inline-flex; align-items: center; gap: 4px; font-size: var(--nu-t-size-sm); color: #4b6179; font-weight: var(--nu-t-weight-bold); } /* 4j: was #6a8197 */
[data-new-ui] .nu-jc-note-meta-item .nu-icon { width: 12px; height: 12px; }
[data-new-ui] .nu-jc-note-body .nu-chip-c { margin-top: 8px; }

/* ---- Photos / Files strip -------------------------------------- */
[data-new-ui] .nu-jc-photos {
  display: flex; gap: 7px; align-items: stretch; flex-wrap: wrap;
}
[data-new-ui] .nu-jc-thumb {
  height: 90px; flex: 1; min-width: 90px;
  border-radius: var(--nu-r-md);
  background: linear-gradient(135deg, #d8e2e9, #8da3b3);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative; overflow: hidden;
  text-decoration: none;
}
[data-new-ui] .nu-jc-thumb .nu-icon { width: 26px; height: 26px; stroke: currentColor; }
[data-new-ui] .nu-jc-thumb span {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(5, 25, 40, .55);
  padding: 4px 5px;
  font-size: var(--nu-t-size-xs); font-weight: var(--nu-t-weight-heavy);
  color: #fff;
  text-align: center;
}
[data-new-ui] .nu-jc-thumb-more {
  width: 60px; height: 90px;
  border-radius: var(--nu-r-md);
  background: #eef2f6;
  display: grid; place-items: center;
  color: #355978;
  text-decoration: none;
  font-weight: var(--nu-t-weight-black);
  font-size: var(--nu-t-size-lg);
}
[data-new-ui] .nu-jc-upload {
  width: 112px; height: 90px;
  border: 1px dashed #9db2c3;
  border-radius: var(--nu-r-md);
  background: #f8fbfd;
  display: grid; place-items: center;
  text-align: center;
  color: #4b6179; /* 4j: was #4e6c86 */
  font-size: var(--nu-t-size-sm); font-weight: var(--nu-t-weight-heavy);
  line-height: 1.3;
  cursor: pointer;
  font-family: var(--nu-t-family);
}
[data-new-ui] .nu-jc-upload span { font-size: 22px; display: block; }
[data-new-ui] .nu-jc-upload .nu-icon { width: 20px; height: 20px; }

/* ---- Time & Materials as entry list ---------------------------- */
[data-new-ui] .nu-jc-tm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
[data-new-ui] .nu-jc-tm-col {
  border: 1px solid var(--nu-c-border-default);
  border-radius: var(--nu-r-base);
  padding: 10px;
  background: #f8fbfd;
}
[data-new-ui] .nu-jc-tm-colhead {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-black); color: #24425e;
  padding-bottom: 8px; margin-bottom: 4px;
  border-bottom: 1px solid var(--nu-c-border-default);
}
[data-new-ui] .nu-jc-tm-colhead .nu-icon { width: 14px; height: 14px; color: #355978; }
[data-new-ui] .nu-jc-tm-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 8px; align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #ebf0f4;
}
[data-new-ui] .nu-jc-tm-row:last-child { border-bottom: 0; }
[data-new-ui] .nu-jc-tm-when strong { font-size: var(--nu-t-size-md); color: #24425e; font-weight: var(--nu-t-weight-heavy); }
[data-new-ui] .nu-jc-tm-when span   { display: block; font-size: var(--nu-t-size-sm); color: #4b6179; } /* 4j: was #6a8197 */
[data-new-ui] .nu-jc-tm-who   { display: flex; align-items: center; gap: 6px; font-size: var(--nu-t-size-sm); color: #29445f; font-weight: var(--nu-t-weight-heavy); }
[data-new-ui] .nu-jc-tm-val   { font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-black); color: #24425e; }

/* Second column is materials — no assignee, 2 cols */
[data-new-ui] .nu-jc-tm-col + .nu-jc-tm-col .nu-jc-tm-row { grid-template-columns: 1fr auto; }

/* ---- Job Report ------------------------------------------------ */
[data-new-ui] .nu-jc-report {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
[data-new-ui] .nu-jc-report-text { color: #4b6179; font-size: var(--nu-t-size-md); } /* 4j: was #5e7590 */
[data-new-ui] .nu-jc-btn-outline {
  height: 40px; padding: 0 16px;
  border: 1px solid var(--nu-c-border-strong);
  border-radius: var(--nu-r-base);
  background: var(--nu-c-surface-card);
  color: #193b5c;
  font-weight: var(--nu-t-weight-black);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--nu-t-family);
  font-size: var(--nu-t-size-md);
}
[data-new-ui] .nu-jc-btn-outline:hover { background: #f6f9fc; }
[data-new-ui] .nu-jc-btn-outline .nu-icon { width: 16px; height: 16px; stroke: currentColor; }

/* ---- Right rail ------------------------------------------------ */
[data-new-ui] .nu-jc-rail-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: var(--nu-t-weight-black);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--nu-c-border-default);
  margin-bottom: 8px;
}
[data-new-ui] .nu-jc-rail-title .nu-icon { width: 16px; height: 16px; color: #355978; }
[data-new-ui] .nu-jc-rail-title-plain {
  font-size: 16px; font-weight: var(--nu-t-weight-black);
  padding-bottom: 6px; margin-bottom: 6px;
}

/* Progress */
[data-new-ui] .nu-jc-progress {
  display: flex; align-items: center; gap: 10px;
}
[data-new-ui] .nu-jc-bar { flex: 1; height: 12px; background: #dce6ee; border-radius: 8px; overflow: hidden; }
[data-new-ui] .nu-jc-fill { height: 100%; background: var(--nu-c-green); border-radius: 8px; transition: width .3s ease; }
[data-new-ui] .nu-jc-progress strong { font-size: var(--nu-t-size-lg); font-weight: var(--nu-t-weight-black); }
[data-new-ui] .nu-jc-progress-meta { color: #45627d; font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-bold); margin-top: 6px; }

/* Job Details rows */
[data-new-ui] .nu-jc-detail-row {
  display: grid; grid-template-columns: 84px 1fr; gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #ebf0f4;
}
[data-new-ui] .nu-jc-detail-row:last-child { border-bottom: 0; }
[data-new-ui] .nu-jc-detail-label { font-size: var(--nu-t-size-base); color: #4b6179; font-weight: var(--nu-t-weight-heavy); } /* 4j: was #667f95 */
[data-new-ui] .nu-jc-detail-value { font-size: var(--nu-t-size-md); color: #29445f; font-weight: var(--nu-t-weight-heavy); }

/* Assigned Team */
[data-new-ui] .nu-jc-team-member {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #ebf0f4;
}
[data-new-ui] .nu-jc-team-member:last-of-type { border-bottom: 0; }
[data-new-ui] .nu-jc-mapbtn {
  margin-top: 8px; width: 100%; height: 36px;
  border: 1px solid var(--nu-c-border-strong);
  border-radius: var(--nu-r-base);
  background: var(--nu-c-surface-card);
  font-weight: var(--nu-t-weight-black); color: #24425f;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-family: var(--nu-t-family);
  font-size: var(--nu-t-size-md);
}
[data-new-ui] .nu-jc-mapbtn:hover { background: #f8fbfd; }

/* Location */
[data-new-ui] .nu-jc-map {
  height: 170px;
  border-radius: var(--nu-r-base);
  background: linear-gradient(135deg, #d7e6d7, #adc8b4);
  position: relative; overflow: hidden;
  border: 1px solid #cbd9d0;
}
[data-new-ui] .nu-jc-map::before, [data-new-ui] .nu-jc-map::after {
  content: ""; position: absolute; background: rgba(255,255,255,.75);
  transform: rotate(-18deg);
}
[data-new-ui] .nu-jc-map::before { width: 140%; height: 22px; left: -20%; top: 70px; }
[data-new-ui] .nu-jc-map::after  { width: 22px; height: 140%; left: 57%; top: -20%; transform: rotate(27deg); }
[data-new-ui] .nu-jc-pin {
  position: absolute; left: 56%; top: 47%;
  width: 26px; height: 26px;
  border-radius: 50% 50% 50% 0;
  background: #ef4b42;
  transform: rotate(-45deg);
  border: 3px solid #fff;
  box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
}
[data-new-ui] .nu-jc-pin::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  position: absolute; left: 6px; top: 6px;
}
[data-new-ui] .nu-jc-mapinfo {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background: var(--nu-c-surface-card);
  border-radius: var(--nu-r-base);
  padding: 8px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .12);
}
[data-new-ui] .nu-jc-mapinfo strong { display: block; font-size: var(--nu-t-size-base); }
[data-new-ui] .nu-jc-mapinfo span   { font-size: var(--nu-t-size-sm); color: #4b6179; } /* 4j: was #637991 */

/* Job Actions (right rail) — like Quick Actions but per L1 image1 */
[data-new-ui] .nu-jc-quick a {
  display: flex; align-items: center; gap: 10px;
  min-height: 40px;
  border-bottom: 1px solid #ebf0f4;
  text-decoration: none;
  color: #24425e;
  font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-heavy);
  padding: 6px 8px;
}
[data-new-ui] .nu-jc-quick a:last-child { border-bottom: 0; }
[data-new-ui] .nu-jc-quick a:hover { background: #f8fbfd; }
[data-new-ui] .nu-jc-quick small { font-size: var(--nu-t-size-xs); color: var(--nu-c-text-muted); font-weight: var(--nu-t-weight-bold); margin-left: auto; }
[data-new-ui] .nu-jc-qicon {
  width: 22px; text-align: center; color: #355978;
  display: inline-flex; align-items: center; justify-content: center;
}
[data-new-ui] .nu-jc-qicon .nu-icon { width: 16px; height: 16px; stroke: currentColor; }
[data-new-ui] .nu-jc-qdanger { color: var(--nu-c-red) !important; background: #fff8f8; }
[data-new-ui] .nu-jc-qdanger .nu-jc-qicon { color: var(--nu-c-red); }

/* ---- Responsive ------------------------------------------------ */
@media (max-width: 1199px) {
  [data-new-ui] .nu-jc-grid    { grid-template-columns: minmax(0, 1fr) 280px; }
  [data-new-ui] .nu-jc-actions { grid-template-columns: repeat(3, 1fr); }
  [data-new-ui] .nu-jc-notes-grid { grid-template-columns: repeat(2, 1fr); }
}@media (max-width: 999px) {
  [data-new-ui] .nu-jc-grid    { grid-template-columns: 1fr; }
  [data-new-ui] .nu-jc-rail    { order: 2; }
  [data-new-ui] .nu-jc-jobhead-top { grid-template-columns: 1fr; }
  [data-new-ui] .nu-jc-jobhead-more { justify-self: start; }
  [data-new-ui] .nu-jc-tm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  [data-new-ui] .nu-jc-actions { grid-template-columns: 1fr 1fr; }
  [data-new-ui] .nu-jc-task    { grid-template-columns: 22px minmax(0, 1fr) auto 56px; }
  [data-new-ui] .nu-jc-task-hours, [data-new-ui] .nu-jc-task-date { display: none; }
  [data-new-ui] .nu-jc-notes-grid { grid-template-columns: 1fr; }
  [data-new-ui] .nu-jc-note-row { grid-template-columns: 84px 24px 1fr; }
}

/* v1.45.34: View All plain lists — filing cabinet, no SaaS */
[data-new-ui] .nu-va { display: grid; gap: 0; }
[data-new-ui] .nu-va-row { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid #dde4eb; }
[data-new-ui] .nu-va-row:last-child { border-bottom: none; }
[data-new-ui] .nu-va-done { opacity: 0.55; }
[data-new-ui] .nu-va-clickable { cursor: pointer; }
[data-new-ui] .nu-va-clickable:hover { background: #f4f7f9; }
[data-new-ui] .nu-va-tick { flex: 0 0 20px; font-size: 18px; color: #1a5c3a; }
[data-new-ui] .nu-va-main { flex: 1; min-width: 0; font: 650 14px/1.35 var(--nu-t-family); color: #1f3347; }
[data-new-ui] .nu-va-main strong { font-weight: 750; }
[data-new-ui] .nu-va-sub { font-weight: 500; color: #4b6478; margin-top: 2px; overflow-wrap: anywhere; }
[data-new-ui] .nu-va-meta { flex: 0 0 auto; font: 600 13px var(--nu-t-family); color: #5a7a8a; white-space: nowrap; }
[data-new-ui] .nu-va-pill { flex: 0 0 auto; font: 700 11px/1 var(--nu-t-family); text-transform: uppercase; letter-spacing: 0.4px; padding: 3px 8px; border-radius: 3px; }
[data-new-ui] .nu-va-pill-urgent { background: #fde8e8; color: #b91c1c; }
[data-new-ui] .nu-va-pill-high { background: #fef3cd; color: #92400e; }
[data-new-ui] .nu-va-pill-medium { background: #dbeafe; color: #1e40af; }
[data-new-ui] .nu-va-pill-low { background: #e8f5e9; color: #1a5c3a; }
[data-new-ui] .nu-va-empty { padding: 24px 0; text-align: center; font: 600 14px var(--nu-t-family); color: #5a7a8a; }
[data-new-ui] .nu-va-section { margin-bottom: 16px; }
[data-new-ui] .nu-va-sectionhead { font: 750 13px/1 var(--nu-t-family); text-transform: uppercase; letter-spacing: 0.5px; color: #243f5a; padding: 8px 0; border-bottom: 2px solid #243f5a; margin-bottom: 4px; }

/* v1.45.38: archived job = read-only — no editing doors */
[data-new-ui] .nu-jc-archbar { align-items: center; }
[data-new-ui] .nu-jc-archbar [hidden] { display: none; }
[data-new-ui] .nu-jc-archived .nu-jc-more,
[data-new-ui] .nu-jc-archived .nu-jc-add-note,
[data-new-ui] .nu-jc-archived [data-jc-docadd],
[data-new-ui] .nu-jc-archived .nu-jc-desc-edit { display: none !important; }
[data-new-ui] .nu-jc-archived .nu-jc-check { cursor: default; }
[data-new-ui] .nu-jc-archived [data-add-to] { display: none !important; }
[data-new-ui] .nu-jc-archived [data-action="manage-team"] { display: none !important; }

/* v1.45.45: Change status — rows in the More Actions list style (no radio boxes) */
[data-new-ui] .nu-ja-statuslist { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
[data-new-ui] .nu-ja-strow {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 10px;
  border: 0; border-radius: var(--nu-r-md); background: transparent; cursor: pointer; text-align: left;
  color: #24425e; font-family: var(--nu-t-family); font-size: var(--nu-t-size-md); font-weight: var(--nu-t-weight-heavy);
}
[data-new-ui] .nu-ja-strow:hover { background: #f6f9fc; }
[data-new-ui] .nu-ja-strow.nu-ja-on { background: #eef4f9; color: var(--nu-c-text-primary); }
[data-new-ui] .nu-ja-stdot { width: 10px; height: 10px; border-radius: 50%; background: var(--nu-tone-ring); flex: none; }
[data-new-ui] .nu-ja-stname { flex: 1; }
[data-new-ui] .nu-ja-sttick { display: none; color: var(--nu-c-green); }
[data-new-ui] .nu-ja-sttick .nu-icon { width: 18px; height: 18px; stroke-width: 2.4; }
[data-new-ui] .nu-ja-strow.nu-ja-on .nu-ja-sttick { display: inline-flex; }

/* v2.0.1 (Phil): Job Card action row = the dashboard tile style (nu-mgr-tile), 6 tiles, More Actions last (white) */
[data-new-ui] .nu-jc-actions.nu-jc-actions6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
[data-new-ui] .nu-jc-actions6 .nu-mgr-tile { width: 100%; text-align: left; }
[data-new-ui] .nu-mgr-t-amber { background: #e6900f; }
[data-new-ui] .nu-jc-moretile { position: relative; display: flex; }
[data-new-ui] .nu-jc-moretile .nu-jc-more-menu { left: 0; right: auto; min-width: 100%; }
@media (max-width: 1300px){ [data-new-ui] .nu-jc-actions.nu-jc-actions6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px){
  [data-new-ui] .nu-jc-actions.nu-jc-actions6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  [data-new-ui] .nu-jc-actions6 .nu-mgr-tile { padding: 8px; gap: 6px; min-height: 60px; }
  [data-new-ui] .nu-jc-actions6 .nu-mgr-tile-text span { display: none; }
  [data-new-ui] .nu-jc-actions6 .nu-mgr-tile-text strong { font-size: 13px; }
  [data-new-ui] .nu-jc-moretile .nu-jc-more-menu { left: auto; right: 0; }
}

/* v2.0.7: task cards — notes / edit / delete icons; notes open under the task */
[data-new-ui] .nu-jc-task { grid-template-columns: 22px minmax(0, 1fr) 66px 60px auto 56px auto; }
[data-new-ui] .nu-task-actions { display: inline-flex; gap: 2px; justify-content: flex-end; }
[data-new-ui] .nu-task-ic { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #35577a; cursor: pointer; }
[data-new-ui] .nu-task-ic:hover { background: #eef3f8; }
[data-new-ui] .nu-task-ic .nu-icon { width: 17px; height: 17px; }
[data-new-ui] .nu-task-notes { grid-column: 1 / -1; margin: 2px 0 4px 32px; padding: 8px 10px; background: #f6f9fc; border-left: 3px solid #b3cbeb; border-radius: 4px; white-space: pre-wrap; font-size: 13px; font-weight: 600; color: #34506d; }
[data-new-ui] .nu-tk-card .nu-task-actions { margin-top: 6px; }
[data-new-ui] .nu-tk-card .nu-task-notes { margin-left: 0; }
@media (max-width: 767px){ [data-new-ui] .nu-jc-task { grid-template-columns: 22px minmax(0, 1fr) auto; } [data-new-ui] .nu-jc-task .nu-task-actions { grid-column: 2 / -1; } }
/* v2.0.7: task form — priority buttons on their own row, never cut off */
[data-new-ui] .nu-nj-seg { flex-wrap: wrap; }

/* v2.0.8: job-note photo picker — the job's photos in HQ first */
[data-new-ui] .nu-np-pick { margin-top: 8px; padding: 10px; border: 1px solid var(--nu-c-border-default); border-radius: 8px; background: #f8fbfd; }
[data-new-ui] .nu-np-head { font-weight: 900; font-size: 13px; color: #24425e; margin-bottom: 8px; }
[data-new-ui] .nu-np-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; margin-bottom: 8px; }
[data-new-ui] .nu-np-tile { position: relative; aspect-ratio: 1; border: 2px solid transparent; border-radius: 6px; background: #dfe7ef center / cover no-repeat; cursor: pointer; padding: 0; }
[data-new-ui] .nu-np-tile.nu-np-on { border-color: var(--nu-c-green); box-shadow: 0 0 0 2px rgba(16,173,123,.25); }
[data-new-ui] .nu-np-tick { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--nu-c-green); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 13px; }
[data-new-ui] .nu-np-tag { position: absolute; left: 3px; right: 3px; bottom: 3px; background: rgba(16,35,58,.78); color: #fff; font-size: 10px; font-weight: 800; border-radius: 4px; padding: 2px 3px; }
[data-new-ui] .nu-np-x { position: absolute; left: 3px; right: 3px; bottom: 3px; background: rgba(195,62,56,.88); color: #fff; font-size: 11px; font-weight: 800; border-radius: 4px; padding: 2px; }
[data-new-ui] .nu-np-on .nu-np-x { background: rgba(16,35,58,.85); }
[data-new-ui] .nu-np-cur .nu-np-on { opacity: .45; }
[data-new-ui] .nu-np-empty { margin: 0 0 8px; color: var(--nu-c-text-muted); font-weight: 600; }

/* v2.0.9: running notes edit / delete; job note card icons; viewer buttons */
[data-new-ui] .nu-jc-note-row { position: relative; }
[data-new-ui] .nu-jc-note-row .nu-task-actions { align-self: start; }
[data-new-ui] .nu-rn-edit { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid var(--nu-c-border-strong); border-radius: 6px; font: 600 14px var(--nu-t-family); }
[data-new-ui] .nu-rn-btns { display: flex; gap: 8px; margin-top: 6px; }
[data-new-ui] .nu-jn-acts { margin-top: 6px; }
[data-new-ui] .nu-jc-noteview-acts { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--nu-c-border-default); }
[data-new-ui] .nu-jc-note-row { grid-template-columns: 96px 28px 1fr auto; }   /* v2.0.9: room for edit / delete */

/* v2.0.9: Job Documentation — rows with rename / delete, in-app viewer */
[data-new-ui] .nu-jc-docrow { display: flex; align-items: center; gap: 4px; }
[data-new-ui] .nu-jc-docrow .nu-jc-doc { flex: 1; min-width: 0; }
[data-new-ui] .nu-jc-dochint { margin-top: 8px; }
[data-new-ui] .nu-docview-frame { width: 100%; height: 70vh; border: 1px solid var(--nu-c-border-default); border-radius: 6px; background: #fff; }
[data-new-ui] .nu-docview-img { max-width: 100%; max-height: 70vh; display: block; margin: 0 auto; border-radius: 6px; }
[data-new-ui] .nu-docview-desc { margin: 10px 0 0; font-weight: 600; color: #34506d; }
[data-new-ui] .nu-docview-acts { margin-top: 12px; display: flex; gap: 8px; }
[data-new-ui] .nu-jc-tm-row { grid-template-columns: 1fr auto auto auto; }   /* v2.0.10: room for edit / delete */
