/* New products tab (newprod.js, 29 Oct 2026): cards with a coloured stage strip. Green = done, amber = in progress,
   grey = not yet, red = needs a look, dashed = coming next (Google, Amazon, eBay: E2). */
.np-intro { color: #4a4a4a; margin: 0 0 10px; }
.np-beta { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: #0a6c8a; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; vertical-align: 1px; }
.np-held { font-size: 12.5px; color: #616161; margin: 14px 0 0; }
.np-list > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.np-card { border: 1px solid #e3e3e3; border-radius: 12px; background: #fff; padding: 12px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.np-card.np-is-stuck { border-color: #f1b8a8; }
.np-head { display: flex; gap: 12px; align-items: flex-start; }
.np-head img, .np-nophoto { width: 52px; height: 52px; border-radius: 8px; object-fit: contain; background: #f4f4f4; flex: none; }
.np-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.np-title b { font-size: 14px; line-height: 1.3; }
.np-code { font-size: 12px; color: #616161; overflow-wrap: anywhere; }
.np-flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.np-flag { font-size: 11.5px; padding: 1px 7px; border-radius: 10px; background: #f1f1f1; color: #4a4a4a; }
.np-flag-maker { background: #fff1d6; color: #7a5200; }
.np-flag-live { background: #dff6e6; color: #1f7a3d; }
.np-flag-reported { background: #e8eefc; color: #1d4ab0; }
.np-reported { margin: 6px 0 0; padding: 6px 8px; background: #f1f5fd; border-left: 3px solid #1d4ab0; font-size: 13px; }
.np-reported .np-sub { color: #5f6b67; }
.np-toggle, .np-btn { font: inherit; font-size: 12.5px; padding: 4px 10px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; cursor: pointer; flex: none; }
.np-toggle:hover, .np-btn:hover { background: #f7f7f7; }
.np-stuck { margin: 8px 0 0; padding: 6px 10px; border-radius: 8px; background: #fff0eb; color: #8e1f0b; font-size: 13px; }
.np-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 4px; font-size: 13px; }
.np-fact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.np-k { color: #616161; }
.np-miss { color: #8a6500; }
.np-src { display: inline-block; font-size: 11px; color: #6d6d6d; background: #f4f4f4; border-radius: 6px; padding: 0 5px; margin-left: 2px; font-weight: 400; }

/* the strip: five stages in a row on a wide screen, a list on a phone */
.np-strip { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.np-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 60%; }
.np-st { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 12px; color: #4a4a4a; }
.np-st-bar { height: 7px; border-radius: 4px; background: #e3e3e3; }
.np-st-name { font-weight: 650; color: #303030; }
.np-st-text { line-height: 1.35; overflow-wrap: anywhere; }
.np-st .np-src { align-self: flex-start; margin: 0; }
.np-done .np-st-bar { background: #2e9e57; }
.np-doing .np-st-bar { background: #e6a400; }
.np-warn .np-st-bar { background: #d4472a; }
.np-unknown .np-st-bar { background: repeating-linear-gradient(45deg, #e3e3e3 0 5px, #f4f4f4 5px 10px); }
.np-next .np-st-bar { background: none; border: 1.5px dashed #c9c9c9; height: 4px; }
.np-next { color: #8a8a8a; }
.np-next .np-st-name { color: #6d6d6d; }
.np-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.np-more { margin-top: 10px; padding-top: 8px; border-top: 1px solid #f0f0f0; font-size: 13px; }
.np-more h4 { margin: 10px 0 4px; font-size: 13px; }
.np-more ul { margin: 0; padding-left: 18px; }
.np-links { margin: 0; }
.np-sub { color: #616161; margin: 4px 0; }
.np-notes { white-space: pre-wrap; margin: 0; }
.np-hist pre { white-space: pre-wrap; font: inherit; font-size: 12px; color: #616161; margin: 4px 0 0; }
.np-form { display: grid; gap: 8px; margin-top: 10px; max-width: 640px; }
.np-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.np-form label.np-check { flex-direction: row; align-items: center; gap: 8px; }
.np-form textarea { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid #c9c9c9; border-radius: 8px; }
.np-actions { display: flex; gap: 8px; }
.np-actions button { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 8px; border: 1px solid #c9c9c9; background: #fff; cursor: pointer; }
.np-actions button.primary { background: #303030; color: #fff; border-color: #303030; }
.np-ns { margin: 0 0 8px; padding: 6px 10px; border-radius: 8px; background: #fff4d6; color: #6b4e00; font-size: 13px; }

@media (max-width: 760px) {
  .np-strip, .np-channels { grid-template-columns: 1fr; max-width: none; gap: 8px; }
  .np-st { display: grid; grid-template-columns: 10px 1fr; column-gap: 8px; }
  .np-st-bar { grid-row: 1 / span 3; width: 7px; height: auto; }
  .np-next .np-st-bar { width: 4px; height: auto; }
  .np-st-name, .np-st-text { grid-column: 2; }
  .np-st .np-src { grid-column: 2; justify-self: start; }
  .np-card { padding: 10px; }
}

/* Under each card: Ask Claude / report a problem, Ignore / Bring back (29 Oct 2026) */
.np-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
.np-link { font: inherit; font-size: 13px; padding: 2px 0; border: 0; background: none; color: #005bd3; cursor: pointer; }
.np-link:hover { text-decoration: underline; }
.np-muted { color: #616161; }
.np-inline { display: grid; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f6f8f7; max-width: 640px; }
.np-inline label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.np-inline textarea, .np-inline input { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; }
.np-inline .np-sub { margin: 0; font-size: 12px; }
.np-rules { margin-top: 14px; font-size: 13px; }
.np-rules summary { cursor: pointer; font-weight: 600; }
.np-rules ul { margin: 6px 0; padding-left: 18px; }
.np-ruleform { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.np-ruleform input { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid #c9c9c9; border-radius: 8px; min-width: 220px; }


/* Create product page / Add as a colour (E3, 29 Oct 2026): the buttons and the confirm box */
.np-make { border-color: #0a6c8a; color: #0a6c8a; font-weight: 600; }
.np-plan p { margin: 0; font-size: 13px; line-height: 1.45; }
.np-tablewrap { overflow-x: auto; }
.np-table { border-collapse: collapse; font-size: 12.5px; min-width: 100%; }
.np-table th, .np-table td { text-align: left; padding: 4px 8px 4px 0; border-bottom: 1px solid #e6e9e7; vertical-align: top; white-space: nowrap; }
.np-table th { font-weight: 650; color: #4a4a4a; }
.np-warnings { margin: 0; padding: 6px 10px 6px 26px; border-radius: 8px; background: #fff6e0; color: #6b4b00; font-size: 12.5px; }
.np-warnings li + li { margin-top: 2px; }

/* Claude at work (E3, Joshua 29 Oct 2026: "a flashing icon … Building product page") */
.np-building { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #e8f3f7; color: #0a4f66; font-size: 13px; }
.np-flag-building { display: inline-flex; align-items: center; gap: 5px; background: #e8f3f7; color: #0a4f66; font-weight: 600; }
.np-flag-late { background: #fff6e0; color: #6b4b00; font-weight: 600; }   /* 4 working hours without the page (Fable, 4 Nov 2026) */
.np-pulse { width: 9px; height: 9px; border-radius: 50%; background: #0a6c8a; flex: none; animation: np-pulse 1.2s ease-in-out infinite; }
@keyframes np-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.7); } }
.np-wait { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #303030; }
.np-spin { width: 14px; height: 14px; border: 2px solid #c9dfe6; border-top-color: #0a6c8a; border-radius: 50%; flex: none; animation: np-spin .8s linear infinite; }
@keyframes np-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .np-pulse, .np-spin { animation: none; } }

/* The table for Chris's trade sheets (4 Nov 2026): every NetSuite item this year, live ones too */
.np-tablebox .np-sub { margin: 0 0 8px; }
.np-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.np-filters select { font: inherit; font-size: 13px; padding: 3px 6px; }
.np-sort { font: inherit; font-weight: 650; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.np-sort:hover, .np-sort:focus-visible { text-decoration: underline; }
.np-tablebox .np-table { font-size: 13px; }
.np-tablebox .np-table td.np-name { white-space: normal; min-width: 220px; }
.np-tablebox .np-table td.np-num, .np-tablebox .np-table th.np-num { text-align: right; font-variant-numeric: tabular-nums; }
