[v-cloak] { display: none; }
html, body { height: 100%; margin: 0; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.badge-sm { padding: 1px 6px; font-size: 11px; }

.modal-mask {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .5);
  z-index: 50;
  display: flex; align-items: center; justify-content: center;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.thumb {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
}

.sidebar-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
}
.sidebar-link:hover { background: #f1f5f9; color: #0f172a; }
.sidebar-link.active { background: #2563eb; color: #fff; }
.sidebar-link.active:hover { background: #1d4ed8; }

.section-title {
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: .05em;
  padding: 12px 12px 4px;
  margin-top: 8px;
}

.btn { padding: 6px 12px; border-radius: 6px; font-size: 13px; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-default { background: #f1f5f9; color: #334155; }
.btn-default:hover { background: #e2e8f0; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }

.input, .select, .textarea {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  outline: none;
  background: #fff;
}
.input:focus, .select:focus, .textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

table.simple { width: 100%; font-size: 13px; }
table.simple thead th { background: #f8fafc; color: #64748b; text-align: left; padding: 10px 12px; font-weight: 500; }
table.simple tbody td { border-top: 1px solid #e2e8f0; padding: 10px 12px; }
table.simple tbody tr:hover { background: #f8fafc; }
