:root{
  --tp-sidebar-width: 280px;
  --tp-radius: 18px;
}
html, body { height: 100%; }
body{ background:#f6f7fb; }
a{ text-decoration:none; }
.tp-card{
  border: 0;
  border-radius: var(--tp-radius);
  box-shadow: 0 10px 30px rgba(16,24,40,.08);
}
.tp-sidebar{
  width: var(--tp-sidebar-width);
  min-height: 100vh;
  position: fixed;
  left: 0; top: 0;
  z-index: 1030;
  background: #111827;
  color: #e5e7eb;
}
.tp-sidebar .brand{ border-radius: 16px; background: rgba(255,255,255,.06); }
.tp-sidebar a, .tp-sidebar .nav-link{ color:#e5e7eb; }
.tp-sidebar .nav-link{ border-radius: 12px; padding: .65rem .85rem; }
.tp-sidebar .nav-link:hover{ background: rgba(255,255,255,.08); }
.tp-sidebar .nav-link.active{ background: rgba(255,255,255,.14); }
.tp-content{ margin-left: var(--tp-sidebar-width); padding: 1.25rem 1.25rem 2rem; }
@media (max-width: 992px){
  .tp-sidebar{ transform: translateX(-100%); transition: transform .2s ease; }
  .tp-sidebar.show{ transform: translateX(0); }
  .tp-content{ margin-left: 0; padding: 1rem; }
}
.tp-topbar{
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(246,247,251,.85);
  backdrop-filter: blur(12px);
}
.tp-muted{ color:#6b7280; }
.tp-badge{ border-radius: 999px; }
.tp-kpi{ border-radius: var(--tp-radius); border: 1px solid rgba(16,24,40,.08); background: #fff; }
.tp-table th{ color:#374151; font-weight:600; }
.tp-form-section{ border: 1px solid rgba(16,24,40,.08); border-radius: var(--tp-radius); background: #fff; }
.tp-dropzone{ border: 2px dashed rgba(16,24,40,.18); border-radius: var(--tp-radius); background: rgba(255,255,255,.75); padding: 18px; }
.tp-dropzone.dragover{ border-color: rgba(59,130,246,.8); background: rgba(59,130,246,.06); }
.tp-pill{
  border-radius: 999px;
  padding: .35rem .65rem;
  border: 1px solid rgba(16,24,40,.12);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: grab;
}
.tp-pill i{ opacity: .8; }
.tp-perm-col{ border-radius: var(--tp-radius); background: #fff; border: 1px solid rgba(16,24,40,.08); }
