/* TagMatrix-Pro: styles that exist only in this tool. Shared look: ../../shared/css/style.css */

/* Page shell ---------------------------------------------------------------
   Desktop: a fixed one-screen cockpit. Below 1024px the columns stack and
   the page scrolls normally (the original locked overflow on every screen
   size, which made the app unusable on phones and small laptops). */

html, body { min-height: 100%; }

.app-shell { min-height: 100vh; min-height: 100dvh; }

@media (min-width: 1024px) {
  html, body { height: 100%; overflow: hidden; }

  .app-shell { height: 100vh; height: 100dvh; }
}

.crystal-well-3d.is-drop-target {
  border-color: #6366f1;
  border-style: dashed;
  background: #eef2ff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Tag chips --------------------------------------------------------------- */

.tag-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 8px 5px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.char-pill {
  font-size: 8.5pt;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.char-pill.warning { background: #fee2e2; color: #dc2626; border: 1px solid #f87171; }

#photoZone.is-drop-target, #photoZone:hover { border-color: #6366f1; background: #eef2ff; }
