/**
 * ADR-126 mockups — shared stylesheet.
 *
 * Mirrors production CSS from `src/ui/shelves/ShelfTheme.ts`,
 * `src/ui/shelves/panels/BuildPanel.ts`, and `src/ui/components/TabBar.ts`.
 * If the live values drift, this file should be updated to match — these
 * mockups are visual proposals, not source of truth.
 */

/* ── ShelfTheme tokens (verbatim from src/ui/shelves/ShelfTheme.ts) ─────────── */
:root {
  --shelf-bg-deep: #0a0a0a;
  --shelf-bg-panel: #141414;
  --shelf-bg-item: #1a1a1a;
  --shelf-bg-hover: #222222;
  --shelf-text-primary: #e0e0e0;
  --shelf-text-secondary: #999999;
  --shelf-text-tertiary: #777777;
  --shelf-accent: #00ff88;
  --shelf-border: #2a2a2a;

  --axis-x: #ff4444;
  --axis-y: #44cc44;
  --axis-z: #4488ff;

  --warn-amber: #ffaa33;
  --warn-red:   #ff5555;
  --ok-green:   #55cc55;
}

/* ── Page chrome ────────────────────────────────────────────────────────────── */
html, body {
  margin: 0;
  padding: 0;
  background: #050505;
  color: var(--shelf-text-secondary);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  min-height: 100vh;
}

.mockup-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  gap: 16px;
}

.mockup-meta {
  width: 100%;
  max-width: 720px;
  color: var(--shelf-text-tertiary);
  font-size: 12px;
  border-bottom: 1px solid var(--shelf-border);
  padding-bottom: 12px;
}
.mockup-meta h1 {
  margin: 0 0 4px;
  color: var(--shelf-text-primary);
  font-size: 16px;
  font-weight: 600;
}
.mockup-meta a { color: var(--shelf-accent); text-decoration: none; }
.mockup-meta .breadcrumbs { font-size: 11px; }

/* The build panel itself — fixed-width column matching live LookTab */
.bp2 {
  display: flex;
  flex-direction: column;
  width: 290px;
  height: auto;
  min-height: 720px;
  background: var(--shelf-bg-panel);
  color: var(--shelf-text-secondary);
  border: 1px solid var(--shelf-border);
  border-radius: 4px;
  overflow: hidden;
  font-family: inherit;
}

/* Wide variant for the modal mockup */
.bp2.bp2-wide {
  width: 580px;
  min-height: 600px;
}

/* Header — "Build" + dropdown caret */
.bp2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--shelf-bg-deep);
  color: var(--shelf-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.bp2-header .caret {
  color: var(--shelf-accent);
  font-size: 10px;
}

/* TabBar (mirrors src/ui/components/TabBar.ts) */
.tb-bar {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--shelf-border);
  padding: 0 4px;
  background: var(--shelf-bg-panel);
  flex-shrink: 0;
}
.tb-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 4px 4px;
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--shelf-text-tertiary);
  cursor: pointer;
  font-family: inherit;
}
.tb-tab.tb-active {
  color: var(--shelf-accent);
  border-bottom-color: var(--shelf-accent);
}
.tb-icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.tb-icon svg { width: 16px; height: 16px; fill: currentColor; }
.tb-label {
  font-size: 9px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
}
.tb-tab:not(.tb-active) .tb-label { opacity: 0; height: 0; }

/* Object name strip */
.bp2-object-name {
  padding: 5px 12px;
  font-size: 11px;
  color: var(--shelf-text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bp2-object-name .prim-glyph {
  width: 14px; height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shelf-text-secondary);
}

/* Breadcrumb (for sub-page mockups) */
.bp2-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: var(--shelf-bg-deep);
  border-bottom: 1px solid var(--shelf-border);
  font-size: 11px;
  color: var(--shelf-text-secondary);
}
.bp2-breadcrumb .crumb-back {
  color: var(--shelf-text-tertiary);
  cursor: pointer;
  margin-right: 6px;
}
.bp2-breadcrumb .crumb-back:hover { color: var(--shelf-accent); }
.bp2-breadcrumb .crumb-path { flex: 1; }
.bp2-breadcrumb .crumb-path .crumb-segment { color: var(--shelf-text-tertiary); }
.bp2-breadcrumb .crumb-path .crumb-segment.active { color: var(--shelf-text-primary); }
.bp2-breadcrumb .crumb-path .crumb-sep { opacity: 0.4; margin: 0 4px; }
.bp2-breadcrumb .all-props-btn {
  font-size: 10px;
  font-family: inherit;
  padding: 3px 8px;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-secondary);
  cursor: pointer;
}
.bp2-breadcrumb .all-props-btn:hover {
  color: var(--shelf-accent);
  border-color: var(--shelf-accent);
}

/* Content area */
.bp2-content {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
}

/* Section heading */
.lt-heading {
  font-size: 12px;
  font-weight: 600;
  color: var(--shelf-text-primary);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lt-heading-gap { margin-top: 14px; }

.lt-heading .heading-badge {
  font-size: 10px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: var(--shelf-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Subhead (smaller-than-heading group label) */
.lt-subhead {
  font-size: 10px;
  color: var(--shelf-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 8px 0 4px;
}

/* MediaCardSection — charcoal card grouping */
.lt-media-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
}
.lt-card-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--shelf-text-secondary);
  margin-bottom: 8px;
}

/* Face selector (FaceSelector primitive) */
.lt-face-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 6px;
  width: 100%;
}
.lt-face-toggle-btn {
  flex: 1;
  padding: 7px 0;
  font-size: 11px;
  font-family: inherit;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  color: var(--shelf-text-secondary);
  cursor: pointer;
  line-height: 1;
  box-sizing: border-box;
}
.lt-face-toggle-btn:first-child { border-radius: 4px 0 0 4px; }
.lt-face-toggle-btn:last-child { border-radius: 0 4px 4px 0; margin-left: -1px; }
.lt-face-toggle-btn.lt-face-active {
  background: rgba(0,255,136,0.08);
  border-color: var(--shelf-accent);
  color: var(--shelf-accent);
  position: relative;
  z-index: 1;
}
.lt-face-strip {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
}
.lt-face-chip {
  flex: 1;
  padding: 4px 2px;
  font-size: 10px;
  font-family: inherit;
  text-align: center;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-secondary);
  cursor: pointer;
}

/* Color picker (compact mock — gradient quad + hue strip) */
.lt-colorpicker {
  display: flex;
  gap: 6px;
  align-items: stretch;
  margin-bottom: 8px;
}
.lt-color-quad {
  flex: 1;
  aspect-ratio: 2.2 / 1;
  position: relative;
  border-radius: 4px;
  background:
    linear-gradient(to top, #000, transparent),
    linear-gradient(to right, #fff, hsl(0, 100%, 50%));
  border: 1px solid var(--shelf-border);
}
.lt-color-quad.hue-red { background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, hsl(0, 100%, 50%)); }
.lt-color-quad.hue-grey { background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, #888); }
.lt-color-quad-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.lt-color-hue {
  width: 16px;
  border-radius: 4px;
  background: linear-gradient(
    to bottom,
    hsl(0,100%,50%), hsl(60,100%,50%), hsl(120,100%,50%),
    hsl(180,100%,50%), hsl(240,100%,50%), hsl(300,100%,50%), hsl(360,100%,50%)
  );
  position: relative;
  border: 1px solid var(--shelf-border);
}
.lt-color-hue-handle {
  position: absolute;
  left: -2px; right: -2px;
  height: 2px;
  background: #fff;
}
.lt-color-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.lt-color-swatch {
  width: 36px; height: 22px;
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
}
.lt-hex-input {
  flex: 1;
  background: var(--shelf-bg-deep);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-primary);
  font-size: 11px;
  font-family: monospace;
  padding: 4px 8px;
}
.lt-hex-fmt {
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-secondary);
  font-size: 10px;
  padding: 3px 8px;
  font-family: inherit;
}
.lt-color-recents {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.lt-swatch {
  width: 22px; height: 22px;
  border-radius: 3px;
  border: 1px solid var(--shelf-border);
  flex-shrink: 0;
}

/* Material preset chips */
.lt-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.lt-preset-chip {
  padding: 5px 12px;
  font-size: 11px;
  font-family: inherit;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 14px;
  color: var(--shelf-text-secondary);
  cursor: pointer;
}
.lt-preset-chip:hover { background: var(--shelf-bg-hover); color: var(--shelf-text-primary); }
.lt-preset-chip.lt-preset-active {
  border-color: var(--shelf-accent);
  color: var(--shelf-accent);
  background: rgba(0,255,136,0.08);
}
.lt-preset-chip.lt-preset-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Slider with readout */
.lt-slider-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.lt-slider-label {
  font-size: 10px;
  color: var(--shelf-text-secondary);
  min-width: 64px;
  flex-shrink: 0;
}
.lt-slider {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--shelf-border);
  border-radius: 2px;
  outline: none;
}
.lt-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--shelf-accent);
}
.lt-slider-value {
  font-size: 10px;
  color: var(--shelf-text-primary);
  min-width: 36px;
  text-align: right;
  font-family: monospace;
}

/* Slider with landmarks (proposed primitive — for roughness) */
.lt-slider-landmarks {
  position: relative;
  flex: 1;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lt-slider-landmarks .track {
  height: 4px;
  background: var(--shelf-border);
  border-radius: 2px;
  position: relative;
}
.lt-slider-landmarks .thumb {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--shelf-accent);
  transform: translate(-50%, -50%);
}
.lt-slider-landmarks .landmark {
  position: absolute;
  top: 50%;
  width: 18px; height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--shelf-border);
  background: var(--shelf-bg-deep);
}
.lt-slider-landmarks .landmark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
}
.lt-slider-landmarks .landmark.l-low::after  { background: radial-gradient(circle at 40% 35%, #fff, #999); }
.lt-slider-landmarks .landmark.l-mid::after  { background: radial-gradient(circle at 40% 35%, #fff 0%, #aaa 30%, #444 90%); }
.lt-slider-landmarks .landmark.l-high::after { background: radial-gradient(circle at 50% 50%, #777, #2a2a2a); }
.lt-slider-landmarks .ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 8px;
  color: var(--shelf-text-tertiary);
  font-family: monospace;
}

/* Bimodal slider for Metallic */
.lt-bimodal {
  display: flex;
  gap: 4px;
  flex: 1;
}
.lt-bimodal-chip {
  flex: 1;
  padding: 8px 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 4px;
  color: var(--shelf-text-secondary);
  text-align: center;
  cursor: pointer;
}
.lt-bimodal-chip.active {
  border-color: var(--shelf-accent);
  color: var(--shelf-accent);
  background: rgba(0,255,136,0.08);
}
.lt-bimodal-finetune {
  font-size: 9px;
  color: var(--shelf-text-tertiary);
  font-style: italic;
  margin-top: 4px;
  text-align: right;
}

/* Texture row */
.lt-tex-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.lt-tex-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 5px 6px;
  background: var(--shelf-bg-deep);
  border: 1px solid var(--shelf-border);
  border-radius: 4px;
}
.lt-texture-thumb {
  width: 32px; height: 32px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--shelf-border);
  flex-shrink: 0;
  background: #2a1010;
}
.lt-tex-name {
  flex: 1;
  font-size: 11px;
  color: var(--shelf-text-primary);
  font-family: inherit;
}
.lt-tex-icon-group {
  display: flex;
  gap: 3px;
}
.lt-tex-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-secondary);
  cursor: pointer;
  font-size: 12px;
}
.lt-tex-icon-btn:hover {
  background: var(--shelf-bg-hover);
  color: var(--shelf-text-primary);
  border-color: var(--shelf-accent);
}

/* Texture grid picker (3-column thumbnail grid) */
.lt-tex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.lt-tex-grid-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  border: 1px solid var(--shelf-border);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.lt-tex-grid-cell:hover { border-color: var(--shelf-accent); }
.lt-tex-grid-search {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.lt-tex-grid-search input {
  flex: 1;
  background: var(--shelf-bg-deep);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-primary);
  font-size: 11px;
  padding: 4px 8px;
}
.lt-tex-grid-search select {
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-secondary);
  font-size: 10px;
  padding: 4px 6px;
}

/* TILING three-across (LogRadialPad / LinearXYPad / RotationDial) */
.lt-tiling-row {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
.lt-transform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.lt-transform-label {
  font-size: 9px;
  color: var(--shelf-text-secondary);
  margin-bottom: 4px;
  text-align: center;
}
.lt-xy-pad {
  position: relative;
  width: 65px; height: 65px;
  background: var(--shelf-bg-deep);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  overflow: hidden;
}
.lt-xy-cross-h {
  position: absolute;
  left: 0; right: 0;
  top: 50%; height: 1px;
  background: rgba(255,255,255,0.1);
}
.lt-xy-cross-v {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; width: 1px;
  background: rgba(255,255,255,0.1);
}
.lt-xy-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--shelf-accent);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.lt-xy-readout {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 8px;
  font-family: monospace;
  color: var(--shelf-text-tertiary);
}

/* Rotation dial */
.lt-dial-ring {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  background: var(--shelf-bg-deep);
}
.lt-dial-indicator {
  position: absolute;
  left: 50%; bottom: 50%;
  width: 2px; height: 46%;
  background: var(--shelf-accent);
  opacity: 0.45;
  transform-origin: bottom center;
  margin-left: -1px;
  border-radius: 1px;
}
.lt-dial-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--shelf-accent);
  opacity: 0.95;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.lt-dial-readout {
  font-size: 9px;
  font-family: monospace;
  color: var(--shelf-text-secondary);
  margin-top: 2px;
}

/* Checkbox row */
.lt-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 4px;
}
.lt-check-row input[type="checkbox"] {
  accent-color: var(--shelf-accent);
}
.lt-check-label {
  font-size: 11px;
  color: var(--shelf-text-secondary);
}

/* Chip row (alpha mode) */
.lt-chip-row {
  display: flex;
  gap: 4px;
  flex: 1;
}
.lt-chip-row .chip {
  flex: 1;
  padding: 5px 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-secondary);
  text-align: center;
  cursor: pointer;
}
.lt-chip-row .chip.active {
  border-color: var(--shelf-accent);
  color: var(--shelf-accent);
  background: rgba(0,255,136,0.08);
}

/* Inline action row (Cancel / Apply) */
.lt-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--shelf-border);
}
.lt-btn {
  font-size: 11px;
  font-family: inherit;
  padding: 6px 14px;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 4px;
  color: var(--shelf-text-secondary);
  cursor: pointer;
}
.lt-btn:hover { background: var(--shelf-bg-hover); color: var(--shelf-text-primary); }
.lt-btn.primary {
  background: rgba(0,255,136,0.12);
  border-color: var(--shelf-accent);
  color: var(--shelf-accent);
}
.lt-btn.primary:hover { background: rgba(0,255,136,0.2); }

/* Linkrow (Advanced UV / All Properties / Edit PBR) */
.lt-linkrow {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}
.lt-linkrow .lt-link-btn {
  font-size: 10px;
  font-family: inherit;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-secondary);
  cursor: pointer;
  letter-spacing: 0.2px;
}
.lt-linkrow .lt-link-btn:hover {
  border-color: var(--shelf-accent);
  color: var(--shelf-accent);
}

/* Hint copy (one-line ⓘ) */
.lt-hint {
  font-size: 11px;
  color: var(--shelf-text-tertiary);
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--shelf-border);
  padding: 6px 8px;
  margin: 8px 0;
  line-height: 1.4;
}
.lt-hint .info {
  color: var(--shelf-accent);
  margin-right: 4px;
}

/* Footer budget bar */
.bp2-budget {
  flex-shrink: 0;
  padding: 6px 12px;
  border-top: 1px solid var(--shelf-border);
  background: var(--shelf-bg-deep);
  position: relative;
}
.bp2-budget-text {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 10px;
  color: var(--shelf-text-secondary);
}
.bp2-budget-sep { opacity: 0.4; }
.bp2-budget-fill {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--ok-green);
  width: 8%;
}
.bp2-budget-text .glyph {
  font-size: 11px;
  margin-right: 2px;
}
.bp2-budget-chip-warn { color: var(--warn-amber); }
.bp2-budget-chip-warn .warn-icon { color: var(--warn-amber); }

/* Multi-row TextureThumb (imported mesh) */
.lt-slot-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--shelf-bg-deep);
  border: 1px solid var(--shelf-border);
  border-radius: 4px;
  margin-bottom: 5px;
}
.lt-slot-thumb {
  width: 36px; height: 36px;
  border-radius: 3px;
  border: 1px solid var(--shelf-border);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.lt-slot-name {
  flex: 1;
  font-size: 11px;
  color: var(--shelf-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lt-slot-actions {
  display: flex;
  gap: 3px;
}
.lt-slot-replace {
  font-size: 10px;
  font-family: inherit;
  padding: 4px 8px;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-secondary);
  cursor: pointer;
}
.lt-slot-replace:hover { border-color: var(--shelf-accent); color: var(--shelf-accent); }

/* All-properties accordion (Mockup D) */
.allprops-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--shelf-border);
  background: var(--shelf-bg-deep);
}
.allprops-search input {
  flex: 1;
  background: var(--shelf-bg-panel);
  border: 1px solid var(--shelf-border);
  border-radius: 3px;
  color: var(--shelf-text-primary);
  font-size: 11px;
  padding: 5px 8px;
}
.allprops-search .modified-only {
  font-size: 10px;
  color: var(--shelf-text-secondary);
}
.allprops-section {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.allprops-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--shelf-text-primary);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
}
.allprops-section-header .chevron { color: var(--shelf-text-tertiary); }
.allprops-prop-row {
  display: grid;
  grid-template-columns: 180px 1fr 60px;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 24px;
  font-size: 11px;
}
.allprops-prop-row:hover { background: rgba(255,255,255,0.02); }
.allprops-prop-name {
  color: var(--shelf-text-secondary);
  font-family: monospace;
}
.allprops-prop-control {
  color: var(--shelf-text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.allprops-prop-control .mini-slider {
  flex: 1;
  height: 3px;
  background: var(--shelf-border);
  border-radius: 2px;
  position: relative;
}
.allprops-prop-control .mini-thumb {
  position: absolute;
  top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--shelf-accent);
  transform: translate(-50%, -50%);
}
.allprops-prop-control .swatch {
  width: 14px; height: 14px;
  border-radius: 2px;
  border: 1px solid var(--shelf-border);
}
.allprops-prop-value {
  font-family: monospace;
  text-align: right;
  color: var(--shelf-text-tertiary);
}

/* Modal scrim — for Mockup D */
.modal-scrim {
  background: rgba(0,0,0,0.55);
  padding: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visual quality slider (Mockup E) */
.vq-slider {
  position: relative;
  height: 36px;
  margin: 12px 0 8px;
}
.vq-slider .track {
  position: absolute;
  top: 50%;
  left: 5%; right: 5%;
  height: 4px;
  background: var(--shelf-border);
  border-radius: 2px;
  transform: translateY(-50%);
}
.vq-slider .stop {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--shelf-bg-deep);
  border: 2px solid var(--shelf-border);
  transform: translate(-50%, -50%);
}
.vq-slider .stop.active {
  border-color: var(--shelf-accent);
  background: var(--shelf-accent);
}
.vq-stops-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--shelf-text-secondary);
  padding: 0 5%;
}
.vq-readout {
  font-size: 11px;
  color: var(--shelf-text-secondary);
  text-align: center;
  margin-top: 8px;
}
.vq-readout strong { color: var(--shelf-accent); }
.vq-help {
  font-size: 11px;
  color: var(--shelf-text-tertiary);
  margin-top: 12px;
  line-height: 1.5;
}

/* Cost-detail flyover (Mockup F) */
.flyover {
  width: 280px;
  background: var(--shelf-bg-panel);
  border: 1px solid var(--shelf-border);
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.flyover h4 {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--shelf-text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.flyover h4 .pref-tag {
  font-size: 10px;
  font-weight: 400;
  color: var(--shelf-text-tertiary);
  margin-left: auto;
}
.flyover .breakdown {
  font-size: 11px;
  color: var(--shelf-text-secondary);
  font-family: monospace;
  background: var(--shelf-bg-deep);
  border-radius: 4px;
  padding: 8px;
  margin: 8px 0;
}
.flyover .scope {
  font-size: 11px;
  color: var(--shelf-text-secondary);
  margin: 8px 0;
}
.flyover .scope .row { display: flex; justify-content: space-between; padding: 2px 0; }
.flyover .adjust-btn {
  width: 100%;
  font-size: 11px;
  padding: 6px;
  background: var(--shelf-bg-item);
  border: 1px solid var(--shelf-border);
  border-radius: 4px;
  color: var(--shelf-accent);
  cursor: pointer;
}

/* UV-click-region canvas (Mockup H) */
.uvclick-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--shelf-border);
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      45deg,
      #1a1a1a 0 8px,
      #222 8px 16px
    );
  margin: 8px 0;
  overflow: hidden;
}
.uvclick-canvas .texture-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(80,40,40,0.7), rgba(40,40,80,0.7));
}
.uvclick-canvas .region {
  position: absolute;
  border: 2px solid var(--shelf-accent);
  background: rgba(0,255,136,0.08);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-family: monospace;
  color: var(--shelf-accent);
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* ── Budget Dashboard (Akashic-style) ──────────────────────────────────────── */
:root {
  --dim-build:     #00ff88;
  --dim-movers:    #5cc8ff;
  --dim-pieces:    #ffffff;
  --dim-detail:    #b388ff;
  --dim-skins:     #ff6dc7;
  --dim-lights:    #ffd450;
  --dim-brains:    #6dffe5;
  --dim-inventory: #ff9f54;
}

.bp2.bp2-dashboard {
  width: 320px;
  background: var(--shelf-bg-panel);
}

.dash-header {
  margin: 12px;
  padding: 14px;
  background: var(--shelf-bg-deep);
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.dash-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 50%, rgba(0,255,136,0.08), transparent 60%);
  pointer-events: none;
}
.dash-tier-chip {
  width: 56px; height: 56px;
  border: 2px solid var(--shelf-accent);
  border-radius: 12px;
  background: rgba(0,255,136,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--shelf-accent);
  box-shadow: 0 0 16px rgba(0,255,136,0.15) inset;
  flex-shrink: 0;
  position: relative;
}
.dash-tier-chip .tier-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--shelf-accent);
  top: -4px; right: -4px;
  box-shadow: 0 0 8px var(--shelf-accent);
}
.dash-identity h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--shelf-text-primary);
  letter-spacing: 0.3px;
}
.dash-identity .tagline {
  font-size: 12px;
  color: var(--shelf-text-secondary);
  font-style: italic;
  line-height: 1.4;
}
.dash-progress-row {
  margin: 10px 12px;
}
.dash-progress {
  height: 5px;
  background: var(--shelf-bg-deep);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.dash-progress-fill {
  position: absolute;
  inset: 0;
  width: 38%;
  background: linear-gradient(to right, #00cc66, #00ff88);
  border-radius: 3px;
}
.dash-progress-label {
  font-size: 11px;
  color: var(--shelf-text-secondary);
  margin-top: 4px;
}

/* Section card (matches Akashic's ATTRIBUTES / ESSENCES / COMBAT cards) */
.dash-section {
  margin: 0 12px 12px;
  padding: 12px;
  background: var(--shelf-bg-deep);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
}
.dash-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--shelf-text-secondary);
  margin-bottom: 12px;
}

/* Radial polygon chart */
.dash-radial-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
.dash-radial-wrap svg {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

/* Category-chip footer (matches PHYSICAL/MENTAL/SOCIAL/CREATIVE) */
.dash-category-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.dash-cat-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.dash-cat-chip.cat-build     { color: var(--dim-build); }
.dash-cat-chip.cat-movers    { color: var(--dim-movers); }
.dash-cat-chip.cat-skins     { color: var(--dim-skins); }
.dash-cat-chip.cat-lights    { color: var(--dim-lights); }
.dash-cat-chip.cat-brains    { color: var(--dim-brains); }
.dash-cat-chip.cat-inventory { color: var(--dim-inventory); }

/* ESSENCES-style rows */
.dash-essence-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
}
.dash-essence-bullet {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.dash-essence-name {
  flex: 1;
  color: var(--shelf-text-primary);
}
.dash-essence-value {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dash-essence-cap {
  font-size: 11px;
  color: var(--shelf-text-tertiary);
  margin-left: 4px;
}

/* COMBAT-style tile grid */
.dash-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.dash-tile {
  background: var(--shelf-bg-panel);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dash-tile.tile-build     { border-color: rgba(0, 255, 136, 0.45); }
.dash-tile.tile-movers    { border-color: rgba(92, 200, 255, 0.45); }
.dash-tile.tile-skins     { border-color: rgba(255, 109, 199, 0.45); }
.dash-tile.tile-lights    { border-color: rgba(255, 212, 80, 0.45); }
.dash-tile.tile-brains    { border-color: rgba(109, 255, 229, 0.45); }
.dash-tile.tile-inventory { border-color: rgba(255, 159, 84, 0.45); }
.dash-tile.tile-pieces    { border-color: rgba(255, 255, 255, 0.18); }
.dash-tile.tile-detail    { border-color: rgba(179, 136, 255, 0.45); }
.dash-tile-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.dash-tile.tile-build     .dash-tile-value { color: var(--dim-build); }
.dash-tile.tile-movers    .dash-tile-value { color: var(--dim-movers); }
.dash-tile.tile-skins     .dash-tile-value { color: var(--dim-skins); }
.dash-tile.tile-lights    .dash-tile-value { color: var(--dim-lights); }
.dash-tile.tile-brains    .dash-tile-value { color: var(--dim-brains); }
.dash-tile.tile-inventory .dash-tile-value { color: var(--dim-inventory); }
.dash-tile.tile-pieces    .dash-tile-value { color: var(--dim-pieces); }
.dash-tile.tile-detail    .dash-tile-value { color: var(--dim-detail); }
.dash-tile-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shelf-text-tertiary);
  margin-top: 4px;
}
.dash-tile.tile-warn::before {
  content: "▲";
  position: absolute;
  top: 4px; right: 6px;
  font-size: 10px;
  color: var(--warn-amber);
}

/* Tier-1 footer stat strip (replaces the text-only LI/Dyn/Obj line) */
.dash-footer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 6px 12px;
  background: var(--shelf-bg-deep);
  border-top: 1px solid var(--shelf-border);
}
.dash-footer-tile {
  text-align: center;
  padding: 4px 2px;
  border-radius: 4px;
  background: var(--shelf-bg-panel);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.dash-footer-tile::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--ok-green);
}
.dash-footer-tile.fill-build    ::after { background: var(--dim-build); }
.dash-footer-tile.fill-movers   ::after { background: var(--dim-movers); }
.dash-footer-tile.fill-skins    ::after { background: var(--dim-skins); }
.dash-footer-tile.fill-lights   ::after { background: var(--dim-lights); }
.dash-footer-tile.fill-warn     ::after { background: var(--warn-amber); }

.dash-footer-tile .ft-value {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.dash-footer-tile .ft-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--shelf-text-tertiary);
  margin-top: 1px;
}
.dash-footer-tile.fill-build    .ft-value { color: var(--dim-build); }
.dash-footer-tile.fill-movers   .ft-value { color: var(--dim-movers); }
.dash-footer-tile.fill-skins    .ft-value { color: var(--dim-skins); }
.dash-footer-tile.fill-lights   .ft-value { color: var(--dim-lights); }
.dash-footer-tile.fill-warn     .ft-value { color: var(--warn-amber); }

/* ── Aspirational tier framing (Mockup J) ─────────────────────────────────── */
:root {
  --tier-builder: #00ff88;
  --tier-architect: #ffd450;
  --tier-worldsmith: #b388ff;
}

/* Tier-progress chip — replaces the static identity card on the dashboard */
.tier-progress {
  margin: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(0,255,136,0.06), rgba(255,212,80,0.04));
  border: 1px solid rgba(0,255,136,0.35);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.tier-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 50%, rgba(255,212,80,0.08), transparent 60%);
  pointer-events: none;
}
.tier-progress-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.tier-name-cur {
  font-size: 16px;
  font-weight: 700;
  color: var(--tier-builder);
  letter-spacing: 0.5px;
}
.tier-arrow {
  color: var(--shelf-text-tertiary);
  margin: 0 6px;
  font-size: 12px;
}
.tier-name-next {
  font-size: 13px;
  font-weight: 600;
  color: var(--tier-architect);
  opacity: 0.85;
}
.tier-progress-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.tier-progress-fill {
  position: absolute;
  inset: 0;
  width: 47%;
  background: linear-gradient(to right, var(--tier-builder), var(--tier-architect));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,212,80,0.4);
}
.tier-progress-label {
  font-size: 11px;
  color: var(--shelf-text-secondary);
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
}
.tier-progress-label .progress-pct { color: var(--tier-architect); font-weight: 600; }

/* Headroom inversion — same fill bar, framed positively */
.headroom-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 12px;
}
.headroom-bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.headroom-label { flex: 1; color: var(--shelf-text-secondary); }
.headroom-track {
  flex: 2.2;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.headroom-fill {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: rgba(0,255,136,0.18);
  border-right: 1px solid var(--shelf-accent);
}
.headroom-fill.warm {
  background: rgba(255,170,51,0.18);
  border-right-color: var(--warn-amber);
}
.headroom-value {
  font-size: 11px;
  color: var(--shelf-accent);
  font-weight: 600;
  min-width: 56px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.headroom-value.warm { color: var(--warn-amber); }

/* Locked / teaser tile state */
.dash-tile.tile-locked {
  border-style: dashed;
  border-color: rgba(179, 136, 255, 0.45);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(179,136,255,0.04) 0 6px,
      transparent 6px 12px
    ),
    var(--shelf-bg-panel);
  opacity: 0.85;
}
.dash-tile.tile-locked .dash-tile-value {
  color: var(--tier-architect);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-top: 4px;
}
.dash-tile.tile-locked .dash-tile-label {
  color: var(--tier-architect);
  opacity: 0.7;
}
.dash-tile.tile-locked::after {
  content: "✦";
  position: absolute;
  top: 4px; right: 6px;
  font-size: 10px;
  color: var(--tier-architect);
  opacity: 0.7;
}

/* "See next tier" toggle button — comparison-lens trigger */
.lens-btn {
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,212,80,0.04), rgba(179,136,255,0.04));
  border: 1px dashed rgba(255,212,80,0.4);
  color: var(--tier-architect);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.lens-btn:hover {
  background: linear-gradient(135deg, rgba(255,212,80,0.08), rgba(179,136,255,0.08));
  border-style: solid;
}
.lens-btn .glyph { font-size: 14px; }

/* Achievement marker dot, used inline on the radial */
.achievement-marker {
  fill: var(--tier-architect);
  filter: drop-shadow(0 0 3px rgba(255,212,80,0.6));
}

/* Side-by-side dashboard comparison layout */
.dash-compare-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.dash-compare-row .compare-arrow {
  align-self: center;
  font-size: 22px;
  color: var(--tier-architect);
  opacity: 0.6;
}

/* ── Akashic integration (Mockup K) ───────────────────────────────────────── */
:root {
  /* Akashic essence color vocabulary (from screenshot) */
  --essence-resonance:  #00ff88;   /* matches dim-build */
  --essence-wisdom:     #5cc8ff;   /* matches dim-movers */
  --essence-creativity: #c084ff;   /* violet */
  --essence-connection: #ffd450;   /* matches dim-lights */
}

/* Facet pivot chip in identity card corner */
.facet-pivot {
  position: absolute;
  top: 10px; right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shelf-text-secondary);
  cursor: pointer;
  z-index: 2;
}
.facet-pivot:hover {
  border-color: var(--shelf-accent);
  color: var(--shelf-accent);
}
.facet-pivot .level-chip {
  background: rgba(0,255,136,0.15);
  color: var(--shelf-accent);
  border-radius: 8px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 700;
}

/* Essence-flow section — Akashic essences pumping into builder caps */
.essence-flow-row {
  display: grid;
  grid-template-columns: 100px 1fr 80px;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 12px;
}
.essence-source {
  display: flex;
  align-items: center;
  gap: 6px;
}
.essence-source-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.essence-source-name {
  color: var(--shelf-text-primary);
  font-weight: 600;
  font-size: 11px;
}
.essence-source-value {
  font-size: 10px;
  color: var(--shelf-text-tertiary);
  font-variant-numeric: tabular-nums;
}
.essence-flow-arrow {
  position: relative;
  height: 14px;
  display: flex;
  align-items: center;
}
.essence-flow-arrow::before {
  content: "";
  position: absolute;
  left: 0; right: 14px;
  top: 50%;
  height: 2px;
  background: linear-gradient(to right, transparent, currentColor 30%, currentColor);
  opacity: 0.7;
}
.essence-flow-arrow::after {
  content: "▸";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  opacity: 0.8;
}
.essence-flow-arrow.flow-resonance  { color: var(--essence-resonance); }
.essence-flow-arrow.flow-wisdom     { color: var(--essence-wisdom); }
.essence-flow-arrow.flow-creativity { color: var(--essence-creativity); }
.essence-flow-arrow.flow-connection { color: var(--essence-connection); }
.essence-bonus {
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.essence-bonus .bonus-target {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--shelf-text-tertiary);
  display: block;
  margin-top: 1px;
}

/* Achievement marker styles by attribute category */
.ach-physical { fill: #ff6464; filter: drop-shadow(0 0 3px rgba(255,100,100,0.6)); }
.ach-mental   { fill: #5cc8ff; filter: drop-shadow(0 0 3px rgba(92,200,255,0.6)); }
.ach-social   { fill: #ffd450; filter: drop-shadow(0 0 3px rgba(255,212,80,0.6)); }
.ach-creative { fill: #c084ff; filter: drop-shadow(0 0 3px rgba(192,132,255,0.6)); }

/* Dual-progression tier ribbon — character contribution + subscription */
.tier-ribbon-contrib {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--shelf-text-tertiary);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.tier-ribbon-contrib .contrib-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--shelf-text-secondary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tier-ribbon-contrib .contrib-chip.adventurer {
  border-color: rgba(0,255,136,0.3);
  color: var(--essence-resonance);
}
.tier-ribbon-contrib .contrib-chip.subscription {
  border-color: rgba(255,212,80,0.3);
  color: var(--tier-architect);
}

/* Notes column for the rightmost annotations on each mockup page */
.mockup-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
}
.mockup-notes {
  flex: 1;
  font-size: 12px;
  color: var(--shelf-text-tertiary);
  line-height: 1.55;
}
.mockup-notes h3 {
  font-size: 13px;
  color: var(--shelf-text-primary);
  margin: 0 0 8px;
}
.mockup-notes ul { padding-left: 18px; margin: 0 0 12px; }
.mockup-notes li { margin-bottom: 4px; }
.mockup-notes code {
  background: var(--shelf-bg-deep);
  border-radius: 3px;
  padding: 1px 4px;
  color: var(--shelf-text-secondary);
  font-size: 11px;
}
