/*
  marketing-screens.css — the four static "product screenshot" components on the NimbleSign
  marketing site: the envelopes list (.nsx), the template designer (.nsd), the lobby kiosk
  (.nsk) and the signing ceremony (.nsc). Pages/Site/_Screen*.cshtml carry the markup.

  Ported from the marketing design handoff ("design_handoff_nimblesign_marketing",
  design/Screen Envelopes|Designer|Kiosk|Ceremony.dc.html). Every inline style in the handoff
  became a class here with its values unchanged; the shared rules from each handoff's <style>
  block were carried over under the component prefix. Colours resolve to the --nsm-* tokens
  that marketing.css defines on :root — this file is loaded after it. A raw colour appears
  only where the handoff used a value no token covers, and is marked "handoff value, no token".

  The app's site.css is NOT loaded alongside this file (the marketing site has its own
  stylesheet), so everything these four components need is in here, and nothing in here
  touches the app's ns- namespace.
*/

/* ---- nsx: envelopes list ---- */

.nsx,
.nsx *,
.nsx *::before,
.nsx *::after {
  box-sizing: border-box;
}

.nsx {
  display: flex;
  min-height: 440px;
  font-family: var(--nsm-font);
  font-size: 13px;
  color: var(--nsm-text);
  background: var(--nsm-alt);
  -webkit-font-smoothing: antialiased;
}

.nsx td {
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nsx-shell {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--nsm-alt);
}

.nsx-head {
  min-height: 52px;
  background: var(--nsm-page);
  border-bottom: 1px solid var(--nsm-border-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 20px;
}

.nsx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nsx-logo {
  height: 20px;
  width: auto;
  flex: none;
}

.nsx-sep {
  color: var(--nsm-border);
}

.nsx-crumb {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nsx-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nsm-blue-tint);
  color: var(--nsm-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

.nsx-main {
  padding: 18px 20px 24px;
  min-width: 0;
}

.nsx-titlebar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.nsx-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.nsx-count {
  font-size: 13px;
  color: var(--nsm-text-subtle);
  margin-top: 2px;
}

.nsx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nsm-primary);
  color: var(--nsm-page);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--nsm-shadow-btn);
}

.nsx-card {
  background: var(--nsm-page);
  border: 1px solid var(--nsm-border);
  border-radius: 12px;
  box-shadow: var(--nsm-shadow-card);
  overflow: hidden;
}

.nsx-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  table-layout: fixed;
}

.nsx-th {
  background: var(--nsm-sunken);
  border-bottom: 1px solid var(--nsm-border);
  padding: 9px 14px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--nsm-text-subtle);
  text-align: left;
}

.nsx-th-signers {
  width: 120px;
}

.nsx-th-status {
  width: 136px;
}

.nsx-th-progress {
  width: 118px;
}

.nsx-th-activity {
  width: 120px;
}

.nsx-cell {
  padding: 11px 14px;
  border-bottom: 1px solid var(--nsm-border-light);
}

.nsx-cell-name {
  padding: 0;
  background: var(--nsm-page);
}

.nsx-cell-muted {
  color: var(--nsm-text-subtle);
}

.nsx-table tbody tr:last-child .nsx-cell {
  border-bottom: 0;
}

.nsx-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11px 14px;
}

.nsx-name-title {
  font-weight: 700;
  color: var(--nsm-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nsx-name-sub {
  font-size: 11.5px;
  color: var(--nsm-text-subtle);
  font-weight: 400;
}

.nsx-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.nsx-pill.is-sent {
  background: var(--nsm-blue-tint);
  color: var(--nsm-primary-dark);
}

.nsx-pill.is-lapsing {
  background: var(--nsm-warning-tint);
  color: var(--nsm-warning-text);
}

.nsx-pill.is-completed {
  background: var(--nsm-success-tint);
  color: var(--nsm-success-text);
}

.nsx-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.nsx-pill.is-sent .nsx-pill-dot {
  background: var(--nsm-sent-dot);
}

.nsx-pill.is-lapsing .nsx-pill-dot {
  background: var(--nsm-warning);
}

.nsx-pill.is-completed .nsx-pill-dot {
  background: var(--nsm-success);
}

.nsx-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nsm-text-2);
}

.nsx-progress {
  display: flex;
  gap: 2px;
  margin-top: 4px;
}

.nsx-seg {
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: var(--nsm-border);
}

.nsx-seg.is-done {
  background: var(--nsm-primary);
}

.nsx-seg.is-completed {
  background: var(--nsm-success);
}

/* ---- nsd: template designer ---- */

.nsd,
.nsd *,
.nsd *::before,
.nsd *::after {
  box-sizing: border-box;
}

.nsd {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  font-family: var(--nsm-font);
  color: var(--nsm-text);
  background: var(--nsm-alt);
  -webkit-font-smoothing: antialiased;
}

.nsd-head {
  background: var(--nsm-navy);
  color: var(--nsm-page);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 16px;
  min-height: 46px;
  flex: none;
}

.nsd-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nsd-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: var(--nsm-on-navy-meta);
  flex: none;
}

.nsd-head-text {
  min-width: 0;
}

.nsd-head-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--nsm-page);
}

.nsd-head-sub {
  display: block;
  font-size: 11px;
  color: var(--nsm-on-navy-meta);
  white-space: nowrap;
}

.nsd-save {
  display: inline-flex;
  align-items: center;
  background: var(--nsm-primary);
  color: var(--nsm-page);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  flex: none;
}

.nsd-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.nsd-tray {
  flex: none;
  width: 238px;
  background: var(--nsm-sunken);
  border-right: 1px solid var(--nsm-border-nav);
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 12px;
  overflow: hidden;
}

.nsd-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nsd-section-fields {
  min-width: 0;
}

.nsd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.nsd-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--nsm-text-subtle);
}

.nsd-collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--nsm-border-strong);
  border-radius: 7px;
  background: var(--nsm-page);
  color: var(--nsm-text-muted);
  font-size: 12px;
  flex: none;
}

.nsd-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--nsm-text-subtle);
}

.nsd-roles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nsd-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 1px solid var(--nsm-border);
  background: var(--nsm-page);
  border-radius: 10px;
  padding: 5px 8px;
}

.nsd-role.is-selected {
  border-color: var(--nsm-primary);
  background: color-mix(in srgb, var(--nsm-primary) 10%, var(--nsm-page));
}

.nsd-role-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--nsm-primary);
  color: var(--nsm-page);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.nsd-role-num-violet {
  background: var(--nsm-violet);
}

.nsd-role-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nsm-text-muted);
}

.nsd-role.is-selected .nsd-role-name {
  color: var(--nsm-text);
}

.nsd-add-role {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--nsm-primary);
  padding: 4px 2px;
}

.nsd-search {
  position: relative;
  display: block;
}

.nsd-search-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nsm-text-subtle);
}

.nsd-search-field {
  display: block;
  background: var(--nsm-page);
  border: 1px solid var(--nsm-border-strong);
  border-radius: 8px;
  padding: 6px 9px 6px 28px;
  font-size: 11.5px;
  color: var(--nsm-text-subtle);
}

.nsd-hint {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--nsm-text-subtle);
}

.nsd-cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nsd-cat {
  display: block;
  border-bottom: 1px solid var(--nsm-border-light);
  padding-bottom: 4px;
}

.nsd-cats .nsd-cat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.nsd-cathead {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 7px;
  padding: 7px 2px;
}

.nsd-caret {
  flex: none;
  color: var(--nsm-text-subtle);
  display: inline-flex;
  transform: rotate(90deg);
}

.nsd-catname {
  flex: 1;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nsm-text-2);
}

.nsd-catcount {
  font-size: 10px;
  font-weight: 700;
  color: var(--nsm-text-subtle);
}

.nsd-catlist {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nsd-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--nsm-border-strong);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--nsm-text-2);
  background: var(--nsm-page);
}

.nsd-chip svg {
  flex: none;
  color: var(--nsm-text-subtle);
}

.nsd-chip.is-selected {
  border-color: var(--nsm-primary);
  background: color-mix(in srgb, var(--nsm-primary) 12%, var(--nsm-page));
  color: var(--nsm-primary);
}

.nsd-chip.is-selected svg {
  color: var(--nsm-primary);
}

.nsd-canvas {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: var(--nsm-canvas);
  padding: 20px;
}

.nsd-page {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  background: var(--nsm-page);
  border-radius: 2px;
  box-shadow: var(--nsm-shadow-doc);
  padding: 28px 32px;
  min-height: 400px;
}

.nsd-doc-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 3px;
}

.nsd-doc-meta {
  font-size: 9px;
  color: var(--nsm-text-subtle);
  margin-bottom: 16px;
}

.nsd-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nsd-lines-intro {
  margin-bottom: 18px;
}

.nsd-lines-body {
  margin-bottom: 22px;
}

.nsd-line {
  height: 6px;
  border-radius: 3px;
  background: var(--nsm-skeleton);
}

.nsd-line-fill {
  flex: 1;
}

.nsd-w100 {
  width: 100%;
}

.nsd-w94 {
  width: 94%;
}

.nsd-w88 {
  width: 88%;
}

.nsd-w72 {
  width: 72%;
}

.nsd-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.nsd-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  border: 2px dashed var(--nsm-primary);
  border-radius: 4px;
  background: color-mix(in srgb, var(--nsm-primary) 10%, transparent);
}

.nsd-fields {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}

.nsd-field-sig {
  flex: 1;
}

.nsd-field-date {
  width: 100px;
}

.nsd-field-init {
  width: 74px;
}

.nsd-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 2px dashed var(--nsm-primary);
  border-radius: 4px;
  background: color-mix(in srgb, var(--nsm-primary) 10%, transparent);
  color: var(--nsm-primary);
  font-size: 10px;
  font-weight: 600;
}

.nsd-box-sig {
  position: relative;
  height: 48px;
}

.nsd-box.is-selected {
  box-shadow: var(--nsm-focus-ring);
}

.nsd-box-violet {
  border-color: var(--nsm-violet);
  background: color-mix(in srgb, var(--nsm-violet) 10%, transparent);
  color: var(--nsm-violet);
}

.nsd-box-tag {
  position: absolute;
  top: -8px;
  left: 6px;
  padding: 0 4px;
  background: var(--nsm-page);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--nsm-primary);
}

.nsd-box-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nsd-caption {
  font-size: 8.5px;
  color: var(--nsm-text-subtle);
  margin-top: 5px;
  border-top: 1px solid var(--nsm-border);
  padding-top: 4px;
}

/* ---- nsk: lobby kiosk ---- */

.nsk,
.nsk *,
.nsk *::before,
.nsk *::after {
  box-sizing: border-box;
}

.nsk {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 440px;
  padding: 56px 34px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--nsm-navy), var(--nsm-navy-2));
  color: var(--nsm-page);
  font-family: var(--nsm-font);
  -webkit-font-smoothing: antialiased;
}

.nsk-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.nsk-glow-cyan {
  width: 520px;
  height: 520px;
  top: -170px;
  left: -120px;
  background: radial-gradient(circle at 50% 50%, rgba(53,198,232,.6), rgba(53,198,232,0) 70%); /* handoff value, no token */
}

.nsk-glow-blue {
  width: 460px;
  height: 460px;
  bottom: -190px;
  right: -90px;
  background: radial-gradient(circle at 50% 50%, rgba(22,135,199,.65), rgba(22,135,199,0) 70%); /* handoff value, no token */
}

.nsk-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); /* handoff value, no token */
  background-size: 26px 26px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 40%, transparent 78%); /* handoff value, no token */
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 40%, transparent 78%); /* handoff value, no token */
}

.nsk-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nsk-eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nsm-cyan-light);
  margin-bottom: 14px;
}

.nsk-title {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--nsm-page);
  max-width: 14ch;
  text-wrap: balance;
}

.nsk-lede {
  margin: 0 0 40px;
  max-width: 30ch;
  font-size: 19px;
  color: rgba(255,255,255,.9); /* handoff value, no token */
  line-height: 1.55;
  text-wrap: pretty;
}

.nsk-cta {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 2px;
  background: rgba(255,255,255,.14); /* handoff value, no token */
  box-shadow: var(--nsm-shadow-kiosk);
}

.nsk-cta-label {
  position: relative;
  z-index: 1;
  display: block;
  background: var(--nsm-cyan);
  color: var(--nsm-ink);
  border-radius: 999px;
  padding: 18px 52px;
  font-size: 21px;
  font-weight: 800;
}

.nsk-foot {
  margin-top: 44px;
  font-size: 13px;
  color: rgba(255,255,255,.8); /* handoff value, no token */
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ---- nsc: signing ceremony ---- */

.nsc,
.nsc *,
.nsc *::before,
.nsc *::after {
  box-sizing: border-box;
}

.nsc {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 620px;
  overflow: hidden;
  background: var(--nsm-alt);
  font-family: var(--nsm-font);
  color: var(--nsm-text);
  -webkit-font-smoothing: antialiased;
}

.nsc-head {
  background: var(--nsm-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  flex: none;
}

.nsc-logo {
  height: 22px;
  width: auto;
}

.nsc-head-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nsc-step {
  font-size: 11.5px;
  color: var(--nsm-on-navy-meta-2);
}

.nsc-body {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.nsc-canvas {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: var(--nsm-canvas);
  padding: 14px 18px;
}

.nsc-page {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background: var(--nsm-page);
  border-radius: 2px;
  box-shadow: var(--nsm-shadow-doc);
  padding: 34px 38px;
  min-height: 520px;
}

.nsc-doc-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 3px;
}

.nsc-doc-meta {
  font-size: 9.5px;
  color: var(--nsm-text-subtle);
  margin-bottom: 18px;
}

.nsc-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nsc-lines-intro {
  margin-bottom: 22px;
}

.nsc-lines-body {
  margin-bottom: 20px;
}

.nsc-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--nsm-skeleton);
}

.nsc-w100 {
  width: 100%;
}

.nsc-w96 {
  width: 96%;
}

.nsc-w92 {
  width: 92%;
}

.nsc-w88 {
  width: 88%;
}

.nsc-w78 {
  width: 78%;
}

.nsc-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--nsm-text-subtle);
  margin-bottom: 8px;
}

.nsc-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.nsc-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px dashed var(--nsm-primary);
  border-radius: 4px;
  background: color-mix(in srgb, var(--nsm-primary) 10%, transparent);
  color: var(--nsm-primary);
}

.nsc-check-text {
  font-size: 10.5px;
  color: var(--nsm-text-2);
}

.nsc-fields {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  margin-top: 34px;
}

.nsc-field-sig {
  flex: 1;
}

.nsc-field-date {
  width: 110px;
}

.nsc-field-init {
  width: 64px;
}

.nsc-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 2px dashed var(--nsm-primary);
  border-radius: 4px;
  background: color-mix(in srgb, var(--nsm-primary) 10%, transparent);
  color: var(--nsm-primary);
  font-size: 10px;
  font-weight: 600;
}

.nsc-box-sign {
  height: 52px;
  border-color: var(--nsm-sign-orange);
  background: color-mix(in srgb, var(--nsm-sign-orange) 10%, transparent);
  color: var(--nsm-sign-orange);
}

.nsc-box-initials {
  border-color: var(--nsm-initials-green);
  background: color-mix(in srgb, var(--nsm-initials-green) 10%, transparent);
  color: var(--nsm-initials-green);
}

.nsc-box-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nsc-caption {
  font-size: 9px;
  color: var(--nsm-text-subtle);
  margin-top: 5px;
  border-top: 1px solid var(--nsm-border);
  padding-top: 4px;
}

.nsc-rail {
  flex: none;
  width: 300px;
  display: flex;
  flex-direction: column;
  background: var(--nsm-page);
  border-left: 1px solid var(--nsm-border);
}

.nsc-rail-head {
  padding: 12px 12px 8px;
  border-bottom: 1px solid var(--nsm-border-light);
}

.nsc-rail-title {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nsc-rail-sub {
  font-size: 10.5px;
  color: var(--nsm-text-subtle);
}

.nsc-actions {
  padding: 8px 12px;
  border-bottom: 1px solid var(--nsm-border-light);
}

.nsc-actions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.nsc-actions-title {
  font-size: 12.5px;
  font-weight: 700;
}

.nsc-actions-count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nsm-primary);
}

.nsc-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--nsm-border-nav);
  overflow: hidden;
}

/* The fill's width is per-instance data and stays inline on the element (style="width:75%"). */
.nsc-progress-fill {
  height: 100%;
  background: var(--nsm-primary);
}

.nsc-list {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Checklist rows: base = pending. .is-done looks the same as pending in the handoff (the trailing
   .nsc-row-check is what marks it) so it carries no rule of its own; .is-current is the live one. */
.nsc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: var(--nsm-page);
  border: 1px solid var(--nsm-border);
  border-radius: 10px;
}

.nsc-row.is-current {
  background: rgba(22,135,199,.06); /* handoff value, no token */
  border-color: var(--nsm-primary);
  box-shadow: var(--nsm-shadow-card);
}

.nsc-row-icon {
  flex: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--nsm-page);
  background: var(--nsm-primary);
}

.nsc-row-icon-sign {
  background: var(--nsm-sign-orange);
}

.nsc-row-icon-initials {
  background: var(--nsm-initials-green);
}

.nsc-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nsc-row-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
}

.nsc-badge {
  flex: none;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.nsc-badge.is-required {
  color: var(--nsm-maple);
  background: rgba(237,28,36,.09); /* handoff value, no token */
}

.nsc-row-sub {
  font-size: 10.5px;
  color: var(--nsm-text-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nsc-row-check {
  flex: none;
  color: var(--nsm-success);
}

.nsc-foot {
  padding: 12px;
  border-top: 1px solid var(--nsm-border-light);
}

.nsc-finish {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nsm-success);
  color: var(--nsm-page);
  border-radius: 10px;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
