/* Extras that sit outside the Tailwind build: scrollbars, skeleton rows, print. */

* { scrollbar-width: thin; scrollbar-color: #c3c8d1 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c3c8d1; border-radius: 6px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: #a9afba; }

/* Shown while a filtered list reloads */
.skeleton-row td { padding: 13px 14px; }
.skeleton-bar {
  display: block; height: 12px; border-radius: 3px;
  background: linear-gradient(90deg, #eceef1 0%, #f6f7f9 40%, #eceef1 80%);
  background-size: 300% 100%; animation: skel 1.1s linear infinite;
}
@keyframes skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }

/* Optional admin setting: no copying in the editor panel (links and copy buttons still work) */
body.no-select { -webkit-user-select: none; user-select: none; }
body.no-select a, body.no-select [data-copy], body.no-select input, body.no-select textarea { -webkit-user-select: text; user-select: text; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  .sidebar, .topbar, .bottomnav, .e-top, .no-print, .toast-stack, .bulkbar, .filters, .pager { display: none !important; }
  .main-col { margin: 0 !important; }
  body { background: #fff; }
  .page, .e-page { padding: 0; max-width: none; }
  .panel { border-color: #ccc; break-inside: avoid; }
  a { text-decoration: none; color: inherit; }
}
