/*
Objekt's entrance card on the root portal. Scoped to .sys-obj; loaded by the
portal only. Mirrors the day-sheet tokens by value, under the same role names:
a lead-stock strip with a vertical display word and barcode, on the ground,
a mark-stock tag, a serial plate, and a stamp button with the hard
sticker-lift shadow. Print rules: no radius, no blur, no chroma.
*/

.sys-obj {
  --ground: #d7d5d0;
  --stock-lead: #161616;
  --stock-mark: #c7ac83;
  --ink: #1a1a1a;
  --ink-on-lead: #eae7df;

  background: var(--ground);
  color: var(--ink);
  display: flex;
  gap: 16px;
  padding: 14px;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

/* the vertical sticker strip */
.sys-obj .strip {
  flex: none;
  width: 74px;
  background: var(--stock-lead);
  color: var(--ink-on-lead);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 12px;
}

.sys-obj h3 {
  margin: 0;
  font-family: "Anton", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sys-obj .barcode {
  width: 44px;
  height: 30px;
  color: var(--ink-on-lead);
}

.sys-obj .side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.sys-obj .tag {
  background: var(--stock-mark);
  color: var(--ink);
  padding: 3px 8px;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sys-obj .serial {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.8;
  border-top: 3px solid var(--ink);
  padding-top: 8px;
  align-self: stretch;
}

.sys-obj p.blurb {
  margin: 0;
  flex: 1;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink);
}

.sys-obj .enter {
  display: inline-block;
  background: var(--stock-lead);
  color: var(--ink-on-lead);
  padding: 9px 14px;
  text-decoration: none;
  font-family: "Anton", "Arial Narrow", Impact, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.1s, box-shadow 0.1s;
}

/* sticker lift: the system's one motion - hard offset shadow, no blur */
.sys-obj .enter:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.sys-obj .enter:active {
  transform: none;
  box-shadow: none;
}

.sys-obj .enter:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sys-obj .enter { transition: none; }
}

.sys-obj .stamp {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 1.5px solid var(--ink);
  padding: 2px 7px;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}
