/* RFPvault.io · Direction C: Brutalist Slab · component library
   See docs/superpowers/specs/2026-06-09-rfpvault-redesign-design.md */

/* Utility guarantee: .hidden ALWAYS wins, including over per-page
   modal wrappers that set display: flex after tailwind.css loads. */
.hidden { display: none !important; }

/* ============ MASTHEAD ============ */
.masthead {
  display: flex;
  align-items: stretch;
  background: var(--paper);
  border-bottom: var(--b-rule);
  font-family: var(--font-body);
}
.masthead .brand {
  padding: 18px 24px;
  border-right: var(--b-rule);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.masthead .brand .dot { color: var(--signal); }
.masthead .brand img { width: 24px; height: 24px; margin-right: -6px; }
.masthead .navrow {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow-x: auto;
}
.masthead .navrow a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
}
.masthead .navrow a:hover { box-shadow: 0 2px 0 var(--ink); }
.masthead .navrow a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}
.masthead .navrow a.is-active:focus-visible {
  outline-color: var(--ink);
}
.masthead .navrow a.is-active {
  background: var(--hilite);
  padding: 4px 8px;
}
.masthead .right {
  padding: 14px 22px;
  border-left: var(--b-rule);
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
}
.masthead .right .who { font-weight: 700; font-family: var(--font-body); font-size: 13px; }
.masthead .right .org {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.7);
}
.masthead .right .signout {
  margin-top: 6px;
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.masthead .right .signout:hover {
  color: var(--signal);
}
.masthead .right .signout:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
.masthead .nav-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  min-width: 18px;
  text-align: center;
  vertical-align: 1px;
}
.masthead .nav-badge.hidden { display: none; }
.masthead-bell {
  padding: 14px 18px;
  border-left: var(--b-rule);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 18px;
  cursor: pointer;
  position: relative;
}
.masthead-bell:hover { background: var(--hilite); }
.masthead-bell:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: -3px;
}
.masthead-bell .nav-badge {
  position: absolute;
  top: 8px;
  right: 6px;
  margin-left: 0;
}
.masthead .menu-toggle {
  display: none;
  padding: 14px 18px;
  border-left: var(--b-rule);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ============ BUILDER SUB-NAV ============ */
.builder-subnav {
  background: var(--paper);
  border-bottom: var(--b-rule);
  width: 100%;
}
.builder-subnav .bn-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  flex-wrap: wrap;
}
.builder-subnav .bn-brand {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.builder-subnav .bn-link {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  white-space: nowrap;
  text-transform: uppercase;
}
.builder-subnav .bn-link:hover { box-shadow: 0 2px 0 var(--ink); }
.builder-subnav .bn-link.is-active {
  background: var(--hilite);
  padding: 4px 8px;
}
.builder-subnav .bn-link:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}
.builder-subnav .bn-link.is-active:focus-visible { outline-color: var(--ink); }
.builder-subnav .bn-back {
  margin-left: auto;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.builder-subnav .bn-back:hover { box-shadow: 0 2px 0 var(--ink); }
.builder-subnav .bn-back:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

/* ============ BUTTONS (stamp) ============ */
.btn-stamp {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: var(--b-rule);
  box-shadow: var(--shadow-stamp);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-stamp:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--signal);
}
.btn-stamp:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-stamp);
}
.btn-stamp:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}
.btn-stamp.signal:focus-visible {
  outline-color: var(--ink);
}
.btn-stamp.signal {
  background: var(--signal);
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-stamp.signal:hover { box-shadow: 8px 8px 0 var(--ink); }
.btn-stamp.outline {
  background: var(--paper);
  color: var(--ink);
}
.btn-stamp:disabled,
.btn-stamp.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

/* ============ TYPOGRAPHY UTILITIES ============ */
.display-xl { font-family: var(--font-display); font-size: var(--t-display-xl); line-height: 0.85; letter-spacing: -0.04em; text-transform: uppercase; }
.display-l  { font-family: var(--font-display); font-size: var(--t-display-l);  line-height: 0.85; letter-spacing: -0.04em; text-transform: uppercase; }
.display-m  { font-family: var(--font-display); font-size: var(--t-display-m);  line-height: 0.9;  letter-spacing: -0.03em; text-transform: uppercase; }
.serif-it   { font-family: var(--font-serif); font-style: italic; text-transform: none; font-weight: 400; }
.mono       { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.label      {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============ HERO ============ */
.hero {
  padding: 40px 28px 32px;
  border-bottom: var(--b-rule);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: end;
}
.hero .h1 {
  font-family: var(--font-display);
  font-size: var(--t-display-l);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
}
.hero .h1 .pink { color: var(--signal); }
.hero .blurb {
  font-size: 15px;
  line-height: 1.5;
  border-left: var(--b-rule);
  padding-left: 14px;
}

/* ============ STAT GRID ============ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 22px 22px 18px;
  border-right: var(--b-rule);
  border-bottom: var(--b-rule);
}
.stat:last-child { border-right: none; }
.stat .l {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.stat .v {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  margin-top: 8px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stat .delta {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 8px;
}
.stat.signal { background: var(--ink); color: var(--paper); }
.stat.signal .v { color: var(--signal); }
.stat.signal .l { color: var(--hilite); }

/* ============ PULL QUOTE ============ */
.pull {
  padding: 28px 28px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-bottom: var(--b-rule);
}
.pull .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.pull .quote .mark { color: var(--signal); }
.pull .attr {
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ============ MATRIX SCORECARD ============ */
.matrix {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  margin-top: 22px;
  border: var(--b-rule);
}
.matrix .h, .matrix .cell {
  padding: 14px 16px;
  border-right: var(--b-rule);
  border-bottom: var(--b-rule);
}
.matrix .h:last-child,
.matrix .cell:nth-child(4n) { border-right: none; }
.matrix .row-last .cell { border-bottom: none; }
.matrix .h {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.matrix .h.own { background: var(--signal); }
.matrix .vendor {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
}
.matrix .status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
  display: inline-block;
  padding: 2px 8px;
  border: var(--b-hair);
}
.matrix .status.native { background: var(--paper); }
.matrix .status.addon  { background: var(--hilite); }
.matrix .status.absent { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.matrix .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 8px;
}
.matrix .own-cell { background: var(--ink); color: var(--paper); }
.matrix .own-cell .status.native { background: var(--hilite); color: var(--ink); border-color: var(--hilite); }

/* ============ RIBBON ============ */
.ribbon {
  display: inline-block;
  background: var(--signal);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  text-transform: uppercase;
}
.ribbon.hilite { background: var(--hilite); color: var(--ink); }
.ribbon.ink    { background: var(--ink);    color: var(--paper); }

/* ============ PILL ============ */
.pill {
  display: inline-block;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: var(--b-hair);
  background: var(--paper);
}
.pill.native { background: var(--paper); }
.pill.addon  { background: var(--hilite); }
.pill.absent { background: var(--signal); color: var(--ink); border-color: var(--signal); }

/* ============ INPUT ============ */
.input-brutal {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  border: var(--b-rule);
  border-radius: 0;
  font: 400 15px/1.4 var(--font-body);
  box-sizing: border-box;
}
.input-brutal:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
  background: #FAF7EF;
}
.input-brutal.is-error {
  border-color: var(--signal);
  background: #FFF0F5;
}
.input-brutal::placeholder {
  color: rgba(10,10,10,0.4);
}
textarea.input-brutal { resize: vertical; min-height: 96px; font-family: var(--font-body); }
select.input-brutal { appearance: none; background-image: linear-gradient(135deg, transparent 50%, var(--ink) 50%, var(--ink) 70%, transparent 70%); background-position: right 16px center; background-size: 8px 8px; background-repeat: no-repeat; padding-right: 36px; }

/* Labels above inputs */
.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ============ TABLE ============ */
.table-brutal {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.table-brutal thead th {
  text-align: left;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: var(--b-rule);
  background: var(--paper);
  color: var(--ink);
}
.table-brutal tbody td {
  padding: 12px;
  border-bottom: var(--b-hair);
  vertical-align: middle;
}
.table-brutal tbody tr.full td { background: var(--hilite); }
.table-brutal tbody tr:hover td { background: rgba(10,10,10,0.04); }
.table-brutal .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }

/* ============ EMPTY STATE ============ */
.empty-state {
  padding: 64px 32px;
  text-align: center;
  border: var(--b-rule);
  background: var(--paper);
}
.empty-state .display {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}
.empty-state .sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  margin: 14px 0 28px;
  color: rgba(10,10,10,0.7);
}

/* ============ TOAST ============ */
.toast-brutal {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--ink);
  color: var(--paper);
  border-left: 4px solid var(--signal);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  max-width: 360px;
  opacity: 1;
  transition: opacity .25s ease;
}
.toast-brutal.is-fading { opacity: 0; }
.toast-brutal .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hilite);
  margin-bottom: 4px;
}

/* ============ TOOLTIP ============ */
.brutal-tip {
  position: fixed;
  z-index: 10000;
  background: var(--paper);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 10px 14px;
  width: 280px;
  font: 400 13px/1.45 var(--font-body);
  pointer-events: none;
  opacity: 0;
  animation: brutal-tip-in .15s ease forwards;
}
.brutal-tip-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}
.brutal-tip p { margin: 0; }
@keyframes brutal-tip-in {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .brutal-tip { animation: none; opacity: 1; }
}

/* ============ CONTAINERS ============ */
.brutal-page { padding: 32px; max-width: 1440px; margin-left: auto; margin-right: auto; }
.brutal-main {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.brutal-main .auth-split {
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}
.brutal-section { padding: 24px 28px; border-bottom: var(--b-rule); }
.brutal-section h2 { font-family: var(--font-display); font-size: 28px; margin: 0 0 14px; }

/* ============ LOGIN/AUTH SPLIT ============ */
.auth-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 100vh;
}
.auth-split .left {
  padding: 64px 48px;
  border-right: var(--b-rule);
  background: var(--paper);
  position: relative;
}
.auth-split .left .tag {
  display: inline-block;
  background: var(--ink);
  color: var(--hilite);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 5px 10px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.auth-split .left h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
}
.auth-split .left h1 .pink { color: var(--signal); }
/* The italic serif line has a descender (the y) that the 0.85 line-height
   of the all-caps display lines does not reserve room for. */
.auth-split .left h1 .serif-it { line-height: 1.18; }
.auth-split .left .sub {
  font-size: 16px;
  margin-top: 24px;
  max-width: 38ch;
  line-height: 1.5;
}
.auth-split .right { padding: 56px 40px; background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.auth-split .right h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 22px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1023px) {
  .masthead .navrow { display: none; }
  .masthead .menu-toggle { display: block; }
  .masthead .right { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero .h1 { font-size: clamp(40px, 8vw, 64px); }
  .pull { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr; }
  .matrix .h, .matrix .cell { border-right: none; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-split .left { border-right: none; border-bottom: var(--b-rule); }
}

@media (max-width: 639px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .hero .h1 { font-size: 40px; }
  .empty-state .display { font-size: 36px; }
}

/* ============ PRINT ============ */
@media print {
  .masthead, .btn-stamp, .toast-brutal, .brutal-tip { display: none !important; }
  body { background: white; color: black; }
  .matrix, .table-brutal, .stat, .hero { break-inside: avoid; }
  a { color: inherit; text-decoration: underline; }
}

/* ============ PRODUCT TREE (aligned grid) ============ */
.products-tree {
  display: grid;
  grid-template-columns:
    minmax(220px, 1fr)   /* name + pill + description */
    140px                /* metrics */
    180px                /* primary stamp (VIEW CAPABILITIES) */
    140px                /* secondary stamp (+ ADD child) */
    160px;               /* action text links (EDIT/PROMOTE/DELETE) */
  border-top: var(--b-rule);
  border-bottom: var(--b-rule);
}
.products-tree .prow { display: contents; }
.products-tree .prow > * {
  padding: 18px 12px;
  border-bottom: var(--b-rule);
  /* Cells must stretch: with align-self center every cell shrank to its own
     content height, so each cell's border-bottom landed at a different
     vertical position and row rules became a staircase. Content is centered
     by the flex inside each cell instead. */
  min-width: 0;
}
.products-tree .prow > *:first-child { padding-left: 20px; }
.products-tree .prow > *:last-child  { padding-right: 20px; }

/* indentation per nesting level; child rows separate with hairlines so the
   thick rules only frame solution-level groups */
.products-tree .prow.lvl-1 > *:first-child { padding-left: 44px; }
.products-tree .prow.lvl-1 > *  {
  background: rgba(10,10,10,0.025);
  border-bottom: var(--b-hair);
  padding-top: 14px; padding-bottom: 14px;
}
.products-tree .prow.lvl-2 > *:first-child { padding-left: 68px; }
.products-tree .prow.lvl-2 > *  {
  background: rgba(10,10,10,0.05);
  border-bottom: var(--b-hair);
  padding-top: 10px; padding-bottom: 10px;
}

/* Cell 1: name */
.products-tree .pcell-name { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.products-tree .pcell-name .ptoggle {
  font-family: var(--font-mono); font-size: 11px;
  padding: 3px 7px; border: var(--b-hair); background: var(--paper);
  cursor: pointer; flex-shrink: 0;
}
.products-tree .pcell-name .pname {
  font-family: var(--font-display);
  line-height: 1; letter-spacing: -0.03em; text-transform: uppercase;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0;
}
.products-tree .prow.lvl-0 .pname { font-size: 22px; }   /* SOLUTION or top-level PRODUCT */
.products-tree .prow.lvl-1 .pname { font-size: 18px; }   /* PRODUCT under SOLUTION */
.products-tree .prow.lvl-2 .pname {
  font-family: var(--font-serif); font-style: italic;
  text-transform: none; font-size: 19px;
}
.products-tree .pcell-name .pdesc {
  font-family: var(--font-serif); font-style: italic;
  font-size: 13px; color: rgba(10,10,10,0.6);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; flex-shrink: 1;
}
.products-tree .prow.lvl-2 .pdesc {
  font-family: var(--font-mono); font-style: normal;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}

/* Type pill */
.products-tree .ptype {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 7px; border: var(--b-hair); flex-shrink: 0;
}
.products-tree .ptype.solution { background: var(--hilite); }
.products-tree .ptype.product  { background: var(--paper); }
.products-tree .ptype.version  { background: rgba(10,10,10,0.08); border-color: rgba(10,10,10,0.4); font-size: 11px; padding: 2px 6px; }

/* Cell 2: metrics */
.products-tree .pcell-metrics {
  display: flex; gap: 5px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  justify-content: flex-end;
  align-items: center;
}
.products-tree .pcell-metrics span {
  padding: 2px 7px; border: var(--b-hair); background: var(--paper); white-space: nowrap;
}
/* empty placeholder cells stay visible so their background keeps the row
   band continuous; they simply have no content */

/* below 1280px the inline descriptions squeeze the names into ellipsis;
   the name always wins */
@media (max-width: 1280px) {
  .products-tree .pdesc { display: none; }
}

/* Cell 3: primary stamp */
.products-tree .pcell-primary { display: flex; justify-content: flex-start; align-items: center; }
.products-tree .pbtn-primary {
  background: var(--signal); color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 8px 14px; border: 2px solid var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.products-tree .pbtn-primary:hover { background: var(--ink); color: var(--paper); }

/* Cell 4: secondary stamp */
.products-tree .pcell-secondary { display: flex; justify-content: flex-start; align-items: center; }
.products-tree .pbtn-secondary {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 7px 13px; border: 2px solid var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}

/* Cell 5: action links */
.products-tree .pbtn-secondary:hover { background: var(--hilite); }
.products-tree .pcell-actions {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(10,10,10,0.7);
  display: flex; gap: 5px; align-items: center;
  white-space: nowrap; flex-wrap: wrap;
}
.products-tree .pcell-actions a {
  color: rgba(10,10,10,0.7); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.products-tree .pcell-actions a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.products-tree .pcell-actions a.destructive { color: var(--signal); }
.products-tree .pcell-actions a.destructive:hover { border-bottom-color: var(--signal); }
.products-tree .pcell-actions .psep { color: rgba(10,10,10,0.3); }


/* ============ Products page hero CTAs: clean stamps, no shadow ============ */
.products-page .btn-stamp,
.products-page .btn-stamp.signal,
.products-page .btn-stamp.outline {
  box-shadow: none;
  padding: 10px 18px;
  font-size: 12px;
}
.products-page .btn-stamp:hover { transform: none; box-shadow: 4px 4px 0 var(--signal); }
.products-page .btn-stamp.signal:hover { box-shadow: 4px 4px 0 var(--ink); }
