/* Assets — NFC asset tagging (docs/design_handoff_assets, 30/10/2026).
 * The register and the asset page reuse the existing classes (.view-head, .chip,
 * table.data, .pill, .pd-*, .fin-stats); this sheet holds only what the README's
 * "New CSS" lists — .as-tag, .as-tag-disc, .pd-kv, .as-critical — plus the
 * signed-out found page (.as-found-*), which has no shell around it.
 * Tokens only, weights 400/500. */

/* ── The register ─────────────────────────────────────────────────────────── */
.as-critical { margin-left: 8px; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--attn-ink); font-weight: 500; }
.as-code { color: var(--text-secondary); }
.as-uid { font-family: var(--font-technical); color: var(--text-secondary); font-size: 12.5px; }
.as-untagged { color: var(--attn-ink); }
.as-due { color: var(--attn-ink); }
.as-overdue { color: var(--status-error); }
.as-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.as-chips .as-chips-end { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.as-table { margin-top: 18px; }
.as-table tbody tr { cursor: pointer; }
.as-table tr.as-retired td { opacity: 0.6; }
.as-table th[data-sort] { cursor: pointer; }
.as-num { font-family: var(--font-technical); color: var(--anchor); }
.as-table tr.attn .as-num { color: var(--attn-ink); }
.as-pager { margin-top: 14px; color: var(--text-secondary); font-size: 13px; }
.as-search { flex: 0 1 340px; min-width: 220px; }
.as-register .view-head .btn { white-space: nowrap; }
/* A row that wants something: the orange inset on the first cell only, as the board draws it. */
table.data.as-table tbody tr.attn td { box-shadow: none; }
table.data.as-table tbody tr.attn td:first-child { box-shadow: inset 3px 0 0 var(--brand-orange); }
.as-stat-of { font-size: 0.42em; color: var(--text-secondary); margin-left: 4px; }
.fin-stats .as-stat-attn { color: var(--attn-ink); }
.fin-stats .as-stat-error { color: var(--status-error); }

/* ── The asset ────────────────────────────────────────────────────────────── */
.as-head-num { font-family: var(--font-technical); color: var(--anchor); font-weight: 400; margin-right: 18px; }
.as-head-pill { margin-left: auto; align-self: center; }
.as-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.as-checks { display: grid; grid-template-columns: 110px 1fr auto; gap: 0 18px; margin-top: 10px; }
.as-checks > div { padding: 12px 0; border-bottom: 1px solid var(--hair-soft); }
.as-checks .as-when { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }
.as-checks .as-when.due { color: var(--attn-ink); }
.as-checks .as-when.overdue { color: var(--status-error); }
.as-sec-h { margin-top: 34px; }
.as-hist-meta { color: var(--text-secondary); }
.as-hist-note { display: block; color: var(--text-secondary); margin-top: 2px; }

.as-tag { border: 1px solid var(--hair); border-radius: var(--radius-lg); padding: 18px 22px; margin-top: 28px; }
.as-tag-top { display: flex; gap: 16px; align-items: center; }
.as-tag-disc { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 999px; background: color-mix(in srgb, var(--anchor) 12%, transparent); color: var(--anchor);
  display: inline-flex; align-items: center; justify-content: center; }
.as-tag-t { font-size: 15px; font-weight: 500; }
.as-tag-s { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.as-tag-rows { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin-top: 14px; font-size: 14px; }
.as-tag-rows dt { color: var(--text-secondary); }
.as-tag-rows dd { margin: 0; font-family: var(--font-technical); overflow-wrap: anywhere; }
.as-tag-acts { display: flex; gap: 20px; margin-top: 14px; }

.pd-kv { display: grid; grid-template-columns: 130px 1fr; margin-top: 10px; font-size: 14px; }
.pd-kv > dt, .pd-kv > dd { padding: 12px 0; border-bottom: 1px solid var(--hair-soft); margin: 0; }
.pd-kv > dt { color: var(--text-secondary); padding-right: 12px; }
.pd-kv > dd { overflow-wrap: anywhere; }
.as-edit { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
  border-bottom: 1px dashed var(--hair); min-height: 24px; letter-spacing: inherit; }
.as-edit:hover { border-bottom-color: var(--anchor); }
.pd-kv .as-muted { color: var(--text-secondary); }

@media (max-width: 760px) {
  .as-chips .as-chips-end { margin-left: 0; }
  .as-search { min-width: 0; width: 100%; }
  .as-checks { grid-template-columns: 90px 1fr auto; }
  .pd-kv { grid-template-columns: 110px 1fr; }
}

/* ── The found page (signed out, /a/{number}) ─────────────────────────────── */
.as-found { position: fixed; inset: 0; overflow-y: auto; background: var(--brand-navy); color: var(--brand-white);
  font-family: var(--font-sans); padding: calc(env(safe-area-inset-top, 0px) + 40px) 24px calc(env(safe-area-inset-bottom, 0px) + 32px);
  box-sizing: border-box; display: flex; flex-direction: column; z-index: 50; }
.as-found-in { width: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; flex: 1; }
.as-found-mark { font-size: 24px; font-weight: 500; letter-spacing: -0.05em; }
.as-found-mark i { font-style: normal; color: var(--track-rose); }
.as-found-eyebrow { margin-top: 64px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; font-family: var(--font-technical); }
.as-found-title { margin: 10px 0 0; font-size: 34px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.as-found-text { margin: 18px 0 0; font-size: 16px; line-height: 1.55; opacity: 0.85; max-width: 64ch; }
.as-found-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.as-found-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 10px; padding: 0 16px;
  font-size: 16px; font-weight: 500; text-decoration: none; box-sizing: border-box; }
.as-found-btn.primary { background: var(--brand-white); color: var(--brand-navy); }
.as-found-btn.ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: var(--brand-white); }
.as-found-contact { margin-top: 28px; font-size: 18px; font-weight: 500; }
.as-found-foot { margin-top: auto; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.as-found-note { font-size: 14px; line-height: 1.5; opacity: 0.7; margin: 0; }
.as-found-signin { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 14px; color: var(--brand-white); opacity: 0.85;
  font-size: 15px; text-decoration: none; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
